/* Rovantra — site styles. Phone first; larger layouts added with min-width queries.
   Colours and type follow Rovantra Brand Pack v1.0 (approved 18 Oct 2026). */

@font-face { font-family: "Exo 2"; font-weight: 400; font-display: swap; src: url("../fonts/Exo2-Regular.woff2") format("woff2"), url("../fonts/Exo2-Regular.ttf") format("truetype"); }
@font-face { font-family: "Exo 2"; font-weight: 500; font-display: swap; src: url("../fonts/Exo2-Medium.woff2") format("woff2"), url("../fonts/Exo2-Medium.ttf") format("truetype"); }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url("../fonts/Exo2-SemiBold.woff2") format("woff2"), url("../fonts/Exo2-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url("../fonts/Exo2-Bold.woff2") format("woff2"), url("../fonts/Exo2-Bold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/Inter_18pt-Regular.woff2") format("woff2"), url("../fonts/Inter_18pt-Regular.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/Inter_18pt-Medium.woff2") format("woff2"), url("../fonts/Inter_18pt-Medium.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/Inter_18pt-SemiBold.woff2") format("woff2"), url("../fonts/Inter_18pt-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/Inter_18pt-Bold.woff2") format("woff2"), url("../fonts/Inter_18pt-Bold.ttf") format("truetype"); }

:root {
  /* Brand */
  --purple: #6932FF;
  --purple-hi: #9A78FF;      /* purple for text on dark backgrounds (contrast) */
  --purple-deep: #2A1670;
  --charcoal: #262E33;
  --white: #FFFFFF;

  /* Dark chrome */
  --bg: #0B0D13;
  --bg-2: #10131B;
  --surface: #161A24;
  --surface-2: #1D2230;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F4F5F8;
  --muted: #A0A8B8;
  --faint: #6C7486;

  /* Light band */
  --paper: #F4F5F8;
  --ink: #262E33;
  --ink-muted: #59636B;

  /* Functional status (kept separate from brand colour) */
  --ok: #34D27B;
  --warn: #FFB547;
  --bad: #FF5468;
  --info: #4EA8F0;
  --t-best: #B48CFF;   /* session best */
  --t-pb: #34D27B;     /* personal best */
  --t-slow: #F2C94C;   /* slower */

  --font-head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--purple-hi); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--purple); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 13, 19, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.nav-open .site-header::before { background: var(--bg); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  overflow-y: auto;
}
.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.site-nav a {
  text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 28px;
  padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px;
}
.site-nav a img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav a[aria-current="page"] { color: var(--purple-hi); }
.site-nav .btn { margin-top: 20px; justify-content: center; font-size: 17px; border-bottom: 0; }

