/* Foldermind site. No external fonts, no external assets. Tokens on :root, dark mode follows the
   system (prefers-color-scheme), no switch.
   Palette from the owner's logo (docs/brand/README.md): blue #0B3178, indigo #403196, violet #7F2094.
   In dark mode the three colours keep their hue and get lighter, so text and logo stay readable. */

:root {
  --bg: #f6f7fc;
  --bg-2: #eceef7;
  --surface: #ffffff;
  --ink: #12162b;
  --ink-2: #3c4260;
  --ink-3: #5e6480;
  --line: #dfe2ef;
  --line-2: #c6cbe0;
  --blue: #0b3178;
  --indigo: #403196;
  --violet: #7f2094;
  --accent: var(--blue);
  --accent-ink: var(--indigo);
  --accent-soft: #e6eaf8;
  --violet-soft: #f3e7f6;
  --on-accent: #ffffff;
  --me-bg: #0b3178;
  --brand-grad: linear-gradient(90deg, #0b3178, #403196, #7f2094);
  --btn-grad: linear-gradient(90deg, #0b3178, #403196 55%, #7f2094);
  --ok: #2a6b4f;
  --ok-soft: #dcefe5;
  --warn: #8e5a00;
  --warn-soft: #fbf0d9;
  --shadow: 0 1px 2px rgba(18, 22, 43, .05), 0 10px 30px rgba(18, 22, 43, .07);
  --shadow-lg: 0 2px 4px rgba(18, 22, 43, .05), 0 24px 60px rgba(18, 22, 43, .13);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --gutter: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1020;
    --bg-2: #14172d;
    --surface: #1a1d38;
    --ink: #eef0fa;
    --ink-2: #c3c7dd;
    --ink-3: #9da2bf;
    --line: #2a2e4f;
    --line-2: #3d4270;
    --blue: #8ea8ff;
    --indigo: #b3a6ff;
    --violet: #d99beb;
    --accent: #8ea8ff;
    --accent-ink: #b3a6ff;
    --accent-soft: #232a52;
    --violet-soft: #2f2142;
    --on-accent: #0e1020;
    --me-bg: #2f56b5;
    --brand-grad: linear-gradient(90deg, #8ea8ff, #b3a6ff, #d99beb);
    --btn-grad: linear-gradient(90deg, #2f56b5, #5442b8 55%, #8e35a6);
    --ok: #8fd1ad;
    --ok-soft: #1b3229;
    --warn: #f0c36a;
    --warn-soft: #3a2d12;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 60px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 800; }
p { margin: .6em 0; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code, kbd { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.center { text-align: center; }
.placeholder { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; font-weight: 650; }

/* ---------- logo ---------- */
/* The wordmark is the owner's logo used as a mask: the gradient comes from CSS, so it lightens in dark mode. */
.logo {
  display: block; width: 150px; aspect-ratio: 640 / 96; background: var(--brand-grad);
  -webkit-mask: url("/img/foldermind-wordmark.png") center / contain no-repeat;
  mask: url("/img/foldermind-wordmark.png") center / contain no-repeat;
}
@media (min-width: 720px) { .site-head .logo { width: 172px; } }
@media (max-width: 400px) { .site-head .logo { width: 122px; } .site-head .wrap { gap: 6px; } .nav { gap: 4px; } .lang-switch { padding: 0 8px; } }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px);
}
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand-grad); opacity: .85; }
.site-head .wrap { display: flex; align-items: center; gap: 10px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-links { display: none; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 650; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-weight: 750; font-size: 14px; letter-spacing: .04em; text-decoration: none;
}
.lang-switch:hover { border-color: var(--line-2); }
.lang-switch svg { width: 18px; height: 18px; flex: none; }
.menu-btn { display: inline-grid; }
.nav .nav-head-cta { display: none; white-space: nowrap; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 650; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}
@media (min-width: 960px) { .nav .nav-head-cta { display: inline-flex; } }

/* ---------- buttons, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 750; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--btn-grad); color: #ffffff; box-shadow: 0 6px 18px rgba(64, 49, 150, .28); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 15px; border-radius: 12px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-grad); }
.tag { display: inline-block; font-size: 12.5px; font-weight: 750; letter-spacing: .02em; padding: 2px 9px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; border: 1px solid var(--line); }
.tag-accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.tag-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.tag-soon { background: var(--violet-soft); color: var(--violet); border-color: transparent; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }

/* ---------- sections ---------- */
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 84px 0; } }
.sec-head { max-width: 64ch; margin: 0 auto 32px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 5vw, 40px); margin-top: 8px; }
.sec-head p { color: var(--ink-2); font-size: 18px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 36px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 50% at 15% 10%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
              radial-gradient(40% 40% at 90% 30%, color-mix(in srgb, var(--violet) 12%, transparent), transparent 70%);
}
.hero .wrap { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 64px; } .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { font-size: clamp(34px, 7.4vw, 56px); letter-spacing: -.03em; margin: 16px 0 0; }
.hero h1 em { font-style: normal; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2.4vw, 20px); color: var(--ink-2); max-width: 56ch; margin-top: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.center-row { justify-content: center; }

/* the three facts under the button */
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 15.5px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; flex: none; color: var(--ok); }
.facts a { color: inherit; }

