
/* Layout concept: dark-first instrument panel that also has a full light theme and a visible toggle.
   Hero pairs one short sentence with a framed portrait and floating service chips. Tabs organise the free tips
   and the proof of work. Teal is the system colour, marigold is reserved for booking buttons. */
:root {
  --bg: #0A1218;
  --surface: #101C25;
  --surface-2: #14242F;
  --fg: #E8F0F2;
  --muted: #93A8B0;
  --line: #223540;
  --accent: #3FD3C2;
  --accent-ink: #04201D;
  --cta: #F2B134;
  --cta-ink: #1A1204;
  --focus: #F2B134;
  --grid: rgba(63, 211, 194, 0.07);
  --glow: rgba(63, 211, 194, 0.16);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  color-scheme: dark;

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --step--1: 0.78rem;
  --step-0: 1.04rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.35rem, 2.4vw, 1.7rem);
  --step-3: clamp(1.9rem, 4.2vw, 2.8rem);
  --step-4: clamp(2.4rem, 6.2vw, 4.2rem);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F1F5F6;
    --surface: #E4ECEE;
    --surface-2: #FFFFFF;
    --fg: #0B1A20;
    --muted: #4A6068;
    --line: #C5D3D7;
    --accent: #0A6B63;
    --accent-ink: #FFFFFF;
    --focus: #0A6B63;
    --grid: rgba(10, 107, 99, 0.07);
    --glow: rgba(10, 107, 99, 0.12);
    --shadow: 0 14px 34px rgba(11, 26, 32, 0.12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F1F5F6;
  --surface: #E4ECEE;
  --surface-2: #FFFFFF;
  --fg: #0B1A20;
  --muted: #4A6068;
  --line: #C5D3D7;
  --accent: #0A6B63;
  --accent-ink: #FFFFFF;
  --focus: #0A6B63;
  --grid: rgba(10, 107, 99, 0.07);
  --glow: rgba(10, 107, 99, 0.12);
  --shadow: 0 14px 34px rgba(11, 26, 32, 0.12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }

.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(3.2rem, 8vw, 5.6rem); }
.band-surface { background: var(--surface); border-block: 1px solid var(--line); }
.kicker { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.lead { color: var(--muted); max-width: 60ch; }
.sec-head { display: grid; gap: 0.8rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); justify-items: start; }
.sec-head h2 { font-size: var(--step-3); }

.icon-tile { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 8px; background: var(--glow); color: var(--accent); border: 1px solid var(--line); flex: none; transition: transform .25s, background .25s, color .25s; }
.icon-tile .ic { width: 1.35rem; height: 1.35rem; }

