@font-face { font-family: Inter; src: url(/fonts/InterVariable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/GeistMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #f6f6f4; --text: #17181c; --heading: #111214; --body: #46484f; --muted: #646670;
  --line: #ebebe8; --button: #17181c; --on-button: #ffffff; --ring: #a9692f; --drip: #9a5a24; --accent: #8a5223;
  --ring-strength: .26; --highlight: #f4e27a; --field: #d9d9d5; --shot-shadow: 0 0 0 1px rgba(20,20,30,.07), 0 40px 90px rgba(40,30,20,.18);
  --ease: cubic-bezier(.32,.72,0,1);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Inter, -apple-system, system-ui, sans-serif; font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--heading); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bg); padding: 10px 14px; z-index: 5; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .16s var(--ease), background-color .16s ease, opacity .16s ease; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-primary { background: var(--button); color: var(--on-button); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-large { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }

/* Header */
.ph-banner { display: block; padding: 9px 16px; background: var(--heading); color: #fff; font-size: 14px; font-weight: 500; text-align: center; text-decoration: none; }
.ph-banner[hidden] { display: none; }
.ph-banner span { color: var(--highlight); text-decoration: underline; text-underline-offset: 3px; }
.ph-banner:hover span { text-decoration-thickness: 2px; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 600; text-decoration: none; min-height: 44px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; margin-left: auto; font-size: 14px; }
.site-nav a:not(.btn) { color: var(--body); text-decoration: none; padding-block: 12px; }
.site-nav a:not(.btn):hover { color: var(--heading); }
/* On a phone, Sign in stays at the end of the page, where its form is. */
@media (max-width: 420px) { .site-nav { gap: 2px 14px; margin-left: 0; } .site-nav .btn { padding-inline: 14px; } .site-nav a[href="#signin"] { display: none; } }

/* Hero */
.hero { position: relative; padding-top: 72px; text-align: center; }
.hero-bg { position: absolute; inset: -120px 0 -360px; overflow: hidden; pointer-events: none; z-index: -1; }
.hero-ring { display: block; width: min(900px, 150vw); height: auto; margin-left: 50%; transform: translateX(-50%); color: var(--ring); }
.hero-ring .draw { stroke-dasharray: 300 18 52 20; stroke-dashoffset: 40; animation: ring-in 1.4s var(--ease) both; transform-origin: 94px 104px; }
.hero-ring .fade { animation: fade-in 1.2s .5s ease both; }
.hero-ring .draw { opacity: var(--ring-strength); }
@keyframes ring-in { from { opacity: 0; transform: rotate(-14deg) scale(.97); } to { opacity: var(--ring-strength); transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
h1 { max-width: 920px; margin-inline: auto; font-size: clamp(48px, 9vw, 112px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.lede { max-width: 580px; margin: 28px auto 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--body); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.ph-proof-row { margin: 48px 0 0; text-align: center; }
.ph-proof { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; text-decoration: none; }
.ph-proof svg { display: block; width: 200px; height: auto; filter: grayscale(1); opacity: .55; transition: opacity .2s, filter .2s; }
.ph-proof:hover svg, .ph-proof:focus-visible svg { filter: none; opacity: 1; }

.shot { border-radius: 14px; box-shadow: var(--shot-shadow); }
.hero-shot { max-width: 1120px; margin: 64px auto 0; padding-inline: 24px; }

/* Sections */
section { scroll-margin-top: 24px; }
.section { padding-top: clamp(80px, 11vw, 136px); }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; max-width: 780px; }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.pair + .pair { margin-top: clamp(64px, 8vw, 104px); }
.pair h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.pair p { margin-top: 14px; font-size: 17px; color: var(--body); max-width: 440px; }
.pair kbd { font: 500 13px "Geist Mono", ui-monospace, monospace; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--text); }
@media (min-width: 900px) { .pair.flip .pair-text { order: 2; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 48px; margin-top: 56px; border-top: 1px solid var(--line); }
.feature { padding-block: 28px; border-bottom: 1px solid var(--line); }
.feature h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--body); }

/* Pricing */
.pricing { text-align: center; }
.pricing h2 { margin-inline: auto; }
.billing { display: inline-flex; gap: 4px; padding: 4px; margin-top: 32px; border-radius: 12px; background: var(--surface); }
.billing button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 9px; background: transparent; color: var(--body); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.billing button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(20,20,30,.12); }
.price { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin-top: 36px; }
.price strong { font-size: clamp(72px, 12vw, 128px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--heading); }
.price span { font-size: 18px; color: var(--body); }
.saving { min-height: 22px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.pricing .terms { max-width: 480px; margin: 14px auto 0; color: var(--body); }
.status { min-height: 24px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.status.error { color: #c0392b; }


/* FAQ */
.faq > details { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 40px; border-top: 1px solid var(--line); }
.faq summary { min-height: 44px; padding-block: 18px; font-size: 17px; font-weight: 500; cursor: pointer; color: var(--heading); }
.faq details p { padding-bottom: 20px; color: var(--body); }

/* Sign in */
.signin form, .signin .status, .signin .help { max-width: 640px; }
.signin h2 { font-size: 28px; letter-spacing: -.025em; }
.signin form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.signin input { flex: 1 1 260px; min-height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: 12px; background: transparent; color: var(--text); font: inherit; }
.signin .btn { min-height: 48px; }
.signin .help { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Footer and prose pages */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-block: clamp(80px, 11vw, 120px) 40px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-left: auto; }
.site-footer a { color: var(--muted); padding-block: 12px; }
.prose { max-width: 680px; padding-top: 48px; }
.prose h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; margin: 0; }
.prose h2 { font-size: 22px; letter-spacing: -.015em; margin-top: 40px; }
.prose p, .prose li { margin-top: 12px; color: var(--body); }
.prose .draft { margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: var(--surface); font-size: 14px; }

/* Reveal: only with JavaScript and motion allowed */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Company packs */
.teams { text-align: center; }
.teams h2 { margin-inline: auto; }
.teams .lede { max-width: 560px; margin: 16px auto 0; color: var(--body); font-size: 17px; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; margin-top: 40px; text-align: left; }
.pack { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.pack h3 { font-size: 17px; font-weight: 600; }
.pack .amount { font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--heading); }
.pack .each { font-size: 14px; color: var(--muted); }
.pack .btn { margin-top: 14px; }

/* Team admin */
.team-page { max-width: 640px; margin: 48px 0 96px; }
.team-page h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; letter-spacing: -.03em; }
.team-page .lede { margin: 10px 0 0; max-width: none; color: var(--body); }
.team-page [hidden] { display: none; }
.team-page .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.team-page input, .team-page textarea { flex: 1 1 260px; width: 100%; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px; background: transparent; color: inherit; font: inherit; }
.team-page #add-form { display: grid; gap: 10px; margin-top: 28px; justify-items: start; }
.team-page #add-form label { font-weight: 500; }
.members { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.members li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 48px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.members .who { flex: 1 1 220px; overflow-wrap: anywhere; }
.members .tag { font-size: 12.5px; color: var(--muted); }
.members .link { min-height: 32px; background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