@media (min-width: 860px) {
  .brand img { height: 24px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; background: none; padding: 0; flex-direction: row; align-items: center; gap: 4px;
    opacity: 1; transform: none; visibility: visible; overflow: visible;
  }
  .site-nav a { font-size: 15px; font-family: var(--font-body); font-weight: 500; padding: 8px 14px; border: 0; border-radius: 999px; color: var(--muted); }
  .site-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
  .site-nav a img { display: none; }
  .site-nav a[aria-current="page"] { color: var(--text); background: rgba(105,50,255,.18); }
  .site-nav .btn { margin: 0 0 0 10px; font-size: 15px; color: #fff; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 30px -10px rgba(105, 50, 255, .7); }
.btn-primary:hover { background: #7A4AFF; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 auto; justify-content: center; }
@media (min-width: 560px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--purple-hi);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--purple); border-radius: 2px; }
.display { font-size: clamp(38px, 10vw, 76px); font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: clamp(30px, 7vw, 52px); font-weight: 700; letter-spacing: -.015em; }
.h3 { font-size: 22px; font-weight: 600; }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); line-height: 1.55; }
.accent { color: var(--purple-hi); }
.muted { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
.section-head { display: grid; gap: 16px; margin-bottom: 36px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
@media (min-width: 860px) { .section { padding: 112px 0; } .section-head { margin-bottom: 52px; } }

.band-light { background: var(--paper); color: var(--ink); }
.band-light .lead, .band-light .muted { color: var(--ink-muted); }
.band-light .eyebrow { color: var(--purple); }
.band-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 64px; overflow: hidden; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -40% auto -40%; height: 760px;
  background: radial-gradient(closest-side, rgba(105, 50, 255, .38), rgba(105, 50, 255, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 65%);
  opacity: .5; pointer-events: none;
}
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .display { max-width: 12ch; }
.hero-note { font-size: 13px; color: var(--faint); }
@media (min-width: 1000px) {
  .hero { padding: 88px 0 110px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}

.product-hero .product-badge { display: flex; align-items: center; gap: 14px; }
.product-hero .product-badge img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 10px 30px -8px rgba(105,50,255,.6); }
.product-hero .product-badge span { font: 600 15px/1.2 var(--font-head); color: var(--muted); }
.product-hero .product-badge b { display: block; color: var(--text); font-size: 20px; }

/* ---------- Problem list ---------- */
.problem-list { display: grid; gap: 14px; counter-reset: p; }
.problem-list li {
  counter-increment: p;
  background: #fff; border: 1px solid #E1E4EA; border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative;
}
.problem-list li::before {
  content: "0" counter(p); position: absolute; left: 22px; top: 22px;
  font: 700 20px/1 var(--font-head); color: var(--purple);
}
.problem-list h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.problem-list p { color: var(--ink-muted); font-size: 15px; }
@media (min-width: 860px) { .problem-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } .problem-list li { padding: 76px 26px 28px; } .problem-list li::before { top: 28px; left: 26px; font-size: 28px; } }

/* ---------- Solution ---------- */
.solution { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .solution { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hub { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; }
.hub svg { width: 100%; height: 100%; }
.hub-node { font: 600 13px var(--font-body); fill: var(--text); }
.hub-ring { fill: none; stroke: var(--line-2); stroke-dasharray: 3 6; }
.hub-spoke { stroke: rgba(105,50,255,.55); stroke-width: 1.5; stroke-dasharray: 4 6; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: 40; } }  /* positive offset: dashes travel from the outer nodes into Rovantra */
.tick-list { display: grid; gap: 14px; }
.tick-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.tick-list li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: rgba(105,50,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A78FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.tick-list b { display: block; font-weight: 600; }
.tick-list span { color: var(--muted); font-size: 15px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .card-grid.c3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } .card-grid.c2 { grid-template-columns: repeat(2, 1fr); gap: 20px; } .card-grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: grid; gap: 12px; align-content: start;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(105,50,255,.16); color: var(--purple-hi); margin-bottom: 6px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Products ---------- */
.products { display: grid; gap: 18px; }
@media (min-width: 900px) { .products { grid-template-columns: 1fr 1fr; gap: 24px; } }
.product-card {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); border-radius: 20px; padding: 28px;
  background: var(--surface); text-decoration: none;
  display: grid; gap: 18px; align-content: start;
  transition: border-color .25s, transform .25s;
}
.product-card::before {
  content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 90%; aspect-ratio: 1;
  display: none;
}
.product-card:hover { border-color: rgba(154,120,255,.6); transform: translateY(-3px); }
.product-card header { display: flex; align-items: center; gap: 16px; }
.product-card header img { width: 60px; height: 60px; border-radius: 15px; }
.product-card .kicker { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--purple-hi); margin-bottom: 6px; }
.product-card h3 { font-size: 28px; font-weight: 700; }
.product-card p { color: var(--muted); }
.product-card ul { display: grid; gap: 8px; font-size: 15px; }
.product-card li { display: flex; gap: 10px; align-items: baseline; }
.product-card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--purple); transform: translateY(-2px); }
.product-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); margin-top: 4px; }
.product-card .go svg { width: 18px; transition: transform .2s; }
.product-card:hover .go svg { transform: translateX(4px); }
.link-note {
  margin-top: 22px; display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: 15px;
}
.link-note .chain { display: inline-flex; align-items: center; gap: 6px; }
.link-note img { width: 26px; height: 26px; border-radius: 7px; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 32px; align-items: center; }
.founder-photo { position: relative; max-width: 360px; width: 78%; margin: 0 auto; }
.founder-photo img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; width: 100%; border: 1px solid var(--line-2); }
.founder-photo::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 70%; height: 70%; z-index: -1;
  border-radius: 24px; background: var(--purple);
}
.founder-photo { isolation: isolate; }
.founder-copy { display: grid; gap: 18px; }
.founder-copy blockquote {
  margin: 6px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--purple);
  font: 500 19px/1.45 var(--font-head); color: var(--text);
}
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
@media (min-width: 900px) { .founder { grid-template-columns: 4fr 7fr; gap: 72px; } .founder-photo { width: 100%; } }

