/* Lynx Renovation & Extension landing page (from the Claude Design »Renovation Landing v2«).
   Tokens come from tokens.css; this file only lays out the page. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone-50);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-tight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
img, video { max-width: 100%; }

.wrap { max-width: 1248px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack-12, .stack-16, .stack-24, .stack-32, .stack-48, .stack-64 { display: flex; flex-direction: column; }
.stack-12 { gap: 12px; } .stack-16 { gap: 16px; } .stack-24 { gap: 24px; }
.stack-32 { gap: 32px; } .stack-48 { gap: 48px; } .stack-64 { gap: 64px; }

/* ---- Buttons + chips ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  border-radius: 4px; transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
  white-space: nowrap;
}
.btn--sm { font-size: 20px; padding: 12px 20px; }
.btn--lg { font-size: 24px; padding: 18px 28px; }
.btn--block { display: flex; width: 100%; }
.btn--dark { background: var(--rich-700); color: #FFFFFF; }
.btn--dark:hover { background: var(--rich-300); }
.btn--gold { background: var(--aurora); color: var(--rich-700); }
.btn--gold:hover { background: var(--aurora-hover); }
.btn--line { align-self: flex-start; border: 1px solid var(--charcoal-700); color: var(--charcoal-700); font-size: 20px; padding: 14px 22px; }
.btn--line:hover { background: var(--bone-500); color: var(--rich-700); }
.btn:focus-visible { outline: 2px solid var(--aurora-deep); outline-offset: 3px; }

.chip {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2;
  color: var(--aurora-deep); background: var(--aurora-l3); border: 1px solid var(--aurora-l2);
  padding: 5px 8px; border-radius: 2px; white-space: nowrap;
}
.chip--gold { border-color: transparent; }

/* ---- Header ---- */
.top { position: sticky; top: 0; z-index: 10; background: var(--bone-300); border-bottom: 1px solid var(--line-2); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.top__brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.top__logo { height: 20px; display: block; }

/* ---- Type ---- */
.kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-900); }
.kicker__sq { width: 10px; height: 10px; background: var(--aurora); flex: none; }
.h-hero, .h-sec, .h-step, .h-feat, .h-final, .stat__num, .step__num, .price__num {
  font-family: var(--font-display); font-weight: 600; letter-spacing: var(--ls-display);
}
.h-hero { font-size: clamp(56px, 7vw, 96px); line-height: 0.85; color: var(--rich-700); text-wrap: balance; }
.h-sec { font-size: clamp(40px, 5vw, 72px); line-height: 0.9; color: var(--rich-700); text-wrap: balance; }
.h-sec--wide { max-width: 980px; }
.h-sec--64 { font-size: clamp(40px, 5vw, 64px); }
.h-sec--ink { color: #FFFFFF; }
.lead { font-size: 20px; line-height: 1.45; color: var(--charcoal-700); max-width: 520px; text-wrap: pretty; }
.lead--ink { color: var(--fg-on-ink-2); max-width: none; }
.body18 { font-size: 18px; line-height: 1.4; color: var(--charcoal-700); text-wrap: pretty; }
.measure { max-width: 480px; color: var(--fg-2); }
.caps { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-700); line-height: 1.1; }
.label {
  display: flex; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3);
}
.label--ink { border-top-color: var(--line-on-ink); color: var(--fg-on-ink-2); }
.label--bone { color: var(--bone-900); }

/* ---- Sections ---- */
.sec { padding: 128px 0; }
.sec--bone50 { background: var(--bone-50); }
.sec--bone200 { background: var(--bone-200); }
.sec--bone400 { background: var(--bone-400); }
.sec--ink { background: var(--rich-700); color: #FFFFFF; }
.sec--problem { padding-bottom: 96px; }
.sec--steps { padding-top: 32px; }
.sec--quotes { padding-bottom: 96px; }
.sec--pricing { padding-top: 32px; }
.sec--quotes[hidden] + .sec--pricing { padding-top: 128px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 64px; align-items: end; }
.split--center { align-items: center; }
.split--start { align-items: start; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--bone-400); color: var(--rich-700); }
.hero__motif { position: absolute; right: -180px; top: -120px; width: 720px; max-width: none; opacity: 0.08; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__terms { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; color: var(--bone-900); }
.hero__price { color: var(--rich-700); font-weight: 600; }
.hero__media { position: relative; aspect-ratio: 16 / 10; width: 100%; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; background: var(--rich-700); display: block; }
.hero__proof { position: relative; border-top: 1px solid var(--line-2); }
.hero__proof-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--charcoal-700); }
.hero__proof strong { color: var(--rich-700); font-weight: 600; }
.vr { width: 1px; height: 20px; background: var(--line-2); }

