/* WinBastion website — one stylesheet for every page */
:root {
  --ink: #0a1020; --ink-2: #111a33; --ink-3: #1b2747;
  --paper: #f6f8fc; --white: #ffffff; --line: #e3e8f2; --line-dark: rgba(255,255,255,.1);
  --text: #1e293b; --muted: #5b6980; --faint: #8a97ad; --on-dark: #e8edf7; --on-dark-muted: #a9b4c9;
  --blue: #2f6bff; --blue-deep: #1f4fd6; --violet: #7a5cff; --aqua: #2dd4bf; --amber: #f5b301; --green: #22a06b; --red: #e5484d;
  --grad: linear-gradient(120deg, #2f6bff 0%, #7a5cff 100%);
  --glow: 0 0 0 1px rgba(122,92,255,.25), 0 30px 80px -20px rgba(47,107,255,.55);
  --shadow: 0 1px 2px rgba(10,16,32,.06), 0 10px 30px -12px rgba(10,16,32,.18);
  --radius: 14px; --radius-lg: 22px;
  --display: "Sora", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Cascadia Mono", monospace;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.dark .eyebrow { color: #9db4ff; }
.lede { font-size: 19px; color: var(--muted); max-width: 62ch; }
.dark .lede { color: var(--on-dark-muted); }
.mono { font-family: var(--mono); font-size: .9em; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(47,107,255,.7); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(47,107,255,.8); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: #fff; }
.dark .btn.ghost { color: var(--on-dark); border-color: var(--line-dark); }
.dark .btn.ghost:hover { background: rgba(255,255,255,.06); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(47,107,255,.5); outline-offset: 2px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px); background: rgba(246,248,252,.78); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav .spacer { flex: 1; }
/* The menu button is a label for a visually hidden checkbox, so the mobile menu opens and closes without any script.
   The checkbox is still focusable: Tab to it and press Space; the focus ring is drawn on the label. */
.nav-check { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); flex: none; }
.nav-check:focus-visible ~ .nav-toggle { outline: 3px solid rgba(47,107,255,.5); outline-offset: 2px; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 14px; }
  .nav-check:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 10px 0; border-top: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-toggle .close { display: none; }
  .nav-check:checked ~ .nav-toggle .open { display: none; }
  .nav-check:checked ~ .nav-toggle .close { display: block; }
  .nav .cta-desktop { display: none; }
}

/* hero */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 15% -10%, rgba(47,107,255,.45), transparent 60%), radial-gradient(700px 500px at 90% 20%, rgba(122,92,255,.35), transparent 60%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #8fb0ff, #c4b5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-muted); margin-bottom: 22px; }
.hero .pill b { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; }
.hero .lede { margin-top: 18px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.08); }
.hero .meta { margin-top: 14px; font-size: 13px; color: var(--on-dark-muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero .meta span::before { content: "✓ "; color: var(--aqua); }
.shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--glow); background: #0d1530; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.shot img { width: 100%; }
.shot .bar { display: flex; gap: 6px; padding: 10px 12px; background: #0d1530; border-bottom: 1px solid var(--line-dark); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3a66; }
.shot .bar i:nth-child(1) { background: #ff5f57; } .shot .bar i:nth-child(2) { background: #febc2e; } .shot .bar i:nth-child(3) { background: #28c840; }
.hero .float { position: absolute; padding: 12px 14px; border-radius: 12px; background: rgba(13,21,48,.92); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: 13px; color: var(--on-dark); backdrop-filter: blur(8px); }
.hero .float b { display: block; font-family: var(--display); font-size: 20px; }
.hero .float.a { left: -18px; bottom: 34px; }
.hero .float.b { right: -10px; top: 40px; }
.hero .float small { color: var(--on-dark-muted); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; } .shot { transform: none; } .hero .float { display: none; } }
@media (prefers-reduced-motion: reduce) { .shot { transform: none; } }

/* trust strip */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip .item { padding: 20px 22px; border-left: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.strip .item:first-child { border-left: none; }
.strip .item svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.strip .item b { display: block; font-family: var(--display); font-size: 15px; color: var(--ink); }
.strip .item span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip .item:nth-child(3) { border-left: none; } }

/* sections */
section.block { padding: 88px 0; }
section.block.tight { padding: 64px 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.head { max-width: 720px; margin-bottom: 44px; }
.head h2 { margin-top: 12px; }
.head p { margin-top: 14px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }

/* feature grid */
.grid { display: grid; gap: 18px; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(10,16,32,.06), 0 24px 48px -18px rgba(47,107,255,.35); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47,107,255,.14), rgba(122,92,255,.14)); color: var(--blue-deep); margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.dark .card { background: rgba(255,255,255,.04); border-color: var(--line-dark); box-shadow: none; }
.dark .card p { color: var(--on-dark-muted); }
.dark .card .icon { background: rgba(255,255,255,.08); color: #9db4ff; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.numbers div { padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.numbers b { display: block; font-family: var(--display); font-size: 38px; font-weight: 700; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.numbers b small { font-size: 18px; color: #9db4ff; margin-left: 2px; }
.numbers span { color: var(--on-dark-muted); font-size: 14px; }
@media (max-width: 860px) { .numbers { grid-template-columns: 1fr 1fr; } }

/* alternating deep dives */
.dive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 40px 0; }
.dive.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.dive.flip .copy { order: 2; }
.dive .copy h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 36px); }
.dive .copy p { margin-top: 14px; color: var(--muted); }
.dive ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dive li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.dive li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--grad); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12 5 5 9-10'/></svg>") center/14px no-repeat, linear-gradient(#000, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
.dive .frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
@media (max-width: 960px) { .dive, .dive.flip { grid-template-columns: 1fr; } .dive.flip .copy { order: 0; } }

/* modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.mode .frame img { width: 100%; }
.mode .body { padding: 22px 24px 26px; }
.mode .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad); margin-bottom: 10px; }
.mode.pro .tag { background: var(--ink); }
.mode p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: p; }
.principle { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); }
.principle::before { counter-increment: p; content: "0" counter(p); font-family: var(--mono); font-size: 12px; color: #9db4ff; letter-spacing: .1em; }
.principle h3 { margin-top: 8px; font-size: 17px; }
.principle p { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roadmap .card { padding: 20px; }
.roadmap .card h3 { font-size: 17px; }
.roadmap .when { display: inline-block; font-family: var(--mono); font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #eef2ff; color: var(--blue-deep); margin-bottom: 10px; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* support CTA */
.cta { border-radius: var(--radius-lg); padding: 48px; background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(122,92,255,.45), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); margin-top: 12px; }
.cta .amounts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cta .amounts a { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: #fff; font-family: var(--display); font-weight: 600; }
.cta .amounts a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.cta .amounts a.hot { background: var(--grad); border-color: transparent; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 32px; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 68ch; }

/* footer */
footer { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h3, footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
footer .bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* inner pages */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 20% -20%, rgba(47,107,255,.4), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin-top: 12px; }
.page-hero .lede { margin-top: 14px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--text); font-size: 16px; margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose code { font-family: var(--mono); font-size: .88em; background: #eef2f8; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose pre { background: var(--ink); color: var(--on-dark); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; margin-top: 12px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 15px; margin-top: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.dl-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.dl-card .ver { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink); }
.dl-card .sha { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; margin-top: 8px; }
@media (max-width: 720px) { .dl-card { grid-template-columns: 1fr; } }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.support-grid .card { display: flex; flex-direction: column; }
.support-grid .card .btn { margin-top: auto; align-self: flex-start; }
.support-grid .who { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.note { border-left: 3px solid var(--amber); background: #fff8e1; padding: 12px 16px; border-radius: 8px; font-size: 14.5px; color: #5a4300; margin-top: 18px; }

/* ---------- company site (added when winbastion.com became the EBITA.AI product-family site) ---------- */

/* nav: brand = company, product name sits next to it on product pages */
.nav .brand-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav .product-name { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--muted); white-space: nowrap; }
.nav .product-name::before { content: ""; width: 1px; height: 22px; background: var(--line); }
.nav .product-name a { color: var(--ink); }
.nav .product-name a:hover { text-decoration: none; color: var(--blue-deep); }
.nav-links a.all-products { color: var(--blue-deep); }
@media (max-width: 560px) { .nav .product-name { display: none; } }

/* status badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .04em; white-space: nowrap; border: 1px solid transparent; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.available { background: #e6f7ef; color: #14734b; border-color: #bfe8d3; }
.badge.dev { background: #fff4d6; color: #7a5200; border-color: #f5dc9a; }
.badge.soon { background: #eef2f8; color: #4b5b78; border-color: var(--line); }
.dark .badge.available, .page-hero .badge.available { background: rgba(45,212,191,.14); color: #7fe3d0; border-color: rgba(45,212,191,.35); }
.dark .badge.dev, .page-hero .badge.dev { background: rgba(245,179,1,.14); color: #ffd466; border-color: rgba(245,179,1,.4); }
.dark .badge.soon, .page-hero .badge.soon { background: rgba(255,255,255,.08); color: var(--on-dark-muted); border-color: var(--line-dark); }

/* company hero */
.hero.company .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding-top: 92px; padding-bottom: 92px; }
.hero.company .by { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #9db4ff; margin-bottom: 18px; display: block; }
.hero.company h1 { font-size: clamp(38px, 5vw, 62px); }
.family { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px; border-radius: var(--radius-lg); background: rgba(13,21,48,.75); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--glow); }
.family .cell { aspect-ratio: 1; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); display: grid; place-items: center; color: #9db4ff; position: relative; }
.family .cell svg { width: 30px; height: 30px; }
.family .cell.live { background: linear-gradient(135deg, rgba(47,107,255,.35), rgba(122,92,255,.35)); color: #fff; border-color: rgba(122,92,255,.5); }
.family .cell.dev { color: #ffd466; }
.family .cell.more { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--on-dark-muted); }
.family .cap { grid-column: 1 / -1; font-size: 13px; color: var(--on-dark-muted); text-align: center; padding-top: 4px; }
@media (max-width: 960px) { .hero.company .wrap { grid-template-columns: 1fr; } .family { max-width: 420px; } }

/* belief strip: five items */
.strip.five .wrap { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .strip.five .wrap { grid-template-columns: repeat(3, 1fr); } .strip.five .item:nth-child(4) { border-left: none; } .strip.five .item:nth-child(3) { border-left: 1px solid var(--line); } }
@media (max-width: 640px) { .strip.five .wrap { grid-template-columns: 1fr; } .strip.five .item { border-left: none; border-top: 1px solid var(--line); } .strip.five .item:first-child { border-top: none; } }

/* product grid */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-group { display: flex; align-items: center; gap: 12px; margin: 34px 0 14px; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); }
.grid-group:first-of-type { margin-top: 0; }
.grid-group small { font-family: var(--body); font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.grid-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.product { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); color: var(--text); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product:hover, .product:focus-visible { transform: translateY(-3px); text-decoration: none; border-color: rgba(47,107,255,.35); box-shadow: 0 1px 2px rgba(10,16,32,.06), 0 24px 48px -18px rgba(47,107,255,.35); }
.product .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47,107,255,.14), rgba(122,92,255,.14)); color: var(--blue-deep); flex: none; }
.product .icon svg { width: 24px; height: 24px; }
.product.available .icon { background: var(--grad); color: #fff; }
.product h3 { font-size: 18px; margin-top: 4px; }
.product p { color: var(--muted); font-size: 14.5px; flex: 1; }
.product .go { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--blue-deep); margin-top: 4px; }
.product .go::after { content: " \2192"; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

/* product pages (template) */
.page-hero .status-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.page-hero .product-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47,107,255,.35), rgba(122,92,255,.35)); border: 1px solid rgba(122,92,255,.5); color: #fff; }
.page-hero .product-icon svg { width: 32px; height: 32px; }
.page-hero.product-hero { padding: 72px 0 64px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.page-hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.page-hero .btn.ghost:hover { background: rgba(255,255,255,.08); }
.planned { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.planned li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; box-shadow: var(--shadow); }
.planned li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--grad); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12 5 5 9-10'/></svg>") center/14px no-repeat, linear-gradient(#000, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 720px) { .planned { grid-template-columns: 1fr; } }
.rules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rules div { padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-muted); }
.rules b { display: block; font-family: var(--display); color: #fff; font-size: 15px; margin-bottom: 4px; }
@media (max-width: 960px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }
.notify { border-radius: var(--radius-lg); padding: 36px 40px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.notify h2 { font-size: 24px; }
.notify p { color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .notify { grid-template-columns: 1fr; padding: 26px; } }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 18px; }
.crumb a { color: #9db4ff; }
.crumb a:hover { color: #fff; }

/* footer: company and legal links row (About · Contact · Support · Terms · Privacy · Refunds) then the bottom line, on every page */
footer .legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
footer .legal-links:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
footer .legal-links a { color: var(--muted); font-weight: 600; }
footer .legal-links + .bottom, footer .legal-links + .legal { margin-top: 14px; padding-top: 0; border-top: 0; }
footer .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
footer .legal a { color: var(--muted); }
footer address { font-style: normal; }

/* breadcrumb on light sub-page bodies and in the hero of hand-written product pages */
.hero .crumb { margin-bottom: 22px; }
.crumb span[aria-current] { color: #fff; }

/* placeholders the owner still has to fill in (visible on purpose) */
mark.todo { background: #fff3bf; color: #5a4300; border: 1px dashed #d9a400; border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* homepage: how the company survives */
.survive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.survive .card h3 { margin-bottom: 8px; }
.survive .card p { color: var(--muted); font-size: 15px; }
.survive-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.survive-detail .card h3 { margin-bottom: 8px; }
.survive-detail .card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.survive-detail .card li { margin-top: 6px; }
.survive-detail .card li b { color: var(--text); }
.survive-detail .promise { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.survive-detail .promise h3 { color: #fff; }
.survive-detail .promise p { color: var(--on-dark-muted); font-size: 15px; margin-top: 6px; }
.survive-detail .promise p + h3 { margin-top: 18px; }
.survive-detail .promise .btn { margin-top: 20px; }
.survive-detail .promise .big { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; line-height: 1.3; }
@media (max-width: 960px) { .survive { grid-template-columns: 1fr; } .survive-detail { grid-template-columns: 1fr; } }

/* legal and company pages */
.prose .effective { color: var(--muted); font-size: 14px; margin-top: 8px; }
.prose .toc { margin: 18px 0 0; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); columns: 2; column-gap: 28px; font-size: 14.5px; list-style: none; }
.prose .toc li { margin: 0; break-inside: avoid; padding: 3px 0; }
.prose .toc li::before { content: none; }
.prose h2[id] { scroll-margin-top: 84px; }
.prose .summary { border-left: 3px solid var(--blue); background: #eef2ff; padding: 12px 16px; border-radius: 8px; font-size: 15px; color: var(--text); margin-top: 18px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 13.5px; }
.table-x { overflow-x: auto; }
@media (max-width: 640px) { .prose .toc { columns: 1; } }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-grid .card h3 { margin-bottom: 6px; }
.contact-grid .card p, .contact-grid .card address { color: var(--muted); font-size: 15px; margin-top: 6px; }
.contact-grid .card a.big { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.amounts-line { margin: 12px 0 18px; font-family: var(--display); font-weight: 600; color: var(--ink); }

/* feedback form (/feedback/): pure HTML form, posts to the feedback service */
.feedback-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.feedback-intro h2:first-child { margin-top: 0; }
.feedback-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.feedback-form h2 { font-size: 24px; margin-bottom: 4px; }
.f-field { display: grid; gap: 6px; }
.f-label { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.f-label .req, .f-check .req { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); margin-left: 6px; }
.f-hint { font-size: 13px; color: var(--muted); }
.feedback-form input[type=text], .feedback-form input[type=email], .feedback-form select, .feedback-form textarea { font: inherit; font-size: 15px; color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; }
.feedback-form textarea { resize: vertical; line-height: 1.5; }
.feedback-form input:focus-visible, .feedback-form select:focus-visible, .feedback-form textarea:focus-visible { outline: 3px solid rgba(47,107,255,.35); outline-offset: 1px; border-color: var(--blue); }
.feedback-form input[type=file] { font-size: 14px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; background: var(--paper); width: 100%; }
.feedback-form .f-set { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 18px; margin: 0; display: grid; gap: 14px; }
.feedback-form legend { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); padding: 0 6px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.f-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.f-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.feedback-form input[type=submit] { font-family: var(--display); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* attachments: the list, drop zone and progress bar are filled by /feedback/feedback.js (progressive enhancement) */
.f-attach { display: grid; gap: 10px; border-radius: 10px; }
.f-attach.js { padding: 10px; margin: -10px; border: 2px dashed transparent; transition: border-color .15s, background .15s; }
.f-attach.drag { border-color: var(--blue); background: rgba(47,107,255,.06); }
.f-js-only { display: none; } .f-attach.js .f-js-only { display: inline; }
.f-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-file { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.f-file.bad { border-color: #f5c2c2; background: #fff5f5; }
.f-thumb { width: 64px; height: 64px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; color: var(--blue-deep); }
.f-thumb img { width: 64px; height: 64px; object-fit: cover; display: block; }
.f-thumb svg { width: 28px; height: 28px; }
.f-meta { display: grid; gap: 2px; min-width: 0; }
.f-name { font-weight: 600; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.f-type { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.f-file.bad .f-type { color: #9b1c1c; }
.f-remove { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.f-remove:hover { border-color: #f5c2c2; color: #9b1c1c; background: #fff5f5; }
.f-remove:focus-visible { outline: 3px solid rgba(47,107,255,.35); outline-offset: 1px; }
.f-total { margin: 0; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.f-total.bad { color: #9b1c1c; font-weight: 600; }
.f-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); }
.f-bar { height: 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.f-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #7a5cff); transition: width .2s; }
.f-error { margin: 0; padding: 10px 14px; border-left: 3px solid #c92a2a; background: #fff5f5; color: #7f1d1d; border-radius: 8px; font-size: 14px; }
.f-error ul { margin: 6px 0 0; padding-left: 18px; }
.feedback-form input[type=submit]:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 480px) { .f-file { grid-template-columns: 48px minmax(0, 1fr) auto; } .f-thumb, .f-thumb img { width: 48px; height: 48px; } }
@media (max-width: 960px) { .feedback-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .f-grid { grid-template-columns: 1fr; } .feedback-form { padding: 20px; } }
