/* VersoPro marketing page (U54). Its own small stylesheet, built on the
 * identity's palette (versopro_identity/README.txt): flat paper, one clay
 * accent, forest green for the client section and the sample sites' ground.
 * Newsreader headings, Inter for the rest. Light only. Nothing moves on its
 * own. Colors only from the tokens below. */

:root {
  --ink: #1c1a17;
  --paper: #f6f2ea;
  --clay: #a63d25;
  --forest: #173f37;
  --reverse: #fffdf9;
  --clay-pale: #e6a28a;
  --ink-2: #48433b;
  --ink-3: #6b6458;
  --line: #ddd3c2;
  --paper-2: #ede5d6;
  --clay-deep: #84301d;
  --on-forest-2: #c7d3cd;
  --on-forest-line: rgb(255 253 249 / 0.2);
  --shadow: 0 1px 2px rgb(28 26 23 / 0.06), 0 14px 32px -18px rgb(28 26 23 / 0.35);
  --radius: 3px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --top-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --head: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--head); font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
.band :focus-visible, .cta :focus-visible, .foot :focus-visible { outline-color: var(--clay-pale); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn.solid { background: var(--clay); border-color: var(--clay); color: var(--reverse); }
.btn.light { background: var(--reverse); border-color: var(--reverse); color: var(--ink); }
/* Not clickable yet (checkout comes with payments): quiet, no hover. */
.btn.soon { border-color: var(--line); color: var(--ink-2); background: transparent; cursor: default; }
.btn.solid.soon { background: var(--clay-pale); border-color: var(--clay-pale); color: var(--ink); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
@media (hover: hover) {
  .btn:hover { background: var(--ink); color: var(--paper); }
  .btn.solid:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--reverse); }
  .btn.soon:hover, .btn.solid.soon:hover { background: transparent; color: var(--ink-2); border-color: var(--line); }
  .btn.solid.soon:hover { background: var(--clay-pale); color: var(--ink); border-color: var(--clay-pale); }
  .btn.light:hover { background: var(--clay-pale); border-color: var(--clay-pale); color: var(--ink); }
}

/* Top bar: flat paper, a hairline under it */
.top { position: sticky; top: 0; z-index: 20; height: var(--top-h); background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; }
.logo img { width: 160px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 28px; }
.top-nav a:not(.btn) { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding-block: 6px; }
@media (hover: hover) { .top-nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; } }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); border-radius: var(--radius); cursor: pointer; }
.menu-btn .i { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .top-nav {
    position: absolute; left: 0; right: 0; top: var(--top-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .top-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
  .top-nav a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .top-nav .btn { margin-top: 16px; }
}

/* Hero: the headline centered over a still row of photos */
.hero { padding-top: clamp(40px, 7vw, 96px); text-align: center; }
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); line-height: 1; letter-spacing: -0.02em; max-width: 17ch; margin-inline: auto; }
.lede { margin: 24px auto 0; max-width: 32em; font-size: clamp(18px, 1.7vw, 20px); color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 32px; }
.actions .plain { font-weight: 500; text-underline-offset: 4px; }
.price-note { margin-top: 18px; font-size: 15px; color: var(--ink-3); }

.sheet { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); margin-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); align-items: end; }
.sheet figure { margin: 0; position: relative; }
.sheet img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
/* The picked photo: the logo's two corners, square-capped, in ink, and a heart. */
.picked { padding: 10%; }
.picked::before, .picked::after { content: ""; position: absolute; width: 38%; height: 38%; border: 0 solid var(--ink); }
.picked::before { left: 0; top: 0; border-width: 4px 0 0 4px; }
.picked::after { right: 0; bottom: 0; border-width: 0 4px 4px 0; }
.heart { position: absolute; right: 16%; top: 14%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--reverse); color: var(--clay); }
.heart .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section.tint { background: var(--paper-2); }
h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 20ch; }
.section-lede { margin-top: 16px; max-width: 56ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }

/* The client gallery, on forest green */
.band { background: var(--forest); color: var(--reverse); padding-block: clamp(64px, 9vw, 128px); }
.band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band h2 { max-width: 16ch; }
.band .intro { margin-top: 16px; max-width: 32em; color: var(--on-forest-2); }
.stages { list-style: none; margin: 36px 0 0; padding: 0; }
.stages li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--on-forest-line); }
.stages b { font-weight: 600; font-size: 15px; color: var(--clay-pale); }
.stages p { color: var(--on-forest-2); font-size: 16px; }
.screens { position: relative; padding-left: 14%; padding-bottom: 10%; }
.screens .device.phone { position: absolute; left: 0; bottom: 0; width: 30%; }

/* Screenshots: a hairline border and the web address as a caption */
.shot { margin: 0; }
.shot img { border: 1px solid var(--line); border-radius: var(--radius); background: var(--reverse); }
.band .shot img { border-color: var(--on-forest-line); }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.band .shot figcaption { color: var(--on-forest-2); text-align: right; }

