@font-face { font-family: "Geist"; src: url("/fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* rotatekeys.app landing v3: warm-editorial, matches the launch video (cream, DM Serif, one green italic accent). Phone first. */
:root {
  --bg: #f8f6ef; --card: #fff; --ink: #171717; --muted: #5f5f5a; --line: #e5e3dc;
  --green: #16a34a; --gd: #0f7a3a; --gl: #e3f4e9; --yellow: #fde68a; --yl: #f2c94c; --grey: #e7e5df;
  --r: 16px; --max: 720px;
  --serif: "DMS", Georgia, serif; --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 9; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 70%, transparent); outline-offset: 3px; border-radius: 6px; }

.top { max-width: 1100px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 700; text-decoration: none; font-size: 17px; }
.brand span { font-weight: 400; color: var(--muted); }
.brand i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--green); margin-right: 9px; vertical-align: 1px; }
.signin { font-size: 15px; color: var(--muted); text-decoration: none; padding: 10px 4px; }

section { max-width: var(--max); margin: 0 auto; padding: 56px 20px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 9vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(32px, 6.4vw, 48px); line-height: 1.08; margin-bottom: 20px; }
h1 em, h2 em, .big em { font-style: italic; color: var(--gd); }
h3 { font-size: 18px; margin-bottom: 6px; }

/* hero */
.hero { text-align: center; padding-top: 36px; max-width: 860px;
  background: radial-gradient(640px 420px at 50% 30%, rgba(226,236,190,.55), rgba(248,246,239,0) 70%); }
.badge { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--gd); background: var(--gl); padding: 8px 14px; border-radius: 999px; margin-bottom: 24px; }
.badge b, p.live b { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.hero h1 em { display: block; }
.sub { font-size: 19px; color: var(--muted); max-width: 560px; margin: 22px auto 0; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; }
.btn { display: inline-block; background: var(--gd); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; padding: 16px 32px; border-radius: 14px; min-height: 52px; box-shadow: 0 8px 24px rgba(22,163,74,.25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(22,163,74,.32); }
.watch { font-weight: 600; color: var(--ink); padding: 10px 6px; text-underline-offset: 4px; }
.trust { font-size: 14px; color: var(--muted); margin-top: 14px; }
.hero-media { margin: 40px auto 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.08); background: var(--card); max-width: 760px; }
p.live { margin: 18px auto 0; font-size: 14px; color: var(--muted); max-width: 520px; }
p.live b { display: inline-block; margin-right: 8px; vertical-align: 1px; }
p.live[hidden] { display: none; }

/* hard part */
.hard p { font-size: 19px; }
blockquote { margin: 34px 0; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-family: var(--serif); font-size: 26px; line-height: 1.25; }
cite { display: block; font: 14px/1.4 var(--sans); font-style: normal; color: var(--muted); margin-top: 10px; }
.stat { font-size: 20px; line-height: 1.4; margin-top: 26px; }
.stat strong { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: #b91c1c; vertical-align: -4px; }
.story cite { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.story cite img { width: 40px; height: 40px; border-radius: 50%; }

/* proof */
.player { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #000; }
.note { font-size: 15px; color: var(--muted); margin-top: 8px; }
.map .note { margin: 0 0 14px; }
.big { font-family: var(--serif); font-size: clamp(26px, 5vw, 34px); line-height: 1.2; margin-top: 30px; }

/* how */
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--line); font-size: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 14px; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--green); }
.steps b { display: block; font-size: 19px; }

/* trust */
.trustblock p { font-size: 18px; margin-bottom: 14px; }
.nets { display: grid; gap: 14px; margin-top: 26px; }
.nets div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.nets p { font-size: 16px; margin: 0; color: var(--muted); }

/* price */
.plans { display: grid; gap: 14px; }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 24px; }
.plan.on { border: 2px solid var(--green); }
.amt { font-family: var(--serif); font-size: 44px; line-height: 1.1; margin: 4px 0 8px; }
.amt.soon { font-size: 28px; color: var(--muted); }
.amt small { font-size: 18px; font-family: inherit; color: var(--muted); margin-left: 2px; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; }
.price .lede { font-size: 19px; color: var(--muted); margin: -8px 0 24px; }
.who { color: var(--muted); margin: 0 0 14px; }
@media (min-width: 640px) { .who { min-height: 3.2em; } }
.ticks { list-style: none; margin: 0 0 4px; }
.ticks li { padding: 6px 0; font-size: 17px; line-height: 1.45; border-top: 1px solid var(--line); }
.plans { align-items: stretch; }
.buy { margin-top: auto; padding-top: 20px; }
.plan .buy .btn { margin-top: 0; width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; }
.plan .btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.under { font-size: 16px; line-height: 24px; color: var(--muted); text-align: center; margin-top: 12px; }
.under a { color: var(--ink); font-weight: 600; }
.price p.fine { font-size: 16px; color: var(--muted); margin: 16px 0 0; }
.deal { font-size: 16px; color: var(--muted); margin: 14px 0 0; }
.price .notify { max-width: 520px; margin-top: 28px; }
.notify { margin-top: 18px; display: grid; gap: 8px; }
.notify label { font-size: 14px; font-weight: 600; }
.notify input { font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); width: 100%; }
.btn2 { font: inherit; font-weight: 700; font-size: 16px; min-height: 48px; margin-top: 6px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.n-msg { font-size: 15px; color: var(--gd); min-height: 1em; }
.plan .btn { margin-top: 16px; display: block; text-align: center; padding: 16px 12px; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin-top: 8px; }

/* price + final */
.works { font-size: 16px; color: var(--muted); margin: 20px 0 0; }
.works b { color: var(--ink); }
.final { text-align: center; }

.foot-links { margin-bottom: 10px; line-height: 2; }
.foot-links a { color: var(--muted); }
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 30px 20px 48px; border-top: 1px solid var(--line); }