/* ---- Problem stats ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line-1); }
.stat { padding: 32px 32px 32px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line-1); }
.stat__num { font-size: 88px; line-height: 0.8; color: var(--rich-700); }
.stat__txt { font-size: 16px; line-height: 1.45; color: var(--fg-2); }
.src { font-size: 13px; line-height: 1.4; color: var(--fg-3); }

/* ---- Steps ---- */
.step { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line-1); }
.step__txt { display: flex; flex-direction: column; gap: 20px; }
.step__num { font-size: 64px; line-height: 0.8; color: var(--charcoal-300); }
.h-step { font-size: 40px; line-height: 1; color: var(--rich-700); }
.step__body { font-size: 18px; line-height: 1.4; color: var(--fg-2); max-width: 480px; text-wrap: pretty; }
@media (min-width: 860px) { .step--flip .step__txt { order: 2; } }

/* ---- Features ---- */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--line-on-ink); }
.feat { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line-on-ink); display: flex; flex-direction: column; gap: 12px; }
.feat__num { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--aurora); }
.h-feat { font-size: 30px; line-height: 1; color: #FFFFFF; }
.feat__body { font-size: 16px; line-height: 1.45; color: var(--fg-on-ink-2); text-wrap: pretty; }

/* ---- Screenshots (drop files into landing/shots/; until then a labelled placeholder shows) ---- */
.shot { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone-200); }
.shot--wide { aspect-ratio: 16 / 8; }
.shot--43 { aspect-ratio: 4 / 3; }
.shot--45 { aspect-ratio: 4 / 5; }
.shot--r8 { border-radius: 8px; }
.shot--r16 { border-radius: 16px; }
.shot--card { background: var(--bone-50); box-shadow: var(--shadow-warm); }
.shot--ink { background: var(--rich-300); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; opacity: 0; transition: opacity var(--dur-2) var(--ease-out); }
.shot img.is-in { opacity: 1; }
.shot--contain img { object-fit: contain; }
.shot__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-800);
  background-image: url('assets/lynx-x-motif.svg'); background-repeat: no-repeat; background-position: center; background-size: 40%;
  background-blend-mode: luminosity; opacity: 0.55;
}
.shot--ink .shot__ph { color: var(--fg-on-ink-2); }

/* ---- Before / after ---- */
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.legend { display: flex; flex-wrap: wrap; gap: 32px; font-size: 16px; color: var(--charcoal-700); }
.legend span { display: flex; align-items: center; gap: 10px; }
.legend i { width: 14px; height: 14px; display: block; }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.quote { padding: 32px; background: #FFFFFF; box-shadow: var(--shadow-2); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.05; letter-spacing: var(--ls-display); color: var(--rich-700); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--bone-300) center / cover no-repeat; }
.quote__who { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.3; color: var(--fg-3); }
.quote__who strong { font-weight: 600; color: var(--rich-700); }

/* ---- Pricing ---- */
.price { background: #FFFFFF; box-shadow: var(--shadow-3); padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.price__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.price__amount { display: flex; align-items: baseline; gap: 12px; }
.price__num { font-size: 110px; line-height: 0.8; color: var(--rich-700); }
.price__note { font-size: 16px; color: var(--fg-3); }
.price__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-1); }
.price__list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-1); font-size: 16px; line-height: 1.4; color: var(--fg-2); }
.price__list li::before { content: '–'; color: var(--fg-4); }
.fine { font-size: 13px; line-height: 1.4; color: var(--fg-3); text-align: center; }

/* ---- Final CTA ---- */
.final { position: relative; overflow: hidden; }
.final__motif { position: absolute; left: 50%; top: 50%; width: 900px; max-width: none; transform: translate(-50%, -50%); opacity: 0.06; filter: brightness(0) invert(1); pointer-events: none; }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.h-final { font-size: clamp(48px, 6vw, 96px); line-height: 0.85; color: #FFFFFF; max-width: 900px; text-wrap: balance; }
.final__lead { max-width: 560px; }
.final__terms { font-size: 14px; color: var(--fg-on-ink-2); }

/* ---- Footer ---- */
.foot { background: var(--rich-900); color: var(--fg-on-ink-2); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 48px; padding-bottom: 48px; font-size: 14px; line-height: 1.5; }
.foot__logo { height: 18px; display: block; align-self: flex-start; }
.foot__links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot__links a:hover { color: #FFFFFF; }

/* ---- Phone ---- */
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { padding: 72px 0; }
  .sec--problem, .sec--quotes { padding-bottom: 56px; }
  .sec--steps, .sec--pricing { padding-top: 16px; }
  .sec--quotes[hidden] + .sec--pricing { padding-top: 72px; }
  .stack-64, .split { gap: 40px; }
  .hero__grid { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero__motif { width: 420px; right: -140px; top: -80px; }
  .h-hero { font-size: 52px; }
  .lead { font-size: 18px; }
  .btn--sm { font-size: 18px; padding: 10px 14px; }
  .btn--lg { font-size: 22px; padding: 16px 22px; }
  .top__brand { gap: 10px; }
  .top__logo { height: 16px; }
  .hero__proof-in .vr { display: none; }
  .hero__proof-in { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat, .feat { padding-right: 0; }
  .stat__num { font-size: 72px; }
  .h-step { font-size: 34px; }
  .price { padding: 24px; }
  .price__num { font-size: 88px; }
  .price__head { flex-direction: column; }
  .btn--lg.btn--block, .final .btn--lg { white-space: normal; text-align: center; }
}
@media (max-width: 400px) {
  .top .chip { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
