/* Luffiis — site styles
   Layout: 12-col asymmetric grid, 40px margins, huge display type against small calm text.
   Palette: Paper ~60%, Ink ~30%, Bone ≤8%, Signal Blue ≤2% (dots, links, primary button, focus). */

:root {
  --surface: #ffffff;
  --surface-alt: #f3f0ea;          /* Bone — one band per page */
  --ink: #141414;
  --ink-muted: #5c5c5c;
  --line: #e4e2dd;
  --line-strong: #141414;
  --signal: #2b4bff;
  --signal-press: #1f38d9;
  --on-signal: #ffffff;
  --inv-bg: #141414;               /* full-bleed Ink sections */
  --inv-fg: #ffffff;
  --inv-muted: #a3a3a3;
  --inv-line: #2e2e2e;
  --inv-signal: #7088ff;
  --dot: #2b4bff;                  /* logo i-dots, fixed in every theme */
  --grain: .12;

  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --display-xl: clamp(64px, 12vw, 200px);
  --display-l: clamp(52px, 7.4vw, 120px);
  --display-m: clamp(38px, 4.4vw, 64px);
  --heading: clamp(26px, 2.3vw, 32px);
  --title: 22px;
  --body-l: clamp(18px, 1.35vw, 20px);
  --body: 16px;
  --caption: 13px;

  --margin: 40px;
  --gutter: 24px;
  --section: 168px;
  --page-max: 1680px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #141414; --surface-alt: #1e1e1e; --ink: #ffffff; --ink-muted: #a3a3a3;
    --line: #2e2e2e; --line-strong: #ffffff; --signal: #7088ff; --signal-press: #8fa2ff; --on-signal: #141414;
    --inv-bg: #0c0c0c; --inv-fg: #ffffff; --inv-muted: #a3a3a3; --inv-line: #2a2a2a; --inv-signal: #7088ff;
    --grain: .09; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #141414; --surface-alt: #1e1e1e; --ink: #ffffff; --ink-muted: #a3a3a3;
  --line: #2e2e2e; --line-strong: #ffffff; --signal: #7088ff; --signal-press: #8fa2ff; --on-signal: #141414;
  --inv-bg: #0c0c0c; --inv-fg: #ffffff; --inv-muted: #a3a3a3; --inv-line: #2a2a2a; --inv-signal: #7088ff;
  --grain: .09; color-scheme: dark;
}
@media (max-width: 1100px) { :root { --section: 104px; } }
@media (max-width: 700px)  { :root { --margin: 20px; --gutter: 16px; --section: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--sans); font-size: var(--body); line-height: 1.55; font-weight: 400;
  font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; z-index: 100; background: var(--signal); color: var(--on-signal); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.d-xl, .d-l, .d-m {
  font-weight: 600; font-variation-settings: "wdth" 92; text-wrap: balance;
}
.d-xl { font-size: var(--display-xl); line-height: .86; letter-spacing: -.045em; }
.d-l  { font-size: var(--display-l);  line-height: .9;  letter-spacing: -.035em; }
.d-m  { font-size: var(--display-m);  line-height: .95; letter-spacing: -.03em; }
.h    { font-size: var(--heading); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
.t    { font-size: var(--title); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.lead { font-size: var(--body-l); line-height: 1.5; max-width: 60ch; }
.copy { max-width: 68ch; }
.copy p + p { margin-top: 1em; }
.cap  { font-size: var(--caption); line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.grid > * { min-width: 0; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.inv + .section, .alt + .section, .section.inv, .section.alt { padding-top: var(--section); }
.section.flush { padding-top: 0; }
.inv { background: var(--inv-bg); color: var(--inv-fg); --ink: var(--inv-fg); --ink-muted: var(--inv-muted); --line: var(--inv-line); --line-strong: var(--inv-fg); --signal: var(--inv-signal); --on-signal: #141414; }
.alt { background: var(--surface-alt); }
.c1-7 { grid-column: 1 / 8; } .c8-13 { grid-column: 8 / 13; } .c1-4 { grid-column: 1 / 4; }
.c4-13 { grid-column: 4 / 13; } .c1-13 { grid-column: 1 / 13; } .c1-6 { grid-column: 1 / 7; }
.c7-13 { grid-column: 7 / 13; } .c1-9 { grid-column: 1 / 10; } .c9-13 { grid-column: 9 / 13; }
.c5-13 { grid-column: 5 / 13; } .c1-5 { grid-column: 1 / 6; } .c2-13 { grid-column: 2 / 13; }
@media (max-width: 900px) {
  .grid > * { grid-column: 1 / -1 !important; }
}
.stack-6 > * + * { margin-top: 64px; }
.stack-5 > * + * { margin-top: 40px; }
.stack-4 > * + * { margin-top: 24px; }
.stack-3 > * + * { margin-top: 16px; }

/* ---------- Links & buttons ---------- */
.ul {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .2s var(--ease); padding-bottom: 2px;
}
.ul:hover, .ul:focus-visible { background-size: 100% 1px; }
.link { color: var(--signal); background-size: 100% 1px; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 2px; }
.copy a, .faq a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 16px 24px;
  font: 600 16px/1 var(--sans); letter-spacing: -.005em; border: 1.5px solid var(--signal);
  background: var(--signal); color: var(--on-signal); cursor: pointer; border-radius: 0;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: transparent; color: var(--signal); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--ink); color: var(--surface); }
.inv .btn.ghost:hover { color: var(--inv-bg); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface);
  transition: border-color .3s var(--ease); border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: block; width: 108px; color: var(--ink); }
.brand svg { width: 100%; height: auto; overflow: visible; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.nav-links a[aria-current="page"] { background-size: 100% 1px; }
.nav-links .btn { min-height: 44px; padding: 12px 18px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px 0; font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 820px) {
  .nav { height: 68px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
}
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--inv-bg); color: var(--inv-fg);
  display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--margin) calc(env(safe-area-inset-bottom, 0px) + 32px);
}
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 50px; }
.menu .brand { color: var(--inv-fg); }
.menu .menu-btn { display: block; color: var(--inv-fg); }
.menu nav { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-size: clamp(44px, 13vw, 72px); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variation-settings: "wdth" 92; }
.menu .cap { color: var(--inv-muted); margin-top: 40px; }
body.menu-open { overflow: hidden; }

/* ---------- Logo pixel drop ---------- */
.dot { fill: var(--dot); transform-box: fill-box; }
.js .brand .dot { transform: translateY(-260%); opacity: 0; }
.js.loaded .brand .dot { transform: none; opacity: 1; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), opacity .15s linear; }
.js.loaded .brand .dot.d1 { transition-delay: .62s; }
.js.loaded .brand .dot.d2 { transition-delay: .74s; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 140px); padding-bottom: var(--section); }
.hero h1 { margin-left: -.04em; }
.hero-meta { margin-top: clamp(48px, 6vw, 96px); row-gap: 32px; align-items: end; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js .reveal .w > span { transform: translateY(105%); }
.js.loaded .reveal .w > span { transform: none; transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 70ms); }