/* ---------- Feature rows (product pages) ---------- */
.feature { display: grid; gap: 32px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature-copy { display: grid; gap: 16px; align-content: start; }
.feature-copy .num { font: 700 14px/1 var(--font-head); color: var(--purple-hi); letter-spacing: .1em; }
.feature-copy h2, .feature-copy h3 { font-size: clamp(26px, 5.5vw, 38px); font-weight: 700; }
.feature-copy ul { display: grid; gap: 10px; margin-top: 4px; }
.feature-copy li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.feature-copy li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 2px; background: var(--purple); }
.feature-visual { min-width: 0; }
@media (min-width: 1000px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 88px 0; }
  .feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature.flip .feature-copy { order: 2; }
  .feature.wide { grid-template-columns: 1fr; }
  .feature.wide .feature-copy { max-width: 720px; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(105,50,255,.14); color: #CDBEFF; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--bg-2); padding: 20px; }
.stats b { display: block; font: 700 22px/1.1 var(--font-head); margin-bottom: 4px; }
.stats span { color: var(--muted); font-size: 14px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- CTA / contact ---------- */
.cta {
  border-radius: 24px; padding: 40px 24px; text-align: center; display: grid; gap: 20px; justify-items: center;
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.cta .h2 { max-width: 16ch; }
.cta .lead { max-width: 560px; }
.cta .btn-row { justify-content: center; }
.social-row { display: flex; gap: 10px; justify-content: center; }
.social {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text); transition: background .2s, border-color .2s;
}
.social:hover { background: var(--purple); border-color: var(--purple); }
.social svg { width: 20px; height: 20px; }
@media (min-width: 860px) { .cta { padding: 72px 40px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--bg); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 460px; }
.footer-brand img { width: 440px; max-width: 100%; height: auto; }
.footer-brand p { color: var(--text); font-size: 15px; font-weight: 700; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-links h4 { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-links a { display: block; text-decoration: none; color: var(--muted); padding: 6px 0; font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; }
.footer-social .social { width: 42px; height: 42px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--faint); font-size: 13px; }
.footer-base a { color: var(--faint); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr; } .footer-links { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Simple pages ---------- */
.prose { max-width: 720px; display: grid; gap: 18px; }
.prose h2 { font-size: 24px; margin-top: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.link-note { flex-direction: column; gap: 8px; }
@media (min-width: 600px) { .link-note { flex-direction: row; gap: 12px; } }

/* ---------- Photo band ---------- */
.photo-band { position: relative; min-height: 340px; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,13,19,.15) 30%, rgba(11,13,19,.9)); }
.photo-band p { font: 700 clamp(26px, 6vw, 48px)/1.1 var(--font-head); padding: 28px 0; max-width: 18ch; }
@media (min-width: 860px) { .photo-band { min-height: 520px; } .photo-band p { padding: 48px 0; } }

/* ---------- Founder extras ---------- */
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.credentials li { background: var(--surface); padding: 18px; }
.credentials b { display: block; font: 700 19px/1.2 var(--font-head); color: var(--purple-hi); }
.credentials span { color: var(--muted); font-size: 14px; }
@media (min-width: 860px) { .credentials { grid-template-columns: repeat(4, 1fr); } .credentials li { padding: 24px; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: 12px; font-weight: 600; background: linear-gradient(transparent, rgba(11,13,19,.9)); }
@media (min-width: 860px) { .gallery { gap: 20px; margin-top: 20px; } .gallery img { aspect-ratio: 4 / 3; } .gallery figcaption { font-size: 14px; padding: 40px 18px 14px; } }

/* Footer "Follow" column: centred */
.footer-links > div:last-child { grid-column: 1 / -1; text-align: center; }
.footer-social { justify-content: center; }
@media (min-width: 860px) { .footer-links > div:last-child { grid-column: auto; } }

/* ---------- Photo hero (round 3) ---------- */
.hero-photo { background: #07080C; }
.hero-photo::before, .hero-photo::after { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 30% 60%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,12,.8) 0%, rgba(7,8,12,.72) 45%, rgba(7,8,12,.96) 100%);
}
@media (min-width: 1000px) {
  .hero-bg img { object-position: center 55%; }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(7,8,12,.94) 0%, rgba(7,8,12,.82) 42%, rgba(7,8,12,.55) 75%, rgba(7,8,12,.7) 100%),
      linear-gradient(180deg, rgba(7,8,12,.4) 0%, rgba(7,8,12,0) 30%, rgba(7,8,12,.9) 100%);
  }
}
.hero-photo .lead { color: #D4D8E0; }
.display .line { display: block; white-space: nowrap; }
.hero-copy .display { max-width: none; font-size: clamp(30px, 8.4vw, 70px); }
@media (min-width: 1000px) { .hero-copy .display { font-size: clamp(44px, 4.4vw, 68px); } }

/* Gallery: show the whole photo */
.gallery { max-width: 980px; margin-left: auto; margin-right: auto; }
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 860px) { .gallery img { aspect-ratio: 3 / 4; } }

/* Photo band on laptops: wide crowd shot instead of a squashed portrait */
.photo-band picture { position: absolute; inset: 0; z-index: -2; }
@media (min-width: 860px) { .photo-band { min-height: 560px; } .photo-band img { object-position: center 55%; } }
@media (min-width: 1000px) {
  .hero-photo .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-copy .display { font-size: clamp(40px, 3.6vw, 58px); }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(7,8,12,.92) 0%, rgba(7,8,12,.78) 40%, rgba(7,8,12,.45) 75%, rgba(7,8,12,.6) 100%),
      linear-gradient(180deg, rgba(7,8,12,.35) 0%, rgba(7,8,12,0) 30%, rgba(7,8,12,.9) 100%);
  }
}

