/* The home of the Kurio family (a short presentation of both products) and Kurio's product page (step by step), built
   like a software company's site: a utility bar and a menu, the claim, the products, a privacy band, a column footer.
   Pinda's bones (paper and grain, serif names, sans controls, a terracotta line); pictures are grey placeholders for
   now. The family tokens, grain and controls live in site.css. */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.landing { overflow-x: clip; }
.landing .btn { text-decoration: none; }
/* placeholder greys, in place of photos until the imagery is chosen */
:root { --ph-1: #d7d4cf; --ph-2: #c4c0ba; --ph-3: #aeaaa4; --ink-band: #211c17; --on-band: #f2ece3; --on-band-quiet: #c9bfb2; }

/* ---- the utility bar and the main menu ---- */
.util {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px;
  padding: max(6px, env(safe-area-inset-top)) var(--gutter) 6px; background: var(--ink-band); color: var(--on-band-quiet); font-size: 13px;
}
.util a { color: var(--on-band); text-decoration-color: #6b6056; }
.util a:hover { text-decoration-color: var(--on-band); }
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); min-height: 68px;
  padding: 10px var(--gutter); background: var(--card); box-shadow: 0 2px 0 var(--accent);
}
.menu { display: flex; gap: clamp(14px, 2.2vw, 32px); margin-right: auto; }
.menu a { padding: 8px 0; font: 500 15px/1.2 var(--sans); color: var(--ink-p); text-decoration: none; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.top .cta { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.top .cta + .cta { margin-left: calc(-1 * clamp(8px, 1.8vw, 30px)); }
.hero-wide { grid-template-columns: minmax(0, 1fr); }
.hero.hero-wide h1 { max-width: 22ch; }
.hero.hero-wide .lede { max-width: 62ch; }

main { max-width: 1440px; margin: 0 auto; }
.landing main h2 { letter-spacing: -0.015em; }

/* ---- the claim, and the products index beside it, on the pinboard's dots (full width, fading downward) ---- */
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(28px, 4vw, 64px); align-items: start;
  padding: clamp(36px, 6vh, 64px) var(--gutter) clamp(28px, 4.5vh, 48px);
}
.hero::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent) 1.1px, transparent 1.5px);
  background-size: 16px 16px; background-position: center top;
  /* Pinda's fade: strongest at the top right, gone by the text on the left */
  -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, rgb(0 0 0 / .55) 45%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, rgb(0 0 0 / .55) 45%, transparent 80%);
}
.hero-copy { display: grid; gap: 16px; justify-items: start; }
.hero h1 { font-size: clamp(38px, 4.7vw, 68px); line-height: 1.04; letter-spacing: -0.02em; max-width: 15ch; }
/* no box behind the text: any dots that still reach it clear around the letter shapes (Pinda's halo), with no dead space */
.hero h1 { text-shadow: 0 0 3px var(--paper), 0 0 6px var(--paper), 0 0 10px var(--paper), 0 0 14px var(--paper), 0 0 18px var(--paper); }
.hero .lede { text-shadow: 0 0 2px var(--paper), 0 0 4px var(--paper), 0 0 7px var(--paper), 0 0 10px var(--paper); }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.actions .btn { min-height: 48px; padding-inline: 20px; white-space: nowrap; }

.index { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px clamp(16px, 1.6vw, 22px) 6px; }
.index h2 { font-size: 22px; padding: 10px 0 8px; }
.index-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-p);
}
.index-row .mark { width: 44px; height: 44px; border-radius: 11px; }
.index-name { display: grid; gap: 3px; }
.index-name b { font: 700 24px/1.1 var(--serif); letter-spacing: -0.01em; }
.index-name span { font-size: 14px; color: var(--muted); }
.index-row:hover b { color: var(--accent); }
.status { font: 600 12px/1 var(--sans); color: var(--muted); padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }

