/* Visual language: cool light grey, ink-black type, one accent — marker yellow.
   Headings: Geist. Body: Manrope. Digital feel via dot grid and clean panels. */

:root {
  --bg: #f2f4f7;
  --bg-dots: #d5dae2;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --ink: #0e1116;
  --ink-2: #2a3039;
  --muted: #5d6673;
  --line: #e1e5eb;
  --line-strong: #c9cfd8;
  --accent: #ffc21a;
  --accent-deep: #e8a900;
  --accent-soft: #fff4cc;
  --on-accent: #0e1116;
  --ok: #1d7a4b;
  --ok-soft: #e6f4ec;
  --err: #b42318;
  --err-soft: #fdecea;
  --info-soft: #eef2f7;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .05), 0 8px 24px -12px rgba(14, 17, 22, .12);
  --shadow-lg: 0 2px 4px rgba(14, 17, 22, .04), 0 24px 48px -20px rgba(14, 17, 22, .22);

  --font-head: "Geist", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.is-hidden { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; border-radius: 6px; }

/* ---------- icons ---------- */
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .02em;
  color: var(--ink-2);
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hl {
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262c35; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--info-soft); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .icon-arrow { transition: transform .18s; }
.btn:hover .icon-arrow { transform: translateX(3px); }

.text-link { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.text-link:hover { border-color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 244, 247, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 32px; height: 32px; }
.brand .word { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover { background: var(--surface); }
.nav a.active { background: var(--surface); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { display: flex; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(12px); animation: reveal .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 80ms); }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 64px;
  background-image: radial-gradient(var(--bg-dots) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  background-position: 0 0;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); letter-spacing: -0.045em; margin: 20px 0 20px; }
.hero .lead { font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }

.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-mosaic .col { display: grid; gap: 16px; align-content: start; }
.hero-mosaic .col:last-child { margin-top: 48px; }
.hero-mosaic img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }

.hero-mosaic.is-single { display: block; position: relative; padding: 0 0 28px 28px; }
.hero-mosaic.is-single::before { content: ""; position: absolute; inset: 28px 28px 0 0; border-radius: var(--radius-lg); background: var(--accent); }
.hero-mosaic.is-single img { position: relative; border-radius: var(--radius-lg); }

/* ---------- stats ---------- */
.stats { padding: 8px 0 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat { padding: 28px 32px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font-family: var(--font-head); font-weight: 700; font-size: 44px; letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.stat-value small { font-size: 16px; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2, .about h2 { font-size: clamp(32px, 4.2vw, 48px); margin: 16px 0 14px; }

/* ---------- about ---------- */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-art { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.about-art img { width: 100%; height: auto; }
.about-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.bullet { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--ink); border: 1px solid #f5dd8a; }
.about-list li > span:last-child { padding-top: 7px; }

/* ---------- product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.products-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.products-grid.cols-1 { grid-template-columns: 1fr; }
.products-grid.cols-1 .card { display: grid; grid-template-columns: 1.15fr 1fr; }
.products-grid.cols-1 .card-cover { border-bottom: 0; border-right: 1px solid var(--line); }
.products-grid.cols-1 .card-cover img { height: 100%; }
.products-grid.cols-1 .card-body { justify-content: center; padding: 40px; gap: 14px; }
.products-grid.cols-1 .card h3 { font-size: 30px; }
.products-grid.cols-1 .card-desc { flex: 0; font-size: 17px; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-cover { display: block; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.card-cover img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.card-kicker, .plan-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 22px; }
.badge { flex: none; font-family: var(--font-head); font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); white-space: nowrap; }
.card-desc { color: var(--muted); flex: 1; }
.card .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- contact ---------- */
.contact-box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
.contact-box h2 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 14px; }
.contact-box .lead { color: #b7bec9; }
.contact-box .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.contact-side { display: grid; gap: 14px; }
.email-big {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em;
  color: #fff; background: none; border: 0; border-bottom: 3px solid var(--accent); padding: 0 0 4px; cursor: pointer; justify-self: start;
  word-break: break-all; text-align: left;
}
.email-big:hover { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.contact-box .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.contact-box .btn-outline:hover { border-color: #fff; }
.copy-email .icon-check { display: none; }
.copy-email.copied .icon-check { display: block; }
.copy-email.copied .icon-copy { display: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; background: var(--surface); }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.tagline { color: var(--muted); }
.address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: start; align-content: start; }
.footer-links a, .footer-links .link-btn { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.footer-links a:hover, .footer-links .link-btn:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 14px; }

/* ---------- pricing ---------- */
.pricing-hero { padding: 72px 0 24px; text-align: center; background-image: radial-gradient(var(--bg-dots) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.pricing-hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 18px 0 16px; }
.pricing-hero .lead { margin: 0 auto; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.toggle-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; cursor: pointer; color: var(--ink-2); }
.toggle-btn.active { background: var(--ink); color: #fff; }
.toggle-save { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.pricing-plans { padding-top: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.pricing-grid.cols-1 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
.plan { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.plan-head { display: grid; gap: 8px; align-content: start; min-height: 150px; }
.plan h2 { font-size: 24px; }
.plan-desc { color: var(--muted); font-size: 15px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.plan-amount { font-family: var(--font-head); font-weight: 700; font-size: 42px; letter-spacing: -0.04em; }
.plan-period { color: var(--muted); font-weight: 600; }
.plan-note { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; }
.plan-features li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.plan-features li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1116' 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; }
.plan .btn { width: 100%; }

.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.include { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.include .bullet { margin-bottom: 14px; }
.include h3 { font-size: 18px; margin-bottom: 6px; }
.include p { color: var(--muted); font-size: 15px; }

.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ---------- legal ---------- */
.legal { padding: 56px 0 40px; }
.legal .container { max-width: 820px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.back-link:hover { color: var(--ink); }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 18px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.legal-body h2 { font-size: 22px; margin: 32px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal-body .entity { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; background-image: radial-gradient(var(--bg-dots) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.notfound .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(96px, 18vw, 180px); letter-spacing: -0.06em; line-height: 1; }
.notfound h1 { font-size: 32px; margin: 12px 0; }
.notfound .lead { margin: 0 auto; }
.notfound .hero-actions { justify-content: center; }

/* ---------- tool pages ---------- */
.tool-hero { padding: 40px 0 28px; }
.tool-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 18px 0 12px; }
.tool-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.workspace { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 64px; }
.ws-grid { display: grid; grid-template-columns: 300px 1fr; min-height: 440px; }
.ws-side { padding: 24px; border-right: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 20px; align-content: start; }
.ws-stage { padding: 24px; display: grid; align-content: center; gap: 16px; min-width: 0; }
.ws-stage.stage-top { align-content: start; }
.field { display: grid; gap: 8px; }
.field-label { font-weight: 700; font-size: 14px; }
.hint { color: var(--muted); font-size: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--info-soft); }
.seg button { flex: 1; border: 0; background: transparent; padding: 8px 10px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.seg button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(14, 17, 22, .12); }
.input, .textarea, .select { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.input-sm { padding: 8px 10px; font-size: 14px; }
.textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-btn { margin-top: 6px; border: 0; background: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.dropzone { display: grid; place-items: center; gap: 6px; text-align: center; min-height: 300px; padding: 32px; border: 2px dashed var(--line-strong); border-radius: var(--radius); cursor: pointer; background-image: radial-gradient(var(--line) 1.2px, transparent 1.3px); background-size: 18px 18px; transition: border-color .18s, background-color .18s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--ink); background-color: var(--accent-soft); }
.dropzone strong { font-family: var(--font-head); font-size: 18px; }
.dropzone small { color: var(--muted); }
.stack { display: grid; gap: 16px; }
.file-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fh-main { min-width: 0; }
.fh-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-meta { color: var(--muted); font-size: 14px; }
.media { width: 100%; max-height: 420px; border-radius: var(--radius); background: #000; }
audio.media { background: transparent; }
.progress { display: grid; gap: 8px; }
.progress-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.progress-bar { height: 10px; border-radius: 999px; background: var(--info-soft); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .2s; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: 15px; background: var(--err-soft); color: var(--err); }
.notice.info { background: var(--info-soft); color: var(--ink-2); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.result { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--ok-soft); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .container, .about .container, .contact-box { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .products-grid, .pricing-grid, .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid.cols-2 { max-width: none; }
  .ws-grid { grid-template-columns: 1fr; }
  .ws-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .products-grid.cols-1 .card { grid-template-columns: 1fr; }
  .products-grid.cols-1 .card-cover { border-right: 0; border-bottom: 1px solid var(--line); }
  .products-grid.cols-1 .card-body { padding: 24px; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .section { padding: 64px 0; }
  .products-grid, .products-grid.cols-2, .pricing-grid, .pricing-grid.cols-2, .includes-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 22px 24px; }
  .hero-mosaic { gap: 10px; }
  .hero-mosaic .col { gap: 10px; }
  .hero-mosaic .col:last-child { margin-top: 28px; }
  .hero-mosaic.is-single { padding: 0 0 16px 16px; }
  .hero-mosaic.is-single::before { inset: 16px 16px 0 0; }
  .products-grid.cols-1 .card h3 { font-size: 24px; }
  .contact-box { padding: 32px 22px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .legal-body { padding: 24px 20px; }
  .plan-head { min-height: 0; }
  .card-body { padding: 20px; }
  .two { grid-template-columns: 1fr; }
}

/* ======================================================================
   Digital layer (v4): ink hero with a line grid, app-window frames,
   numbered section labels, window chrome on cards.
   ====================================================================== */
:root {
  --grid-line: rgba(14, 17, 22, .055);
  --grid-line-dark: rgba(255, 255, 255, .07);
  --ink-panel: #0b0e13;
}

/* page-wide faint line grid */
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* numbered eyebrow */
.eyebrow b { font-weight: 700; color: var(--muted); margin-right: 2px; font-variant-numeric: tabular-nums; }
.eyebrow:has(b)::before { display: none; }
.eyebrow b::after { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent); margin: 0 8px 4px 8px; vertical-align: middle; }

/* ---------- ink hero ---------- */
.hero {
  background-color: var(--ink-panel);
  background-image:
    radial-gradient(600px 380px at 78% 42%, rgba(255, 194, 26, .16), transparent 70%),
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero::after { display: none; }
.hero .lead { color: #aab2bf; }
.hero .eyebrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.hero h1 .hl { color: var(--accent); background: none; padding: 0; }
.hero .btn-primary { background: var(--accent); color: var(--on-accent); }
.hero .btn-primary:hover { background: var(--accent-deep); }
.hero .text-link { color: #fff; }
.hero .text-link:hover { border-color: #fff; }

/* corner ticks on the hero frame, like a viewport */
.hero .container::before, .hero .container::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-color: rgba(255, 255, 255, .28); border-style: solid; pointer-events: none;
}
.hero .container::before { left: 24px; top: -40px; border-width: 2px 0 0 2px; }
.hero .container::after { right: 24px; bottom: -48px; border-width: 0 2px 2px 0; }

/* app window around the cover */
.hero-mosaic.is-single { padding: 0; }
.hero-mosaic.is-single::before { display: none; }
.app-window {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .04), 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.app-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #f3f5f8; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d8e0; }
.app-bar i:first-child { background: var(--accent); }
.app-tab { margin-left: 14px; height: 10px; width: 120px; border-radius: 5px; background: #dfe3ea; }
.app-tab.short { margin-left: 0; width: 60px; }
.hero-mosaic.is-single img { border: 0; border-radius: 0; box-shadow: none; }
.hud {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .55);
}
.hud-a { left: -18px; bottom: 34px; background: var(--ink); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.hud-b { right: -14px; top: 64px; background: var(--accent); color: var(--on-accent); }
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }

/* stats overlap the hero edge */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stat-value { font-variant-numeric: tabular-nums; }
.stat { position: relative; }
.stat::before { content: ""; position: absolute; left: 32px; top: 0; width: 28px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }

/* window chrome on product covers */
.card-cover { position: relative; }
.card-cover::before {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 34px;
  background:
    radial-gradient(circle at 18px 17px, var(--accent) 5px, transparent 5.5px),
    radial-gradient(circle at 36px 17px, #d3d8e0 5px, transparent 5.5px),
    radial-gradient(circle at 54px 17px, #d3d8e0 5px, transparent 5.5px),
    rgba(243, 245, 248, .92);
  border-bottom: 1px solid var(--line);
}
.card { border-radius: 18px; }

/* section heads get a thin rule, like a spec sheet */
.section-head { position: relative; padding-top: 22px; border-top: 1px solid var(--line-strong); max-width: none; }
.section-head .lead, .section-head h2 { max-width: 640px; }

/* pricing + 404 heroes switch to the line grid too */
.pricing-hero, .notfound { background-image: none; }

@media (max-width: 980px) {
  .hero { padding: 56px 0 88px; }
  .hud-a { left: 10px; }
  .hud-b { right: 10px; }
}
@media (max-width: 760px) {
  .hero .container::before, .hero .container::after { display: none; }
  .hud { font-size: 12px; padding: 7px 10px; }
  .hud-b { top: 52px; }
  .stats { margin-top: -36px; }
  .stat::before { left: 24px; }
  .app-tab { width: 70px; }
}
