/* Kasban information website (SRS 38) — tokens from the Kasban design system (packages/core/src/theme.ts). */
:root {
  --bg: #FAFBF9; --surface: #FFFFFF; --subtle: #F4F6F4; --border: #E7ECE9; --border-strong: #D4DBD7;
  --ink: #101512; --muted: #66736D; --gold: #FFC52E; --gold-soft: #FFF9E5; --gold-border: #FFE68A; --on-gold: #101512;
  --green: #006B45; --green-soft: #EAF8F3; --link: #087052; --error: #B3261E; --error-soft: #FDECEA;
  --radius: 8px; --max: 1160px; --shadow: 0 1px 2px rgb(16 21 18 / .04), 0 8px 24px rgb(16 21 18 / .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1311; --surface: #161B18; --subtle: #1C2220; --border: #2C3430; --border-strong: #3A4440;
    --ink: #E8ECE9; --muted: #A9B4AE; --gold-soft: #2A2410; --gold-border: #5A4A12; --green: #6FD8A5; --green-soft: #12251D;
    --link: #5FD0AE; --error: #FFB4AB; --error-soft: #3A1715; --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: "Alexandria", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px; line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 36px; display: block; }
.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--ink); padding: 8px 12px; border-radius: var(--radius); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--subtle); text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.lang { color: var(--muted); font-weight: 600; padding: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 10px; color: var(--ink); font: inherit; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; inset-inline: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px; flex-direction: column; }
  .nav.open { display: flex; }
  .head-actions .btn { display: none; }
  .site-head .wrap { justify-content: space-between; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius); font-weight: 600; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #E6A900; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: var(--radius); background: var(--ink); color: var(--bg); font-weight: 600; }
.store:hover { text-decoration: none; opacity: .92; }
.store small { display: block; font-weight: 400; font-size: .72rem; opacity: .8; line-height: 1.1; }
.store svg { width: 22px; height: 22px; fill: currentColor; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before { content: ""; position: absolute; inset-block-start: -220px; inset-inline-end: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 197 46 / .35), transparent 65%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.badge { display: inline-flex; gap: 6px; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-border); font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-art img { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.hero-art img:first-child { grid-column: span 2; max-width: 70%; justify-self: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Sections */
section.block { padding: 64px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 44em; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.step img { width: 112px; height: 112px; object-fit: contain; margin-bottom: 8px; }
.step .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 700; margin-bottom: 8px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--green-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006B45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Plans */
.plan { display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.popular { border: 2px solid var(--gold); background: var(--gold-soft); }
.plan .tag { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--ink); color: var(--bg); font-size: .78rem; padding: 2px 10px; border-radius: 6px; }
.price { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.price small { font-size: .85rem; font-weight: 400; color: var(--muted); }
.plan .btn { margin-top: auto; }

/* Banners */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.banner { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--gold-soft); border: 1px solid var(--border); display: block; color: var(--ink); }
.banner img { display: block; width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.banner div { padding: 14px 16px; }

/* Video */
.video { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Page body (admin HTML) */
.page-hero { padding: 56px 0 24px; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq .a { margin-top: 10px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font: inherit; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border: 2px solid var(--ink); padding: 11px 13px; }
.field.bad input, .field.bad textarea { border: 2px solid var(--error); }
.field .err { color: var(--error); font-size: .85rem; margin-top: 4px; }
.notice { padding: 12px 16px; border-radius: var(--radius); background: var(--green-soft); color: var(--green); font-weight: 500; }
.privacy-note { font-size: .82rem; color: var(--muted); }
.hp { position: absolute; inset-inline-start: -9999px; }

/* CTA band */
.cta { background: var(--ink); color: var(--bg); border-radius: 16px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta p { opacity: .8; margin: 0; }
@media (prefers-color-scheme: dark) { .cta { background: var(--gold-soft); color: var(--ink); border: 1px solid var(--gold-border); } }

/* Footer */
.site-foot { border-top: 1px solid var(--border); background: var(--surface); padding: 48px 0 24px; margin-top: 64px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h3 { font-size: .95rem; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-links a { color: var(--muted); }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--border); color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.legal-line { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 16px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
