/* Structural base for the Stennisfy test: section order, type and component style modelled on a reference site the owner named.
   Own code; no text, pictures, logos or code taken from it. Every colour, font and size is a token below. */

/* ============ 1. TOKENS ============ */
:root {
  /* Stennisfy colours */
  --bg: #05060a;
  --card: #0a0d14;
  --ink: #ffffff;
  --muted: #a3abbd;
  --body: #c9cfdd;
  --blue: #3E7BFA;
  --blue-light: #6aaeff;
  --positive: #3dd68c;
  --negative: #e05c5c;
  --gold: #e0b64d;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.16);
  --primary: var(--blue);      /* the main button */
  --primary-ink: #ffffff;
  --quiet: rgba(255, 255, 255, 0.06);   /* the second button */
  --glass: color-mix(in srgb, var(--bg) 50%, transparent);
  --well: color-mix(in srgb, var(--card) 50%, transparent);
  --slot: #0d1424;             /* empty picture slots */
  --slot-line: rgba(255, 255, 255, 0.16);
  --photo: radial-gradient(60% 55% at 50% 55%, rgba(62, 123, 250, 0.34), rgba(62, 123, 250, 0) 100%);   /* the blue light behind the hero picture and the ending */
  --on-dark: #ffffff;          /* text on the app picture and on photos, in both themes */
  --on-dark-muted: #a3abbd;
  --scrim: rgba(5, 6, 10, 0.55);
  --scrim-strong: rgba(5, 6, 10, 0.8);
  --tint: linear-gradient(135deg, rgba(62, 123, 250, 0.2), rgba(62, 123, 250, 0) 60%);   /* the blue corner light on the tinted cards and rails */
  --lime: #e6f03c;             /* the dot at the end of the hero line (the yellow of the logo's dot) */
  --lime-glow: 0 0 18px 4px rgba(230, 240, 60, 0.4);
  --hero-glow: drop-shadow(0 0 8px rgba(62, 123, 250, 0.9)) drop-shadow(0 0 26px rgba(62, 123, 250, 0.55));
  --line-glow: drop-shadow(0 0 6px rgba(62, 123, 250, 0.55));   /* the soft light on the price line */
  --mr-surface: #121723;       /* the report panel in the ?mr=shot variant */
  --mr-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shade: rgba(0, 0, 0, 0.1);
  --shade-strong: rgba(0, 0, 0, 0.45);
  --shadow-btn: 0 1px 3px var(--shade), 0 1px 2px -1px var(--shade);
  --shadow-panel: 0 2px 6px var(--shade-strong), 0 6px 20px -2px var(--shade-strong);

  --font-ui: "Geist", system-ui, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --container: 1280px;
  --gutter: 32px;
  --section: 112px;            /* space above and below each section */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --tab-time: 6s;              /* how long each feature tab stays before the next one */
}

/* ============ 2. BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/24px var(--font-ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 1024px; }
.section { padding: var(--section) 0; }

h1 { font: 600 60px/60px var(--font-display); }
h2 { font: 700 48px/48px var(--font-display); letter-spacing: -1.2px; }
h3 { font: 600 18px/22.5px var(--font-ui); }
.tag { margin-bottom: 16px; font: 400 11px/16.5px var(--font-mono); letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); }

/* section head: heading left, its line right, on the same baseline */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 64px; }
.head h2 { max-width: 584px; }
.head p { flex: 0 1 448px; font-size: 16px; line-height: 26px; color: var(--muted); }
.head--small h2 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: 0; }