/* The phone is the owner's frame image (388x800) laid over the screenshot. The
 * screen hole measured from its alpha: 354x772 at (17, 14), corner radius ~56.
 * Sizes are in cqw (the figure's width) so the crop variant can be shorter. */
.device { margin: 0; }
.device.phone { position: relative; container-type: inline-size; aspect-ratio: 388 / 800; filter: drop-shadow(0 14px 18px rgb(28 26 23 / 0.25)); }
.device.phone img { position: absolute; left: 4.38cqw; top: 3.61cqw; width: 91.24cqw; height: 198.97cqw; max-width: none; object-fit: cover; border-radius: 14.4cqw; }
.device.phone::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 388 / 800; background: url("../images/iphone-frame.png") 0 0 / 100% 100% no-repeat; pointer-events: none; }

/* Examples */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 36px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--reverse); }
.tabs [role="tab"] { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 2px; background: transparent; color: var(--ink-2); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .tabs [role="tab"]:not([aria-selected="true"]):hover { color: var(--ink); } }
.panel { margin-top: 32px; }
.panel:focus-visible { outline-offset: 8px; }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 220px); gap: clamp(16px, 3vw, 32px); align-items: end; }

/* How it works */
.track { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.track.flip .track-copy { order: 2; }
.track-title { font: 400 clamp(26px, 2.8vw, 36px)/1.1 var(--head); letter-spacing: -0.01em; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 40px; border-top: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 18px; font: 500 20px/1.4 var(--head); color: var(--clay); }
.steps li b { color: var(--ink); font-weight: 600; }
.client-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 32px); align-items: start; max-width: 560px; }
.client-shots .device:nth-child(2) { margin-top: 56px; }
/* Phones cut off below the content: the sign-in screens are short. */
.device.phone.crop { aspect-ratio: 388 / 640; overflow: hidden; filter: none; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }

/* Pricing */
.cycle { display: inline-flex; gap: 4px; margin: 36px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--reverse); }
.cycle label { position: relative; }
.cycle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cycle span { display: block; min-width: 96px; padding: 10px 18px; border-radius: 2px; text-align: center; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.cycle input:checked + span { background: var(--ink); color: var(--paper); }
.cycle input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.cycle-note { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; background: var(--reverse); border: 1px solid var(--line); border-radius: var(--radius); }
.plan.featured { border: 2px solid var(--clay); }
.recommended { position: absolute; top: 12px; right: 16px; font-size: 14px; font-weight: 600; color: var(--clay); }
.plan h3 { font: 400 30px/1.1 var(--head); }
.plan-pitch { margin-top: 8px; color: var(--ink-2); font-size: 16px; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.amount { font: 400 clamp(44px, 5vw, 56px)/1 var(--head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.per { color: var(--ink-3); font-size: 16px; }
.billed { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.plan-rows { margin: 24px 0 28px; }
.plan-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan-rows dt { color: var(--ink-2); }
.plan-rows dd { margin: 0; font-weight: 600; text-align: right; }
.plan .btn { margin-top: auto; }
.fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* What's in every plan: two plain lists, term then one sentence */
.includes-title { margin-top: clamp(56px, 8vw, 104px); font: 400 clamp(30px, 4vw, 48px)/1.05 var(--head); letter-spacing: -0.015em; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 88px); margin-top: clamp(28px, 4vw, 44px); align-items: start; }
.col h4 { font: 600 15px/1.3 var(--sans); padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.col:last-child h4 { color: var(--clay); border-color: var(--clay); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts strong { display: block; font: 600 16px/1.35 var(--sans); }
.facts span { display: block; margin-top: 3px; color: var(--ink-2); font-size: 16px; }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font: 400 clamp(20px, 1.9vw, 23px)/1.3 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--clay); transition: transform 0.25s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 62ch; }

/* Call to action: flat forest green */
.cta { padding-block: clamp(72px, 10vw, 128px); background: var(--forest); color: var(--reverse); }
.cta-in { display: grid; justify-items: start; gap: 20px; }
.cta h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16ch; }
.cta p { max-width: 46ch; font-size: 19px; color: var(--on-forest-2); }
.cta .btn { margin-top: 8px; }

/* Footer, on ink */
.foot { padding-block: 40px; background: var(--ink); color: var(--on-forest-2); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot a:not(.logo) { color: var(--reverse); }

/* Narrower screens */
@media (max-width: 1000px) {
  .band-in, .track, .track.flip { grid-template-columns: 1fr; }
  .track.flip .track-copy { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan-pitch { min-height: 0; }
  .cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  :root { --top-h: 68px; }
  .logo img { width: 150px; }
  .sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet .wide-only { display: none; }
  .stages li { grid-template-columns: 1fr; gap: 2px; }
  .screens { padding-left: 10%; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase .device.phone { width: 58%; justify-self: center; }
  .client-shots .device:nth-child(2) { margin-top: 28px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs [role="tab"] { padding-inline: 4px; font-size: 14px; }
  .faq summary { padding-right: 40px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