/* ---------- Plates (photo slots) ---------- */
.plate { position: relative; overflow: hidden; background: #1b1b1b; color: #fff; aspect-ratio: 16 / 9; }
.plate.tall { aspect-ratio: 4 / 5; }
.plate::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 30%, #6d6d6d 0%, #2c2c2c 45%, #121212 100%);
}
.plate::after {
  content: ""; position: absolute; inset: -50%; opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.plate img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.plate-label { position: absolute; z-index: 2; left: 24px; bottom: 20px; right: 24px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.72); }
.js .clip { clip-path: inset(100% 0 0 0); }
.js .clip.in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }
figure { margin: 0; }
.fig { row-gap: 16px; align-items: end; }

/* ---------- Rows (hairline lists) ---------- */
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); padding-block: 32px; }
.row.grid { align-items: baseline; row-gap: 12px; }
.step-n { font-size: var(--caption); font-weight: 500; color: var(--ink-muted); font-variant-numeric: tabular-nums; }

.svc-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) minmax(0, 1fr); column-gap: var(--gutter); align-items: baseline; padding-block: 36px; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.svc-row .d-m { transition: transform .35s var(--ease); }
.svc-row:hover .d-m { transform: translateX(16px); }
.svc-row .kind { justify-self: end; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr auto; row-gap: 14px; }
  .svc-row p { grid-column: 1 / -1; grid-row: 2; }
  .svc-row .kind { grid-column: 2; grid-row: 1; }
  .svc-row:hover .d-m { transform: none; }
}