/* empty picture slots: dashed outline and a label, so nobody mistakes them for content */
.ph { display: grid; place-items: center; min-height: 200px; border: 1px dashed var(--slot-line); border-radius: 12px; background: var(--slot); color: var(--muted); font: 400 11px/16.5px var(--font-mono); letter-spacing: 2.2px; text-transform: uppercase; text-align: center; }
.ph--panel { border-style: solid; border-color: var(--line); background: var(--card); box-shadow: var(--shadow-panel); }
.ph--photo { border: 0; border-radius: 0; background: var(--photo); align-items: end; padding-bottom: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 6px; background: var(--primary); color: var(--primary-ink); box-shadow: var(--shadow-btn); font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; transition: opacity 0.15s var(--ease), background-color 0.15s var(--ease); }
.btn:hover { opacity: 0.9; }
.btn:active { opacity: 0.8; }
.btn--quiet { background: var(--quiet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-btn); }
.btn--quiet:hover { opacity: 1; background: var(--line); }
.btn--sm { height: 32px; padding: 0 12px; }
.btn--pill { border-radius: 999px; padding: 0 20px; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ============ 3. NAV: a plain wide bar that tightens into a floating glass bar once the page scrolls ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 4px 8px 0; pointer-events: none; }
.nav__bar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; max-width: 1152px; height: 68px; padding: 0 48px; border: 1px solid transparent; border-radius: 16px;
  transition: max-width 0.3s var(--ease), padding 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.is-scrolled .nav__bar { max-width: 896px; padding: 0 20px; border-color: var(--line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.brand__mark { width: 24px; height: 24px; border: 2px dashed var(--muted); border-radius: 50%; }   /* empty slot for the logo */
.brand img { display: block; height: 24px; width: auto; }
.brand--lg { font-size: 20px; }
.brand--lg .brand__mark { width: 32px; height: 32px; }
.nav__links { display: flex; gap: 32px; font-size: 14px; line-height: 20px; color: var(--muted); }
.nav__links a { white-space: nowrap; transition: color 0.15s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; gap: 8px; }
.is-scrolled .nav__actions .btn--quiet { display: none; }   /* two buttons at the top, only the main one once scrolled */
.nav__menu { display: none; position: relative; }
.nav__menu summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary span, .nav__menu summary span::before, .nav__menu summary span::after { display: block; width: 20px; height: 2px; border-radius: 1px; background: var(--ink); }
.nav__menu summary span { position: relative; }
.nav__menu summary span::before, .nav__menu summary span::after { content: ""; position: absolute; left: 0; }
.nav__menu summary span::before { top: -6px; }
.nav__menu summary span::after { top: 6px; }
.nav__sheet { position: absolute; top: 52px; right: 0; display: grid; gap: 4px; width: min(280px, 84vw); padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-panel); }
.nav__sheet a:not(.btn) { padding: 12px; border-radius: 8px; color: var(--muted); }
.nav__sheet a:not(.btn):hover { color: var(--ink); background: var(--line); }
.nav__sheet .btn { height: 44px; margin-top: 4px; }

/* ============ 4. HERO ============ */
.hero { padding: 160px 0 80px; text-align: center; }
.announce { display: inline-flex; align-items: center; gap: 8px; height: 34px; margin-bottom: 24px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color 0.15s var(--ease); }
.announce:hover { background: var(--card); }
.announce svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s var(--ease); }
.announce:hover svg { transform: translateX(2px); }
.hero h1 { max-width: 976px; margin: 0 auto; }
.hero__line { max-width: 672px; margin: 24px auto 32px; font-size: 20px; line-height: 28px; color: var(--muted); }
.hero__stage { position: relative; margin-top: 96px; }
.hero__stage .ph--photo { position: absolute; inset: -160px calc(50% - 50vw) 0; min-height: 0; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 80%, transparent 100%); }
.hero__shot { position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow-panel); overflow: hidden; }
.hero__shot img { display: block; width: 100%; height: auto; }
/* the six features under the buttons: one outlined block on hairlines, three across, an icon beside each */
.hero__labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 1040px; margin: 56px auto 0; border: 1px solid var(--line); border-radius: 16px; background: var(--line); overflow: hidden; text-align: left; }
.hero__labels li { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 16px 24px; background: var(--bg); font-size: 15px; line-height: 20px; font-weight: 500; transition: background-color 0.15s var(--ease); }
.hero__labels li:hover { background: var(--card); }
.hero__labels svg { flex-shrink: 0; fill: none; stroke: var(--blue-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* play button over the app picture, and the player it opens */
.play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; border: 0; background: var(--scrim); color: var(--on-dark); font: inherit; cursor: pointer; transition: background-color 0.15s var(--ease); }
.play:hover { background: var(--scrim-strong); }
.play__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--blue); box-shadow: var(--shadow-btn); }
.play__icon::before { content: ""; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--on-dark); }
.play__label { padding: 6px 14px; border: 1px solid var(--on-dark-muted); border-radius: 999px; background: var(--scrim-strong); font-size: 14px; font-weight: 500; }
.vid { width: min(1100px, 92vw); padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card); color: var(--ink); overflow: hidden; }
.vid::backdrop { background: var(--scrim-strong); }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--bg); }
.vid video[hidden] { display: none; }
.vid__missing { padding: 64px 32px; text-align: center; color: var(--muted); }
.vid__missing code { font-family: var(--font-mono); color: var(--ink); }
.vid__close { display: flex; margin: 12px 12px 12px auto; }

