/* HaatBeat website
   The same palette and type as HaatBeat Calculators (calculators.haatbeat.in), taken from the logo's
   orange: orange for actions, gold as the second accent, a near-black dark theme and a soft grey light
   theme. Every page is rendered at build time; nothing here hides content until a script runs. */

:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --surface-2: #efeff3;
  --ink: #131317;
  --muted: #4b5563;
  --line: #dcdce3;
  --line-strong: #6b7280;
  --primary: #ff7a00;
  --primary-hover: #ff9533;
  --on-primary: #0d0d11;
  --link: #994700;
  --accent: #ff7a00;
  --accent-2: #ffb800;
  --accent-ink: #8a5a00;
  --focus: #c2410c;
  --paper: #ffffff;
  --paper-ink: #1d1d22;
  --paper-muted: #5c5c66;
  --shadow: 0 1px 2px rgb(19 19 23 / 0.06), 0 12px 32px -12px rgb(19 19 23 / 0.16);

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --radius: 12px;
  --gutter: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d11;
    --surface: #16161e;
    --surface-2: #1f1f2c;
    --ink: #f3f2f5;
    --muted: #a3a9b5;
    --line: #2a2a38;
    --line-strong: #7a7f8c;
    --primary: #ff7a00;
    --primary-hover: #ff9533;
    --on-primary: #0d0d11;
    --link: #ff9533;
    --accent: #ff7a00;
    --accent-2: #ffb800;
    --accent-ink: #ffb800;
    --focus: #ff7a00;
    --paper: #f7f7f4;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -16px rgb(0 0 0 / 0.75);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0d0d11;
  --surface: #16161e;
  --surface-2: #1f1f2c;
  --ink: #f3f2f5;
  --muted: #a3a9b5;
  --line: #2a2a38;
  --line-strong: #7a7f8c;
  --primary: #ff7a00;
  --primary-hover: #ff9533;
  --on-primary: #0d0d11;
  --link: #ff9533;
  --accent: #ff7a00;
  --accent-2: #ffb800;
  --accent-ink: #ffb800;
  --focus: #ff7a00;
  --paper: #f7f7f4;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -16px rgb(0 0 0 / 0.75);
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.22rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-2); color: #0d0d11; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--primary); color: var(--on-primary); font-weight: 600; }
.skip-link:focus { inset-block-start: 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.kicker { color: var(--accent-ink); font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 10px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); background: var(--surface-2); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn.is-disabled { border-color: var(--line); color: var(--muted); background: var(--surface-2); cursor: default; }
.text-link, .text-btn { font-weight: 600; }
.text-btn { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: 600 0.88rem/1.2 var(--font-body); cursor: pointer; }
.text-btn:hover { background: var(--surface-2); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn[hidden], .text-btn[hidden] { display: none; }

/* Theme button tooltip, as on the calculators site: shown at full strength at once, never faded. */
.theme-tip {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 30;
  width: max-content; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); box-shadow: var(--shadow); color: var(--ink);
  font: 600 0.82rem/1.3 var(--font-body); pointer-events: none; visibility: hidden;
}
.theme-btn:focus-visible .theme-tip { visibility: visible; }
@media (hover: hover) { .theme-btn:hover .theme-tip { visibility: visible; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky; inset-block-start: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.3rem/1 var(--font-display); letter-spacing: -0.02em; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; }
.site-menu { display: flex; gap: 4px; margin-inline-end: auto; }
.site-menu a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; text-decoration: none; }
.site-menu a:hover { color: var(--ink); background: var(--surface-2); }
.site-menu a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 12px; }
  .header-actions { margin-inline-start: auto; }
  /* Without scripts the menu stays as a row under the logo; with them it opens from the menu button. */
  .site-menu { order: 3; width: 100%; margin: 0 -12px; overflow-x: auto; padding-bottom: 8px; }
  .js .menu-btn:not([hidden]) { display: inline-grid; }
  .js .site-menu { display: none; flex-direction: column; margin: 0; padding: 4px 0 16px; }
  .js .site-menu.is-open { display: flex; }
  .js .site-menu a { padding: 12px; font-size: 1.05rem; }
  .js .site-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
}
@media (max-width: 420px) { .header-cta { display: none; } }