/* ---------- Change log ---------- */
.log { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.log th { text-align: left; font-size: var(--caption); font-weight: 500; color: var(--ink-muted); padding: 0 16px 14px 0; border-bottom: 1px solid var(--line-strong); }
.log td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.log td:first-child { white-space: nowrap; color: var(--ink-muted); }
.log .pg { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--ink-muted); }
.status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; background: var(--signal); }
.status.pending::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .log { min-width: 680px; }
.log tr.new td { animation: logIn .7s var(--ease); }
@keyframes logIn { from { background: color-mix(in srgb, var(--signal) 18%, transparent); } to { background: transparent; } }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); border-top: 1px solid var(--line-strong); }
.fact { padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.fact .d-l { font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr; } .fact { padding-bottom: 24px; border-bottom: 1px solid var(--line); } }

/* ---------- Two pixels ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.half { border-top: 1px solid var(--line-strong); padding-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.px { width: 22px; height: 22px; background: var(--dot); }
.half li { padding-block: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; row-gap: 56px; } }

/* ---------- Ticks ---------- */
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; background: var(--ink); }
.ticks.blue li::before { background: var(--signal); }
.ticks.x li::before { width: 12px; height: 1.5px; margin-top: .8em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding-block: 26px; font-size: var(--title); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .3em; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding-bottom: 28px; max-width: 64ch; color: var(--ink-muted); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.tl { border-top: 1px solid var(--line-strong); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; row-gap: 40px; } }

/* ---------- Next / CTA ---------- */
.next { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line-strong); padding-top: 32px; }
.cta-band .d-l { max-width: 14ch; }

/* ---------- Contact ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gutter); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: var(--caption); color: var(--ink-muted); }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: 2px; padding: 14px 14px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.field.err input, .field.err select, .field.err textarea { border-color: #c4271c; }
.field .msg { font-size: var(--caption); color: #c4271c; font-weight: 500; }
:root[data-theme="dark"] .field .msg { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .msg { color: #ff8a80; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line-strong); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.chip input:checked + span { background: var(--ink); color: var(--surface); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.done { border-top: 1px solid var(--line-strong); padding-top: 32px; }
.done pre { white-space: pre-wrap; font: 14px/1.6 ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface-alt); padding: 20px; margin: 0; max-height: 320px; overflow: auto; }
.email-big { font-size: var(--heading); font-weight: 600; letter-spacing: -.02em; word-break: break-all; }
.copy-btn { background: none; border: 0; padding: 0; font: 500 14px/1 var(--sans); color: var(--signal); cursor: pointer; }
.side > * + * { margin-top: 48px; }
.side .rows .row { padding-block: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--inv-bg); color: var(--inv-fg); --ink: var(--inv-fg); --ink-muted: var(--inv-muted); --line: var(--inv-line); --signal: var(--inv-signal); padding-top: 96px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gutter); }
.foot-lead { grid-column: 1 / 6; } .fc1 { grid-column: 6 / 8; } .fc2 { grid-column: 8 / 9; } .fc3 { grid-column: 9 / 11; } .fc4 { grid-column: 11 / 13; }
@media (max-width: 1100px) { .foot-lead { grid-column: 1 / -1; } .fc1 { grid-column: 1 / 4; } .fc2 { grid-column: 4 / 7; } .fc3 { grid-column: 7 / 10; } .fc4 { grid-column: 10 / 13; } }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > * { grid-column: auto !important; } .foot-lead { grid-column: 1 / -1 !important; } }
.foot-col h2 { font-size: var(--caption); font-weight: 500; color: var(--inv-muted); margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { font-size: 17px; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 96px; padding-top: 20px; border-top: 1px solid var(--inv-line); }
.foot-legal .cap { color: var(--inv-muted); }
.foot-mark { margin-top: 40px; height: calc((100vw - 2 * var(--margin)) * .336 * .74); max-height: calc(var(--page-max) * .336 * .74); overflow: hidden; }
.foot-mark svg { width: 100%; height: auto; color: var(--inv-fg); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 10px; height: 10px; background: var(--signal); color: var(--on-signal);
  display: grid; place-items: center; font: 600 13px/1 var(--sans); opacity: 0;
  transition: width .3s var(--ease), height .3s var(--ease), opacity .2s linear; }
.cursor span { opacity: 0; transition: opacity .15s linear; }
.cursor.on { opacity: 1; }
.cursor.view { width: 56px; height: 56px; }
.cursor.view span { opacity: 1; transition-delay: .1s; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal .w > span, .js .brand .dot, .js .clip { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .cursor { display: none; }
}

/* ---------- Facts list (areas) ---------- */
.facts-list { margin: 0; border-top: 1px solid var(--line-strong); }
.fact-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 2fr); gap: 8px var(--gutter); padding-block: 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.fact-row dd { margin: 0; }
.fact-row dd.cap { text-align: right; }
@media (max-width: 640px) { .fact-row { grid-template-columns: 1fr; } .fact-row dd.cap { text-align: left; } }

