/* Palette taken from the AltBooks app (altBooks/src/index.css) */
:root {
  --bg: #FAF9F5;          /* warm cream */
  --card: #F0EEE6;
  --surface: #FFFFFF;
  --line: #DEDCD1;
  --ink: #141413;
  --ink-2: #5E5D59;
  --brand: #D97757;       /* AltBooks orange */
  --brand-ink: #C6613F;   /* orange-600, for text/buttons needing contrast */
  --dark: #262624;        /* warm charcoal */
  --dark-2: #30302E;
  --dark-3: #1F1E1D;
  --dark-line: #3E3E38;
  --dark-muted: #A6A39A;
  --green: #519458;
  --radius: 12px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 22px; border-radius: 10px; font: 600 15px/1 var(--font);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--brand-ink); color: #fff; }
.btn-primary:hover { background: #9A4123; }
.btn-ghost { background: none; border-color: var(--dark-line); color: var(--bg); }
.btn-ghost:hover { border-color: var(--dark-muted); }
.btn-light { background: #EDEDEB; color: var(--ink); }
.btn-light:hover { background: #fff; }
[hidden] { display: none !important; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Header */
header { background: var(--dark); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
/* Logos in assets/logos are trimmed to the artwork, so height here is the letter height and every product name renders at the same size */
.nav .logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; margin-left: 24px; }
.nav-links > ul { display: flex; gap: 28px; list-style: none; padding: 0; }
.nav-links > ul > li > a, .dd-btn {
  color: var(--dark-muted); text-decoration: none; font: 500 15px/1 var(--font);
  background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > ul > li > a:hover, .dd-btn:hover, .nav [aria-current="page"] { color: var(--bg); }
.dd-btn::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.dd-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav .btn { padding: 10px 16px; font-size: 14px; }
.nav-cta { display: flex; gap: 10px; }
/* Logged-in avatar menu (base.njk): a dark button, opening like the other dropdowns, right-aligned */
.nav .acct-btn {
  background: #0F0F0E; border: 1px solid var(--dark-line); border-radius: 10px; padding: 5px 14px 5px 5px;
  color: var(--bg); font: 600 14px/1 var(--font); gap: 8px; justify-content: flex-start; transition: border-color .15s;
}
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: var(--dark-muted); }
.acct-btn::after { margin-left: auto; }
/* Full name, cut off with … past 180px so a long one can't push the menu around */
.acct-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.nav-cta .dd-menu { left: auto; right: 0; min-width: 100%; width: max-content; }

/* Dropdowns: open when the button is expanded (site.js) or on hover with a mouse */
.dd { position: relative; }
.dd-menu {
  display: none; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 300px;
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 12px; padding: 8px;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / .6);
}
.dd-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
.dd-btn[aria-expanded="true"] + .dd-menu { display: grid; }
/* Only the main links open on hover; the account menu (in .nav-cta) opens on click */
@media (hover: hover) and (min-width: 1021px) { .nav-links > ul .dd:hover .dd-menu { display: grid; } }
@media (min-width: 1021px) {
  .dd-menu.cols-2 { grid-template-columns: repeat(2, 1fr); width: 540px; }
}
/* Entries are plain muted names (or logos). On hover or keyboard focus the entry brightens and a small chevron appears, since each opens a page. */
.dd-menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.dd-menu b { color: var(--dark-muted); font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: color .15s; }
.dd-menu b img { height: 16px; width: auto; margin: 3px 0; opacity: .7; transition: opacity .15s; }
.dd-menu a > span { display: block; color: var(--dark-muted); font-size: 12px; margin-top: 2px; } /* caption under the name */
.dd-menu b::after {
  content: ""; flex: none; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg); opacity: 0; transition: opacity .15s;
}
.dd-menu a:hover b, .dd-menu a:focus-visible b, .dd-menu a[aria-current="page"] b { color: var(--bg); }
.dd-menu a:hover img, .dd-menu a:focus-visible img, .dd-menu a[aria-current="page"] img, .dd-menu a:hover b::after, .dd-menu a:focus-visible b::after { opacity: 1; }
@media (hover: none) { .dd-menu b::after { opacity: 1; } } /* touch screens can't hover, so the chevron stays visible */
.dd-menu .soon { background: var(--dark-line); color: var(--dark-muted); padding: 2px 7px; font-size: 10px; }

/* Mobile menu */
.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--dark-line); border-radius: 9px; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: var(--bg); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
@media (max-width: 1020px) {
  .menu-btn { display: grid; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    background: var(--dark); border-bottom: 1px solid var(--dark-2); padding: 8px 16px 20px;
    flex-direction: column; align-items: stretch; gap: 12px; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .menu-btn[aria-expanded="true"] + .nav-links { display: flex; }
  .nav-links > ul { flex-direction: column; gap: 0; }
  .nav-cta { flex-direction: column; }
  .nav-links > ul > li { border-bottom: 1px solid var(--dark-2); }
  .nav-links > ul > li > a, .dd-btn { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 16px; }
  .dd-menu { position: static; box-shadow: none; border: 0; background: none; padding: 0 0 12px; min-width: 0; }
  .dd-menu::before { display: none; }
}

/* Hero */
.hero { background: var(--dark); color: var(--bg); padding: 88px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--brand); border-radius: 2px; }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.1; letter-spacing: -0.01em; font-weight: 600; }
h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { color: var(--dark-muted); font-size: 18px; margin: 22px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px; color: var(--dark-muted); font-size: 14px; list-style: none; padding: 0; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 7px; }