/* Round 4 */
/* Footer icons: .footer-links a (block + padding) was pushing the icons off centre */
.footer-links a.social { display: grid; place-items: center; padding: 0; }

/* Hero: taller on laptops so the photo has room */
@media (min-width: 1000px) {
  .hero-photo { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; padding: 120px 0; }
}
/* Hero on phones: photo sits behind the heading, with the lead cars above the laptop */
@media (max-width: 999px) {
  .hero-bg { bottom: auto; height: 760px; }
  .hero-bg img { object-position: center bottom; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7,8,12,.82) 0%, rgba(7,8,12,.62) 40%, rgba(7,8,12,.5) 70%, #07080C 100%); }
}
@media (max-width: 999px) {
  .hero-bg { height: 133.4vw; max-height: 1100px; }
  .hero-bg img { object-position: center top; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7,8,12,.85) 0%, rgba(7,8,12,.6) 35%, rgba(7,8,12,.45) 62%, rgba(7,8,12,.75) 85%, #07080C 100%); }
}
@media (max-width: 999px) { .hero-bg { height: calc(133.4vw - 80px); } .hero-bg img { height: calc(100% + 80px); transform: translateY(-80px); } }
/* Round 5: phone hero readability. A darker scrim over the text zone, easing off lower down so the cars still show. */
@media (max-width: 999px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(7,8,12,.9) 0%, rgba(7,8,12,.86) 45%, rgba(7,8,12,.6) 68%, rgba(7,8,12,.55) 80%, #07080C 100%); }
  .hero-photo .hero-copy { text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.55); }
  .hero-photo .lead { color: #E6E9EF; }
  .hero-photo .btn-ghost { background: rgba(7,8,12,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}

/* Round 6: phone footer and menu */
.nav-social { margin-top: 28px; display: grid; justify-items: center; gap: 14px; }
.nav-social span { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.nav-social div { display: flex; gap: 14px; }
.site-nav .nav-social a.social { width: 52px; height: 52px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 0; }
.site-nav .nav-social a.social svg { width: 22px; height: 22px; }
@media (min-width: 860px) { .nav-social { display: none; } }
@media (max-width: 859px) {
  .footer-brand { max-width: none; }
  .footer-brand img { width: 100%; max-width: 440px; }
  .footer-links > div:last-child { display: none; }
}

/* Round 7: photo heroes on every page */
.hero-short { position: relative; isolation: isolate; overflow: hidden; }
.hero-short .hero-bg img { object-position: center 40%; }
@media (min-width: 1000px) { .hero-short { min-height: 0; padding: 120px 0; display: block; } }
@media (max-width: 999px) { .hero-short .hero-bg { height: 100%; } .hero-short .hero-bg img { height: 100%; transform: none; object-position: center; } }
.hero-short .prose p, .hero-short .prose li { color: #D4D8E0; }
.hero-short .hero-bg::after { background: linear-gradient(180deg, rgba(7,8,12,.86), rgba(7,8,12,.9)) !important; }
/* Timing: stats strip sits clear of the photo hero */
.stats-wrap { margin-top: 40px; position: relative; z-index: 1; }
.hero-photo { padding-bottom: 72px; }
@media (min-width: 1000px) { .hero-photo { padding-bottom: 120px; } }

/* Pilot CTA: Harri with the Jones Motorsport drivers behind the text */
.cta { position: relative; overflow: hidden; isolation: isolate; background: #0B0D13; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg picture, .cta-bg img { display: block; width: 100%; height: 100%; }
.cta-bg img { object-fit: cover; object-position: center 15%; }
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 75% at 50% 55%, rgba(7,8,12,.88) 0%, rgba(7,8,12,.72) 60%, rgba(7,8,12,.55) 100%);
}
.cta .lead { color: #E1E5EC; }
.cta .h2, .cta .lead { text-shadow: 0 2px 16px rgba(0,0,0,.5); }
@media (max-width: 699px) { .cta-bg::after { background: linear-gradient(180deg, rgba(7,8,12,.55) 0%, rgba(7,8,12,.86) 38%, rgba(7,8,12,.9) 100%); } .cta-bg img { object-position: center top; } .cta { padding-top: 140px; } }
@media (max-width: 699px) {
  .cta-bg picture { height: auto; }
  .cta-bg img { height: auto; object-fit: initial; }
  .cta-bg::after { background: linear-gradient(180deg, rgba(7,8,12,.35) 0%, rgba(7,8,12,.6) 30%, rgba(7,8,12,.92) 55%, #0B0D13 70%); }
  .cta { padding-top: 220px; }
}
/* Laptop: text on the left over a dark fade, the team stays visible on the right */
@media (min-width: 900px) {
  .cta { text-align: left; justify-items: start; padding: 80px 56px; min-height: 520px; align-content: center; }
  .cta .btn-row, .cta .social-row { justify-content: flex-start; }
  .cta .h2, .cta .lead { max-width: 30rem; }
  .cta-bg img { object-position: right 20%; width: 72%; margin-left: auto; }
  .cta-bg::after { background: linear-gradient(90deg, #0B0D13 0%, #0B0D13 30%, rgba(11,13,19,.85) 45%, rgba(11,13,19,.25) 70%, rgba(11,13,19,.1) 100%); }
}

/* Founder: grid photo behind the story; credentials and photos in their own block */
.founder-band { position: relative; isolation: isolate; overflow: hidden; border-bottom: 0; }
.founder-bg { position: absolute; inset: 0; z-index: -1; }
.founder-bg picture, .founder-bg img { display: block; width: 100%; height: 100%; }
.founder-bg img { object-fit: cover; object-position: center 55%; }
.founder-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,12,.86), rgba(7,8,12,.8) 50%, rgba(7,8,12,.92)); }
@media (min-width: 900px) { .founder-bg::after { background: linear-gradient(90deg, rgba(7,8,12,.55) 0%, rgba(7,8,12,.75) 35%, rgba(7,8,12,.92) 60%, rgba(7,8,12,.95) 100%); } }
.founder-band .muted { color: #C9CED8; }
.founder-band .founder-copy { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.founder-more { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 64px 0; }
.founder-more .credentials { margin-top: 0; }
.founder-more .gallery { margin-top: 32px; }
@media (min-width: 860px) { .founder-more { padding: 88px 0; } .founder-more .gallery { margin-top: 40px; } }
.founder-band .lead { color: #E1E5EC; }
@media (max-width: 899px) { .founder-bg::after { background: linear-gradient(180deg, rgba(7,8,12,.8), rgba(7,8,12,.9) 45%, rgba(7,8,12,.94)); } }
/* Tighter gap between the founder photo block and the credentials */
.founder-more { padding-top: 28px; }
@media (min-width: 860px) { .founder-more { padding-top: 40px; } }
.founder-band { padding-bottom: 48px; }
@media (min-width: 860px) { .founder-band { padding-bottom: 72px; } }

/* Round 8: three products (Sim, Timing, OS). No purple glows or gradients. */
.eco-chips { display: grid; gap: 10px; }
.eco-chips a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; text-decoration: none;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(7,8,12,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s;
}
.eco-chips a:hover { border-color: rgba(154,120,255,.6); }
.eco-chips img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.eco-chips span { font-size: 14px; color: var(--muted); line-height: 1.3; text-shadow: none; }
.eco-chips b { display: block; color: var(--text); font: 600 16px/1.3 var(--font-head); }
@media (min-width: 560px) { .eco-chips { grid-template-columns: repeat(3, 1fr); } .eco-chips a { flex-direction: column; align-items: flex-start; gap: 10px; } }
@media (min-width: 1000px) { .eco-chips a { flex-direction: row; align-items: center; } .eco-chips { grid-template-columns: 1fr; max-width: 420px; } }
.hero-photo .hero-note { color: #D9DEE7; font-weight: 700; }

.products.three { gap: 18px; }
@media (min-width: 1000px) { .products.three { grid-template-columns: repeat(3, 1fr); gap: 20px; } .products.three .product-card h3 { font-size: 24px; } }
.product-card .tag { width: fit-content; font: 600 12px/1 var(--font-body); padding: 7px 10px; border-radius: 999px; }
.product-card .tag.soon { background: rgba(255,181,71,.12); color: #FFD08A; }
.product-card .tag.pilot { background: rgba(255,255,255,.06); color: var(--muted); }

/* Home hero: Rovantra OS laptop in front of the Timing laptop and phone */
.hero-devices.trio .device-back { width: 62%; margin-left: auto; margin-right: 6%; position: relative; z-index: 0; }
.hero-devices.trio .device-front { width: 80%; margin: -18% 0 0 0; position: relative; z-index: 1; }
.hero-devices.trio .device-front .device-laptop { width: 760px; }
.hero-grid > * { min-width: 0; }
.hero-devices.trio .device-front { contain: inline-size; }
.hero-devices.trio .device-phone { z-index: 2; }
.hero-devices.trio .illustrative { max-width: 60%; }
@media (min-width: 1000px) { .hero-devices.trio .device-phone { bottom: -24px; } }

/* Products: Rovantra OS leads, Timing beside it, Sim as an add-on */
.products.eco { gap: 18px; }
.product-card.featured { border-color: rgba(154,120,255,.5); }
.product-card.featured ul { grid-template-columns: 1fr; }
.product-card.addon { background: var(--bg-2); }
.product-card.addon h3 { font-size: 22px; }
.product-card.addon header img { width: 48px; height: 48px; border-radius: 12px; }
@media (min-width: 700px) { .product-card.featured ul { grid-template-columns: 1fr 1fr; gap: 8px 24px; } }
@media (min-width: 1000px) {
  .products.eco { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 20px; }
  .products.eco .featured { grid-row: 1 / span 2; padding: 36px; }
  .products.eco .featured h3 { font-size: 34px; }
}
@media (min-width: 800px) { .products.trial-pick { grid-template-columns: 1fr 1fr; max-width: 960px; margin-inline: auto; } }
.center { text-align: center; }
.products.trial-pick .product-card { display: flex; flex-direction: column; }
.products.trial-pick .product-card .go { margin-top: auto; }
@media (min-width: 800px) { .products.trial-pick.trial-single { grid-template-columns: 1fr; max-width: 480px; } }

/* ---------- Timing pricing ---------- */
.tplans { display: grid; justify-items: center; }
.tplan-grid { display: grid; gap: 18px; width: 100%; max-width: 960px; }
@media (min-width: 800px) { .tplan-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.tplan { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tplan.featured { border-color: rgba(154,120,255,.6); }
.tplan h3 { font-size: 24px; font-weight: 700; }
.tplan .who { color: var(--muted); font-size: 15px; }
.tplan .price { font: 700 44px/1 var(--font-head); }
.tplan .price small { font: 500 15px/1.4 var(--font-body); color: var(--muted); margin-left: 6px; }
.tplan .ex { color: var(--muted); font-size: 14px; margin-top: -6px; }
.tplan ul { display: grid; gap: 8px; font-size: 15px; }
.tplan li { display: flex; gap: 10px; }
.tplan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 2px; background: var(--purple); }
.tplan .note { color: var(--muted); font-size: 14px; margin-top: auto; }
.tplan-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.tplans .plan-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); margin-bottom: 24px; }
.tplans .plan-toggle button { font: 600 14px/1 var(--font-body); color: var(--muted); background: none; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.tplans .plan-toggle button[aria-pressed="true"] { background: var(--purple); color: #fff; }
.tplans .plan-note { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
[data-period="year"] .m, [data-period="month"] .y { display: none !important; }
.plan-pick { display: grid; gap: 10px; }
@media (min-width: 560px) { .plan-pick { grid-template-columns: 1fr 1fr; } }
.plan-pick label { display: grid; gap: 4px; align-content: start; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: var(--bg-2); }
.plan-pick label:has(input:checked) { border-color: var(--purple-hi); background: rgba(105, 50, 255, .12); }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick b { font-size: 16px; }
.plan-pick span { color: var(--muted); font-size: 14px; }

/* ---------- Release status (Timing and Countdown available now; Sim and OS coming) ---------- */
.avail-pill, .soon-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font: 600 13px/1 var(--font-body); padding: 8px 12px; border-radius: 999px;
  background: rgba(53,196,106,.12); color: #9BE8B6; border: 1px solid rgba(53,196,106,.35);
}
.avail-pill::before, .soon-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #35C46A; }
.soon-pill { background: rgba(255,181,71,.12); color: #FFD08A; border-color: rgba(255,181,71,.3); }
.soon-pill::before { background: #FFB547; }
.product-card .tag.now { background: rgba(53,196,106,.14); color: #9BE8B6; }
.eco-chips .when { display: inline-block; margin-top: 2px; font: 600 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #9BE8B6; }
.eco-chips .when.later { color: #FFD08A; }
.products-later { margin-top: 18px; }
.section-sub { margin: 48px 0 18px; font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); text-align: center; }

/* Phones: footer logo at 75% width (13 Nov 2026) */
@media (max-width: 699px) { .footer-brand img { width: 75%; } }