/* ---- each product as a datasheet ---- */
.sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter) clamp(44px, 6.5vh, 72px); }
.sheet {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 14px;
}
.art { margin: 0; height: clamp(190px, 16vw, 232px); padding: clamp(14px, 1.4vw, 20px); border-bottom: 1px solid var(--line); display: grid; }
.sheet-body { display: grid; gap: 8px; align-content: start; grid-template-rows: auto auto 1fr auto auto; padding: clamp(18px, 1.8vw, 24px); }
.sheet h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(32px, 3vw, 42px); line-height: 1; }
.sheet h2 .mark { width: 40px; height: 40px; border-radius: 10px; }
.sheet .waitlist { margin-top: 8px; max-width: none; }
.more { font: 600 15px/1.3 var(--sans); color: var(--accent); text-decoration-color: currentColor; }
.kind { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--label-c); }
.sheet-body > p:not(.kind):not(.sheet-action) { font-size: 16px; color: var(--muted); max-width: 54ch; }
.then { display: block; margin-top: 8px; color: var(--ink-p); }
.spec { margin: 6px 0 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.sheet-action { margin-top: 10px; }
.sheet-action .btn { min-height: 46px; }

/* the pictures: grey tiles in each product's own shape */
.ranked { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: end; align-content: center;
  padding-inline: max(clamp(14px, 1.4vw, 20px), calc((100% - 280px) / 2)); }
.ranked .tile { width: 100%; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--ph-2); position: relative; overflow: hidden; }
.ranked .tile:nth-child(2) { background: var(--ph-1); }
.ranked .tile:nth-child(3) { background: var(--ph-3); }
.ranked .tile.lead { background: var(--ph-3); }
.ranked .mini { width: 100%; }
.stamp {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 9px;
  font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink);
}
.board { grid-auto-rows: 1fr; gap: 6px; background-color: var(--raised);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 1px, transparent 1.4px); background-size: 16px 16px; }
.board .row, .arrange .row { display: flex; gap: 6px; min-height: 0; }
.board i, .arrange i { display: block; height: 100%; min-width: 0; border-radius: 3px; background: var(--ph-2); position: relative; }
.board i:nth-child(2n), .arrange i:nth-child(2n) { background: var(--ph-1); }
.board .row + .row i:nth-child(2n+1) { background: var(--ph-3); }
.board .p, .arrange .p { flex: 0.667 1 0; }
.board .l, .arrange .l { flex: 1.5 1 0; }
.fav svg { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgb(255 255 255 / .92); fill: #e8344e; }

/* the test strip: ten exposure steps on a fixed axis (0 to 1), the same for every frame */
.strip, .mini {
  display: block; border-radius: 2px; overflow: hidden; background: var(--chip);
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--card) calc(10% - 1px) 10%);
}
.mini { height: 6px; }
.strip { height: 18px; }
.strip i, .mini i { display: block; height: 100%; background: var(--ink-p); }
.mini.lead i { background: var(--accent); }
.w80 { width: 80%; } .w74 { width: 74%; } .w70 { width: 70%; } .w765 { width: 76.5%; }

/* ---- who it's for ---- */
.for, .how, .close { padding: clamp(44px, 6.5vh, 72px) var(--gutter); border-top: 1px solid var(--line); }
.for > h2, .how > h2, .close h2, .privacy h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; max-width: 18ch; }
.for-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(18px, 3vh, 28px); }
.for-cols > div { border-top: 2px solid var(--ink-p); padding-top: 12px; display: grid; gap: 6px; align-content: start; }
.for-cols h3 { font-size: 24px; line-height: 1.2; }
.for-cols p { font-size: 16px; color: var(--muted); max-width: 42ch; }

/* ---- how it works ---- */
.how-name { font-size: 22px; margin-top: clamp(22px, 3.5vh, 32px); }
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.steps li { display: grid; gap: 6px; align-content: start; }
.steps h4 { font: 700 19px/1.2 var(--serif); margin: 4px 0 0; }
.steps p { font-size: 15px; color: var(--muted); max-width: 40ch; }
.fig { height: 112px; padding: 4px 0 12px; border-bottom: 1px solid var(--line); }

.tiers { display: grid; align-content: center; gap: 8px; }
.tiers span { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 4.5em; align-items: center; gap: 12px; font-size: 13px; }
.tiers b { font-weight: 600; }
.tiers i { height: 10px; border-radius: 2px; }
.tiers em { font-style: normal; color: var(--muted); text-align: right; }
.t-fit { background: var(--ink-p); }
.t-miss { background: repeating-linear-gradient(135deg, var(--line-2) 0 3px, transparent 3px 6px); }
.t-vote { background: linear-gradient(90deg, var(--ink-p) 0 62%, var(--line-2) 62%); }

.scale { display: grid; align-content: center; gap: 8px; }
.scale .big { font: 700 38px/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; color: var(--accent); }
.ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.ticks em { font-style: normal; }
.how .strip { background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--paper) calc(10% - 1px) 10%); }

.plan, .collect { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; align-content: center; }
.collect { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.plan i, .collect i { display: block; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--ph-2); }
.plan i:nth-child(2n), .collect i:nth-child(2n) { background: var(--ph-1); }
.collect i:nth-child(3n) { background: var(--ph-3); }
.plan .next { background: var(--ph-3); outline: 2px solid var(--accent); outline-offset: 2px; }
.arrange { display: grid; gap: 6px; align-content: center; }
.arrange .row { height: 40px; }
.send { display: grid; align-content: center; }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.facts-row b { font: 600 13px/1 var(--sans); padding: 9px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }

