/* The download and account pages (download/, signin/, account/, account/plans/, checkout/done/): the landing page's
   paper, ink and one orange, Geist with tight tracking, mono labels, raised cards. From the Claude Design canvases
   "Ovrtone Download Page" and "Ovrtone Account Pages" (design/canvases/ in the app's repo). */
:root { --paper: #dddad6; --card: #ece8e0; --field: #f2f0ec; --ink: #1e1e1e; --black: #0d0d0d; --soft: #3d3b37; --mute: #57534e;
  --line: #c4c0b9; --edge: #b9b5ad; --orange: #fb5517; --danger: #8a2a0a; --pad: clamp(16px, 3.4vw, 48px); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.45 'Geist', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:hover { opacity: .75; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
img { max-width: 100%; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.lbl { font: 400 13px/1.3 'Geist', sans-serif; letter-spacing: -.005em; margin: 0; }
.lbl b { font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.mono { font: 400 11px/1.5 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.mute { color: var(--mute); }
.soft { color: var(--soft); }

/* Header */
.hdr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; display: block; }
.hdr nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hdr nav a { text-decoration: none; font-weight: 500; }

/* Type */
.big { margin: 0; font-weight: 600; font-size: clamp(52px, 7vw, 112px); line-height: .92; letter-spacing: -.058em; }
.big .star { color: var(--orange); font-weight: 500; letter-spacing: 0; vertical-align: .3em; font-size: .5em; }
.h2 { margin: 0; font-weight: 600; font-size: clamp(40px, 5vw, 76px); line-height: .95; letter-spacing: -.055em; }
.h3 { margin: 0; font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.04em; }
.lede { margin: 0; max-width: 470px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; letter-spacing: -.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--card); font: 600 15px/1 'Geist', sans-serif; letter-spacing: -.01em; text-decoration: none; cursor: pointer; }
.btn:hover { opacity: 1; filter: brightness(1.15); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.orange { background: var(--orange); color: var(--ink); }
.btn.light { background: var(--card); color: var(--ink); }
.btn.ghost { background: none; color: inherit; border: 1px solid currentColor; font-weight: 500; }
.btn.tall { min-height: 56px; font-size: 17px; }
.btn.wide { width: 100%; }
.btn.danger { background: var(--danger); color: var(--field); }
.linkbtn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.linkbtn.lbl { font: 500 13px/1.3 'Geist', sans-serif; }   /* a header button (Sign out) the size of the header's links */
.dl-btn { display: inline-flex; align-items: center; gap: 16px; min-height: 68px; padding: 0 30px 0 12px; border-radius: 999px; background: var(--ink); color: var(--card);
  text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: transform .2s; }
.dl-btn:hover { opacity: 1; transform: translateY(-1px); }
.dl-btn .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; flex: none; }
.dl-btn .t { display: flex; flex-direction: column; gap: 3px; }
.dl-btn .t b { font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.dl-btn .t span { font-size: 13px; color: var(--edge); }

/* Cards and sections */
.card { border-radius: 18px; background: var(--card); padding: clamp(28px, 3vw, 44px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px rgba(0,0,0,.06); }
.card.dark { background: var(--ink); color: var(--card); box-shadow: none; }
.card.dark .mute { color: #b9b5ad; }
.stack { display: flex; flex-direction: column; }
.g6 { gap: 6px; } .g10 { gap: 10px; } .g14 { gap: 14px; } .g18 { gap: 18px; } .g22 { gap: 22px; } .g28 { gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sec { padding-top: clamp(80px, 9vw, 140px); }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 1px solid var(--ink); padding-top: 14px; }
.head h2, .head p { font-weight: 500; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); }
.two.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--soft); }
.card.dark .pill { background: #2e2c29; color: var(--card); }
.price { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.price b { font-weight: 600; font-size: clamp(44px, 5vw, 80px); line-height: .9; letter-spacing: -.06em; }
.price span { font-size: 17px; opacity: .75; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 10px; }
.field input { min-height: 56px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--edge); background: var(--field); color: var(--ink); font: 400 17px 'Geist', sans-serif; width: 100%; }
.field input::placeholder { color: #8f8b84; }
.field input.code { min-height: 72px; font: 500 36px 'JetBrains Mono', monospace; letter-spacing: .5em; text-align: center; }
.note { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--mute); }
.note.bad { color: var(--danger); }
.note.ok { color: var(--ink); }

/* Lists */
.specs { margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 36px); }
.specs > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.specs dd { margin: 6px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 19px; line-height: 1.4; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: '*'; color: var(--orange); font-weight: 600; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 4vw, 64px); margin-top: 28px; }
.qa > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0; font-weight: 600; font-size: 22px; letter-spacing: -.03em; }
.qa p { margin: 10px 0 0; color: var(--soft); }
.keycap { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(180deg, #2d2d2d, #121212);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -3px 0 rgba(0,0,0,.5), 0 5px 0 #050505, 0 10px 18px rgba(0,0,0,.3); color: var(--card); font: 24px 'JetBrains Mono', monospace; }
.keycap.on { color: var(--orange); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--card); font-weight: 500; font-size: 13px; }
.chips li:last-child { background: var(--ink); color: var(--card); }
.meter { height: 10px; border-radius: 999px; background: #3a3835; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 999px; transition: width .6s; }
.kv { margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dd { margin: 0; }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-radius: 16px; background: var(--ink); color: var(--card); }

/* The app shot: floating, tilting toward the pointer (the landing page's) */
.shot { perspective: 1600px; }
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tilt img { display: block; width: 100%; height: auto; border-radius: clamp(8px, .9vw, 14px); box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 40px 90px rgba(0,0,0,.35); pointer-events: none; }

/* Plans */
.plan { text-align: left; font: inherit; cursor: pointer; min-height: 380px; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
  background: var(--card); color: var(--ink); border: 2px solid transparent; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px rgba(0,0,0,.06); transition: background .2s, color .2s, transform .2s; }
.plan[aria-checked="true"] { background: var(--ink); color: var(--card); border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.plan[aria-checked="true"] .mono.kind { color: var(--orange); }
.plan .name { font-weight: 600; font-size: 30px; letter-spacing: -.04em; }
.plan .price { flex-wrap: wrap; gap: 4px 8px; }
.plan .price b { font-size: clamp(36px, 3.4vw, 52px); white-space: nowrap; }
.plan .price span { white-space: nowrap; }
.plan ul { margin: auto 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; gap: 6px; }
.plan li::before { content: '— '; }

/* Footer */
.foot { padding-top: clamp(96px, 10vw, 160px); padding-bottom: 28px; display: flex; flex-direction: column; gap: 28px; }
.wordmark { margin: 0 calc(clamp(8px, 1.1vw, 16px) - var(--pad)); overflow-x: clip; }   /* the wordmark's bleed never widens the page */
.wordmark img { display: block; width: 106.43%; max-width: none; height: auto; margin: -4% 0 -2.4% -3.52%; pointer-events: none; }
.foot .bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; }
.foot .bar p:last-child { display: flex; gap: 22px; }

@media (max-width: 900px) {
  .hide-sm { display: none !important; }
  .two, .two.rev, .three, .specs, .qa { grid-template-columns: minmax(0, 1fr); }
  .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .four { grid-template-columns: minmax(0, 1fr); } .plan { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .tilt, .plan, .meter i, .dl-btn { transition: none; } }

/* Pricing v4 (assets/pricing-v1.js): the billing toggle, the plan cards, the License row */
.pv4-top { margin-bottom: 20px; }
.pv4-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 14px rgba(0,0,0,.05); }
.pv4-seg button { font: inherit; font-size: 15px; font-weight: 500; border: 0; background: none; color: var(--soft); padding: 10px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.pv4-seg button span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--orange); letter-spacing: .02em; }
.pv4-seg button[aria-checked="true"] { background: var(--ink); color: var(--card); }
.pv4-plans { gap: clamp(16px, 2vw, 28px); }
.pv4-plan { min-height: 440px; }
.pv4-sub { font-size: 12px; }
.pv4-sessions { margin: 0; font-size: 17px; }
.pv4-list { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.4; display: flex; flex-direction: column; gap: 6px; }
.pv4-list li::before { content: '— '; opacity: .6; }
.pv4-trial { margin: 18px 0 0; font-size: 12px; }
.pv4-own { margin-top: clamp(28px, 3vw, 44px); justify-content: space-between; align-items: center; gap: clamp(20px, 3vw, 48px); }
.pv4-own-line { margin: 0; font-size: 18px; line-height: 1.45; }
.pv4-topup { margin: 22px 0 0; font-size: 15px; max-width: 820px; }
.btn[aria-disabled="true"] { opacity: .5; cursor: default; }
@media (max-width: 900px) { .pv4-plan { min-height: 0; } .pv4-plan .row[style*="margin-top: auto"] { margin-top: 8px !important; } }
.pv4-plan > .row:first-child { min-height: 30px; }
/* Two columns that collapse on a phone (the sign-in page: the heading, then the form under it) */
.two.si { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); }
@media (max-width: 900px) { .two.si { grid-template-columns: minmax(0, 1fr); } }

.pv4-notice { margin: 18px 0 0; font-size: 14px; line-height: 1.45; max-width: 860px; }