/* ---------- Hero and the example bill ---------- */

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 56px; padding-block: 72px 80px; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 { max-width: 16ch; }
.hero-shop .hero-copy h1 { max-width: 14ch; }

.receipt { margin: 0; justify-self: center; width: min(100%, 340px); }
.receipt-paper {
  padding: 26px 24px 34px;
  background: var(--paper); color: var(--paper-ink);
  font: 400 0.9rem/1.55 var(--font-mono);
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
  /* Torn bottom edge, as a receipt leaves the printer. */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x;
  animation: print 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.receipt-shop { font-weight: 500; font-size: 1rem; text-align: center; }
.receipt-meta { display: flex; justify-content: space-between; margin: 8px 0 12px; padding-bottom: 10px; border-bottom: 1.5px dashed #b9b9c2; color: var(--paper-muted); font-size: 0.8rem; }
.receipt table { width: 100%; border-collapse: collapse; }
.receipt th, .receipt td { padding: 3px 0; text-align: end; font-weight: 400; }
.receipt th:first-child, .receipt td:first-child { text-align: start; }
.receipt thead th { color: var(--paper-muted); font-size: 0.76rem; padding-bottom: 6px; }
.receipt tfoot th, .receipt tfoot td { padding-top: 10px; border-top: 1.5px dashed #b9b9c2; font-weight: 500; font-size: 1.05rem; }
.receipt-note { margin-top: 14px; color: var(--paper-muted); font-size: 0.76rem; text-align: center; }
.receipt figcaption { margin-top: 18px; color: var(--muted); font-size: 0.85rem; text-align: center; }
@keyframes print { from { clip-path: inset(0 0 100% 0); translate: 0 -14px; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .receipt-paper { animation: none; } * { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 56px; }
}

/* ---------- Sections ---------- */

.section { padding-block: 72px; }
.band { padding-block: 72px; background: var(--surface-2); border-block: 1px solid var(--line); }
.band > .wrap > h2, .section > h2 { margin-bottom: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head a { font-weight: 600; white-space: nowrap; }
.section-lead { color: var(--muted); max-width: 62ch; margin: -14px 0 28px; }
.section + .section { padding-top: 24px; }

.products { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.product { display: grid; align-content: start; gap: 18px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.product h3 { font-size: 1.6rem; font-weight: 700; }
.product > p { color: var(--muted); }
.product .actions { margin-top: 6px; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 46px; min-height: 32px; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; inset-block-start: -2px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0d0d11; font: 700 0.95rem/1 var(--font-display);
}
.steps strong { display: block; }

/* The calculator list reads like a printed calculator tape. */
.tape { list-style: none; margin: 0; padding: 0; border-top: 1.5px dashed var(--line-strong); }
.tape a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 11px 4px; border-bottom: 1.5px dashed var(--line-strong); color: var(--ink); text-decoration: none; }
.tape a:hover { background: var(--surface-2); }
.tape-name { font: 500 0.95rem/1.4 var(--font-mono); }
.tape-desc { color: var(--muted); font-size: 0.92rem; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.facts > div { display: grid; align-content: start; gap: 10px; padding-top: 18px; border-top: 3px solid var(--accent); }
.facts p { color: var(--muted); }
.facts a { font-weight: 600; }

.stories { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stories a { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.stories a:hover .story-title { text-decoration: underline; text-underline-offset: 4px; }
.story-tag { grid-row: span 2; color: var(--accent-ink); font-weight: 600; font-size: 0.92rem; }
.story-title { font: 600 1.25rem/1.3 var(--font-display); }
.story-summary { color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--font-body); color: var(--muted); transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 20px; color: var(--muted); max-width: 70ch; }

.about { display: grid; gap: 16px; justify-items: start; }
.about p { color: var(--muted); max-width: 68ch; }
.about > a { font-weight: 600; }

/* Shop page */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.feature { display: grid; align-content: start; gap: 8px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature p { color: var(--muted); font-size: 0.97rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--muted); }
.checks { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.checks li { position: relative; padding-inline-start: 34px; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231c1404' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.platform { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.platform p { color: var(--muted); font-size: 0.97rem; }
.platform .btn { width: 100%; }
.legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.legal article { display: grid; align-content: start; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.legal ul { margin: 0; padding-inline-start: 20px; color: var(--muted); display: grid; gap: 8px; }
.legal a { font-weight: 600; }
.ad-section:empty { display: none; }
.ad-slot-card { max-width: 1160px; margin: 24px auto; padding: 16px var(--gutter); }
.ad-slot-label { color: var(--muted); font-size: 0.8rem; }

/* ---------- Content pages ---------- */

.page { padding-block: 40px 72px; }
.page > h1 { max-width: 22ch; margin-bottom: 16px; }
.page > .lead { margin-bottom: 40px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 0.92rem; }
.breadcrumbs a { color: var(--link); }
.page-body { display: grid; gap: 22px; max-width: 900px; }
.page-body > h2 { margin-top: 20px; font-size: 1.6rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { display: grid; align-content: start; gap: 8px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card h2 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--muted); }
.prose { display: grid; gap: 18px; max-width: 68ch; font-size: 1.1rem; line-height: 1.75; }
.related { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.2rem; margin-bottom: 14px; }
.related div { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.related a:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: 56px 40px; }
.footer-brand { display: grid; align-content: start; gap: 14px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.site-footer h2 { font: 600 0.95rem/1.3 var(--font-body); color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

/* ---------- Product section bar (Shop Management) ----------
   Each product has its own bar with its pages and its own "Open the app" button, so the site header stays
   brand-wide and another product can get its own bar later. In a product section the bar, not the
   site header, stays on screen. */

.area-shop .site-header { position: static; }
.product-bar { position: sticky; inset-block-start: 0; z-index: 19; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.product-row { display: flex; align-items: center; gap: 20px; min-height: 56px; }
.product-name { flex: none; color: var(--ink); font: 700 1rem/1 var(--font-display); text-decoration: none; }
.product-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-inline-end: auto; }
.product-tabs::-webkit-scrollbar { display: none; }
.product-tabs a { flex: none; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.product-tabs a:hover { color: var(--ink); background: var(--surface-2); }
.product-tabs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.product-cta { flex: none; }
.ext { display: inline-block; margin-inline-start: 4px; vertical-align: -1px; opacity: 0.7; }

.audience { color: var(--accent-ink); font-weight: 600; font-size: 0.95rem; margin-bottom: -10px; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.proof li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.9rem; background: var(--surface); }

.cta-band { padding-block: 56px; background: var(--surface-2); border-top: 1px solid var(--line); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-row h2 { margin-bottom: 8px; }
.cta-row p { color: var(--muted); max-width: 56ch; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; max-width: 640px; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; }
.data-table thead th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }

.prose h2 { margin-top: 18px; font-size: 1.45rem; }
.prose ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.page-body h3 { font-size: 1.15rem; }
.page-body .faq-list, .page-body .steps { max-width: 820px; }

@media (max-width: 860px) {
  .product-row { flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; }
  .product-tabs { order: 3; width: 100%; margin-inline: -10px; }
  .product-cta { margin-inline-start: auto; }
  .cta-row .actions { width: 100%; }
}

/* ---------- Pricing ---------- */

.plan-group { display: grid; gap: 14px; margin-bottom: 28px; }
[data-pricing-groups] { margin-top: 16px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { position: relative; display: grid; align-content: start; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.plan h4 { font: 600 1.1rem/1.3 var(--font-display); margin: 0; }
.plan p { color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price span:first-child { color: var(--ink); font: 700 2rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.plan-period { font-size: 0.95rem; }
.plan-best { border: 2px solid var(--accent); }
.plan-badge { justify-self: start; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0d0d11 !important; font-weight: 700; font-size: 0.8rem; }
.plan-free { max-width: 560px; margin-bottom: 12px; border-style: dashed; }
.plan-free .btn { justify-self: start; }

/* ---------- Narrow screens ---------- */

@media (max-width: 1000px) {
  .feature-grid, .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .products, .split, .legal { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stories a { grid-template-columns: 1fr; }
  .story-tag { grid-row: auto; }
  .section, .band { padding-block: 56px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .feature-grid, .platforms { grid-template-columns: 1fr; }
  .product { padding: 22px; }
  .tape a { grid-template-columns: 1fr; gap: 2px; }
  .hero .actions .btn { flex: 1 1 100%; }
}