/* ---- privacy: a full-width ink band, the same ink as the utility bar ---- */
.privacy { position: relative; isolation: isolate; color: var(--on-band); padding: clamp(44px, 6.5vh, 72px) var(--gutter); }
.privacy::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--ink-band); }
.privacy-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); }
.privacy-cols { display: grid; gap: 16px; }
.privacy-cols > div { border-top: 1px solid #5b524a; padding-top: 12px; display: grid; gap: 6px; align-content: start; }
.privacy-cols h3 { font-size: 24px; line-height: 1.2; }
.privacy-cols p { font-size: 16px; color: var(--on-band-quiet); max-width: 52ch; }

/* ---- close: the waitlist ---- */
.close { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: end; border-top: 0; }
.close .note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 48ch; }
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; max-width: 480px; }
.waitlist .input { min-height: 50px; }
.waitlist .btn { min-height: 50px; padding-inline: 20px; }
.wl-msg { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.wl-msg:empty { display: none; }
.wl-msg.bad { color: var(--error); }

/* ---- footer: both products, and the site ---- */
.foot {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px;
  border-top: 2px solid var(--accent); padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom)); background: var(--card); font-size: 14px; color: var(--muted);
}
.foot-brand { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot .copy { font-size: 13px; }
.foot .brand .mark { width: 28px; height: 28px; border-radius: 7px; }
.foot .brand .name { font-size: 19px; }
.foot-col { display: grid; gap: 8px; align-content: start; justify-items: start; }
.foot-col h2 { font: 600 11px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--label-c); }
.foot-col a { color: var(--ink-p); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .index { max-width: 640px; }
}
@media (max-width: 900px) {
  .sheets, .for-cols, .privacy-in { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .close { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .top { position: static; flex-wrap: wrap; row-gap: 2px; padding-block: 8px 4px; }
  .top .brand { margin-right: auto; }
  .menu { order: 3; width: 100%; margin: 0; justify-content: flex-start; gap: 24px; }
  .menu a { display: flex; align-items: center; min-height: 44px; padding: 0; font-size: 14px; }
  html { scroll-padding-top: 16px; }
  .spec div { grid-template-columns: 5.5rem minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .util { display: none; }
  .hero { padding-top: 40px; }
  .hero::before { -webkit-mask-image: radial-gradient(90% 40% at 100% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(90% 40% at 100% 0%, #000 0%, transparent 75%); }
  .actions .btn { flex: 1; padding-inline: 12px; }
  .index-row { grid-template-columns: 44px minmax(0, 1fr); }
  .status { grid-column: 2; justify-self: start; }
  .waitlist { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---- Kurio's product page: a window on the product, then each step shown large ---- */
.util-side { color: var(--on-band); }
.window {
  margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.win-side { display: grid; gap: 8px; align-content: start; padding: 10px; background: var(--raised); border-radius: 8px; }
.win-side i { display: block; height: 10px; border-radius: 2px; background: var(--line); }
.win-side i:first-child { background: var(--accent); width: 70%; }
.win-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; align-content: start; }
.win-grid b { position: relative; overflow: hidden; display: block; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--ph-2); }
.win-grid b:nth-child(2n) { background: var(--ph-1); }
.win-grid b:nth-child(3n) { background: var(--ph-3); }
.win-grid .pick { background: var(--ph-3); outline: 2px solid var(--accent); outline-offset: 2px; }
.win-grid .stamp { font-size: 10px; padding: 4px 6px; }

.show-steps { list-style: none; margin: clamp(20px, 3vh, 32px) 0 0; padding: 0; display: grid; }
.show-steps > li {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(20px, 3.5vh, 36px) 0; border-top: 1px solid var(--line);
}
.show-steps > li:nth-child(even) .show-fig { order: 2; }
.show-fig { height: 220px; padding: clamp(16px, 2vw, 28px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.show-copy { display: grid; gap: 10px; }
.show-copy h3 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.show-copy h3 span { color: var(--accent); }
.show-copy p { font-size: 16px; color: var(--muted); max-width: 52ch; }
.show-copy ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; max-width: 54ch; }
.show-copy ul li { position: relative; padding-left: 16px; font-size: 15px; }
.show-copy ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.show-fig.tiers { gap: 16px; }
.show-fig.scale .big { font-size: 56px; }
.show-fig.scale .strip { background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--card) calc(10% - 1px) 10%); }
.show-fig.plan { grid-template-columns: repeat(3, minmax(0, 72px)); justify-content: center; }
.stacks { display: grid; grid-template-columns: repeat(4, minmax(0, 64px)); gap: 14px; justify-content: center; align-content: center; }
.stacks b { display: block; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--ph-2); box-shadow: 3px 3px 0 var(--ph-1), 6px 6px 0 var(--chip); }
.stacks b:nth-child(3n) { background: var(--ph-3); }
.votes { display: flex; gap: 20px; align-items: center; justify-content: center; }
.vote-tile { height: 100%; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--ph-3); }
.vote-side { display: grid; gap: 8px; width: 130px; }
.vote-side b { display: grid; place-items: center; min-height: 36px; border-radius: 9px; border: 1px solid var(--line-2); font: 600 14px/1 var(--sans); }
.vote-side .yes { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.specs { padding: clamp(44px, 6.5vh, 72px) var(--gutter); border-top: 1px solid var(--line); }
.specs h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; }
.spec-wide { margin-top: clamp(16px, 2.5vh, 24px); max-width: 980px; }
.spec-wide div { grid-template-columns: 10rem minmax(0, 1fr); font-size: 16px; padding: 10px 0; }

@media (max-width: 900px) {
  .show-steps > li { grid-template-columns: minmax(0, 1fr); }
  .show-steps > li:nth-child(even) .show-fig { order: 0; }
  .show-fig { height: 190px; }
}
@media (max-width: 760px) {
  .spec-wide div { grid-template-columns: 5.5rem minmax(0, 1fr); font-size: 15px; }
  .top .quiet-cta { display: none; }
}
