/* Copyright (c) 2026 Sevans Technology. All rights reserved.
   sevans.io - built on the Hepta brand: violet #7C5CFF on ink #0B0D17, Space Grotesk headings. */
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #0B0D17; --ink-2: #0f1222; --panel: #141829; --line: #262b40; --text: #F5F7FA; --muted: #A8B0C2;
  --accent: #7C5CFF; --accent-2: #9d86ff; --gold: #E9B949;
  --paper: #F7F6F2; --paper-2: #EFEDE6; --paper-ink: #151826; --paper-muted: #5b6275; --paper-line: #dedbd1;
  --head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif; --w: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* announcement banner (set in the admin portal) */
.banner { background: linear-gradient(90deg, #2a1f63, #3b2a8c); color: #fff; text-align: center; font-size: 15px; padding: 10px 16px; }
.banner a { color: #fff; font-weight: 600; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(11,13,23,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.site .row { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand img { height: 42px; width: auto; }
header.site nav { display: flex; gap: 26px; margin-left: auto; }
header.site nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
header.site nav a:hover { color: var(--text); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; height: 40px; padding: 0 14px; font: inherit; font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; font-family: var(--head); font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: box-shadow .15s, background .15s, border-color .15s; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(124,92,255,.35); }
.btn.primary:hover { background: #8a6cff; }
.btn.light { background: var(--text); color: var(--ink); } .btn.light:hover { box-shadow: 0 0 0 3px var(--accent); }
.btn.ghost { border-color: #3a4160; color: var(--text); } .btn.ghost:hover { border-color: var(--text); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.eyebrow { font-family: var(--head); font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 700px; background: radial-gradient(closest-side, rgba(124,92,255,.28), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 600px; background: radial-gradient(closest-side, rgba(233,185,73,.10), transparent 70%); pointer-events: none; }
.hero .grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #b9a8ff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 20px; color: #c9cfdc; max-width: 600px; margin-bottom: 34px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .assure { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: 14.5px; }
.hero .assure span::before { content: '✓'; color: var(--gold); margin-right: 8px; font-weight: 700; }

/* "Sunday readiness" panel - same screen style as hepta.stream */
.screen { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #161b31, #0d1020); padding: 22px; box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.screen .bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.screen .bar b { color: var(--text); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 7px; color: #7ee2a8; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3ccf7e; box-shadow: 0 0 0 4px rgba(60,207,126,.18); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.checks .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(124,92,255,.16); flex: none; }
.checks .ic svg { width: 20px; height: 20px; stroke: #c4b6ff; fill: none; stroke-width: 1.8; }
.checks b { font-family: var(--head); font-weight: 600; display: block; font-size: 15.5px; }
.checks small { color: var(--muted); font-size: 13px; }
.checks .ok { margin-left: auto; color: #7ee2a8; font-size: 13px; font-family: var(--head); }
.screen .foot { margin-top: 14px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }

/* sections */
section { padding: 96px 0; scroll-margin-top: 74px; }
section.dark { border-top: 1px solid var(--line); }
section.paper { background: var(--paper); color: var(--paper-ink); }
section.paper .eyebrow { color: #5b45d6; }
section.paper .sub, section.paper .muted { color: var(--paper-muted); }
section h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 18px; }
section .sub { color: var(--muted); max-width: 700px; font-size: 18.5px; margin-bottom: 48px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.custom-builds { margin: 56px 0 22px; }
.custom-builds .cb-title { font-size: clamp(22px, 2.6vw, 28px); max-width: 30ch; margin-top: 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
section.paper .card { background: #fff; border-color: var(--paper-line); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 12px 30px rgba(21,24,38,.05); }
.card h3 { font-size: 21px; margin: 0 0 10px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
section.paper .card p { color: var(--paper-muted); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(124,92,255,.12); margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--paper-muted); }
.card ul li { padding: 4px 0 4px 20px; position: relative; }
.card ul li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* why: three-vendor problem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contrast { display: grid; gap: 14px; }
.contrast .row { display: flex; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.contrast .row b { font-family: var(--head); display: block; }
.contrast .row small { color: var(--muted); font-size: 14.5px; }
.contrast .x { color: #f1707b; font-weight: 700; } .contrast .y { color: #7ee2a8; font-weight: 700; }
blockquote.verse { margin: 34px 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--gold); color: #d8dbe6; font-size: 17px; font-style: italic; }
blockquote.verse cite { display: block; margin-top: 6px; color: var(--muted); font-style: normal; font-size: 14px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps .card { padding: 24px; }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 700; margin-bottom: 16px; }
.steps .card h3 { font-size: 19px; }
.steps .card p { font-size: 15px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.hi { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px rgba(124,92,255,.18); }
.plan .tag { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 13px; font-family: var(--head); }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .for { color: var(--muted); font-size: 15px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; } .price b { font-family: var(--head); font-size: 44px; } .price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; font-size: 15.5px; flex: 1; }
.plan ul li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); }
.plan ul li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent-2); font-weight: 700; }
.oneoff { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.oneoff .card { display: flex; gap: 22px; align-items: flex-start; }
.oneoff .card .amt { font-family: var(--head); font-size: 26px; white-space: nowrap; color: var(--text); }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { border-radius: 18px; padding: 28px; background: #fff; border: 1px solid var(--paper-line); display: flex; flex-direction: column; }
.product .pt { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product .pt img, .product .pt .sq { width: 44px; height: 44px; border-radius: 12px; }
.product .pt .sq { display: grid; place-items: center; background: var(--ink); }
.product .pt .sq svg { width: 24px; height: 24px; stroke: #c4b6ff; fill: none; stroke-width: 1.8; }
.product h3 { font-size: 21px; }
.product p { color: var(--paper-muted); font-size: 16px; flex: 1; }
.product a.more { font-family: var(--head); font-weight: 600; color: #5b45d6; text-decoration: none; font-size: 15px; }
.product a.more:hover { text-decoration: underline; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-family: var(--head); font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--accent-2); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.contact .info p { color: var(--paper-muted); }
.contact .info .line { display: flex; gap: 14px; align-items: center; margin: 14px 0; font-size: 16px; }
.contact .info .line svg { width: 22px; height: 22px; stroke: #5b45d6; fill: none; stroke-width: 1.8; flex: none; }
form.lead { background: #fff; border: 1px solid var(--paper-line); border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(21,24,38,.08); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
form.lead label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--paper-ink); }
form.lead input, form.lead select, form.lead textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid #cfccc2; background: #fbfaf7; color: var(--paper-ink); }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,92,255,.2); background: #fff; }
form.lead textarea { min-height: 120px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0 !important; font-weight: 500 !important; position: relative; }
.chips input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chips span { display: inline-block; border: 1px solid #cfccc2; border-radius: 999px; padding: 7px 14px; font-size: 14.5px; cursor: pointer; background: #fbfaf7; user-select: none; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 16px; font-size: 15.5px; }
.form-msg.ok { color: #0f7a3d; } .form-msg.err { color: #b4232c; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { font-family: var(--head); color: var(--text); font-size: 15px; margin: 0 0 12px; font-weight: 600; }
footer.site a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: var(--text); }
footer.site .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
footer.site .legal a { display: inline; }

/* simple pages */
body.plain .lead { color: #c9cfdc; font-size: 19px; }
.prose h1 { font-size: 42px; margin: 40px 0 18px; } .prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose p, .prose li { color: #c9cfdc; }

@media (max-width: 1000px) {
  .hero .grid, .split, .contact { grid-template-columns: 1fr; gap: 44px; }
  .cards, .plans, .products { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  header.site nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 24px 20px; gap: 14px; }
  header.site nav.open { display: flex; }
  header.site .row > .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .cards, .cards.two, .plans, .products, .steps, .oneoff, .fields { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* service icons: the Hepta heptagon with a centre glyph per service (brand/service-icons) */
svg.hx { display: block; flex: none; width: 56px; height: 56px; --ring: var(--accent); color: var(--ink); fill: none; stroke: none; }
.checks .ic svg.hx { fill: none; stroke: none; }
.hero svg.hx, section.dark svg.hx, .plan svg.hx, .oneoff svg.hx { color: var(--text); }
.card.svc svg.hx { margin-bottom: 16px; }
.checks .ic { background: none; width: 40px; height: 40px; }
.checks .ic svg.hx { width: 38px; height: 38px; }
.plan svg.hx { width: 44px; height: 44px; margin-bottom: 14px; }
.oneoff .card svg.hx { width: 48px; height: 48px; }
.product .pt svg.hx { width: 44px; height: 44px; }