/* ============ 5. LOGO STRIP: two rows that drift sideways ============ */
.logos { padding: 96px 0; }
.logos__label { margin-bottom: 40px; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0.7px; text-transform: uppercase; text-align: center; color: var(--muted); }
.marquee { display: grid; gap: 32px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; gap: 56px; width: max-content; }
.marquee__row li { display: grid; place-items: center; width: 120px; height: 40px; border: 1px dashed var(--slot-line); border-radius: 8px; color: var(--muted); font: 400 11px var(--font-mono); letter-spacing: 2.2px; text-transform: uppercase; }

/* ============ 6. THREE-ITEM BLOCK: one outlined block cut into three cells ============ */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; background: var(--well); box-shadow: 0 0 0 1px var(--line), 0 4px 6px -1px var(--shade); overflow: hidden; }
.trio article { padding: 32px; text-align: center; }
.trio article + article { border-left: 1px solid var(--line); }
.trio .ph { height: 220px; margin-bottom: 32px; }
.trio h3 { font-size: 16px; line-height: 24px; }
.trio p { max-width: 280px; margin: 12px auto 0; color: var(--muted); }

/* ============ 7. BENTO: one wide and one narrow card, then three equal ones ============ */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { grid-column: span 2; display: flex; flex-direction: column; min-height: 480px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card--wide { grid-column: span 4; min-height: 540px; }
.card--wide + .card { min-height: 540px; }
.card__text { padding: 32px; }
.card__text p { margin-top: 8px; line-height: 26px; color: var(--body); }
.card .ph { flex: 1; margin: 0 32px 32px; }

/* ============ 8. FEATURE TABS ============ */
.tabs__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; }
.tabs__row button { position: relative; display: grid; gap: 4px; padding: 12px 8px 16px; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; opacity: 0.6; transition: opacity 0.15s var(--ease); }
.tabs__row button:hover { opacity: 0.85; }
.tabs__row button[aria-selected="true"] { opacity: 1; }
.tabs__row strong { font-size: 16px; line-height: 24px; font-weight: 600; }
.tabs__row small { font-size: 12px; line-height: 16px; color: var(--muted); }
.tabs__track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.tabs__track i { display: block; height: 100%; background: var(--ink); transform-origin: left center; transform: scaleX(0); }
.tabs__row button[aria-selected="true"] .tabs__track i { transform: none; }
/* the panel sits on two smaller copies of itself, like a stack of cards */
.tabs__stack { position: relative; margin-top: 56px; }
.tabs__stack::before, .tabs__stack::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transform-origin: center top; }
.tabs__stack::before { top: -20px; transform: scale(0.92); }
.tabs__stack::after { top: -10px; transform: scale(0.96); }
.tabs__panel { position: relative; z-index: 1; min-height: 0; aspect-ratio: 1216 / 602; }

