/* AUETRON — site styles. No external requests; fonts are self-hosted. */
:root {
  --ink: #0d0e10;
  --ink-2: #2a2c31;
  --muted: #676a72;
  --line: #e2e0da;
  --paper: #f6f5f1;
  --card: #ffffff;
  --accent: #2b47ff;
  --accent-ink: #ffffff;
  --twirly-coral: #f26b5b;
  --twirly-cream: #fbefe2;
  --radius: 10px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --sans: "Inter Tight", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(246, 245, 241, 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }

.head-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 22px; height: 22px; flex: none; }
.wordmark { font-weight: 600; letter-spacing: 0.24em; font-size: 14px; padding-left: 0.24em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.lang { font-size: 13px; letter-spacing: 0.08em; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-size: 15px; padding: 8px 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: grid; }
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--paper);
  border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; gap: 2px; }
.menu-panel a { text-decoration: none; padding: 12px 0; font-size: 22px; letter-spacing: -0.01em; border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .nav { display: none; } .menu { display: block; } }

/* Type */
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(42px, 7.2vw, 92px); }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
em.serif, .serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 40em; margin: 28px 0 0; }
.muted { color: var(--muted); }
section { padding: clamp(64px, 9vw, 128px) 0; }
.rule { border-top: 1px solid var(--line); }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 11em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-size: 15px;
  font-weight: 500; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn[aria-disabled="true"] { pointer-events: none; opacity: 0.55; }
.arrow { transition: transform 0.2s; } a:hover .arrow { transform: translateX(3px); }

/* Product index */
.products { display: grid; border-top: 1px solid var(--ink); }
.product-row { display: grid; grid-template-columns: 72px 1.1fr 1.4fr auto; gap: 28px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.product-row:hover { color: inherit; }
.product-row:hover h3 { color: var(--accent); }
.product-row img { width: 72px; height: 72px; border-radius: 18px; }
.product-row .kind { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.product-row p { margin: 0; color: var(--ink-2); }
.product-row .go { font-size: 15px; white-space: nowrap; }
@media (max-width: 820px) {
  .product-row { grid-template-columns: 56px 1fr; gap: 16px 18px; }
  .product-row img { width: 56px; height: 56px; border-radius: 14px; }
  .product-row p, .product-row .go { grid-column: 2; }
}

/* Grids */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.pillar:nth-child(odd) { border-right: 1px solid var(--line); }
.pillar:nth-child(even) { padding-left: 28px; }
.pillar .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 22px; }
.pillar p { margin: 10px 0 0; color: var(--ink-2); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { padding: 24px 0; border-right: 0; }
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--card); padding: 28px; }
.feature p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; list-style: none; }
.facts li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; background: var(--card); }

/* Product page heads */
.p-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.p-head img { width: 96px; height: 96px; border-radius: 24px; }
@media (max-width: 600px) { .p-head { grid-template-columns: 1fr; } .p-head img { width: 72px; height: 72px; border-radius: 18px; } }
.note { font-size: 14px; color: var(--muted); margin-top: 20px; }

/* Twirly — warmer, playful, same grid and type */
.twirly { --accent: #e3533f; }
.twirly .hero { background: linear-gradient(180deg, var(--twirly-cream), var(--paper)); }
.twirly h1 .serif { color: var(--twirly-coral); }
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: 48px; }
.screens figure { margin: 0; }
.screens img { border-radius: 22px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -22px rgba(80, 40, 20, 0.35); background: var(--twirly-cream); }
.screens figure:nth-child(even) { transform: translateY(28px); }
.screens figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
@media (max-width: 820px) {
  .screens { grid-template-columns: repeat(2, 1fr); }
  .screens figure:nth-child(even) { transform: translateY(20px); }
}
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--ink-2); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--ink-2); }

/* Legal & support */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); }
.doc h2 { font-size: 24px; margin: 48px 0 12px; letter-spacing: -0.015em; }
.doc h3 { margin: 28px 0 8px; font-size: 18px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc .updated { color: var(--muted); font-size: 15px; margin-top: 16px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 18px 22px; margin: 36px 0 0; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: 15px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.callout { border-left: 3px solid var(--accent); background: var(--card); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.callout p { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ol, .faq details ul { margin-top: 0; }
table.simple { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
table.simple th, table.simple td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

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

.sec-head { margin-bottom: 40px; }
section.flush { padding-top: 0; border-top: 0; }
.screens.two { margin-top: 0; grid-template-columns: repeat(2, 1fr); }