@media (min-width: 720px) {
  section { padding: 96px 24px; }
  .cta-row { flex-direction: row; justify-content: center; gap: 26px; }
  .grid div { font-size: 14px; padding: 7px 12px; }
  .nets, .plans { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.n-note { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot-links a { display: inline-block; padding: 10px 6px; }
/* ---------- v2: Elaya-style look (rules: github.com/elayadesign/ai-design-skills) ---------- */
:root {
  --bg: #f5f3e4; --ink: #171717; --muted: #5f5f5a; --soft: #6b6b66; --cobalt: #2a3f9d;
  --serif: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
body { font: 16px/24px var(--sans); }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 36px; line-height: 40px; }
h2 { font-size: 30px; line-height: 36px; }
@media (min-width: 640px) { h1 { font-size: 48px; line-height: 1.05; } h2 { font-size: 36px; line-height: 40px; } }
h1 em, h2 em, .big em { font-style: normal; color: var(--soft); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--cobalt) 60%, transparent); }

/* floating pill nav */
header.top.pill { position: sticky; top: 16px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: max-content; max-width: calc(100% - 32px); margin: 16px auto 0; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); }
header.top.pill .signin { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); transition: background .5s var(--ease); }
header.top.pill .signin:hover { background: var(--grey); }

/* hero: words left, engraving right */
.hero { text-align: left; max-width: 1120px; background: none; display: grid; gap: 40px; padding-top: 40px; }
.hero-text { max-width: 680px; }
.hero h1 { background: linear-gradient(90deg, #000 0%, #666 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em { color: inherit; margin-top: 8px; }
.sub { font-size: 18px; line-height: 28px; margin: 24px 0 0; max-width: 680px; }
.cta-row { align-items: flex-start; justify-content: flex-start; margin-top: 32px; gap: 12px; }
@media (min-width: 600px) { .cta-row { align-items: center; } }
.trust { margin-top: 12px; }
p.live { grid-column: 1 / -1; margin: 0; }
@media (min-width: 960px) { .hero { grid-template-columns: 1fr 460px; align-items: center; gap: 48px; padding-top: 64px; } }

.hero-art { position: relative; margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply;
  /* fade the paper edges into the page so the engraving has no box around it */
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 55% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 58% at 55% 50%, #000 55%, transparent 100%); }
.float-card { position: absolute; left: 12px; bottom: 16px; max-width: 86%; display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; font-size: 14px; line-height: 20px; font-weight: 600;
  box-shadow: 0 16px 40px rgba(23, 23, 23, .12); animation: card-in 1s var(--ease) .5s both, card-float 6s ease-in-out 1.5s infinite; }
.float-card b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; }
.float-card small { display: block; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--muted); }
@media (min-width: 960px) { .float-card { left: -32px; bottom: 32px; } }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* glints on the new keys: tiny four point stars, a few hundred bytes of CSS instead of a GIF */
.glint { position: absolute; width: 18px; height: 18px; background: #fff; pointer-events: none; opacity: 0;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px rgba(42, 63, 157, .9)); animation: glint 3.6s var(--ease) infinite; }
.g1 { left: 57%; top: 22%; } .g2 { left: 77%; top: 40%; animation-delay: 1.2s; } .g3 { left: 88%; top: 18%; animation-delay: 2.4s; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 82% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* buttons */
.btn { background: var(--ink); font-size: 16px; font-weight: 600; padding: 12px 24px; min-height: 48px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(23, 23, 23, .18); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease); }
.btn:hover { background: #000; box-shadow: 0 12px 28px rgba(23, 23, 23, .24); }
.btn:active { transform: scale(.98); }

/* sections */
blockquote { font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 500; }
.stat strong { font-family: var(--sans); font-weight: 600; font-size: 48px; }
.big { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; font-size: 24px; line-height: 32px; }
.steps li::before { font-family: var(--sans); font-weight: 600; font-size: 36px; color: var(--cobalt); }
.plan.on { border-color: var(--cobalt); }

/* tagline reveal: each word goes from faint to full as it crosses a line on the screen */
section.tagline { max-width: 880px; padding: 96px 20px; }
.reveal { max-width: 680px; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 640px) { .reveal { font-size: 48px; line-height: 1.1; } }
.reveal .w { color: rgba(23, 23, 23, .28); transition: color .7s var(--ease); }
.reveal .w.on { color: var(--ink); }

/* soft fade up for sections that start below the screen (JS adds .pre only to those) */
.rv { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.rv.pre { opacity: 0; transform: translateY(64px); filter: blur(8px); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv.pre { opacity: 1; transform: none; filter: none; transition: none; }
  .glint { display: none; }
  .float-card { animation: none; }
  .reveal .w { color: var(--ink); transition: none; }
}

/* review 10/24: the card hangs over the picture's edge on purpose; the waitlist is not a second plan */
@media (max-width: 959px) { .hero-art { margin-bottom: 24px; } .float-card { bottom: -20px; } }
.plan:not(.on) { background: transparent; box-shadow: none; }
/* 10/25 price cards: calm. One accent only: the Pro border. */
.plan.on { background: #fff; }
.plan .btn.ghost { border-radius: 12px; }

/* 11/22: how it works reads as a sequence, every change tested two ways, what else the robot does.
   Wider sections only where the layout uses the width; text columns stay readable. */
.how, .tested, .more { max-width: 1040px; }
.how .works, .tested .works { max-width: 720px; }
@media (min-width: 960px) {
  .steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--line); }
  .steps li { padding: 64px 0 0; border-top: none; font-size: 16px; line-height: 24px; color: var(--muted); }
  .steps li::before { top: 0; padding-right: 12px; background: var(--bg); }
  .steps b { color: var(--ink); margin-bottom: 8px; }
}

.tested-grid { display: grid; gap: 32px; margin-top: 8px; }
.checks { list-style: none; }
.checks li { padding: 20px 0; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: none; padding-top: 0; }
.checks p { font-size: 16px; color: var(--muted); }
.code { margin: 0; background: var(--ink); color: #e7e5df; border-radius: 16px; padding: 24px; min-width: 0; }
.code pre { font: 15px/24px ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-x: auto; }
.code .c-ok { color: #4ade80; }
.code .c-dim { color: #a3a39c; }
.code figcaption { margin-top: 16px; padding-top: 16px; border-top: 1px solid #333; font-size: 14px; line-height: 20px; color: #bdbbb4; }
@media (min-width: 960px) { .tested-grid { grid-template-columns: 1fr 420px; gap: 56px; align-items: start; margin-top: 16px; } }

.more-grid { display: grid; margin-top: 8px; }
.more-grid div { padding: 20px 0; border-top: 1px solid var(--line); }
.more-grid p { font-size: 16px; color: var(--muted); }
@media (min-width: 640px) { .more-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