/* ============ 9. TESTIMONIALS ============ */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.quote blockquote { line-height: 26px; color: var(--body); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.quote__face { width: 32px; height: 32px; border: 1px dashed var(--slot-line); border-radius: 50%; }
.quote--more { align-items: center; justify-content: center; border-style: dashed; color: var(--muted); font-size: 24px; }

/* ============ 10. QUESTIONS ============ */
.section--faq { padding: 96px 0; }
.faq { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
.faq__topics { display: grid; align-content: start; justify-items: start; }
.faq__topics button { padding: 6px 0; border: 0; background: none; color: var(--muted); font: 400 14px/20px var(--font-ui); cursor: pointer; transition: color 0.15s var(--ease); }
.faq__topics button:hover { color: var(--ink); }
.faq__topics button[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.faq__list { max-width: 730px; margin-left: auto; }
.faq__list[hidden] { display: none; }
.faq__list h3 { margin: 0 0 16px 24px; }
.faq details { padding: 4px 24px; border-radius: 12px; }
.faq details[open] { background: var(--card); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; list-style: none; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease-out; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 16px; font-size: 15px; color: var(--muted); }

/* ============ 11. FINAL CALL AND FOOTER ============ */
.footer { position: relative; padding: 0 16px 32px; overflow: hidden; }
.footer__bg { position: absolute; inset: 0; min-height: 0; z-index: -1; align-items: start; padding-top: 24px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
.cta { padding: 160px 16px 96px; text-align: center; }
.cta h2 { max-width: 768px; margin: 0 auto; font-size: 72px; line-height: 72px; letter-spacing: -1.8px; }
.cta p { max-width: 576px; margin: 24px auto 32px; font-size: 18px; line-height: 28px; color: var(--muted); }
.footer__card { max-width: 1280px; margin: 0 auto; padding: 48px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow-btn); }
.footer__cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__about p { max-width: 300px; margin: 16px 0 20px; font-size: 14px; line-height: 22px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); box-shadow: var(--shadow-btn); font-size: 12px; font-weight: 500; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials li { width: 36px; height: 36px; border: 1px dashed var(--slot-line); border-radius: 8px; }
.footer nav { display: grid; align-content: start; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.footer nav h3 { margin-bottom: 4px; font-size: 14px; line-height: 20px; color: var(--ink); }
.footer nav a { transition: color 0.15s var(--ease); }
.footer nav a:hover, .footer__base a:hover { color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__base a + a { margin-left: 24px; }

/* ============ 12. MOTION: none of it runs with "reduce motion" on ============ */
@media (prefers-reduced-motion: no-preference) {
  .marquee__row { animation: drift 35s linear infinite; }
  .marquee__row--slow { animation-duration: 40s; }
  .marquee:hover .marquee__row { animation-play-state: paused; }
  .tabs.is-running button[aria-selected="true"] .tabs__track i { animation: tab-fill var(--tab-time) linear both; }   /* the line fills, then the next tab opens */
  .tabs:not(.is-seen) .tabs__track i, .tabs.is-paused .tabs__track i { animation-play-state: paused; }
  .tabs__panel.is-swap { animation: swap 0.35s var(--ease) both; }
  .faq details[open] > p { animation: open 0.2s ease-out both; }
  @keyframes drift { to { transform: translateX(calc(-50% - 28px)); } }
  @keyframes tab-fill { from { transform: scaleX(0); } }
  @keyframes swap { from { opacity: 0; transform: translateY(-8px) scale(0.97); } }
  @keyframes open { from { opacity: 0; transform: translateY(-4px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============ 13. TABLET AND PHONE ============ */
@media (max-width: 1000px) {
  .nav__bar { padding: 0 20px; gap: 20px; }
  .nav__links { gap: 20px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--wide { grid-column: span 1; min-height: 420px; }
  .card--wide { grid-column: 1 / -1; }
  .card--wide + .card { min-height: 420px; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
  .faq { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; --section: 80px; }
  h1 { font-size: 36px; line-height: 40px; }
  .h1-br { display: none; }   /* the headline wraps by itself on a narrow screen */
  h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.9px; }
  .nav__bar, .is-scrolled .nav__bar { height: 56px; padding: 0 8px 0 16px; }
  .nav__links, .nav__actions { display: none; }
  .nav__menu { display: block; }
  .hero { padding: 112px 0 64px; }
  .hero__line { font-size: 18px; }
  .hero__stage { margin-top: 48px; }
  .play__icon { width: 52px; height: 52px; }
  .play__icon::before { border-width: 9px 0 9px 15px; margin-left: 4px; }
  .play { gap: 10px; }
  .play__label { font-size: 12px; }
  .btn { height: 44px; }   /* tap targets on touch screens */
  .logos { padding: 64px 0; }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .head p { flex: none; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio article { padding: 24px; }
  .trio article + article { border-left: 0; border-top: 1px solid var(--line); }
  .bento, .quotes { grid-template-columns: minmax(0, 1fr); }
  .card, .card--wide, .card--wide + .card { min-height: 380px; }
  .card__text { padding: 24px; }
  .card .ph { margin: 0 24px 24px; }
  .tabs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs__stack { margin-top: 40px; }
  .tabs__panel { aspect-ratio: 4 / 3; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq__topics { grid-auto-flow: column; justify-content: start; gap: 20px; }
  .faq__topics button { min-height: 44px; }
  .faq__list h3 { margin-left: 16px; }
  .faq details { padding: 4px 16px; }
  .cta { padding: 112px 8px 64px; }
  .cta h2 { font-size: 40px; line-height: 44px; letter-spacing: -1px; }
  .footer { padding: 0 8px 16px; }
  .footer__card { padding: 24px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer nav a { padding: 6px 0; }
}

/* ============ 14. STENNISFY PARTS added on top of the base ============ */
.center { text-align: center; }
.num { margin-right: 10px; font: 400 11px/16.5px var(--font-mono); letter-spacing: 1px; color: var(--muted); }
.section--tight { padding: 32px 0; }
.actions--below { margin-top: 48px; }
/* SAMPLE marks: the same small monospace everywhere */
.mark { font: 500 11px/16px var(--font-mono); letter-spacing: 0; color: var(--muted); }
.card__pic .mark, .card__pic .src { color: var(--on-dark-muted); }
.card__pic .mark, .card__pic .src { position: absolute; padding: 2px 7px; border-radius: 6px; background: var(--scrim-strong); }
.card__pic .mark { top: 12px; right: 12px; }
.card__pic .src { left: 12px; bottom: 12px; font-size: 11.5px; line-height: 16px; }
.tag--row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 32px; }

/* problem: three pictures of where bettors look today, then the closing line */
.trio__pic { display: block; width: 100%; height: 220px; margin-bottom: 32px; border-radius: 12px; object-fit: cover; opacity: 0.7; }
.closing { max-width: 720px; margin: 48px auto 0; font-size: 20px; line-height: 28px; text-align: center; color: var(--body); }

/* why: four cards, each picture keeps its own shape so nothing inside it is cut off */
.bento--four .card, .bento--four .card--wide, .bento--four .card--wide + .card { min-height: 0; }
.bento--four .card:nth-child(n+3) { grid-column: span 3; }
.card__pic { position: relative; margin: auto 32px 32px; border-radius: 12px; overflow: hidden; }
.card__pic img { display: block; width: 100%; height: auto; }

/* in numbers */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.nums li { padding: 4px 28px; }
.nums li + li { border-left: 1px solid var(--line); }
.nums strong { display: block; font: 700 48px/48px var(--font-display); letter-spacing: -1.2px; font-variant-numeric: tabular-nums; }
.nums span { display: block; max-width: 210px; margin: 12px auto 0; font-size: 14px; line-height: 20px; color: var(--muted); }

/* thirteen tools: the tab picture */
.tabs__panel { border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow-panel); overflow: hidden; aspect-ratio: auto; }
.tabs__panel img { display: block; width: 100%; height: auto; }
.tabs__row strong { display: flex; align-items: baseline; }

/* how it works: the three-cell block as numbered steps */
.trio--steps { margin: 0; padding: 0; list-style: none; }
.trio--steps li { padding: 32px; }
.trio--steps li + li { border-left: 1px solid var(--line); }
.trio--steps .num { display: block; margin-bottom: 16px; }
.trio--steps h3 { font-size: 16px; line-height: 24px; }
.trio--steps p { margin: 8px 0 0; color: var(--muted); }

/* plans: two columns in one outlined box; Edge is the raised one */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 56px auto 0; border: 1px solid var(--line); border-radius: 8px; }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: 8px; }
.plan--hot { background: var(--slot); box-shadow: 0 0 0 1px var(--line-strong), 0 20px 25px -5px var(--shade), 0 8px 10px -6px var(--shade); }
.plan h3 { font-size: 18px; line-height: 28px; font-weight: 500; letter-spacing: -0.45px; }
.plan__note { font-size: 14px; line-height: 20px; color: var(--muted); }
.plan__price { margin-top: 16px; font-size: 30px; line-height: 36px; font-weight: 600; }
.plan__price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.checks { display: grid; gap: 8px; margin: 24px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 11px; height: 6px; border-left: 1.5px solid var(--blue-light); border-bottom: 1.5px solid var(--blue-light); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* questions: heading left, the list right */
.faq { grid-template-columns: minmax(0, 1fr) minmax(0, 730px); align-items: start; }
.faq__title { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: 0; }

/* footer: logo, the four links, the age line */
.footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer__row nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer .footer__base { display: block; }

@media (max-width: 1000px) {
  .bento--four .card:nth-child(n+3) { grid-column: span 1; }
  .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .closing { margin-top: 32px; font-size: 18px; }
  .card__pic { margin: auto 24px 24px; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums li { padding: 20px 12px; }
  .nums li + li { border-left: 0; }
  .nums li:nth-child(even) { border-left: 1px solid var(--line); }
  .nums li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nums strong { font-size: 36px; line-height: 40px; }
  .trio--steps li { padding: 24px; }
  .trio--steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .plans { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .plan { padding: 24px; }
  .footer__row nav a { padding: 10px 0; }
}

@media (max-width: 1000px) { .hero__labels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .hero__labels { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .hero__labels li { min-height: 56px; padding: 12px 20px; }
}

/* ============ 15. TEST TOOL: seven looks for the six hero features, chosen with the bar at the bottom of the screen ============
   "grid" is the base look above. Each other look only restyles the same list. Delete this section with the bar once one is chosen. */
.tester { position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; max-width: calc(100% - 16px); padding: 6px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); box-shadow: var(--shadow-panel); overflow-x: auto; font-size: 13px; white-space: nowrap; }
.tester span { padding: 0 10px; color: var(--muted); }
.tester button { height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--body); font: 500 13px var(--font-ui); cursor: pointer; }
.tester button:hover { background: var(--quiet); }
.tester button[aria-pressed="true"] { background: var(--blue); color: var(--primary-ink); }

/* shared by the looks that are separate items instead of one block */
.hero__labels .six__line { display: none; }   /* the price line exists only in the "Line" look */
.hero__labels:is([data-style="cards"], [data-style="outline"], [data-style="list"], [data-style="rails"], [data-style="pills"], [data-style^="line"]) { border: 0; border-radius: 0; background: none; overflow: visible; }
/* the icon in a small square tile */
.hero__labels:is([data-style="cards"], [data-style="list"], [data-style="rows"], [data-style^="line"]) svg { box-sizing: content-box; padding: 8px; border-radius: 8px; background: var(--quiet); box-shadow: inset 0 0 0 1px var(--line); stroke: var(--ink); }

/* tinted cards: icon tile on top, the label at the foot, a blue light in the corner */
.hero__labels[data-style="cards"] { gap: 16px; }
.hero__labels[data-style="cards"] li { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; min-height: 148px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint), var(--card); font-size: 16px; line-height: 22px; font-weight: 600; }

/* outlined cards: plain outline, blue icon above the label */
.hero__labels[data-style="outline"] { gap: 16px; }
.hero__labels[data-style="outline"] li { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: none; transition: border-color 0.15s var(--ease); }
.hero__labels[data-style="outline"] li:hover { border-color: var(--blue); }
.hero__labels[data-style="outline"] svg { width: 24px; height: 24px; }

/* open list: no boxes at all, an icon tile beside each label */
/* (the "Line" look uses this same list under 900px wide) */
.hero__labels:is([data-style="list"], [data-style^="line"]) { gap: 20px 40px; max-width: 960px; }
.hero__labels:is([data-style="list"], [data-style^="line"]) li { min-height: 0; padding: 0; background: none; }

/* row card: one narrow card, six rows */
.hero__labels[data-style="rows"] { grid-template-columns: minmax(0, 1fr); max-width: 460px; background: var(--line); box-shadow: var(--shadow-panel); }
.hero__labels[data-style="rows"] li { min-height: 60px; padding: 10px 20px; background: var(--card); }

/* rails: cells drawn on thin lines with a small cross at each corner */
.hero__labels[data-style="rails"] { gap: 0; }
.hero__labels[data-style="rails"] li { position: relative; flex-direction: column; align-items: flex-start; gap: 16px; min-height: 132px; padding: 24px; background: var(--tint); box-shadow: 0 0 0 0.5px var(--line-strong); }
.hero__labels[data-style="rails"] li::before { content: "+"; position: absolute; left: -5px; top: -11px; font: 400 16px/20px var(--font-mono); color: var(--muted); }

/* pills: the first version */
.hero__labels[data-style="pills"] { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 880px; margin-top: 28px; }
.hero__labels[data-style="pills"] li { min-height: 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--quiet); font-size: 12px; line-height: 16px; color: var(--body); }
.hero__labels[data-style="pills"] svg { display: none; }

@media (max-width: 560px) {
  .hero__labels:is([data-style="cards"], [data-style="outline"], [data-style="rails"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__labels:is([data-style="cards"], [data-style="outline"], [data-style="rails"]) li { padding: 16px; font-size: 14px; line-height: 20px; }
  .hero__labels[data-style="cards"] { gap: 12px; }
  .hero__labels[data-style="outline"] { gap: 12px; }
}

/* line: the six features as notifications pinned along one price line (900px and wider; narrower screens get the open list above).
   Heights are fixed so the picture is exact: pill 64, connector 36, crest of the line at 100, trough at 130, block 230. */
@media (min-width: 900px) {
  .hero__labels[data-style^="line"] { display: block; position: relative; height: 230px; max-width: none; }
  .hero__labels[data-style^="line"] .six__line { display: block; position: absolute; inset: 0; pointer-events: none; }
  .hero__labels[data-style^="line"] .six__line svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; fill: none; stroke: var(--blue); stroke-width: 2; filter: var(--line-glow); }
  .six__end { position: absolute; left: 98.5%; top: 72px; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue-light); }
  /* each notification: a pill centred on its dot, joined to it by a short connector */
  .hero__labels[data-style^="line"] li:not(.six__line) { position: absolute; left: calc(var(--t) * 100%); transform: translateX(-50%); width: max-content; max-width: 30%; height: 64px; gap: 12px; padding: 0 20px 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-size: 14px; line-height: 18px; }
  .hero__labels[data-style^="line"] li:nth-child(1) { --t: 0.10; max-width: 20%; }
  .hero__labels[data-style^="line"] li:nth-child(2) { --t: 0.26; }
  .hero__labels[data-style^="line"] li:nth-child(3) { --t: 0.42; }
  .hero__labels[data-style^="line"] li:nth-child(4) { --t: 0.58; }
  .hero__labels[data-style^="line"] li:nth-child(5) { --t: 0.74; }
  .hero__labels[data-style^="line"] li:nth-child(6) { --t: 0.90; max-width: 20%; }
  .hero__labels[data-style^="line"] li:nth-child(odd):not(.six__line) { top: 0; }
  .hero__labels[data-style^="line"] li:nth-child(even):not(.six__line) { bottom: 0; }
  .hero__labels[data-style^="line"] li:not(.six__line) svg { padding: 0; border-radius: 0; background: none; box-shadow: none; stroke: var(--blue-light); }
  .hero__labels[data-style^="line"] li:not(.six__line)::before { content: ""; position: absolute; left: 50%; width: 1px; height: 36px; margin-left: -0.5px; background: var(--blue); }
  .hero__labels[data-style^="line"] li:not(.six__line)::after { content: ""; position: absolute; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--bg); }
  .hero__labels[data-style^="line"] li:nth-child(odd)::before { top: calc(100% + 1px); }
  .hero__labels[data-style^="line"] li:nth-child(odd)::after { top: calc(100% + 32px); }
  .hero__labels[data-style^="line"] li:nth-child(even)::before { bottom: calc(100% + 1px); }
  .hero__labels[data-style^="line"] li:nth-child(even)::after { bottom: calc(100% + 32px); }
}
/* the line draws once from left to right; each notification appears as the line reaches its dot; then nothing moves */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero__labels[data-style^="line"] .six__line svg { animation: six-draw 2.4s linear both; }
  .hero__labels[data-style^="line"] li:not(.six__line) { animation: six-pop 0.4s var(--ease) both; animation-delay: calc(2.4s * var(--t)); }
  .hero__labels[data-style^="line"] .six__end { animation: six-pop 0.3s var(--ease) 2.35s both; }
  @keyframes six-draw { from { clip-path: inset(-20px 100% -20px 0); } to { clip-path: inset(-20px -20px -20px 0); } }
  @keyframes six-pop { from { opacity: 0; translate: 0 6px; } }
}

/* ---- four more versions of the line (same notifications, same rules; each only overrides what differs) ---- */
.hero__labels .six__line path { display: none; }   /* one drawing per version; only the chosen one shows */
.six__s1 { stop-color: var(--blue); stop-opacity: 0.22; }
.six__s2 { stop-color: var(--blue); stop-opacity: 0; }
@media (min-width: 900px) {
  .hero__labels:is([data-style="line"], [data-style="line-dots"]) .p-wave,
  .hero__labels[data-style="line-dots"] .p-area,
  .hero__labels[data-style="line-rise"] .p-rise,
  .hero__labels[data-style="line-caps"] .p-caps,
  .hero__labels[data-style="line-steps"] .p-steps { display: inline; }
  .hero__labels .six__line .p-area { fill: url(#six-fade); stroke: none; }

  /* rising: every crest and trough sits higher than the one before, like a price climbing; the notifications step up with it */
  .hero__labels[data-style="line-rise"] { height: 250px; }
  .hero__labels[data-style="line-rise"] li:nth-child(1):not(.six__line) { top: 40px; }
  .hero__labels[data-style="line-rise"] li:nth-child(3):not(.six__line) { top: 20px; }
  .hero__labels[data-style="line-rise"] li:nth-child(5):not(.six__line) { top: 0; }
  .hero__labels[data-style="line-rise"] li:nth-child(2):not(.six__line) { bottom: auto; top: 186px; }
  .hero__labels[data-style="line-rise"] li:nth-child(4):not(.six__line) { bottom: auto; top: 166px; }
  .hero__labels[data-style="line-rise"] li:nth-child(6):not(.six__line) { bottom: auto; top: 146px; }
  .hero__labels[data-style="line-rise"] .six__end { top: 60px; }

  /* icon dots and captions: the icon leaves the pill and becomes the dot on the line */
  .hero__labels:is([data-style="line-dots"], [data-style="line-caps"]) li:not(.six__line) svg { position: absolute; left: 50%; box-sizing: border-box; width: 30px; height: 30px; margin-left: -15px; padding: 6px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--blue); }
  .hero__labels:is([data-style="line-dots"], [data-style="line-caps"]) li:not(.six__line)::after { content: none; }

  /* icon dots: text-only pills, a soft blue fade under the line */
  .hero__labels[data-style="line-dots"] li:not(.six__line) { justify-content: center; padding: 0 22px; text-align: center; }
  .hero__labels[data-style="line-dots"] li:not(.six__line)::before { height: 22px; }
  .hero__labels[data-style="line-dots"] li:nth-child(odd):not(.six__line) svg { top: calc(100% + 22px); }
  .hero__labels[data-style="line-dots"] li:nth-child(even):not(.six__line) svg { bottom: calc(100% + 22px); }

  /* captions: no pills and no connectors, the words sit above or below their icon dot; the lowest block of the five */
  .hero__labels[data-style="line-caps"] { height: 164px; }
  .hero__labels[data-style="line-caps"] li:not(.six__line) { justify-content: center; height: auto; max-width: 22%; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; }
  .hero__labels[data-style="line-caps"] li:nth-child(1), .hero__labels[data-style="line-caps"] li:nth-child(6) { max-width: 20%; }
  .hero__labels[data-style="line-caps"] li:nth-child(odd):not(.six__line) { top: auto; bottom: 124px; }
  .hero__labels[data-style="line-caps"] li:nth-child(even):not(.six__line) { bottom: auto; top: 124px; }
  .hero__labels[data-style="line-caps"] li:not(.six__line)::before { content: none; }
  .hero__labels[data-style="line-caps"] li:nth-child(odd):not(.six__line) svg { top: calc(100% + 12px); }
  .hero__labels[data-style="line-caps"] li:nth-child(even):not(.six__line) svg { bottom: calc(100% + 12px); }
  .hero__labels[data-style="line-caps"] .six__end { top: 38px; }

  /* steps: the line moves in steps, the way a bookmaker's price does; squarer notifications to match */
  .hero__labels[data-style="line-steps"] .six__line svg { stroke-linejoin: round; }
  .hero__labels[data-style="line-steps"] li:not(.six__line) { border-radius: 14px; }
}
@media (min-width: 900px) {
  .hero__labels[data-style^="line"] li:not(.six__line) { z-index: 1; }   /* notifications and icon dots sit on top of the line, never under it */
}

/* ============ 18. HERO BACKGROUND: a glowing price line behind the app picture, visible to its left and right (where the reference has its photo) ============ */
.hero__bg { position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.hero__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__bg-line { fill: none; stroke: var(--blue-light); stroke-width: 3; stroke-linecap: round; filter: var(--hero-glow); }
.hero__bg-area { fill: url(#hero-fade); }
.hero__s1 { stop-color: var(--blue); stop-opacity: 0.4; }
.hero__s2 { stop-color: var(--blue); stop-opacity: 0; }
.hero__bg-dot { position: absolute; left: 96.5%; top: 30%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--lime); box-shadow: var(--lime-glow); }
@media (prefers-reduced-motion: no-preference) {
  /* the line draws once from left to right when the page opens, then the dot lands; nothing loops */
  .hero__bg svg { animation: bg-draw 1.8s var(--ease) 0.2s both; }
  .hero__bg-dot { animation: bg-dot 0.4s var(--ease) 1.9s both; }
  @keyframes bg-draw { from { clip-path: inset(-60px 100% 0 0); } to { clip-path: inset(-60px -60px 0 0); } }
  @keyframes bg-dot { from { opacity: 0; scale: 0.4; } }
}
@media (max-width: 760px) { .hero__bg-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; } .hero__bg-line { stroke-width: 2; } }



/* ============ 19. MATCH REPORT CARD: the real report on a soft court background ============ */
.card__pic--mr { display: grid; place-items: center; background: url("assets/match-report-bg.png") center / cover no-repeat; }
.card__pic--mr::before { content: ""; grid-area: 1 / 1; width: 100%; padding-bottom: 66.667%; }   /* holds the slot at 3:2 until the panel needs more */
.mr__panel { grid-area: 1 / 1; width: 88%; margin: 40px 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--mr-surface); box-shadow: var(--mr-shadow); text-align: left; }   /* 40px on top keeps clear of the SAMPLE tag */
.mr__head { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.mr__body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--body); }
/* the app picture is the whole report row; only its statistics box (the right-hand 36%) is shown, so the numbers are large enough to read */
.mr__stats { position: relative; aspect-ratio: 718 / 356; margin-top: 16px; border-radius: 8px; overflow: hidden; }
.mr__stats img { position: absolute; left: -173.68%; top: -30.9%; width: 278.55%; max-width: none; height: auto; }
@media (max-width: 640px) { .mr__body { -webkit-line-clamp: 2; } }