/* interactive surfaces */
.fx { position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.fx::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%); }
.fx:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.fx:hover::after { opacity: 1; }
.fx:hover .icon-tile { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg) scale(1.06); }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.4rem; border-radius: 6px; border: 2px solid var(--fg);
  text-decoration: none; cursor: pointer; background: transparent; color: var(--fg);
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-line:hover { background: var(--fg); color: var(--bg); }
.btn-cta { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.btn-cta:hover { box-shadow: 0 8px 22px rgba(242, 177, 52, 0.38); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.92rem; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: 0.25; transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1.2rem; padding-block: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 0.3rem 1.2rem; font-size: 0.93rem; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted); padding-block: 0.2rem; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat; transition: color .2s, background-size .25s; }
.site-nav a:not(.btn):hover { color: var(--fg); background-size: 100% 2px; }
.theme-btn { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: transform .3s, border-color .2s; }
.theme-btn:hover { border-color: var(--accent); transform: rotate(25deg); }
@media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before, .final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.4rem, 6vw, 4.5rem) clamp(2.8rem, 7vw, 5rem); }
.tag { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); background: var(--surface); padding: 0.4rem 0.8rem; border-radius: 999px; color: var(--muted); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.hero h1 { font-size: var(--step-4); margin-block: 1.2rem 1.2rem; font-weight: 800; max-width: 15ch; }
.hl { color: var(--accent); }
.hero .lead { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.1rem; margin-top: 1.8rem; }
.price-note { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.price-note b { color: var(--fg); font-weight: 500; }

.portrait { position: relative; justify-self: center; width: 100%; max-width: 24rem; perspective: 900px; }
.tilt { transition: transform .15s ease-out; transform-style: preserve-3d; }
.frame { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, var(--glow), transparent 65%); pointer-events: none; }
.frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.mono { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); color: var(--accent); opacity: 0.9; letter-spacing: -0.04em; position: relative; z-index: 1; }
.corner { position: absolute; width: 1.4rem; height: 1.4rem; border: 2px solid var(--accent); z-index: 3; }
.c1 { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.c2 { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.c3 { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.c4 { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.chip-f { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border-radius: 999px; background: var(--bg); color: var(--fg); border: 1px solid var(--accent); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.chip-f .ic { color: var(--accent); width: 1rem; height: 1rem; }
.f1 { top: 1.6rem; left: 1.6rem; }
.f2 { top: 4.6rem; right: 1.6rem; animation-delay: -1.2s; }
.f3 { bottom: 4.6rem; left: 1.6rem; animation-delay: -2.4s; }
.f4 { bottom: 1.6rem; right: 1.6rem; animation-delay: -3.4s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.plate { margin-top: 1.1rem; display: grid; gap: 0.15rem; }
.plate b { font-family: var(--font-display); font-size: 1.25rem; }
.plate span { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; margin-top: 1rem; }
.metric { padding: 1.3rem 1.1rem; border-right: 1px solid var(--line); min-width: 0; display: grid; gap: 0.5rem; align-content: start; transition: background .25s; }
.metric:hover { background: var(--surface-2); }
.metric:last-child { border-right: 0; }
.metric .ic { color: var(--accent); width: 1.4rem; height: 1.4rem; }
.metric dt { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.metric dt i { font-style: normal; color: var(--accent); }
.metric dd { font-size: 0.9rem; line-height: 1.35; color: var(--muted); }
.countries { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.countries li { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: border-color .2s, color .2s, transform .2s; }
.countries li:hover { border-color: var(--accent); color: var(--fg); transform: translateY(-2px); }
@media (max-width: 900px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* who */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.path { padding: 1.5rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 0.8rem; align-content: start; min-width: 0; }
.path h3 { font-size: var(--step-2); }
.path p { color: var(--muted); }
.path ul { display: grid; gap: 0.45rem; margin-top: 0.3rem; }
.path li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.96rem; }
.path li .ic { color: var(--accent); width: 1rem; height: 1rem; margin-top: 0.3rem; }

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-list { display: grid; gap: 0.8rem; }
.why-list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.why-list .icon-tile { grid-row: span 2; color: var(--cta); }
.why-list b { font-weight: 600; }
.why-list p { color: var(--muted); font-size: 0.96rem; }
.promise { padding: 1.7rem; border: 1px solid var(--accent); border-radius: 8px; background: var(--surface-2); display: grid; gap: 0.9rem; box-shadow: 0 0 0 6px var(--glow); }
.promise h3 { font-size: var(--step-2); }
.promise p { color: var(--muted); }

/* inside */
.inside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.gets { display: grid; gap: 0.6rem; }
.gets li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.1rem 0.9rem; align-items: center; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.gets .icon-tile { grid-row: span 2; }
.gets b { font-weight: 600; }
.gets span { color: var(--muted); font-size: 0.93rem; line-height: 1.4; }
.board { border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.board-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface); font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { padding: 1rem; border-right: 1px solid var(--line); display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.col:last-child { border-right: 0; }
.col h3 { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.col ul { display: grid; gap: 0.5rem; }
.col li { padding: 0.6rem 0.7rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-size: 0.88rem; line-height: 1.35; transition: transform .2s, border-color .2s; }
.col li:hover { transform: translateX(4px); border-color: var(--accent); }
.board-foot { padding: 0.7rem 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
@media (max-width: 560px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .col { border-right: 0; border-bottom: 1px solid var(--line); }
  .col:last-child { border-bottom: 0; }
}

/* how + pricing */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.steps { display: grid; gap: 0.8rem; }
.steps li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.1rem 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.steps .icon-tile { grid-row: span 2; }
.steps b { font-weight: 600; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.ticket { border: 1px solid var(--accent); border-radius: 8px; background: var(--surface-2); padding: 1.6rem; display: grid; gap: 1.1rem; box-shadow: 0 0 0 6px var(--glow); }
.ticket-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-left: 0.4rem; letter-spacing: 0.04em; }
.badge { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 4px; background: var(--cta); color: var(--cta-ink); font-weight: 500; }
.ticket ul { display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.ticket li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.97rem; }
.ticket li .ic { color: var(--accent); width: 1.05rem; height: 1.05rem; margin-top: 0.28rem; }
.ticket .btn { width: 100%; }
.ticket .fine { font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.4rem; align-items: center; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.tab { display: inline-flex; align-items: center; gap: 0.5rem; font: inherit; font-weight: 600; font-size: 0.95rem; padding: 0.65rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--fg); cursor: pointer; transition: transform .2s, border-color .2s, background .2s, color .2s; }
.tab:hover { border-color: var(--accent); transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.panel { animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.panel-intro { color: var(--muted); max-width: 62ch; margin-bottom: 1.2rem; }

/* tips */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tip { padding: 1.3rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 0.75rem; align-content: start; min-width: 0; }
.tip h4 { font-size: 1.2rem; }
.tip dl { display: grid; gap: 0.7rem; }
.tip dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tip dd { font-size: 0.95rem; line-height: 1.45; }
.tip .do dt { color: var(--accent); }
.tip .skip { padding: 0.65rem 0.75rem; border-radius: 6px; background: var(--bg); border: 1px dashed var(--cta); }
.tip .skip dt { color: var(--cta); }
.palette-box { margin-top: 1.4rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.palette-box > h4 { font-size: var(--step-2); margin-bottom: 0.3rem; }
.palette-box > p { color: var(--muted); margin-bottom: 1.1rem; }
.finder { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start; }
.chips { display: flex; flex-direction: column; gap: 0.5rem; }
.chip { font: inherit; font-weight: 500; text-align: left; padding: 0.65rem 0.9rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.chip:hover { border-color: var(--accent); transform: translateX(3px); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.sw { min-height: 6.5rem; padding: 0.65rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.1rem; border-radius: 6px; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.3; overflow-wrap: anywhere; border: 1px solid var(--line); animation: rise .3s ease backwards; transition: transform .2s; }
.sw:hover { transform: scale(1.04); }
.sw b { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; }
.facts { display: grid; margin-top: 1rem; }
.facts > div { display: grid; grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr); gap: 1rem; padding-block: 0.7rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
.facts dt { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.finder-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.9rem; }
.taste-cta { margin-top: 1.6rem; padding: 1.1rem 1.2rem; border: 1px dashed var(--accent); border-radius: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; }
.taste-cta p { color: var(--muted); max-width: 52ch; font-size: 0.97rem; }

/* proof */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.name-card, .site-card, .page-card { display: grid; gap: 0.45rem; align-content: start; padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); text-decoration: none; min-width: 0; }
.name-card h4 { font-size: 1.55rem; }
.name-card .kicker, .site-card .kicker, .page-card .kicker { color: var(--muted); }
.name-card p, .site-card p, .page-card p, .logo-card figcaption span { color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.site-card h4, .page-card h4 { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; font-size: 1.1rem; overflow-wrap: anywhere; }
.site-card h4 .ic, .page-card h4 .ic { color: var(--accent); width: 1.05rem; height: 1.05rem; transition: transform .2s; }
.site-card:hover h4 .ic, .page-card:hover h4 .ic { transform: translate(2px, -2px); }
.logo-card { display: grid; gap: 0.7rem; align-content: start; min-width: 0; }
.logo-tile { aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: 0.6rem; border-radius: 8px; background: var(--tile); color: var(--ink); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.logo-card:hover .logo-tile { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-tile svg { width: 3.8rem; height: 3.8rem; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s; }
.logo-card:hover .logo-tile svg { transform: rotate(-8deg) scale(1.1); }
.logo-tile b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.01em; }
.logo-card figcaption { display: grid; gap: 0.15rem; }
.logo-card figcaption b { font-weight: 600; }
.stat-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.stat { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border: 1px solid var(--accent); border-radius: 999px; font-size: 0.92rem; background: var(--surface-2); }
.stat .ic { color: var(--accent); }
.stat b { font-weight: 700; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about h2 { font-size: var(--step-3); margin-block: 0.8rem 0.5rem; }
.sub { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); color: var(--accent); margin-bottom: 1rem; }
.disc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.6rem; }
.disc > div { padding: 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); min-width: 0; display: grid; gap: 0.5rem; align-content: start; }
.disc h3 { font-size: 1.1rem; }
.disc p { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.agency { margin-top: 1.6rem; padding: 1.3rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--surface-2); }
.agency h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.agency p { color: var(--muted); font-size: 0.97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tags li { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em; padding: 0.25rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* faq */
.faq { display: grid; gap: 0.6rem; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: border-color .2s; }
.faq details[open], .faq details:hover { border-color: var(--accent); }
.faq summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--accent); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq p { padding: 0 1.1rem 1.1rem; color: var(--muted); max-width: 60ch; }

/* final */
.final { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.final::before { -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 75%); }
.final-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.final h2 { font-size: var(--step-3); margin-block: 0.9rem 1rem; }
.contact-list { display: grid; gap: 0.6rem; }
.contact-list > div { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; gap: 0.1rem 0.9rem; align-items: center; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.contact-list .icon-tile { grid-row: span 2; }
.contact-list dt { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { min-width: 0; overflow-wrap: anywhere; font-weight: 500; grid-column: 2; }
.copy { grid-column: 3; grid-row: 1 / span 2; font: inherit; font-size: 0.82rem; font-weight: 600; padding: 0.35rem 0.8rem; border: 1px solid var(--accent); border-radius: 6px; background: transparent; color: var(--accent); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.copy:hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.05); }
.site-foot { padding-block: 1.5rem; font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .tips { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .inside, .how-grid, .about, .final-grid, .finder { grid-template-columns: minmax(0, 1fr); }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .chips { flex-direction: row; flex-wrap: wrap; }
  .portrait { max-width: 20rem; justify-self: start; }
  .about .portrait { order: -1; }
}
@media (max-width: 620px) {
  .disc { grid-template-columns: minmax(0, 1fr); }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .contact-list > div { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .copy { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* standalone page reset (matches the preview skeleton) */
:root { padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.fine a { color: var(--accent); text-underline-offset: 0.2em; }

/* inner pages */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(2.2rem, 6vw, 3.6rem) 1.8rem; }
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%); }
.page-head .wrap { position: relative; }
.crumbs { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; color: var(--muted); }
.crumbs a { color: var(--accent); text-decoration: none; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-block: 0.7rem 0.8rem; font-weight: 800; }
.page-head .lead { font-size: var(--step-1); line-height: 1.5; }
.doc { padding-block: 2rem 4rem; }
.doc > * { max-width: 52rem; }
.doc h2 { font-size: var(--step-2); margin: 2.2rem 0 0.7rem; }
.doc h2:first-child { margin-top: 0; }
.doc p { margin-bottom: 0.9rem; max-width: 66ch; }
.doc ul { display: grid; gap: 0.5rem; margin: 0 0 1rem; }
.doc ul li { position: relative; padding-left: 1.4rem; max-width: 66ch; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--accent); }
.doc a { color: var(--accent); text-underline-offset: 0.2em; }
.updated { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; margin-bottom: 1.6rem; }
.kv { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; margin: 1.2rem 0 1.6rem; }
.kv > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.kv dd { overflow-wrap: anywhere; }
.doc .contact-list { margin: 1.2rem 0 1.6rem; }
.doc-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* footer with business details */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding-block: 2.4rem 1.6rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; }
.foot h3 { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.foot p { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.foot p b { color: var(--fg); font-weight: 600; }
.foot ul { display: grid; gap: 0.45rem; }
.foot a { text-decoration: none; color: var(--fg); }
.foot a:hover { color: var(--accent); }
.foot-base { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .kv > div { grid-template-columns: minmax(0, 1fr); } }