/* chat example */
.window { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin-left: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 90%; padding: 10px 14px; border-radius: 16px; font-size: 15.5px; line-height: 1.5; }
/* "You" and "Assistant" are read by screen readers only: side and colour say who speaks */
.bubble b { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bubble.me { align-self: flex-end; background: var(--me-bg); color: #ffffff; border-bottom-right-radius: 5px; }
.bubble.me .att { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #ffffff; }
.bubble.ai { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble .att { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.bubble .att svg { width: 16px; height: 16px; }
.qa { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.qa .bubble { margin: 0; }
.qa.compact .bubble { font-size: 14.5px; padding: 8px 12px; }

/* ---------- the packages, in the home ---------- */
.tiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.tile:hover { border-color: var(--indigo); transform: translateY(-2px); text-decoration: none; }
.tile .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.tile .ic svg { width: 24px; height: 24px; }
.tile h3 { font-size: 21px; margin-top: 6px; }
.tile > p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.tile .tag { align-self: flex-start; }
.tile .pack-price { margin-top: auto; padding-top: 8px; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.tile-actions .btn { min-height: 42px; padding: 8px 14px; font-size: 14px; }
.tile-actions > a:not(.btn) { font-size: 14px; font-weight: 700; }
.selection-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.selection-banner p { margin: 0; }
.tile.soon { background: transparent; border-style: dashed; box-shadow: none; }
.tile.soon .ic { background: var(--violet-soft); color: var(--violet); }
.pack-price { margin: 4px 0 0; font-size: 15.5px; color: var(--ink-2); }
.pack-price b { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--btn-grad); color: #ffffff; font-weight: 800; font-size: 18px; flex: none; }
.step h3 { font-size: 21px; margin: 14px 0 6px; }
.step p { color: var(--ink-2); margin: 0; }
.note { margin-top: 22px; text-align: center; color: var(--ink-2); font-size: 16px; }
.phrase {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding: 10px 10px 10px 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px dashed var(--line-2); font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--ink);
}
.phrase span { flex: 1 1 12em; min-width: 0; }
.copy-btn { flex: none; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 9px; padding: 8px 14px; font: inherit; font-family: var(--font); font-size: 14px; font-weight: 750; cursor: pointer; min-height: 40px; }
.copy-btn:hover { border-color: var(--ink-3); }

/* ---------- data and contact, in the home ---------- */
.strip { display: grid; gap: 14px; }
@media (min-width: 860px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.strip p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.strip b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin: 0 0 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 30px 15px 0; font-weight: 750; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 24px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }
.faq details > div p:first-child { margin-top: 0; }
.faq .faq-group { font-size: 20px; margin: 32px 0 12px; }
.faq .faq-group:first-child { margin-top: 0; }

/* ---------- prose pages ---------- */
.page-head { padding: 36px 0 8px; }
.page-head h1 { font-size: clamp(30px, 6vw, 44px); margin-top: 8px; }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.page-head.tight { padding-bottom: 0; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin: 32px 0 8px; }
.prose h3 { font-size: 20px; margin: 24px 0 6px; }
.prose ul { padding-left: 22px; }
.draft { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--warn-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); margin: 16px 0 8px; font-size: 15.5px; }
.draft b { color: var(--warn); }
.price-tag { font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.price-tag small { font-size: 16px; color: var(--ink-3); font-weight: 650; letter-spacing: 0; }
.h-offer { font-size: 26px; margin: 12px 0 4px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--ink-2); font-size: 15px; background: var(--bg-2); }
.site-foot .wrap { display: grid; gap: 22px; }
@media (min-width: 860px) { .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot .logo { width: 140px; margin-bottom: 6px; }
.site-foot h2 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--ink-2); }
.site-foot a:hover { color: var(--ink); }

/* ---------- 404 ---------- */
.nf { padding-top: 72px; padding-bottom: 72px; text-align: center; }
.nf h1 { font-size: 38px; margin-top: 8px; }

/* ---------- the page of a package: main column and summary ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 15px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.pack-head { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0 0; }
.pack-head > div { min-width: 0; }
.pack-head .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.pack-head .ic svg { width: 24px; height: 24px; }
.pack-head h1 { font-size: clamp(30px, 6vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pack-head h1 .tag { font-size: 14px; letter-spacing: 0; }
.pack-head .lead { color: var(--ink-2); font-size: 18px; max-width: 62ch; margin: 8px 0 0; }
.pack-head .pack-price b { font-size: 24px; }
.pack-head .cta-row { margin-top: 18px; }
.detail-layout { display: grid; gap: 12px; margin: 28px 0 8px; }
@media (min-width: 900px) { .detail-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.detail-layout .pack-sec { margin: 0; }
.detail-layout .pack-sec:last-child { grid-column: 1 / -1; }
.detail-layout .ext .tick { cursor: default; border-width: 1px; }
.detail-layout .ext .tick > span { display: block; }
.detail-layout .ext .where { margin-bottom: 8px; }
.detail-after { margin: 16px 0 48px; }
@media (max-width: 520px) { .pack-head .ic { display: none; } }

.cfg { display: grid; gap: 24px; padding: 20px 0 40px; }
@media (min-width: 1000px) { .cfg { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; padding: 28px 0 48px; align-items: start; } }
.cfg > * { min-width: 0; }
.config-head { max-width: 760px; }
.config-head p { color: var(--ink-2); }
.config-packs { display: grid; gap: 14px; }
.config-pack { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.config-pack.is-selected { border-color: var(--indigo); box-shadow: var(--shadow); }
.config-pack-choice { border: 0; border-radius: 0; padding: 18px; }
.config-pack-choice > span b { font-size: 19px; }
.config-pack-extensions { border-top: 1px solid var(--line); padding: 14px 18px 18px; background: var(--bg); }
.config-pack-extensions h3 { font-size: 16px; margin: 0 0 12px; }
.config-pack-extensions > p { margin: 0; }
.config-ext { border-width: 1px; margin: 8px 0; }
.pack-sec { padding: 0; margin: 0 0 28px; }
.pack-sec > h2 { font-size: clamp(21px, 4.4vw, 26px); margin: 0 0 12px; }
.pack-sec > p { margin: 0 0 14px; color: var(--ink-2); }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.included li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.included svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
.pack-sec > .base-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: 15.5px; }
.base-note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent-ink); }
.plain-list { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }

/* an extension, or another package: a compact option to tick */
.ext { margin: 0 0 12px; padding: 0; }
.tick { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--surface); cursor: pointer; }
.tick input { width: 20px; height: 20px; accent-color: var(--indigo); flex: none; margin: 3px 0 0; }
.tick > span { flex: 1; min-width: 0; }
.tick > span b { display: block; font-size: 17px; }
.tick > span small { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.tick .price { flex: none; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tick:has(input:checked) { border-color: var(--indigo); background: var(--accent-soft); }
.tick:has(input:focus-visible) { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.tick:has(input:disabled) { cursor: default; opacity: .7; }
.ext .where { display: block; margin: 6px 0 0 4px; font-size: 14px; font-weight: 650; color: var(--violet); }
.more-extensions { margin: 10px 0 0 12px; padding-left: 14px; border-left: 2px solid var(--line-2); display: grid; gap: 8px; }
.more-extensions h3 { margin: 0 0 2px; font-size: 15px; color: var(--ink-2); }
.more-extensions .tick { border-width: 1px; }
.yesno { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 700; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; background: var(--surface); }
.choice:has(input:checked) { border-color: var(--indigo); background: var(--accent-soft); }
.choice:has(input:checked)::before { border: 6px solid var(--indigo); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.choice:has(input:disabled) { cursor: default; opacity: .7; }
.notice { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--ink); font-size: 15px; }
.notice:empty { display: none; }
#ext-note { margin: 0 0 8px; }

.summary { padding: 20px; }
@media (min-width: 1000px) { .summary { position: sticky; top: 84px; } }
.summary h2 { font-size: 20px; }
.summary h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin: 18px 0 6px; }
.sum-lines { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; font-size: 15.5px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 750; white-space: nowrap; }
.total { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 17px; }
.total b { font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.needs { margin: 0; color: var(--ink-2); font-size: 15px; }
.pay-how { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; }
.summary .btn { width: 100%; margin-top: 16px; }
.test-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 800; border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }
.summary-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.status { min-height: 1.4em; font-size: 15px; margin: 10px 0 0; }
.status.err { color: var(--violet); font-weight: 700; }

/* Optional examples are kept outside the purchase flow. */
.pack-examples { margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pack-examples > summary { cursor: pointer; padding: 16px 18px; font-weight: 800; font-size: 18px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pack-examples > summary::-webkit-details-marker { display: none; }
.pack-examples > summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-3); }
.pack-examples[open] > summary::after { content: "\2212"; }
.pack-examples-body { padding: 0 18px 20px; display: grid; gap: 14px; }
.pack-examples-body > p { margin: 0; color: var(--ink-2); }
.example-item { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); min-width: 0; }
.example-item h3 { margin: 0 0 12px; font-size: 17px; }
.example-item .qa { max-width: 68ch; }
@media (min-width: 900px) {
  .pack-examples-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-examples-body > p { grid-column: 1 / -1; }
}
.summary:focus { outline: 3px solid var(--accent-ink); outline-offset: 4px; }

/* after the download */
.now { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.now > li { display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 640px) { .now > li:has(> .pic) { grid-template-columns: 150px minmax(0, 1fr); align-items: center; } }
.now .pic { width: 100%; max-width: 220px; height: auto; border-radius: 12px; background: var(--bg-2); }
.now h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 4px; }
.now h3 .step-n { width: 32px; height: 32px; font-size: 15px; border-radius: 10px; }
.now p { margin: 4px 0 0; color: var(--ink-2); }
.done { padding-top: 24px; }
.done-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.done-head svg { width: 34px; height: 34px; color: var(--ok); flex: none; }
.pack-sec > .help { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); }
#h-done:focus { outline: none; }

/* step pictures: drawn with classes so they follow the theme */
.pic .p-bg { fill: var(--bg-2); }
.pic .p-card { fill: var(--surface); stroke: var(--line-2); stroke-width: 2; }
.pic .p-line { fill: var(--line-2); }
.pic .p-acc { fill: var(--indigo); }
.pic .p-acc2 { fill: var(--violet); }
.pic .p-soft { fill: var(--accent-soft); }
.pic .p-stroke { fill: none; stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pic .p-ok { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pic .p-text { fill: var(--ink); font: 700 13px var(--font); }
.pic .p-mono { fill: var(--ink); font: 700 11px var(--mono); }
.pic .p-small { font-size: 10px; }

.bar-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
}
.bar-mobile .t { flex: 1; min-width: 0; line-height: 1.2; }
.bar-mobile .t small { display: block; color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-mobile .t b { font-size: 24px; font-variant-numeric: tabular-nums; }
.bar-mobile .btn { min-height: 44px; padding: 10px 16px; }
.bar-mobile.is-near-summary { display: none; }
@media (min-width: 1000px) { .bar-mobile { display: none; } }
@media (max-width: 999px) { body[data-page="configure"] .site-foot { padding-bottom: 120px; } }

/* "technical details": closed by default, at the bottom of the page */
.curious { margin: 8px 0 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.curious > summary { cursor: pointer; padding: 16px 18px; font-weight: 800; font-size: 18px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.curious > summary::-webkit-details-marker { display: none; }
.curious > summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-3); }
.curious[open] > summary::after { content: "\2212"; }
.curious-body { padding: 0 18px 20px; display: grid; gap: 20px; }
@media (min-width: 900px) { .curious-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.curious h3 { font-size: 17px; margin: 0 0 8px; }
.curious p, .curious li { color: var(--ink-2); font-size: 15px; }
.curious ul.plain { padding-left: 20px; margin: 0; }
.tree-box { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 12px 14px; max-height: 420px; overflow: auto; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { padding-left: 16px; border-left: 1px dashed var(--line-2); margin-left: 7px; }
.tree li { font-family: var(--mono); font-size: 13px; line-height: 1.75; white-space: nowrap; color: var(--ink-2); }
.tree .dir { font-weight: 700; color: var(--ink); }

[hidden] { display: none !important; }
noscript .card { margin: 16px 0; }
.m0 { margin: 0; }
.mt24 { margin-top: 24px; }
.tight-top { padding-top: 24px; }

/* ---------- order confirmation (configure) ---------- */
.confirm { width: min(480px, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; margin: auto; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.confirm::backdrop { background: rgba(14, 16, 32, .55); }
.confirm h2 { font-size: 22px; margin: 0 0 4px; }
.confirm .confirm-lang { margin: 12px 0; }
.confirm .total { margin-bottom: 12px; }
.confirm-actions { display: flex; flex-wrap: wrap-reverse; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.confirm-actions .btn { flex: 1 1 180px; }
