/* Gerros — studio site. Tokens first, everything else through them. */
:root {
  --paper: #F4F3EF;
  --paper-2: #ECEBE5;
  --card: #FBFAF7;
  --ink: #131518;
  --ink-2: #3A3E45;
  --muted: #6A6F78;
  --line: #DDDBD3;
  --line-2: #CFCDC4;
  --accent: #128A5F;
  --accent-ink: #0B5C40;
  --accent-soft: #E1F2EA;
  --warn-soft: #F6ECD6;
  --warn-ink: #7A5A12;
  --shadow: 0 1px 2px rgba(20,21,24,.06), 0 12px 32px -18px rgba(20,21,24,.25);
  --radius: 20px;
  --font-display: "Bricolage Grotesque", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C0D0F;
    --paper-2: #121316;
    --card: #16181B;
    --ink: #F1F0EC;
    --ink-2: #C9CBCF;
    --muted: #9BA0A8;
    --line: #26292E;
    --line-2: #34383E;
    --accent: #3EDC96;
    --accent-ink: #8FF0C4;
    --accent-soft: #10291E;
    --warn-soft: #2B2412;
    --warn-ink: #E8C572;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -20px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C0D0F;
  --paper-2: #121316;
  --card: #16181B;
  --ink: #F1F0EC;
  --ink-2: #C9CBCF;
  --muted: #9BA0A8;
  --line: #26292E;
  --line-2: #34383E;
  --accent: #3EDC96;
  --accent-ink: #8FF0C4;
  --accent-soft: #10291E;
  --warn-soft: #2B2412;
  --warn-ink: #E8C572;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -20px rgba(0,0,0,.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 0.98; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 92; }
h2, .h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; font-weight: 650; }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand .mark { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ink); position: relative; }
.brand .mark::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--accent); border-color: var(--accent) var(--accent) transparent transparent; transform: rotate(-20deg); }
.nav-links { display: flex; gap: 26px; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .98rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #05140D; }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-copy .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--line-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: .92rem; color: var(--muted); margin-top: -6px; }
.hero-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.hero-note a:hover { text-decoration-color: var(--accent); }
.hero h1 em { font-style: normal; color: var(--accent); }
.dials { position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; margin-left: auto; }
.dial {
  position: absolute; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background-color: #0b0b0b; background-size: cover; background-position: center; background-repeat: no-repeat;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 20px 40px -18px rgba(0,0,0,.45);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.dial:hover { transform: scale(1.04); z-index: 2; }
.dial:nth-child(1) { width: 46%; left: 4%; top: 6%; }
.dial:nth-child(2) { width: 32%; left: 58%; top: 0; }
.dial:nth-child(3) { width: 26%; left: 66%; top: 36%; }
.dial:nth-child(4) { width: 38%; left: 24%; top: 56%; }
.dial:nth-child(5) { width: 22%; left: 0; top: 60%; }
.dial:nth-child(6) { width: 24%; left: 68%; top: 68%; }
.dials .dial-tag { position: absolute; left: 4%; bottom: -6px; white-space: nowrap; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 880px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .dials { max-width: 420px; margin: 0 auto; }
}

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 0; display: grid; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; }
.stat b { font-family: var(--font-display); font-size: 2rem; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head .lede { font-size: 1.05rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: inherit; font-size: .92rem; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:hover:not([aria-pressed="true"]) { border-color: var(--ink); color: var(--ink); }

/* ---------- home strip ---------- */
.apps-strip .section-head { margin-bottom: 26px; }
.strip-outer { position: relative; }
.strip {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(24px, calc((100% - 1180px) / 2)) 18px;
  scroll-padding-inline: max(24px, calc((100% - 1180px) / 2));
}
.strip::-webkit-scrollbar { display: none; }
.tile {
  flex: none; width: 150px; display: grid; gap: 8px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit;
  cursor: pointer; text-align: left; scroll-snap-align: start; border-radius: 16px;
}
.tile .cover { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative; background: #F1EFEA; box-shadow: inset 0 0 0 1px var(--line); }
.tile .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.tile:hover .cover img { transform: scale(1.05); }
.tile .cover .badge { position: absolute; top: 8px; left: 8px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: var(--warn-soft); color: var(--warn-ink); }
.tile .name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.2; }
.tile .sub { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.strip-arrow {
  position: absolute; top: 60px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.3rem; line-height: 1; box-shadow: var(--shadow); z-index: 2;
}
.strip-arrow.prev { left: 8px; } .strip-arrow.next { right: 8px; }
.strip-arrow:hover { border-color: var(--ink); }
@media (max-width: 720px) { .strip-arrow { display: none; } .tile { width: 124px; } }

/* ---------- app grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.app {
  text-align: left; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer;
  display: grid; gap: 12px; border-radius: var(--radius);
}
.app .cover {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; position: relative;
  background: #F1EFEA; box-shadow: inset 0 0 0 1px var(--line);
}
.app .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.app:hover .cover img { transform: scale(1.04); }
.app .cover .badge {
  position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; background: var(--warn-soft); color: var(--warn-ink);
}
.app .cover .face { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.app h3 { font-size: 1.15rem; }
.app .tag { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.app .meta { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.app .meta .star { color: var(--ink); }
.grid.is-filtering .app { animation: pop .3s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- detail dialog ---------- */
dialog.sheet {
  border: 0; padding: 0; margin: auto; max-width: min(980px, calc(100% - 32px)); width: 100%;
  border-radius: 24px; background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  max-height: calc(100vh - 48px); overflow: auto;
}
dialog.sheet::backdrop { background: rgba(10,11,13,.55); backdrop-filter: blur(6px); }
.sheet-head { display: flex; align-items: center; gap: 18px; padding: 26px 28px 0; }
.sheet-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 45%; transform: scale(1); background: #000; }
.sheet-head .cover-dial { width: 64px; height: 64px; border-radius: 50%; background-size: cover; background-position: center; background-color: #000; flex: none; box-shadow: 0 0 0 1px var(--line); }
.sheet-head h2 { font-size: 1.7rem; }
.sheet-head .meta { color: var(--muted); font-family: var(--font-mono); font-size: .8rem; margin-top: 4px; }
.sheet-close { margin-left: auto; border: 1px solid var(--line-2); background: transparent; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; flex: none; }
.screens { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px 28px 6px; scrollbar-width: thin; }
.screens img { height: 260px; width: auto; border-radius: 14px; scroll-snap-align: start; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.sheet-body { display: grid; grid-template-columns: 1.4fr .8fr; gap: 36px; padding: 18px 28px 30px; }
.desc { font-size: 1rem; color: var(--ink-2); display: grid; gap: 12px; max-width: 62ch; }
.desc h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.desc ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.sheet-side { display: grid; gap: 14px; align-content: start; }
.sheet-side .btn { justify-content: center; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.kv b { color: var(--ink); font-weight: 500; font-family: var(--font-mono); font-size: .84rem; }
.note { font-size: .88rem; color: var(--warn-ink); background: var(--warn-soft); padding: 10px 12px; border-radius: 10px; }
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .app { gap: 8px; }
  .app h3 { font-size: 1rem; }
  .app .tag { font-size: .84rem; }
  .app .cover .badge, .app .cover .face { top: 8px; font-size: .58rem; padding: 4px 7px; }
  .app .cover .badge { left: 8px; } .app .cover .face { right: 8px; }
  .related .grid { grid-template-columns: 1fr 1fr; }
  .sheet-body { grid-template-columns: 1fr; }
  .screens img { height: 200px; }
  .sheet-head { padding: 20px 20px 0; }
  .sheet-head h2 { font-size: 1.35rem; }
}

/* ---------- wear os ---------- */
.wear { background: var(--paper-2); }
.wear .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.wear-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.wear-list div { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.wear-list span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
@media (max-width: 800px) { .wear .wrap { grid-template-columns: 1fr; } }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.principle { display: grid; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; }
.principle p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- about / contact ---------- */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about .lede { font-size: 1.15rem; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--card); display: grid; gap: 18px; align-content: start; }
.contact-card .kv { border-top: 0; padding-top: 0; }
.quote-form { display: grid; gap: 14px; }
.quote-form label { display: block; font-size: .84rem; font-weight: 500; color: var(--ink); }
.quote-form .opt { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: 4px; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; margin-top: 6px; font: inherit; font-size: .95rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; width: 100%; min-width: 0;
}
.quote-form textarea { resize: vertical; line-height: 1.45; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quote-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form .btn { justify-self: start; border: 0; cursor: pointer; }
.quote-form .small { font-size: .82rem; }
.quote-form .honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.thanks { max-width: 640px; }
@media (max-width: 560px) { .quote-form .field-row { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .about .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); font-size: .88rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer small { display: block; width: 100%; margin-top: 6px; }

/* ---------- prose pages ---------- */
.prose { padding: 64px 0 96px; }
.prose .wrap { max-width: 720px; display: grid; gap: 18px; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.35rem; margin-top: 18px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose .updated { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

/* ---------- nav extras ---------- */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; border: 1px solid var(--line-2); background: transparent; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open .nav-links { display: grid; position: absolute; left: 0; right: 0; top: 64px; padding: 18px 24px 22px; background: var(--paper); border-bottom: 1px solid var(--line); gap: 14px; }
}
.muted { color: var(--muted); }
.strip a.tile { text-decoration: none; }
.grid a.app { text-decoration: none; }
.cover-dial { display: inline-block; width: 64px; height: 64px; border-radius: 50%; background-size: cover; background-position: center; background-color: #000; flex: none; box-shadow: 0 0 0 1px var(--line); }
.cover-dial.big { width: 140px; height: 140px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 20px 40px -18px rgba(0,0,0,.45); }

/* ---------- home split / news ---------- */
.split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.news-block { display: grid; gap: 14px; border-top: 2px solid var(--ink); padding-top: 18px; }
.news-mini { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.news-mini > span:last-child { display: grid; }
.news-mini b { font-family: var(--font-display); font-weight: 600; }
.news-mini .mono { font-size: .78rem; color: var(--muted); }
.news-block .more { text-decoration: none; color: var(--accent-ink); font-weight: 600; }
@media (max-width: 800px) { .split .wrap { grid-template-columns: 1fr; } }

/* ---------- app page ---------- */
.apphead { padding: 36px 0 20px; }
.crumb { text-decoration: none; color: var(--muted); font-size: .92rem; }
.apphead-row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; margin-top: 22px; }
.apphead-row h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.apphead-row .meta { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.apphead-cta { display: grid; gap: 12px; max-width: 320px; }
@media (max-width: 800px) { .apphead-row { grid-template-columns: 1fr; gap: 18px; } }
.gallery-wrap { padding: 12px 0 0; }
.app-hero { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0,0,0,.5); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.gallery-grid img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } }
.appbody .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.appbody .desc { font-size: 1.05rem; }
.appbody .desc p:first-child { font-size: 1.2rem; color: var(--ink); }
.whatsnew { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.whatsnew h3 { font-size: 1rem; }
.whatsnew ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.whatsnew .mono { font-size: .76rem; }
@media (max-width: 800px) { .appbody .wrap { grid-template-columns: 1fr; } }
.related { padding-top: 0; }
.related .grid { margin-top: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ---------- what's new ---------- */
.newslist { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.news { display: grid; grid-template-columns: 120px 64px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-when { color: var(--muted); font-size: .8rem; padding-top: 6px; }
.news-body { display: grid; gap: 8px; color: var(--ink-2); max-width: 62ch; }
.news-body h3 a { text-decoration: none; }
.news-body h3 .mono { font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.news-body ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
@media (max-width: 720px) { .news { grid-template-columns: 64px 1fr; } .news-when { grid-column: 2; padding: 0; } }

/* ---------- wear os page ---------- */
.wear-rows { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.wear-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.wear-row p { color: var(--ink-2); margin-top: 4px; max-width: 56ch; }
.wear-row .mono { font-size: .76rem; color: var(--accent-ink); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 720px) { .wear-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .studio { grid-template-columns: 1fr; } }
.principles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- single-file preview routing ---------- */
main.route[hidden] { display: none; }

/* custom apps */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.package { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 26px; display: grid; gap: 8px; align-content: start; }
.package .price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1; margin-top: 4px; }
.package .mono { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.package p:last-child { color: var(--ink-2); font-size: .96rem; margin-top: 6px; }
.custom .hero-actions { margin-top: 28px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; counter-reset: step; }
.steps li { display: grid; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.steps b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 650; }
.steps span { color: var(--ink-2); font-size: .96rem; }
.faq { margin-top: 24px; max-width: 46em; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-family: var(--font-mono); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 800px) { .packages, .steps { grid-template-columns: 1fr; } }