/* ---------- Prices ---------- */
.mini-prices { margin: 0; border-top: 1px solid var(--line-strong); }
.mini-prices > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.mini-prices dt { font-size: var(--title); font-weight: 600; letter-spacing: -.01em; }
.mini-prices dd { margin: 0; font-size: var(--heading); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.price-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); column-gap: var(--gutter); row-gap: 20px; padding-block: 40px; border-bottom: 1px solid var(--line); align-items: start; }
.amt-wrap { text-align: right; }
.amt, .price-inline .amt { margin: 0; font-size: var(--display-m); line-height: .95; font-weight: 600; letter-spacing: -.03em; font-variation-settings: "wdth" 92; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt-wrap .cap { margin-top: 10px; }
.price-inline { border-top: 1px solid var(--line-strong); padding-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.ticks.small li { padding-block: 10px; }
@media (max-width: 900px) { .price-row { grid-template-columns: 1fr; } .amt-wrap { text-align: left; } .price-row > ul { order: 3; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.plan { border-top: 2px solid var(--line-strong); padding-top: 32px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding-block: 8px 20px; border-bottom: 1px solid var(--line); }
.plan .lead { max-width: none; }
.plan .actions { margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; row-gap: 72px; } }
.yes { display: inline-block; width: 10px; height: 10px; background: var(--signal); vertical-align: middle; }
.no { color: var(--ink-muted); font-size: 14px; }
.cmp { font-size: 15px; }
.cmp th[scope="row"] { font-weight: 500; text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); width: 46%; }
.cmp thead th { color: var(--ink); font-weight: 600; font-size: 14px; }
.cmp td { color: var(--ink-muted); }
.table-scroll .cmp { min-width: 560px; }
.cmp4 th[scope="row"] { width: 24%; }
.cmp4 td:nth-child(2) { color: var(--ink); font-weight: 600; }
.table-scroll .cmp4 { min-width: 820px; }

/* ---------- Web design: one-line test ---------- */
.strikes { border-top: 1px solid var(--line-strong); }
.strike-row { padding-block: 36px; border-bottom: 1px solid var(--line); align-items: center; row-gap: 14px; }
.strike-row .d-l { color: var(--ink-muted); }
.strike { background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat; background-position: 0 56%; background-size: 100% .07em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .strike { background-size: 0% .07em; }
.js .strike.in { background-size: 100% .07em; transition: background-size 1s var(--ease) .15s; }
.strike-row.final .d-l { color: var(--ink); }
.px-inline { display: inline-block; width: .22em; height: .22em; background: var(--dot); margin-right: .22em; vertical-align: .12em; }

/* ---------- Web design: live demo ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gutter); align-items: stretch; }
.demo-cms { display: flex; flex-direction: column; gap: 22px; padding: 32px; border: 1px solid var(--inv-line); background: rgba(255,255,255,.03); }
.demo-cms .field input { background: transparent; color: var(--inv-fg); border-color: #5a5a5a; }
.demo-cms .field input:focus { border-color: var(--inv-signal); box-shadow: 0 0 0 1px var(--inv-signal); }
.demo-meter { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--inv-line); color: var(--inv-muted); font-variant-numeric: tabular-nums; }
.demo-meter.done { color: var(--inv-fg); }
.demo-site { background: #fff; color: #1b1b1b; display: flex; flex-direction: column; min-width: 0; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #e6e3dc; }
.demo-bar span { width: 8px; height: 8px; background: #d8d4cc; }
.demo-bar p { margin-left: 12px; font-size: 12px; color: #6b6b6b; font-family: ui-monospace, Menlo, monospace; }
.demo-page { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; flex: 1; font-family: Fraunces, Georgia, serif; }
.demo-nav { display: flex; gap: 22px; align-items: baseline; font-family: var(--sans); font-size: 13px; color: #555; flex-wrap: wrap; }
.demo-nav b { font-family: Fraunces, Georgia, serif; font-size: 18px; color: #1b1b1b; margin-right: auto; font-weight: 700; }
.demo-offer { align-self: flex-start; font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 6px 10px; border: 1px solid #1b1b1b; margin-top: 12px; }
.demo-h { font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -.02em; font-weight: 500; max-width: 14ch; overflow-wrap: anywhere; }
.demo-hours { font-family: var(--sans); font-size: 15px; color: #444; }
.demo-img { flex: 1; min-height: 140px; margin-top: 8px; background: radial-gradient(90% 120% at 70% 20%, #8a8a8a, #3a3a3a 55%, #1d1d1d); }
.demo-note { padding: 10px 16px; color: #6b6b6b; border-top: 1px solid #e6e3dc; }
[data-out].flash { animation: flash 1.1s var(--ease); }
@keyframes flash { 0% { background: rgba(43, 75, 255, .22); } 100% { background: transparent; } }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* ---------- Web design: trio, packages ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.trio-col { border-top: 1px solid var(--line-strong); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.px.outline { background: transparent; box-shadow: inset 0 0 0 2px var(--dot); }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; row-gap: 48px; } }
.engine { display: inline-flex; border: 1.5px solid var(--line-strong); padding: 4px; gap: 4px; }
.engine-btn { font: 600 15px/1 var(--sans); padding: 14px 20px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.engine-btn[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.js .engine-note:not(.on) { display: none; }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.pkg { border: 1.5px solid var(--line-strong); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.pkg.inv { border-color: var(--inv-line); }
.variant { display: flex; flex-direction: column; gap: 24px; }
.js .variant:not(.on) { display: none; }
.js .variant .variant-label { display: none; }
.variant.on { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pkg-price { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.pkg-amt { font-size: var(--display-l); line-height: .9; font-weight: 600; letter-spacing: -.035em; font-variation-settings: "wdth" 92; }
.pkg-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pkg-meta dd { margin: 6px 0 0; font-weight: 600; font-size: var(--title); letter-spacing: -.01em; }
.pkg-cta { margin-top: auto; }
.pkg.inv .btn { background: var(--inv-signal); border-color: var(--inv-signal); color: #141414; }
.pkg.inv .btn:hover { background: transparent; color: var(--inv-signal); }
.pkg-foot { margin-top: 24px; max-width: 90ch; }
@media (max-width: 900px) { .pkgs { grid-template-columns: 1fr; } }
.timeline.t4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .timeline.t4 { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .timeline.t4 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .js .strike { background-size: 100% .07em !important; } }
.strike-row .d-l { font-size: clamp(40px, 5.4vw, 92px); }

/* ---------- Web design: price estimator ---------- */
.est { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--gutter); align-items: start; }
.est .pkg.base { gap: 28px; }
.est-side { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.addons { border: 0; margin: 0; padding: 0; min-width: 0; }
.addons legend { padding: 0; margin-bottom: 14px; }
.addon { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding-block: 18px; border-top: 1px solid var(--line); cursor: pointer; }
.addons .addon:last-child { border-bottom: 1px solid var(--line); }
.addon input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon-box { width: 22px; height: 22px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; margin-top: 1px; transition: background .2s var(--ease); }
.addon-box::after { content: ""; width: 10px; height: 10px; background: var(--signal); transform: scale(0); transition: transform .2s var(--ease); }
.addon input:checked + .addon-box::after { transform: scale(1); }
.addon input:focus-visible + .addon-box { outline: 2px solid var(--signal); outline-offset: 3px; }
.addon input:disabled + .addon-box { opacity: .55; }
.addon-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.addon-text .t { font-size: 18px; }
.addon-text .muted { font-size: 14px; line-height: 1.45; }
.addon-price { font-weight: 600; white-space: nowrap; }
.addon.qty { grid-template-columns: minmax(0, 1fr) auto auto; cursor: default; align-items: center; }
.stepper { display: inline-flex; border: 1.5px solid var(--line-strong); }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink); font: 600 18px/1 var(--sans); cursor: pointer; }
.stepper button:hover { background: var(--ink); color: var(--surface); }
.stepper input { width: 44px; height: 36px; border: 0; border-inline: 1px solid var(--line); text-align: center; font: 600 16px/1 var(--sans); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.est-total { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); padding: 28px; display: flex; flex-direction: column; gap: 18px; background: var(--inv-bg); }
.est-amt { font-size: var(--display-m); line-height: .95; font-weight: 600; letter-spacing: -.03em; font-variation-settings: "wdth" 92; }
.est-amt.bump { animation: swap .35s var(--ease); }
.est-note { color: var(--inv-muted); }
.est-total .btn { background: var(--inv-signal); border-color: var(--inv-signal); color: #141414; justify-content: center; }
.est-total .btn:hover { background: transparent; color: var(--inv-signal); }
@media (max-width: 1100px) {
  .est { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .est-total { grid-column: 1 / -1; position: sticky; bottom: 0; top: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .est-total .est-note { display: none; }
}
@media (max-width: 760px) { .est { grid-template-columns: 1fr; } .est-total { padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px)); gap: 10px 20px; } .est-total .t { font-size: 17px; } }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.ex { border-top: 1.5px solid var(--line-strong); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ex-amt { font-size: var(--display-m); line-height: .95; font-weight: 600; letter-spacing: -.03em; font-variation-settings: "wdth" 92; margin-top: 12px; }
@media (max-width: 800px) { .examples { grid-template-columns: 1fr; row-gap: 40px; } }
.pricelist th[scope="row"] { width: 28%; }
.pricelist td.num { white-space: nowrap; color: var(--ink); font-weight: 600; text-align: right; }
.pricelist thead th:last-child { text-align: right; }
.pricelist tr.sep td { padding: 10px 0; border-bottom: 1px solid var(--line-strong); }
.table-scroll .pricelist { min-width: 640px; }
.addon { position: relative; }
@media (max-width: 760px) {
  .addon.qty { grid-template-columns: auto 1fr; row-gap: 12px; }
  .addon.qty .addon-text { grid-column: 1 / -1; }
  .addon.qty .addon-price { justify-self: end; }
}
.plate-label { display: none; }

/* ---------- v8: web-design-first home, three SEO plans ---------- */
.plans.p3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans.p3 .plan .d-m { font-size: clamp(30px, 2.9vw, 46px); }
.plans.p3 .plan-price { align-items: flex-end; }
.plans.p3 .plan-price .cap + .cap { margin-top: 4px; }
@media (max-width: 1100px) { .plans.p3 { grid-template-columns: 1fr; row-gap: 72px; } }
.cmp3 th[scope="row"] { width: 34%; }
.table-scroll .cmp3 { min-width: 720px; }
.est.home-est { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .est.home-est { grid-template-columns: 1fr; } }
.addon-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 20px; }
.home-est .est-side { gap: 32px; }
.menu { overflow-y: auto; }
@media (max-width: 1000px) {
  .nav { height: 68px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
}