/* Hero product mock */
.mock { position: relative; }
.invoice {
  background: var(--surface); color: var(--ink); border-radius: 14px; padding: 26px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .55); font-size: 14px;
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.inv-head b { font-size: 18px; display: block; }
.muted { color: var(--ink-2); font-size: 13px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #E5F1E6; color: #355F39; }
.inv-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-variant-numeric: tabular-nums; }
.inv-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 6px 0; }
.inv-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.inv-table .r { text-align: right; }
.inv-tax { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-variant-numeric: tabular-nums; }
.inv-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 700; font-size: 17px; }
.stat {
  position: absolute; left: -36px; bottom: -40px; width: 230px;
  background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--bg); border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / .6);
}
.stat .muted { color: var(--dark-muted); }
.stat b { font-size: 24px; display: block; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
/* AltBooks hero: a printed tax invoice with the features written on it in orange pen (Caveat, loaded in base.njk) */
.bill { position: relative; max-width: 470px; width: 100%; margin: 0 auto; background: #FFFEFA; color: var(--ink); border-radius: 6px; padding: 24px 24px 18px; font-size: 12px; font-variant-numeric: tabular-nums; box-shadow: 0 40px 70px -30px rgb(0 0 0 / .85); }
.bill-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.bill-head b { display: block; font-size: 15px; }
.bill-head span { color: var(--ink-2); font-size: 11px; }
.bill table { width: 100%; border-collapse: collapse; margin: 4px 0; }
.bill th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding: 8px 0 6px; border-bottom: 1px solid var(--line); }
.bill td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.bill td small { display: block; color: var(--ink-2); font-size: 10.5px; margin-top: 2px; }
.bill .r { text-align: right; white-space: nowrap; }
.bill-tag { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: #E5F1E6; color: #355F39; margin-left: 4px; }
.bill-tag.full { background: #EEE; color: var(--ink-2); }
.bill-tot { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin-top: 8px; }
.bill-tot b { font-size: 14px; }
.bill-decl { margin-top: 12px; padding: 8px 10px; font-size: 10.5px; line-height: 1.5; background: rgb(217 119 87 / .16); border-left: 3px solid var(--brand); }
.bill-note { display: block; margin: 2px 0 2px 8px; font: 600 17px/1.1 Caveat, cursive; color: var(--brand-ink); rotate: -2deg; }
.bill-note.inline { display: inline-block; }
.bill-note.end { text-align: right; margin-right: 6px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 40px; }
.bars i { flex: 1; background: var(--dark-line); border-radius: 3px 3px 0 0; }
.bars i:last-child { background: var(--brand); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stat { position: static; width: auto; margin-top: 14px; }
}

/* Sections */
section { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head .eyebrow { color: var(--brand-ink); }
.sec-head .eyebrow::before { background: var(--brand-ink); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.01em; font-weight: 600; }
.sec-head p { color: var(--ink-2); font-size: 17px; margin-top: 14px; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic {
  width: 42px; height: 42px; border-radius: 10px; background: #FBF2EE; color: var(--brand-ink);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15px; }
/* Cards lift under the pointer and rise into place as they scroll into view. The reveal animates `translate`
   so it never fights the hover `transform`; browsers without scroll-driven animations just show the cards. */
.feature, .feature .ic { transition: transform .2s, border-color .2s, box-shadow .2s, background .2s, color .2s; }
@media (hover: hover) {
  .feature:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 16px 30px -20px rgba(20, 20, 19, .45); }
  .feature:hover .ic { background: var(--brand); color: #fff; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .feature { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 28px; } }

/* AltBooks features: sticky heading on the left, two columns of cards with the right one set lower */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px; align-items: start; }
.spot-head { position: sticky; top: 108px; margin-bottom: 0; }
.spot-chart { display: block; width: 100%; height: 220px; margin-top: 48px; }
.spot-chart .area { fill: rgb(217 119 87 / .07); }
.spot-chart .line { fill: none; stroke: var(--line); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spot-chart .up { fill: none; stroke: var(--brand); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.spot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.spot-col { display: grid; gap: 20px; }
.spot-col + .spot-col { padding-top: 72px; }
.spot-card { padding: 30px; border-radius: 16px; }
.spot-card h3 { font-size: 20px; margin-bottom: 10px; }
.spot-card p { line-height: 1.65; }
.viz { margin-top: 24px; padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.v-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; }
.v-line > span:first-child { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.v-sub { margin-top: -8px; color: var(--ink-2); font-family: ui-monospace, Menlo, monospace; font-size: 11px; }
.v-dim { color: var(--ink-2); }
.v-total { padding-top: 10px; border-top: 1.5px solid var(--ink); }
.v-chip { padding: 3px 9px; border-radius: 99px; background: var(--card); color: var(--ink-2); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.v-chip.ok { background: #E5F1E6; color: #355F39; }
.v-chip.warn { background: #FBEBE4; color: #9A4123; }
.v-search { padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-family: ui-monospace, Menlo, monospace; }
.v-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-ink); color: #fff; font: 700 11px/1 var(--font); }
.v-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.v-file i { padding: 6px; border-radius: 6px; background: #1E6E42; color: #fff; font: 700 10px/1 var(--font); }
.v-file span:nth-child(2) { flex: 1; display: grid; }
.v-file small { color: var(--ink-2); }
.v-warn { padding: 8px 12px; border-radius: 8px; background: #FBEBE4; color: #9A4123; font-weight: 600; }
.v-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.v-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--line); }
.v-bars i:last-child { background: var(--brand); }
.v-toggle { width: 34px; height: 20px; border-radius: 99px; background: var(--ink); position: relative; }
.v-toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.v-themes { display: flex; gap: 8px; }
.v-themes i { flex: 1; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.v-themes i:nth-child(2) { background: var(--dark); outline: 2px solid var(--brand); outline-offset: 2px; }
.v-themes i:nth-child(3) { background: linear-gradient(90deg, var(--surface) 50%, var(--dark) 50%); }
.viz { color: var(--ink); }
.v-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.v-meter { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 10px; color: var(--ink-2); }
.v-meter i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--ink-2) var(--p), var(--line) var(--p)); }
.v-meter.me { color: var(--ink); font-weight: 600; }
.v-meter.me i { background: linear-gradient(90deg, var(--brand) var(--p), var(--line) var(--p)); }
.v-meter.me b { color: var(--brand-ink); }
.viz code { font: 12px ui-monospace, Menlo, monospace; }
.v-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ink); }
.v-seg { display: flex; padding: 3px; border-radius: 9px; background: var(--card); }
.v-seg span { flex: 1; padding: 6px; border-radius: 7px; text-align: center; color: var(--ink-2); font-weight: 600; }
.v-seg .on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
/* AltScan's feature pictures: its camera view (a box sticker under a green frame), the sheet it types into, its PC window */
.v-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v-off { color: var(--ink-2); }
.v-bc { display: block; height: 26px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 6px, #111 6px 9px, transparent 9px 10px, #111 10px 11px, transparent 11px 14px); }
.v-qr { display: block; width: 72px; height: 72px; flex: none; shape-rendering: crispEdges; }
.v-qr.sm { width: 26px; height: 26px; }
.v-cam { position: relative; display: grid; place-items: center; min-height: 150px; border-radius: 10px; overflow: hidden; background: radial-gradient(90% 80% at 50% 45%, #3a3936, #121211); color: #fff; }
.v-cam.ok { box-shadow: inset 0 0 0 3px #34C759; }
.v-stk { position: relative; width: 150px; padding: 10px 12px 7px; border-radius: 3px; background: #FAFAF7; display: grid; gap: 4px; box-shadow: 0 4px 10px rgb(0 0 0 / .4); }
.v-stk code { text-align: center; color: #111; font-size: 10px; letter-spacing: .08em; }
.v-frame { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 178px; height: 74px; border: 2.5px solid #34C759; border-radius: 8px; }
.v-stk .v-frame { width: calc(100% + 14px); height: calc(100% + 14px); }
.v-frame.bad { border-color: #FF453A; box-shadow: 0 0 0 999px rgb(255 69 58 / .14); }
.v-pill { position: absolute; left: 50%; top: 12px; translate: -50% 0; white-space: nowrap; padding: 4px 11px; border-radius: 99px; background: rgb(255 255 255 / .16); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; }
.v-toast { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 7px; border-radius: 9px; background: #34C759; color: #06240f; text-align: center; font: 600 12px ui-monospace, Menlo, monospace; }
.v-toast.bad { background: #FF453A; color: #fff; font-family: var(--font); }
.v-lens { position: absolute; bottom: 10px; display: flex; gap: 8px; }
.v-lens span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / .45); font-size: 11px; font-weight: 600; }
.v-lens .on { color: #FFD60A; }
.v-two { grid-template-columns: auto auto; justify-content: center; gap: 22px; }
.v-two .v-stk { width: 120px; }
.v-stk.qr { width: auto; justify-items: center; opacity: .45; }
.v-stk.qr small { color: #111; font-size: 10px; }
.v-sheet { display: grid; border-radius: 8px; overflow: hidden; background: var(--surface); border: 1px solid #DADCE0; font-size: 12px; }
.v-sheet > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; height: 30px; border-bottom: 1px solid #E3E3E3; }
.v-sheet > div:last-child { border-bottom: 0; }
.v-sheet b { height: 100%; display: grid; place-items: center; background: #F3F3F3; color: #666; font-weight: 500; font-size: 11px; border-right: 1px solid #DADCE0; }
.v-sheet code { padding: 0 10px; }
.v-sheet .cur code { height: 100%; display: flex; align-items: center; gap: 4px; outline: 2px solid #1E6E42; outline-offset: -2px; }
.v-sheet kbd { padding: 0 5px; border: 1px solid #ccc; border-radius: 4px; font: 11px var(--font); color: #555; }
.v-list { display: grid; gap: 10px; }
.v-list-head { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.v-list-head span { padding: 0 8px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.v-btns { display: flex; gap: 8px; }
.v-btns span { flex: 1; padding: 8px 6px; white-space: nowrap; border-radius: 8px; text-align: center; font-weight: 600; background: var(--surface); border: 1px solid var(--line); }
.v-btns .on { background: #1E6E42; border-color: #1E6E42; color: #fff; }
.v-pc { border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.v-pc-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--card); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--ink-2); }
.v-pc-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.v-pc-bar span { margin-left: 6px; font-weight: 600; }
.v-pc-body { display: flex; align-items: center; gap: 16px; padding: 14px; }
.v-pc-body > div { display: grid; gap: 4px; justify-items: start; }
.v-codes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.v-codes span { display: grid; justify-items: center; gap: 6px; padding: 8px 4px 6px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 10px; font-weight: 600; white-space: nowrap; }
.v-codes .v-bc { width: 100%; }
/* AltBarcode's pictures: small copies of the hero's printed .label */
.viz .label { padding: 8px 10px 5px; box-shadow: 0 0 0 1px var(--line); }
.viz .label .code { min-height: 14px; }
.viz .label .num { font-size: 9px; letter-spacing: 0; white-space: nowrap; overflow: hidden; }
.viz > .label { width: 70%; justify-self: center; }
.v-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v-labels > span { display: grid; gap: 4px; justify-items: center; font-size: 11px; }
.v-labels .label { width: 100%; }
.v-bw { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; color: var(--ink-2); }
.v-logo { padding: 14px 10px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), #E8B04B); color: #fff; font: 800 11px/1 var(--font); letter-spacing: .14em; }
.v-size { display: grid; grid-template-columns: 160px auto; justify-content: center; place-items: center; gap: 6px 10px; color: var(--ink-2); font-size: 11px; }
.v-size small:last-child { grid-area: 1 / 2; writing-mode: vertical-rl; }
.v-seg span { white-space: nowrap; }
.v-codes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; text-align: center; }
.v-file i.pdf { background: #B3261E; }
.v-url { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 1020px) { .spot { grid-template-columns: 1fr; gap: 40px; } .spot-head { position: static; } .spot-chart { display: none; } }
@media (max-width: 680px) { .spot-cols { grid-template-columns: 1fr; } .spot-col + .spot-col { padding-top: 0; } .spot-card { padding: 22px; } }
/* A product's headline selling points: the white card inverted. Orange card, white text, white icon tile with an
   orange icon, and an optional big figure in place of the icon. Uses the button orange, the darker of the two brand
   oranges, so white text stays readable. */
.feature.usp { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.feature.usp p { color: #fff; }
.feature.usp .ic, .feature.usp:hover .ic { background: #fff; color: var(--brand-ink); }
.feature.usp:hover { border-color: var(--ink); }
.feature .big { display: block; height: 42px; margin-bottom: 18px; font-size: 44px; line-height: 42px; letter-spacing: -.02em; }

/* Flow */
.flow-sec { background: var(--card); border-block: 1px solid var(--line); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; counter-reset: step; }
/* The numbers sit on a track above the cards: a dashed line runs between neighbouring numbers, 6px clear of each,
   so it never crosses a card edge. */
.flow li { position: relative; display: flex; flex-direction: column; padding-top: 64px; }
.flow li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; z-index: 1; top: 0; left: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-ink); color: #fff; font-weight: 700; font-size: 14px;
}
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 70px; right: -34px; border-top: 2px dashed rgb(217 119 87 / .45); }
/* A small notch on each card points up at its number. */
.flow li > div { position: relative; flex: 1; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, border-color .2s, box-shadow .2s; }
.flow li > div::before {
  content: ""; position: absolute; top: -7px; left: 38px; width: 12px; height: 12px; rotate: 45deg;
  background: inherit; border: inherit; border-width: 1px 0 0 1px; border-radius: 2px 0 0 0; transition: inherit;
}
.flow h3 { font-size: 18px; margin-bottom: 8px; }
.flow p { color: var(--ink-2); font-size: 15px; }
@media (hover: hover) {
  .flow li > div:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 16px 30px -20px rgba(20, 20, 19, .45); }
}
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .flow li:not(:last-child)::after { display: none; }
}
/* One column: the track turns vertical, numbers down the left and each card beside its number. */
@media (max-width: 480px) {
  .flow { grid-template-columns: 1fr; row-gap: 16px; }
  .flow li { padding: 0 0 0 60px; }
  .flow li::before { left: 0; }
  .flow li:not(:last-child)::after { display: block; top: 46px; bottom: -10px; left: 19px; right: auto; border-top: 0; border-left: 2px dashed rgb(217 119 87 / .45); }
  .flow li > div::before { top: 14px; left: -7px; border-width: 0 0 1px 1px; border-radius: 0 0 0 2px; }
}

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checks li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: 7px; background: var(--brand-ink); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.checks b { display: block; }
.checks span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; gap: 32px; } }
/* Home "Why Altcraft": the heading and its buttons stay in view on desktop while the numbered reasons
   go past. 108px = the sticky 68px header plus breathing room. */
@media (min-width: 821px) { .why > .sec-head { position: sticky; top: 108px; } }
.why-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.why-cta .btn-primary { color: #fff; } /* .sec-head a colours links orange, which hid this button's label */
.why-list { list-style: none; padding: 0; margin: 0; counter-reset: why; }
@media (min-width: 821px) { .why:has(> .why-list) { grid-template-columns: 1fr 1.3fr; } } /* home only: the list gets the wider side */
.why-list li { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); counter-increment: why; }
.why-list li:first-child { padding-top: 0; }
/* own counter: a grid li is no longer a list-item, so counter(list-item) stays 0 */
.why-list li::before { content: counter(why, decimal-leading-zero); font: 600 34px/1 var(--font); letter-spacing: -0.03em; color: var(--brand); }
.why-list b { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; }
.why-list p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.why-list a { color: var(--brand-ink); font-weight: 600; }
@media (max-width: 820px) { .why-list li { grid-template-columns: 52px 1fr; } .why-list li::before { font-size: 26px; } }

/* Products */
.products { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 16px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.product.live { grid-row: span 2; background: var(--dark); color: var(--bg); border-color: var(--dark); display: flex; flex-direction: column; }
.product.live img { height: 34px; width: auto; margin-bottom: 18px; align-self: flex-start; }
.product.live p { color: var(--dark-muted); flex: 1; }
.product.live .btn { margin-top: 24px; align-self: flex-start; }
.product h3 { font-size: 18px; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product p { color: var(--ink-2); font-size: 15px; }
.soon { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); background: var(--card); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
@media (max-width: 820px) { .products { grid-template-columns: 1fr 1fr; } .product.live { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
form { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; padding: 28px; display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--dark-muted); }
input, textarea, select {
  font: inherit; font-size: 15px; color: var(--bg); background: var(--dark); border: 1px solid var(--dark-line);
  border-radius: 9px; padding: 11px 13px; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); }
textarea { resize: vertical; min-height: 96px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }

footer { background: var(--dark); color: var(--dark-muted); font-size: 15px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--bg); }
/* Oversized wordmark on top, cut off by the line that starts .foot-body. Barely visible until hovered. */
.foot-top { padding-top: 56px; overflow: hidden; }
.foot-mark { position: relative; margin-bottom: -5%; }
.foot-mark img { width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .05; }
/* Hover glow: a lit outline of the letters around the cursor (site.js sets --x/--y). The mask is a spotlight minus the logo's own
   fill, so only the halo shows. The box is 32px bigger than the logo on every side so the halo isn't clipped at the logo's edges. */
.foot-mark .glow {
  position: absolute; inset: -32px; padding: 32px; opacity: 0; transition: opacity .3s; pointer-events: none;
  mask-image: radial-gradient(circle 220px at var(--x, 50%) var(--y, 50%), #000, rgb(0 0 0 / .55) 25%, rgb(0 0 0 / .22) 55%, rgb(0 0 0 / .06) 80%, transparent), url(/assets/logos/altcraft.png);
  mask-origin: border-box, content-box; mask-size: 100% 100%; mask-repeat: no-repeat; mask-composite: subtract;
}
.foot-mark .glow::before, .foot-mark .glow::after { content: ""; position: absolute; inset: 32px; background: url(/assets/logos/altcraft.png) 0 0 / 100% 100% no-repeat; }
.foot-mark .glow::before { filter: blur(4px); } /* halo: the logo blurred, so each letter glows in its own colour */
.foot-mark .glow::after { filter: drop-shadow(0 0 1px #fff); } /* thin bright edge */
.foot-top:hover .glow { opacity: 1; }
.foot-body { border-top: 1px solid var(--dark-line); background: radial-gradient(ellipse 50% 200px at 50% 0, rgb(255 255 255 / .05), transparent); }
.foot { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 40px 32px; padding-top: 88px; padding-bottom: 72px; }
.foot h4 { color: var(--bg); font-size: 15px; font-weight: 500; margin-bottom: 22px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 16px; }
.foot a { overflow-wrap: anywhere; }
.foot-brand p { max-width: 300px; margin-bottom: 22px; }
.foot-social { display: flex; gap: 10px; margin-top: 26px; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--bg); }
.foot-social a:hover { border-color: var(--dark-muted); }
.foot-social svg { width: 16px; height: 16px; fill: currentColor; }
.foot-social svg.line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.foot-base { padding-bottom: 32px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.foot-base a + a { margin-left: 20px; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; padding-top: 56px; } .foot-brand { grid-column: 1 / -1; } }

/* Inner page hero */
.page-hero { background: var(--dark); color: var(--bg); padding: 80px 0 88px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); max-width: 760px; }
.page-hero p.lead { color: var(--dark-muted); font-size: 18px; margin-top: 18px; max-width: 620px; }
.page-hero .hero-cta { margin-top: 30px; }
.product-logo { height: 30px; width: auto; margin-bottom: 28px; }
/* AltScan hero: a spreadsheet being filled in, with the phone's viewfinder (white band, red laser, as in the app) over its corner */
.sheet { margin-bottom: 0; table-layout: fixed; }
.sheet th, .sheet td { border: 1px solid var(--line); padding: 8px 12px; height: 37px; }
.sheet th, .sheet td:first-child { width: 38px; background: var(--card); color: var(--ink-2); font-size: 12px; font-weight: 600; text-align: center; }
.sheet th:nth-child(2) { width: 60%; }
.sheet .cur td:nth-child(2) { outline: 2px solid var(--green); outline-offset: -1px; }
/* AltScan hero: a MacBook with Excel open, the iPhone in front on the right. Sizes hang off --w so both scale down on phones. */
.devices { --w: min(420px, 76vw); position: relative; max-width: 540px; width: 100%; margin: 0 auto; padding: 44px 0 64px 4%; }
.pen-note { position: absolute; z-index: 3; font: 600 20px/1.1 Caveat, cursive; color: var(--brand); white-space: nowrap; }
.n-connect { left: 4%; top: 0; rotate: -3deg; }
.n-scan { right: 4%; bottom: 6px; rotate: 3deg; }
.n-type { left: 8%; top: calc(54px + var(--w) * .685); rotate: -2deg; } /* just under the laptop: lid is 10.4/16 of --w, base .035 */
@media (max-width: 480px) { .pen-note { font-size: 16px; } }
.devices .iph { --w: min(140px, 28vw); position: absolute; right: 0; bottom: 48px; z-index: 2; rotate: 4deg; }
.iph { position: relative; width: var(--w); aspect-ratio: 71.5 / 147.5; padding: 4px; border-radius: calc(var(--w) * .19);
  background: linear-gradient(140deg, #9a9a9e, #5b5b60 30%, #3d3d41 60%, #8a8a8f); box-shadow: 0 50px 80px -30px rgb(0 0 0 / .9), inset 0 0 0 1px rgb(255 255 255 / .25); }
.iph::before { content: ""; position: absolute; left: -3px; top: 22%; width: 3px; height: 9%; border-radius: 2px 0 0 2px; background: #6b6b70; box-shadow: 0 calc(var(--w) * .2) 0 #6b6b70; } /* volume buttons */
.iph::after { content: ""; position: absolute; right: -3px; top: 28%; width: 3px; height: 14%; border-radius: 0 2px 2px 0; background: #6b6b70; } /* side button */
.iph-screen { position: relative; height: 100%; border-radius: calc(var(--w) * .17); border: calc(var(--w) * .03) solid #000; background: #000; overflow: hidden; font-family: -apple-system, var(--font); }
.iph .island { position: absolute; left: 50%; top: 2.2%; translate: -50% 0; width: 32%; height: 4.4%; border-radius: 99px; background: #000; z-index: 5; }
.iph .sbar { position: absolute; left: 0; right: 0; top: 2.4%; display: flex; align-items: center; gap: 5px; padding: 0 9%; color: #fff; font-size: calc(var(--w) * .055); z-index: 4; }
.iph .sbar b { margin-right: auto; font-weight: 600; }
.iph .sig { display: flex; align-items: flex-end; gap: 1.5px; height: 9px; }
.iph .sig i { width: 2.5px; background: #fff; border-radius: 1px; }
.iph .sig i:nth-child(1) { height: 35%; } .iph .sig i:nth-child(2) { height: 55%; } .iph .sig i:nth-child(3) { height: 78%; } .iph .sig i:nth-child(4) { height: 100%; }
.iph .bat { position: relative; width: 20px; height: 10px; border: 1px solid rgb(255 255 255 / .6); border-radius: 3px; padding: 1px; }
.iph .bat::after { content: ""; position: absolute; right: -3px; top: 3px; width: 1.5px; height: 3px; border-radius: 0 1px 1px 0; background: rgb(255 255 255 / .6); }
.iph .bat i { display: block; width: 78%; height: 100%; border-radius: 1px; background: #fff; }
.iph .cam { position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 42%, #3a3936, #121211); }
.iph .cnt { position: absolute; left: 50%; top: 11%; translate: -50% 0; z-index: 3; white-space: nowrap; padding: 5px 12px; border-radius: 99px; background: rgb(255 255 255 / .14); backdrop-filter: blur(6px); color: #fff; font-size: calc(var(--w) * .05); font-weight: 600; }
.iph .done { position: absolute; left: 8%; right: 8%; bottom: 7%; z-index: 3; padding: 10px 4px; border-radius: 14px; background: #34C759; color: #06240f; text-align: center; font: 600 calc(var(--w) * .046)/1 ui-monospace, Menlo, monospace; }
.iph .sticker { position: absolute; left: 50%; top: 42%; translate: -50% -50%; width: 62%; padding: 6% 6% 4%; border-radius: 3px; background: #FAFAF7; display: grid; gap: 3px; box-shadow: 0 2px 4px rgb(0 0 0 / .25); }
.iph .sticker span { text-align: center; font: calc(var(--w) * .038)/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; color: #111; }
.iph .bc { display: block; height: calc(var(--w) * .16); background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 6px, #111 6px 9px, transparent 9px 10px, #111 10px 11px, transparent 11px 14px); }
.iph .frame { position: absolute; left: 12%; right: 12%; top: 42%; height: 24%; translate: 0 -50%; z-index: 2; }
.iph .frame i { position: absolute; width: 18px; height: 18px; border: 3px solid #34C759; }
.iph .frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.iph .frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.iph .frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.iph .frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.iph .laser { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: #FF453A; box-shadow: 0 0 10px #FF453A; }
.mbp { width: var(--w); }
.mbp .lid { position: relative; aspect-ratio: 16 / 10.4; padding: calc(var(--w) * .022); border-radius: calc(var(--w) * .03) calc(var(--w) * .03) 0 0; background: #0b0b0c; box-shadow: inset 0 0 0 2px #2b2b2e, 0 0 0 1px #6b6b70; }
.mbp .notch { position: absolute; left: 50%; top: 0; translate: -50% 0; width: 14%; height: calc(var(--w) * .022 + 6px); border-radius: 0 0 8px 8px; background: #0b0b0c; z-index: 2; }
.mbp .base { position: relative; height: calc(var(--w) * .035); margin: 0 calc(var(--w) * -.06); border-radius: 0 0 calc(var(--w) * .03) calc(var(--w) * .03); background: linear-gradient(#d7d7da, #a9a9ad 60%, #7d7d82); box-shadow: 0 30px 40px -18px rgb(0 0 0 / .9); clip-path: polygon(0 0, 100% 0, 98.5% 100%, 1.5% 100%); }
.mbp .lip { position: absolute; left: 50%; top: 0; translate: -50% 0; width: 16%; height: 40%; border-radius: 0 0 8px 8px; background: #9a9a9e; }
.mbp .xl { height: 100%; border-radius: 4px; overflow: hidden; background: #fff; color: #111; font: calc(var(--w) * .024)/1.2 -apple-system, var(--font); display: flex; flex-direction: column; }
.mbp .xl-title { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #1E6E42; color: #fff; font-weight: 600; }
.mbp .live { margin-left: 4px; padding: 2px 8px; border-radius: 99px; background: rgb(255 255 255 / .18); }
.mbp .xl-grid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mbp .xl-grid th { background: #F3F3F3; color: #666; font-weight: 500; border: 1px solid #DADCE0; padding: 3px 4px; }
.mbp .xl-grid tr th:first-child { width: 26px; }
.mbp .xl-grid tr:first-child th:nth-child(2) { width: 62%; }
.mbp .xl-grid td { border: 1px solid #E3E3E3; padding: 0 6px; height: calc(var(--w) * .05); }
.mbp .xl-grid .cur td:first-of-type { outline: 2px solid #1E6E42; outline-offset: -2px; }
/* The laser sweeps the sticker while the codes type into the sheet one by one, on a loop */
@media (prefers-reduced-motion: no-preference) {
  .iph .laser { animation: laser 2.2s ease-in-out infinite; }
  .mbp .xl-grid .t { animation: type 8s infinite backwards; animation-delay: var(--d); }
}
@keyframes laser { 0%, 100% { translate: 0 -14px; } 50% { translate: 0 14px; } }
@keyframes type { 0%, 3% { color: transparent; } 8%, 100% { color: #111; } }

/* Home: product suite panel */
/* Home hero: two columns of app cards drifting in opposite directions, faded at the top and bottom edges.
   Hovering or tabbing into them stops the drift so a card can be clicked; reduced motion keeps them still. */
.suite { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 400px; overflow: hidden; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.suite-col { display: grid; gap: 14px; align-content: start; animation: suite-up 22s linear infinite; }
.suite-col + .suite-col { animation-direction: reverse; }
.suite:is(:hover, :focus-within) .suite-col { animation-play-state: paused; }
@keyframes suite-up { to { translate: 0 calc(-50% - 7px); } } /* one copy of the cards plus half a gap */
@media (prefers-reduced-motion: reduce) { .suite-col { animation: none; } }
.suite-card { display: grid; gap: 8px; padding: 18px; border-radius: 14px; background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--bg); text-decoration: none; transition: border-color .15s; }
a.suite-card:hover { border-color: var(--brand); }
.suite-card img { height: 18px; width: auto; }
.suite-card p { color: var(--dark-muted); font-size: 13px; line-height: 1.5; }
.suite-card .go { color: var(--brand); font-size: 13px; font-weight: 600; }
.suite-card.fact p { color: #D9D6CC; font-size: 14px; }
.suite-card.fact small { color: var(--dark-muted); }
.suite-soon { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--dark-muted); }
.suite-soon a { color: #D9D6CC; text-decoration: underline dotted rgb(255 255 255 / .3); text-underline-offset: 4px; }
.suite-soon a:hover { color: var(--brand); text-decoration-color: currentColor; }
a.product { text-decoration: none; }
a.product:hover { border-color: var(--ink-2); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.plan h3 { font-size: 20px; display: flex; justify-content: space-between; align-items: center; }
.plan > p { color: var(--ink-2); font-size: 15px; }
.plan.featured > p, .plan.featured .price small { color: var(--dark-muted); }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.price s { display: block; font-size: 17px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.price .save { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--brand-ink); letter-spacing: 0; }
.plan.featured .price s { color: var(--dark-muted); }
.plan.featured .price .save { color: var(--brand); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--brand-ink); font-weight: 700; margin-right: 8px; }
.plan.featured li::before { color: var(--brand); }
.plan.featured .btn-ghost:hover { border-color: var(--dark-muted); }
.plan .btn-ghost, .btn-ghost.on-light { color: var(--ink); border-color: var(--line); }
.plan .btn-ghost:hover, .btn-ghost.on-light:hover { border-color: var(--ink-2); }
.plan.featured .btn-ghost { color: var(--bg); border-color: var(--dark-line); }
.plans.single { grid-template-columns: minmax(0, 420px); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }

/* FAQ: native <details>, restyled. The whole card is the click target, and its plus turns into a cross when open. */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.faq details:hover { border-color: var(--ink-2); }
.faq details[open] { border-color: var(--brand); box-shadow: 0 16px 30px -22px rgba(20, 20, 19, .45); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: var(--radius); font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* The plus is two bars drawn as gradients, so it sits dead centre whatever the font */
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; color: var(--brand-ink);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  background-color: #FBF2EE; transition: transform .2s, background-color .2s, color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-ink); color: #fff; }
.faq details p { color: var(--ink-2); padding: 0 22px 20px; }
/* Answers slide open in browsers that can animate to auto height; elsewhere they just appear */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .25s, content-visibility .25s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}
/* FAQ beside its heading: the heading stays in view while the questions scroll */
.faq-head { position: sticky; top: 100px; margin-bottom: 0; }

/* Learn: guide cards */
.feature ol { color: var(--ink-2); font-size: 15px; padding-left: 20px; display: grid; gap: 6px; margin-top: 4px; }
.feature .more { display: inline-block; margin-top: 14px; color: var(--brand-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.features.three { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.features.even { grid-auto-rows: 1fr; } /* every card as tall as the tallest */

/* Product logo on a light card. ponytail: the PNGs are orange "alt" + white name for dark surfaces; this filter flips them
   to #C56343 (≈ --brand-ink) + black instead of shipping a second set of files. Swap in dark-on-light PNGs if exact colour matters. */
.feature .wordmark { height: 20px; width: auto; margin-bottom: 14px; filter: invert(1) hue-rotate(180deg); }
.feature .wordmark + p { margin-bottom: 0; }
.product-card h3 { font-size: 17px; }
/* Product pages, "Part of the Altcraft suite": the other live apps as stacked cards, each one link. */
.suite-apps { display: grid; gap: 16px; }
.suite-apps .feature { color: inherit; text-decoration: none; }
.suite-apps h3 { font-size: 17px; }

/* Chips: links to a business type */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  font-size: 15px; font-weight: 500; text-decoration: none;
}
.chips a:hover { border-color: var(--brand-ink); color: var(--brand-ink); }

/* Picker: a radio group that shows one panel (site.js). Used on Pricing. */
.picker-opts { border: 0; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.picker-opts legend { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; padding: 0; }
.picker-opts label { display: block; color: var(--ink); cursor: pointer; position: relative; }
.picker-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.picker-opts span {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 15px; font-weight: 500; transition: background .15s, border-color .15s, color .15s;
}
.picker-opts label:hover span { border-color: var(--ink-2); }
.picker-opts input:checked + span { background: var(--dark); border-color: var(--dark); color: var(--bg); }
.picker-opts input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.picker-panel { scroll-margin-top: 240px; }
.biz-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.biz-head > :only-child { grid-column: 1 / -1; max-width: 720px; }
.biz-head h2 { margin: 14px 0; }
.biz-head p { color: var(--ink-2); font-size: 17px; }
.biz-head .invoice { border: 1px solid var(--line); box-shadow: none; }
@media (max-width: 820px) { .biz-head { grid-template-columns: 1fr; gap: 28px; } }

/* Long-form guide */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 14px; }
.prose strong { color: var(--ink); }
.prose a:not(.chips a), .sec-head a, .muted a, .checks a, .faq a, .biz-head a { color: var(--brand-ink); }
.prose .muted { font-size: 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-wrap th { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--card); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td a { color: var(--brand-ink); font-weight: 600; }

/* Log in / sign up */
.form-note { font-size: 13px; color: var(--dark-muted); }
/* Support: hero text beside the form */
.page-hero .contact-grid { align-items: center; }
.page-hero form h2 { font-size: 22px; }
.page-hero p.lead a { color: var(--brand); }
@media (max-width: 820px) { .page-hero .contact-grid { gap: 40px; } }
.form-note a { color: var(--brand); }
/* One white card: a dark panel with an orange glow on the left, the form on the right */
/* Full screen, no header or footer (bare: true): the card fills the window and only scrolls if the window is too short */
.auth { background: var(--surface); padding: 14px; }
.auth > .wrap { max-width: none; padding: 0; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: calc(100dvh - 28px); }
.auth-about {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 48px 44px 36px; border-radius: 20px; color: var(--bg);
  background:
    radial-gradient(70% 55% at 15% 0%, rgb(217 119 87 / .55), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, rgb(198 97 63 / .45), transparent 70%),
    linear-gradient(160deg, var(--dark-2), var(--dark-3));
}
.auth-about .eyebrow { display: flex; color: #F2B8A6; margin-bottom: 14px; }
.auth-about .eyebrow::before { background: #F2B8A6; }
.auth-about h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
.auth-about h2 em { font-style: normal; color: var(--brand); }
.auth-about .lead { color: #D9D6CC; font-size: 17px; max-width: 520px; margin-top: 14px; }
.auth-about .form-note { color: #D9D6CC; text-align: center; margin-top: 20px; }
/* Product tree: Altcraft at the top, one branch down to each app */
.app-tree { text-align: center; }
.app-tree-root { height: 36px; width: auto; margin: 0 auto; }
/* Lines from the logo to each card: a stem, one crossbar from the first card's centre to the last's, and a drop to each card.
   --top is the room above the cards; the crossbar sits 25px above them. (100% - 40px) / 10 is half a card: 5 cards, four 10px gaps. Lines meet without overlapping, since they're translucent. */
.app-tree ul { --top: 48px; list-style: none; padding: var(--top) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; position: relative; }
.app-tree ul::before { content: ""; position: absolute; top: 0; left: 50%; height: calc(var(--top) - 25px); border-left: 1px solid rgb(255 255 255 / .3); }
.app-tree ul::after { content: ""; position: absolute; top: calc(var(--top) - 25px); left: calc((100% - 40px) / 10); right: calc((100% - 40px) / 10); border-top: 1px solid rgb(255 255 255 / .3); }
.app-tree li { position: relative; display: flex; perspective: 700px; }
/* The card is the link. Hover (or keyboard focus) flips it over to an orange back that says where it goes. */
.app-tree a { flex: 1; position: relative; padding: 16px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: inherit; text-decoration: none; background: rgb(20 20 19 / .45); border: 1px solid rgb(255 255 255 / .12); border-radius: 12px; transform-style: preserve-3d; transition: transform .45s; }
.app-tree li:is(:hover, :focus-within) a { transform: rotateY(180deg); }
.app-back { position: absolute; inset: -1px; display: grid; place-content: center; gap: 6px; padding: 10px; border-radius: 12px; background: var(--brand-ink); color: #fff; font-size: 13px; font-weight: 600; transform: rotateY(180deg) translateZ(1px); backface-visibility: hidden; }
.app-back small { font-weight: 400; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .app-tree a { transition: none; } }
.app-tree li.is-soon a { border-style: dashed; background: rgb(20 20 19 / .25); }
.app-tree li.is-soon img, .app-tree li.is-soon p { opacity: .6; }
.app-tree li::before { content: ""; position: absolute; top: -24px; left: 50%; height: 23px; border-left: 1px solid rgb(255 255 255 / .3); }
.app-tree li img { height: 20px; width: auto; max-width: 100%; object-fit: contain; }
.app-tree p { font-size: 12.5px; line-height: 1.4; color: #D9D6CC; }
/* Status pinned to the card bottom, so every card lines up whatever its description length */
.app-status { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: #9FD3A5; }
.app-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-tree li.is-soon .app-status { color: var(--dark-muted); }
/* A product's sign-up page: its pitch in the panel */
.signup-pitch > div > img { height: 34px; width: auto; margin-bottom: 28px; }
.signup-pitch .hero-points { color: #D9D6CC; margin-top: 0; }
.signup-price { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .18); color: #D9D6CC; font-size: 15px; }
.signup-price b { color: #fff; font-size: 22px; }
.signup-price a { color: #F2B8A6; }
/* The form side: light fields on white */
.auth-side { display: flex; flex-direction: column; padding: 22px 40px; }
.auth-card { width: 100%; max-width: 440px; margin: auto; padding: 24px 0; background: none; border: 0; border-radius: 0; gap: 24px; }
.auth-card h1 { font-size: 34px; letter-spacing: -0.02em; color: var(--ink); }
.auth-card > p { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin: -14px 0 6px; }
.auth-card a { color: var(--brand-ink); font-weight: 600; }
.auth-card label { color: var(--ink); font-weight: 600; gap: 8px; }
.auth-card input:not([type="checkbox"], [type="radio"]), .auth-card select { height: 44px; }
.auth-card label small, .app-pick legend small { color: var(--ink-2); font-weight: 400; }
.auth-card .row { gap: 24px 16px; align-items: end; }
.auth-card input, .auth-card select { background: var(--surface); color: var(--ink); border-color: var(--line); font-weight: 400; }
.auth-card input:focus, .auth-card select:focus { border-color: var(--brand-ink); box-shadow: 0 0 0 3px rgb(217 119 87 / .18); }
/* App picker: one chip per live app, checkbox hidden. A + turns into a tick and the chip fills orange when picked. */
.app-pick { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.app-pick legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; }
.app-pick label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.app-pick label::before {
  content: "+"; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--ink-2); font-size: 13px; line-height: 1;
}
.app-pick label:hover { border-color: var(--ink-2); }
.app-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.app-pick label:has(:checked) { border-color: var(--brand-ink); background: var(--brand-ink); color: #fff; }
.app-pick label:has(:checked)::before { content: "✓"; background: #fff; color: var(--brand-ink); font-size: 11px; }
.app-pick label:has(:focus-visible) { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.pw-head { display: flex; justify-content: space-between; gap: 12px; }
.pw-head a { font-size: 13px; }
.pw-field { position: relative; display: block; }
.pw-field input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer; }
.pw-toggle:hover { color: var(--ink); background: var(--card); }
.pw-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pw-toggle[aria-pressed="true"] .eye-open, .pw-toggle[aria-pressed="false"] .eye-shut { display: none; }
.auth-card .agree { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.auth-card .agree input { width: 18px; height: 18px; padding: 0; margin-top: 1px; flex-shrink: 0; accent-color: var(--brand-ink); }
.auth-card .btn { width: 100%; padding: 14px 22px; margin-top: 4px; }
.auth-links { display: grid; justify-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.auth-card .msg { background: var(--card); border-color: var(--line); color: var(--ink-2); }
.auth-card .msg.error { background: #FBEBE4; border-color: #E8B4A2; color: #9A4123; }
/* Short laptop screens (768px tall): tighter spacing so sign-up still fits without scrolling */
@media (min-width: 901px) and (max-height: 860px) {
  .auth-about { padding: 36px 40px 28px; }
  .auth-about h2 { font-size: clamp(28px, 3vw, 38px); }
  .app-tree-root { height: 30px; }
  .app-tree ul { --top: 40px; }
  .app-tree a { padding: 12px 8px 10px; }
  .auth-side { padding: 18px 40px; }
  .auth-card { gap: 18px; padding: 8px 0; }
  .auth-card h1 { font-size: 28px; }
  .auth-card input:not([type="checkbox"], [type="radio"]), .auth-card select { height: 40px; padding: 0 13px; }
  .auth-card .btn { padding: 12px 22px; }
}
@media (max-width: 900px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-grid { min-height: 0; }
  .auth-about { order: 1; } /* form first on phones, so nobody scrolls past the panel to sign in */
  .auth-side { padding: 18px 14px 32px; }
}
@media (max-width: 600px) {
  .auth { padding: 8px; }
  .auth-about { padding: 36px 22px 28px; }
  /* ponytail: too narrow for five branches, so phones get a plain 2-column grid without the connectors */
  .app-tree ul { grid-template-columns: 1fr 1fr; padding-top: 20px; }
  .app-tree ul::before, .app-tree ul::after, .app-tree li::before { display: none; }
}
.msg { font-size: 14px; padding: 10px 12px; border-radius: 9px; background: var(--dark); border: 1px solid var(--dark-line); }
.msg.error { border-color: #B4533A; color: #F2B8A6; }

/* Account */
/* Full width, like an app: the sidebar (business, menu, who's logged in) runs down the left edge of the window and
   the open section fills the rest. The flex-wrap drops the sidebar on top of the section once both can't fit, at
   about 820px, and the menu turns into a scrolling row. The page is bare (no site header), so the sidebar is the full window height. */
.acct-layout { display: flex; flex-wrap: wrap; min-height: 100vh; }
/* Pinned below the header, a screen tall, so Log out sits at the bottom of the window however long the section is */
.acct-side { flex: 0 0 260px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; padding: 28px 24px 24px; background: var(--surface); border-right: 1px solid var(--line); }
.acct-main { flex: 999 1 560px; min-width: 0; padding: 40px 48px 96px; }
.acct-logo { display: flex; justify-content: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); } /* same rule as above the profile card */
.acct-logo img { display: block; height: 28px; width: auto; filter: invert(1) hue-rotate(180deg); } /* the dark-header logo, flipped for white */
.org-pick { color: var(--ink-2); font-size: 13px; }
.org-pick select { padding: 8px 12px; background-color: var(--surface); color: var(--ink); border-color: var(--line); }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; }
.side-nav a:hover { color: var(--ink); }
.side-nav a[aria-current="page"] { color: var(--ink); background: var(--card); }
.side-nav a:focus-visible { outline-offset: -2px; } /* inside the item, so the ring hugs it */
.side-nav svg { flex: none; }
.acct-me { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
/* You: initial, name with role, email; inset 12px like the nav items so the edges line up */
.me-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: var(--bg); }
.me-card > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.me-card .avatar { width: 32px; height: 32px; font-size: 13px; }
.me-card .avatar:empty { display: none; }
.me-name { display: grid; justify-items: start; gap: 4px; font-size: 14px; } /* name, role pill under it */
.me-name b { font-weight: 600; overflow-wrap: anywhere; }
.me-name .pill { font-size: 11px; padding: 2px 8px; }
.side-out { flex: none; margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer; } /* icon only, at the card's right */
.side-out:hover { color: #9A4123; background: #FBEBE4; }
.side-out:focus-visible { outline-offset: -2px; }
.acct-me .muted { font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .acct-side { flex-basis: 100%; position: static; height: auto; padding: 24px 16px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .acct-main { padding: 28px 16px 64px; }
  .side-nav { display: flex; overflow-x: auto; }
  .side-nav a { white-space: nowrap; }
}
.acct h2 { font-size: 22px; margin-bottom: 18px; }
.acct .panel-title { font-size: 28px; margin-bottom: 24px; }
/* Trial ending: the warn colours of .pill.warn, a line of what and when, and the way to a plan */
.trial-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; padding: 16px 20px; border-radius: var(--radius); background: #FBEBE4; color: #9A4123; }
.trial-bar > div { flex: 1 1 360px; min-width: 0; display: grid; gap: 2px; }
.trial-bar span { font-size: 14px; color: #7A3A22; }
.trial-bar .btn { flex: none; padding: 10px 16px; font-size: 14px; }
.acct h3 { font-size: 17px; font-weight: 600; margin: 36px 0 14px; }
.acct-main .features.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } /* auto-fit: the apps share a wide row */
/* Overview: greeting, three tiles, then Next steps and Apps as panels side by side */
.ov-head { margin-bottom: 24px; }
.acct .ov-head .panel-title { margin-bottom: 4px; }
.ov-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; margin-top: 24px; }
.ov-panel { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ov-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--card); }
.acct .ov-panel h3 { margin: 0; font-size: 16px; }
.ov-panel-head a { font-size: 14px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.ov-panel-head a::after { content: " →"; }
.ov-panel .count { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #FBEBE4; color: #9A4123; }
/* Rows inside a panel: open circle, title over note, arrow on the right */
.todo, .ov-apps { list-style: none; padding: 0; }
.todo li + li, .ov-apps li + li { border-top: 1px solid var(--line); }
.todo a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; row-gap: 2px; padding: 14px 20px; color: var(--ink); text-decoration: none; transition: background .15s; }
.todo a::before { content: ""; grid-row: 1 / 3; width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; transition: border-color .15s; }
.todo a::after { content: "→"; grid-column: 3; grid-row: 1 / 3; color: var(--brand-ink); font-weight: 600; transition: translate .15s; }
.todo b { grid-column: 2; font-weight: 600; }
.todo span { grid-column: 2; font-size: 14px; color: var(--ink-2); }
.todo a:hover { background: var(--bg); }
.todo a:hover::before { border-color: var(--brand); }
.todo a:hover::after { translate: 3px 0; }
.acct-main > section { padding: 0; }
.ov-apps img { display: block; height: 20px; width: auto; filter: invert(1) hue-rotate(180deg); } /* same flip as .feature .wordmark */
/* App rows: logo, status, way in */
.ov-apps a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 18px 20px; color: var(--ink); text-decoration: none; transition: background .15s; }
.ov-apps a:hover { background: var(--bg); }
.ov-apps img { margin-right: auto; }
.ov-apps .go { font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.ov-apps .go::after { content: "→"; display: inline-block; margin-left: 4px; transition: translate .15s; }
.ov-apps a:hover .go::after { translate: 3px 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.tile b { display: block; font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tile small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
a.tile { color: var(--ink); text-decoration: none; transition: border-color .15s; }
a.tile:hover { border-color: var(--brand); }
a.tile small::after { content: " →"; color: var(--brand-ink); }
.tile.alert { border-color: var(--brand-ink); }
.tile.alert b { color: var(--brand-ink); }
.app-card { display: flex; flex-direction: column; gap: 10px; }
/* flex-start keeps the logo at its own width; stretched to the card it came out squashed and blurry. */
.app-card .wordmark { align-self: flex-start; margin-bottom: 8px; }
.app-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.app-card .btn { padding: 10px 14px; font-size: 14px; }
/* A quiet last row under a line: Remove my access, or where AltBooks's users are managed. Grey until hovered. */
.card-foot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.card-foot a, .card-foot button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; background: none; border: 0; font: 500 14px/1.2 var(--font); color: var(--ink-2); text-decoration: none; cursor: pointer; }
.card-foot button:hover { color: #9A4123; }
.card-foot a:hover { color: var(--ink); }
.card-foot svg { flex: none; pointer-events: none; } /* clicks land on the button, which carries data-unself */
/* The site's feature-card lift says "click me"; these cards aren't links, their buttons are */
.feature.app-card:hover { transform: none; border-color: var(--line); box-shadow: none; }
.pill.warn { background: #FBEBE4; color: #9A4123; }
.pill.off { background: var(--card); color: var(--ink-2); }
.app-card .pill { align-self: flex-start; }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }
label.inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); margin-right: 14px; }
label.inline input { width: auto; }
.app-ticks { white-space: normal !important; }
.table-wrap select { min-width: 120px; padding: 6px 10px; background: var(--surface); color: var(--ink); border-color: var(--line); }
button.link { font: inherit; font-size: 14px; font-weight: 600; color: var(--brand-ink); background: none; border: 0; padding: 0; cursor: pointer; }
/* Light form on the account page (forms elsewhere sit on dark panels) */
.team-form { background: var(--surface); border-color: var(--line); max-width: 760px; }
.team-form h2 { margin-bottom: 0; }
.team-form label { color: var(--ink); font-weight: 600; }
.team-form label small { color: var(--ink-2); font-weight: 400; }
.team-form input:not([type="checkbox"], [type="radio"]), .team-form select { background: var(--surface); color: var(--ink); border-color: var(--line); }
.team-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px 0; }
.team-form legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; width: 100%; }
.team-form .app-pick { gap: 8px; } /* the sign-up page's chips, not the plain fieldset row */
.login-how label.inline { width: 100%; }
.team-form .form-note { color: var(--ink-2); }
.team-form .btn { justify-self: start; }
.team-form .msg { background: var(--card); border-color: var(--line); color: var(--ink); }
.team-form .msg.error { color: #9A4123; }
.team-form :disabled:not(.btn) { background: var(--card); color: var(--ink-2); cursor: not-allowed; }
.team-form h2 + .form-note { margin-top: 4px; }
/* Settings and Add staff cards: title and note on the left, fields on the right; one column on phones. */
.settings { display: grid; gap: 20px; }
.team-form.split { max-width: none; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 16px 48px; align-items: start; }
.split .set-body { display: grid; gap: 16px; }
.split .row { align-items: end; }
@media (max-width: 820px) { .team-form.split { grid-template-columns: 1fr; } }
#add-form { margin-top: 24px; }
.add-none { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.add-none a { color: var(--brand-ink); font-weight: 600; }
#seats:not(:empty) { margin-bottom: 12px; }
/* "Add them in AltBooks" banner between the team list and the form: logo, two lines, a way there */
.own-team { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; padding: 18px 22px; background: var(--card); border-radius: var(--radius); }
.own-team .wordmark { flex: none; height: 18px; width: auto; filter: invert(1) hue-rotate(180deg); } /* same flip as .feature .wordmark */
.own-team > div { flex: 1 1 360px; min-width: 0; }
.own-team b { font-weight: 600; }
.own-team p { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.own-team .btn { flex: none; padding: 10px 16px; font-size: 14px; background: var(--surface); } /* solid, or it melts into the banner */
.own-team .btn:hover { border-color: var(--ink); }
.acct input[type="checkbox"], .acct input[type="radio"] { accent-color: var(--brand-ink); }
.acct td button.link + button.link { margin-left: 14px; }
.btn.danger { color: #9A4123; }
.btn.danger:hover { border-color: #9A4123; }

/* Product vs the thing it replaces ("versus" in products.json): a table on a white card. The product's column is
   tinted and outlined in orange under its logo, and stands taller than the card; the other column is greyed. */
.versus { padding: 20px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.versus table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.versus th, .versus td { padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.versus th { vertical-align: middle; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.versus th img { height: 20px; width: auto; filter: invert(1) hue-rotate(180deg); } /* dark-surface wordmark flipped for a light one, as on the product cards */
.versus td:first-child { padding-left: 0; font-weight: 600; }
.versus td:nth-child(n+2) { position: relative; padding-left: 60px; }
.versus td:nth-child(n+2)::before {
  position: absolute; left: 24px; top: 18px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.versus td:nth-child(2) { font-weight: 600; }
.versus td:nth-child(2)::before { content: "✓"; background: var(--brand-ink); color: #fff; }
.versus td:nth-child(3) { color: var(--ink-2); }
.versus td:nth-child(3)::before { content: "✕"; background: var(--card); }
.versus tbody tr:last-child td { border-bottom: 0; }
@media (min-width: 601px) {
  .versus { position: relative; }
  .versus table { position: relative; table-layout: fixed; }
  .versus th:first-child { width: 20%; } /* the other two columns split the rest, 40% each */
  /* The product's column is one panel behind its cells, running past the card's top and bottom edges.
     Its left and width follow the column widths above and the card's 28px side padding. */
  .versus::before {
    content: ""; position: absolute; top: -22px; bottom: -22px; left: calc(28px + (100% - 56px) * .2); width: calc((100% - 56px) * .4);
    background: #FBF2EE; border: 1.5px solid var(--brand); border-radius: 14px; box-shadow: 0 16px 30px -20px rgba(20, 20, 19, .45);
  }
  .versus :is(th, td):nth-child(2) { border-bottom-color: rgb(217 119 87 / .25); }
}
/* On phones three columns leave a word or two per line, so each row stacks: its label, then the two answers.
   The head row becomes the key: the logo in its orange outline, and the other name beside it. */
@media (max-width: 600px) {
  .versus { padding: 16px; }
  .versus table, .versus thead, .versus tbody, .versus tbody tr, .versus td { display: block; }
  .versus thead tr { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
  .versus th { border: 0; padding: 0; }
  .versus th:first-child { display: none; }
  .versus th:nth-child(2) { padding: 10px 14px; background: #FBF2EE; border: 1.5px solid var(--brand); border-radius: 10px; }
  .versus th:nth-child(3)::before { content: "✕ "; }
  .versus tbody tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .versus td { border: 0; padding-block: 5px; }
  .versus td:first-child { font-size: 13px; color: var(--ink-2); }
  .versus td:nth-child(n+2) { padding-left: 36px; }
  .versus td:nth-child(n+2)::before { left: 0; top: 5px; }
}

/* Desktop installers ("downloads" in products.json): cream cards on the dark hero, white cards with an edge on the page */
.dl { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero .dl { margin-top: 30px; }
.dl a {
  flex: 1 1 240px; max-width: 304px; display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-radius: 12px; border: 1px solid transparent; background: var(--bg); color: var(--ink);
  font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .15s, border-color .15s;
}
.dl svg { flex-shrink: 0; }
.dl .arrow { margin-left: auto; color: var(--brand-ink); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .dl a:hover { transform: translateY(-2px); border-color: var(--brand); } }
@media (max-width: 600px) { .dl a { max-width: none; } }
.dl-note { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.dl-note a { color: var(--brand-ink); font-weight: 600; }
.page-hero .dl-note { color: var(--dark-muted); }
.page-hero .dl-note a { color: var(--brand); }
.closing { text-align: center; }
.closing img { margin: 0 auto; border-radius: 22%; border: 1px solid var(--line); }
.closing h2 { margin: 16px 0 12px; }
.closing p { max-width: 576px; margin: 0 auto; color: var(--ink-2); }
.closing .dl { justify-content: center; margin: 28px 0 24px; }
.closing .dl a { background: var(--surface); border-color: var(--line); text-align: left; }

/* Dropdowns: our own chevron with room around it, instead of each browser's arrow jammed against the edge.
   Mid-grey so it reads on both the light and the dark forms. Last in the file so it wins over the
   per-form `background` shorthands above. */
select, .auth-card select, .team-form select, .table-wrap select, .org-pick select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A887F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.table-wrap select, .org-pick select { background-position: right 10px center; padding-right: 34px; }

/* Handheld mode ("modes" in products.json): a card per kind of scanning, ending in a drawing of the phone's
   switch set the way that kind of scanning needs it. */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; } /* each card spans four rows (question, title, uses, verdict) and shares them, so the two line up */
.mode { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mode-ask { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mode h3 { font-size: 22px; }
.mode-uses { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.mode-uses li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--card); }
.mode-verdict { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--card); }
.mode.on .mode-verdict { background: #FBEBE4; }
.mode-verdict p { font-size: 14px; color: var(--ink-2); }
.mode-verdict b { display: block; font-size: 16px; color: var(--ink); }
.switch { flex: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 19, .25); }
.mode.on .switch { background: var(--brand); }
.mode.on .switch::after { left: 19px; }
@media (max-width: 600px) { .mode { padding: 20px; } }

/* AltBarcode hero: a label printer feeding out an endless run of labels on their backing, with orange pen notes
   (Caveat, loaded in base.njk) on either side. Labels are a fixed 78px with 10px gaps, and the run is listed twice,
   so moving it down by one run (5 × 88px) loops without a jump. The bars are a gradient, only there to read as a barcode. */
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr); grid-template-rows: auto repeat(3, 110px); column-gap: 14px; max-width: 480px; width: 100%; margin: 0 auto; }
.lp-body { grid-column: 1 / -1; justify-self: center; position: relative; z-index: 1; width: 260px; height: 90px; border-radius: 22px 22px 12px 12px; background: linear-gradient(#3b3b38, #2a2a28); border: 1px solid #4a4a46; box-shadow: 0 30px 50px -20px rgb(0 0 0 / .8); }
.lp-body::before { content: ""; position: absolute; right: 22px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: #6BD37A; box-shadow: 0 0 10px #6BD37A; } /* power light */
.lp-body::after { content: ""; position: absolute; left: 34px; right: 34px; bottom: 10px; height: 8px; border-radius: 4px; background: #111; } /* the slot */
.lp-feed { grid-column: 2; grid-row: 2 / span 3; margin-top: -14px; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); }
.lp-run { display: grid; gap: 10px; padding: 18px 12px 0; background: #ECE6D6; animation: lp-feed 25s linear infinite; }
.lp-run .label { aspect-ratio: auto; height: 78px; }
@keyframes lp-feed { from { translate: 0 -440px; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .lp-run { animation: none; } }
.lp-note { align-self: center; font: 600 19px/1.1 Caveat, cursive; color: var(--brand); rotate: -2deg; }
.lp-note.l { grid-column: 1; text-align: right; }
.lp-note.r { grid-column: 3; }
.label { display: flex; flex-direction: column; gap: 4px; aspect-ratio: 2 / 1; padding: 10px 14px 7px; background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgb(20 20 19 / .12); color: var(--ink); }
.label .logo { font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.label .code {
  flex: 1;
  background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 6px, var(--ink) 6px 7px, transparent 7px 10px, var(--ink) 10px 13px, transparent 13px 14px, var(--ink) 14px 15px, transparent 15px 19px, var(--ink) 19px 21px, transparent 21px 22px, var(--ink) 22px 23px, transparent 23px 27px);
}
.label .num { text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .08em; }

/* Sign-up pop-ups: "check your email" after signing up, "email verified" on coming back from its link */
.sent-pop {
  width: calc(100% - 32px); max-width: 400px; margin: auto; padding: 32px; border: 0; border-radius: 16px; text-align: center;
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45);
}
.sent-pop::backdrop { background: rgb(20 20 19 / .55); }
.sent-pop h2 { font-size: 24px; margin-bottom: 8px; }
.sent-pop p { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin-bottom: 24px; }
.sent-pop b { color: var(--ink); overflow-wrap: anywhere; }
.sent-pop .btn { width: 100%; }
.sent-icon { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 16px; background: #FBEBE4; color: var(--brand-ink); }
.sent-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* /verified/: where the sign-up email's button lands. The icon shows once the page knows how it went. */
.verified { min-height: calc(100dvh - 28px); display: grid; place-items: center; padding: 24px 16px; }
.verified-card { width: 100%; max-width: 420px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.verified-card > img { filter: invert(1) hue-rotate(180deg); margin-bottom: 24px; } /* dark-surface logo flipped for white */
.verified-card h1 { font-size: 30px; letter-spacing: -0.02em; }
.verified-card > p:not(.auth-links) { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.verified-card .btn { width: 100%; margin-top: 8px; padding: 14px 22px; }
.verified-card .auth-links a { color: var(--brand-ink); font-weight: 600; }
.verified-card .sent-icon { margin: 0; }
.verified-card:not(.is-ok, .is-error) .sent-icon { visibility: hidden; }
.verified-card svg.if-ok, .verified-card svg.if-error { display: none; }
.is-ok svg.if-ok, .is-error svg.if-error { display: block; }
.is-error .sent-icon { color: #9A4123; }

/* /install/: Windows | Mac tabs (two radios, no JS needed to switch), a download card beside vertical steps,
   and small drawings of the popups each step talks about */
section.install { padding-top: 56px; }
.install .os-radio { position: absolute; opacity: 0; pointer-events: none; }
.os-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.os-tabs label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 9px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
#os-win:checked ~ .os-tabs [for=os-win], #os-mac:checked ~ .os-tabs [for=os-mac] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 6px -2px rgb(20 20 19 / .25); }
#os-win:focus-visible ~ .os-tabs [for=os-win], #os-mac:focus-visible ~ .os-tabs [for=os-mac] { outline: 2px solid var(--brand); outline-offset: 2px; }
#os-win:checked ~ .panel-mac, #os-mac:checked ~ .panel-win { display: none; }
.os-panel { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.get { position: sticky; top: 108px; padding: 28px; border-radius: 16px; background: var(--dark); color: var(--bg); }
.get img { border-radius: 14px; margin-bottom: 18px; }
.get h2 { font-size: 22px; }
.get p { color: var(--dark-muted); font-size: 14px; margin: 4px 0 22px; }
.get .btn { width: 100%; }
.get svg, .mock-drag svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .os-panel { grid-template-columns: 1fr; gap: 40px; } .get { position: static; } }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { position: relative; padding: 0 0 40px 60px; counter-increment: step; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand-ink); color: #fff; font-weight: 700;
}
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 50px; bottom: 10px; border-left: 2px dashed rgb(217 119 87 / .45); }
.steps h3 { font-size: 19px; padding-top: 7px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); max-width: 560px; }
.steps b { color: var(--ink); }

.mock { display: grid; gap: 8px; max-width: 400px; margin-top: 16px; padding: 18px; border-radius: 10px; font: 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 14px 30px -18px rgb(20 20 19 / .5); }
.mock i { font-style: normal; }
.mock strong { font-size: 15px; }
.mock .hl { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.mock-btns { display: flex; gap: 8px; margin-top: 6px; }
.mock-btns i { padding: 6px 14px; border-radius: 6px; }
.mock-win { background: #0063B1; color: #fff; justify-items: start; }
.mock-win strong { font-size: 18px; font-weight: 400; }
.mock-win .mock-btns { justify-self: end; }
.mock-win .mock-btns i { background: rgb(255 255 255 / .18); }
.mock-mac { background: #ECECEC; color: #1d1d1f; text-align: center; max-width: 280px; border-radius: 14px; }
.mock-mac .mock-btns i { flex: 1; background: #fff; }
.mock-mac .mock-btns .hl { background: #0A84FF; color: #fff; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--line); }
.mock-row > i.hl:not(.toggle) { padding: 6px 12px; background: #ECECEC; white-space: nowrap; }
.mock-row .app { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mock-row img { border-radius: 6px; }
.toggle { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #34C759; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.toggle.hl { border-radius: 11px; }
.mock-drag { display: flex; align-items: center; justify-content: space-around; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.mock-drag span { display: grid; justify-items: center; gap: 6px; }
.mock-drag img { border-radius: 10px; }
.folder { width: 50px; height: 40px; border-radius: 6px; background: linear-gradient(#6FB7F4, #3D8FE0); }

.then { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.then .sec-head { margin-bottom: 36px; }
.then .steps > li:last-child { padding-bottom: 20px; }
@media (max-width: 820px) { .then { grid-template-columns: 1fr; gap: 56px; } }
.web-apps { display: grid; gap: 10px; }
.web-apps a { display: grid; gap: 2px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s; }
.web-apps span { color: var(--ink-2); font-size: 14px; }
.web-apps em { font-style: normal; color: var(--brand-ink); font-weight: 600; font-size: 14px; margin-top: 6px; }
@media (hover: hover) { .web-apps a:hover { border-color: var(--brand); transform: translateY(-2px); } }
.faq code { font-size: 13px; padding: 2px 6px; border-radius: 4px; background: var(--card); overflow-wrap: anywhere; }
