/* Shared styles for cutseam.com's inner pages: /login, /terms, /privacy, /thanks and the 404 page.
   The home page (index.html) carries its own inline styles; the tokens below match it. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --paper-2: #efede7;
  --surface: #ffffff;
  --ink: #0f0f12;
  --ink-2: #46464e;
  --ink-3: #6f6f78;
  --line: rgba(15, 15, 18, 0.09);
  --line-2: rgba(15, 15, 18, 0.16);
  --line-3: rgba(15, 15, 18, 0.28);
  --indigo: #6366f1;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
::selection { background: rgba(99, 102, 241, 0.22); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }

/* Type */
.h-page { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.02; letter-spacing: -0.042em; text-wrap: balance; }
.lede { font-size: clamp(1.08rem, 0.98rem + 0.38vw, 1.25rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.008em; text-wrap: pretty; }
.body { color: var(--ink-2); text-wrap: pretty; }
.fine { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.fine a, .body a { color: var(--ink-2); text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.fine a:hover, .body a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15.5px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(15, 15, 18, 0.24); }
.btn-primary:hover { background: #2a2a31; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(15, 15, 18, 0.05); }
.btn-secondary:hover { border-color: var(--line-3); }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Nav */
.nav { border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 17.5px; letter-spacing: -0.03em; }
.brand img { width: 28px; height: 28px; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav-end a:not(.btn) { color: var(--ink-2); text-decoration: none; transition: color 0.15s ease; }
.nav-end a:not(.btn):hover { color: var(--ink); }

/* Page */
.page { flex: 1; padding: 88px 0 120px; }
.page-head { display: grid; gap: 20px; max-width: 720px; }
.page-head .cta-row { margin-top: 8px; }
.card {
  margin-top: 56px; max-width: 560px; padding: 28px; display: grid; gap: 14px; align-content: start;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface);
}
.card h2 { font-size: 21px; letter-spacing: -0.025em; }

/* Email note */
.notify { display: grid; gap: 8px; margin-top: 4px; }
.notify-label { font-size: 14px; font-weight: 500; }
.notify-row { display: flex; gap: 8px; }
.notify-row .btn { flex: none; }
.notify-input {
  flex: 1; min-width: 0; height: 36px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink);
  font: 400 15px/1 var(--sans); transition: border-color 0.15s ease;
}
.notify-input::placeholder { color: var(--ink-3); }
.notify-input:hover { border-color: var(--line-3); }
.notify-input:focus-visible { outline: 2px solid var(--indigo); outline-offset: 1px; border-radius: 8px; }
.notify-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notify-status:empty { display: none; }

/* Legal text */
.prose { max-width: 680px; margin-top: 56px; display: grid; gap: 16px; }
.prose h2 { margin-top: 28px; font-size: 22px; letter-spacing: -0.022em; line-height: 1.25; }
.prose p, .prose li { color: var(--ink-2); text-wrap: pretty; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); font-weight: 500; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--ink-3); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--ink-3); text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav-inner { height: 58px; gap: 16px; }
  .nav-end { gap: 14px; }
  .page { padding: 56px 0 88px; }
  .card { margin-top: 40px; padding: 22px; }
  .prose { margin-top: 40px; }
}
@media (max-width: 420px) {
  .nav-end a:not(.btn) { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .notify-row { flex-wrap: wrap; }
  .notify-row .btn { flex: 1 1 100%; }
}
