:root {
  color-scheme: dark;

  --bg: #0b0920;
  --bg-alt: #110d2e;
  --surface: #181338;
  --field: #1f1946;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f4ff;
  --text-soft: #b8b4d8;
  --violet: #8b5cf6;
  --violet-light: #a78bfa;
  --blue: #5b6cff;
  --gradient: linear-gradient(90deg, #8b5cf6, #5b6cff);
  --error: #ff8f8f;
  --footer: #07061a;

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -12px rgba(0, 0, 0, 0.55);

  /* Frosted glass: only used over the colour glows in the hero and booking section, and the header */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --glass-blur: blur(18px) saturate(160%);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--violet-light);
}

::selection { background: rgba(139, 92, 246, 0.45); color: var(--text); }

html { scrollbar-color: #3a3170 var(--bg); overflow-x: clip; }

h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* Second line of the headline in the brand gradient */
.grad {
  background: linear-gradient(90deg, #9b6bff, #5b6cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; }

a { color: var(--violet-light); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--violet-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; }

svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.icon-sm { width: 1.15em; height: 1.15em; flex: none; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 20;
  background: var(--violet);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.skip:focus { left: 0.5rem; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(124, 58, 237, 0.65);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 12px 32px -8px rgba(124, 58, 237, 0.8); }

.btn-quiet { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-strong); }
.btn-quiet:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.32); }

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.95rem; border-radius: 10px; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 600;
  color: var(--violet-light);
  background: none;
  border: 0;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 9, 32, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo-mark { width: 2rem; height: 2rem; }
.logo-mark rect { fill: url(#logo-grad); stroke: none; }
.logo-mark path { stroke: #fff; stroke-width: 3; }

.nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  font-weight: 500;
}
.nav a { color: var(--text-soft); text-decoration: none; }
.nav a:hover { color: var(--text); text-decoration: underline; }

/* Hero */

.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 var(--section);
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(124, 58, 237, 0.45), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--bg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Soft colour glows that the glass card sits over */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 36rem;
  height: 36rem;
  right: -4rem;
  top: -6rem;
  background: radial-gradient(circle at 45% 45%, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0) 68%);
}
.hero::after {
  width: 26rem;
  height: 26rem;
  right: 24%;
  bottom: -6rem;
  background: radial-gradient(circle, rgba(91, 108, 255, 0.45), rgba(91, 108, 255, 0) 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.lede {
  margin-top: 1.4rem;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.hero-note { margin-top: 1.1rem; font-size: 0.95rem; color: var(--text-soft); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Solutions showcase: five tabs, each with a small labelled example */

.showcase {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  padding: 0.6rem;
  min-width: 0;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
  padding: 0.3rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.7rem 0.4rem;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}
.tab svg { width: 1.35rem; height: 1.35rem; }
.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.9), rgba(91, 108, 255, 0.9));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.8);
}

.panel { padding: 1.4rem 1.2rem 0.6rem; min-height: 24.5rem; }
.panel:focus-visible { outline-offset: -3px; border-radius: 14px; }

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}
.panel-head h3 { font-size: 1.3rem; }

.tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet-light);
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
}

.panel-desc { margin: 0.5rem 0 1.2rem; color: var(--text-soft); max-width: 34rem; }

.showcase-note {
  padding: 0.75rem 1.2rem 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Automation: a chain of steps that tick off */
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow::before {
  content: "";
  position: absolute;
  left: 0.79rem;
  top: 1rem;
  bottom: 1.6rem;
  width: 2px;
  background: linear-gradient(var(--violet), var(--blue));
  opacity: 0.45;
}
.flow li { position: relative; display: flex; gap: 0.9rem; padding: 0.55rem 0; }
.flow li p:first-child { font-weight: 600; }
.sub { font-size: 0.92rem; color: var(--violet-light); margin-top: 0.1rem; }

/* CRM: three-stage pipeline */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.stage {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.stage-name { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; color: var(--text-soft); }
.stage-name span {
  min-width: 1.4rem;
  text-align: center;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.25);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.deal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.deal span { display: block; margin-top: 0.15rem; font-size: 0.8rem; font-weight: 400; color: var(--text-soft); }

/* Spreadsheets: a weekly takings table */
.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.sheet th, .sheet td { padding: 0.5rem 0.8rem; text-align: right; border-bottom: 1px solid var(--line); }
.sheet th[scope="row"], .sheet thead th:first-child { text-align: left; font-weight: 500; }
.sheet thead th { font-size: 0.82rem; font-weight: 700; color: var(--text-soft); }
.sheet tfoot th, .sheet tfoot td { border-bottom: 0; font-weight: 800; background: rgba(139, 92, 246, 0.14); }
.sheet tfoot td:last-child { color: var(--violet-light); }

/* Websites: a small browser window */
.browser { border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: #f7f5ff; color: #1d1838; }
.browser-bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.7rem; background: #e7e3f7; }
.browser-bar span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #c3bce0; }
.browser-bar p { margin-left: 0.6rem; font-size: 0.78rem; color: #5a5480; background: #fff; border-radius: 6px; padding: 0.1rem 0.6rem; }
.browser-page { padding: 1rem 1.1rem 1.1rem; }
.site-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.site-line { font-size: 0.9rem; color: #4a4570; margin-top: 0.2rem; }
.site-btn { display: inline-block; margin-top: 0.75rem; padding: 0.45rem 0.9rem; border-radius: 8px; background: #2a2154; color: #fff; font-size: 0.85rem; font-weight: 700; }
.site-list { margin-top: 0.9rem; border-top: 1px solid #ddd8f0; }
.site-list p { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid #ddd8f0; font-size: 0.88rem; font-weight: 600; }
.site-list span { font-weight: 400; color: #5a5480; }

/* AI assistant: a short chat */
.chat { display: grid; gap: 0.55rem; }
.msg { max-width: 82%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.95rem; line-height: 1.4; }
.msg-in { justify-self: end; background: var(--gradient); color: #fff; border-bottom-right-radius: 4px; }
.msg-out { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }

.tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  border: 1.5px solid var(--violet);
  background: var(--gradient);
  color: #fff;
}
.tick svg { width: 1rem; height: 1rem; stroke-width: 2.5; }

/* Motion: on load the automation steps tick off in turn; switching tabs plays the
   chosen example in the same way (the .is-playing class restarts it). */
@media (prefers-reduced-motion: no-preference) {
  .is-playing .flow .tick { animation: tick-fill 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(0.35s + var(--i) * 0.45s); }
  .is-playing .flow .tick svg { stroke-dasharray: 24; animation: tick-draw 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(0.5s + var(--i) * 0.45s); }
  .is-playing .flow .sub { animation: rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(0.55s + var(--i) * 0.45s); }
  .is-playing .stage,
  .is-playing .sheet tbody tr,
  .is-playing .msg { animation: rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(0.08s + var(--i) * 0.12s); }
  .is-playing .msg { animation-delay: calc(0.1s + var(--i) * 0.35s); }
  .is-playing .browser { animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
}

@keyframes tick-fill { from { background: transparent; } }
@keyframes tick-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; filter: blur(3px); transform: translateY(6px); } }

/* Sections */

.section { padding: var(--section) 0; }
.section-tint { background: var(--bg-alt); }

.section-head { max-width: 40rem; }
.section-head p { margin-top: 1rem; font-size: 1.15rem; color: var(--text-soft); }

/* Repetitive-task calculator */

.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.savings-note { font-size: 0.95rem !important; }

.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  gap: 1.4rem;
}

.calc label { display: grid; gap: 0.35rem; align-content: end; }
.calc label > span { font-weight: 600; font-size: 0.95rem; }

.calc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.calc-share output { color: var(--violet-light); font-weight: 700; font-variant-numeric: tabular-nums; }

input[type="range"] { padding: 0; border: 0; background: none; accent-color: var(--violet); height: 1.75rem; }

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0 0.25rem;
  border-top: 1px solid var(--line);
}

.calc-result p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.35; }

.calc-result strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
}

.calc .btn { justify-self: start; }

/* Quiz */

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.quiz {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  min-height: 25rem;
}

.quiz-progress { font-size: 0.95rem; font-weight: 600; color: var(--text-soft); }

.quiz-bar {
  height: 6px;
  margin: 0.6rem 0 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-bar span {
  display: block;
  height: 100%;
  width: calc(var(--progress, 1) / 3 * 100%);
  background: var(--gradient);
  border-radius: inherit;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }

.quiz-step legend {
  padding: 0;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.choices { display: grid; gap: 0.65rem; }

.choices label { display: block; cursor: pointer; }

.choices input { position: absolute; opacity: 0; pointer-events: none; }

.choices span {
  display: block;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-weight: 500;
  transition: border-color 0.15s, background-color 0.15s;
}
.choices label:hover span { border-color: var(--violet-light); }
.choices input:checked + span { border-color: var(--violet); background: rgba(139, 92, 246, 0.16); font-weight: 600; }
.choices input:focus-visible + span { outline: 3px solid var(--violet-light); outline-offset: 2px; }

.quiz-back { margin-top: 1.25rem; }

.quiz-result h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.quiz-result p { margin-top: 0.85rem; color: var(--text-soft); font-size: 1.05rem; }
.quiz-result:focus { outline: none; }

.callback {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.callback h4 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.quiz-result .callback > p { margin-top: -0.6rem; font-size: 0.98rem; }
.callback .btn { justify-self: start; }

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 0.5rem;
}

/* How it works */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

.steps li {
  counter-increment: step;
  padding-top: 1.5rem;
  border-top: 2px solid transparent;
  border-image: var(--gradient) 1;
}

.steps li::before {
  content: "Step " counter(step);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--violet-light);
}

.steps p { margin-top: 0.6rem; color: var(--text-soft); }

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-light); }
.faq summary svg { color: var(--violet-light); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.faq details[open] summary svg { transform: rotate(45deg); }

.faq details p { padding-bottom: 1.3rem; color: var(--text-soft); max-width: 40rem; }

/* Book a call */

.book {
  background: linear-gradient(160deg, #1d1257 0%, #120d36 55%, var(--bg) 100%);
  color: var(--text);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.book::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  left: -8rem;
  top: calc(var(--section) + 6rem);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0) 68%);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.book-copy > p { margin-top: 1rem; font-size: 1.15rem; color: var(--text-soft); max-width: 32rem; }

.book-points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: 0.65rem;
  max-width: 30rem;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.book-points li { display: flex; gap: 0.6rem; align-items: center; font-weight: 500; }
.book-points svg { color: var(--violet-light); stroke-width: 2.5; }

.book-direct { margin-top: 2rem; color: var(--text-soft); }

.book-form {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  gap: 1.1rem;
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.6);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.book-form label, .callback label { display: grid; gap: 0.35rem; }
.book-form label > span, .callback label > span { font-weight: 600; font-size: 0.95rem; }
.book-form em { font-style: normal; font-weight: 400; color: var(--text-soft); }

/* Permission tick box: never pre-ticked, required to send */
.book-form .consent, .callback .consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  cursor: pointer;
}
.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--violet);
  cursor: pointer;
}
.book-form .consent > span, .callback .consent > span {
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }

input, textarea, select {
  font: inherit;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
textarea { resize: vertical; }
select option { background: var(--field); color: var(--text); }
::placeholder { color: #8f8ab3; }
input:hover, textarea:hover, select:hover { border-color: rgba(255, 255, 255, 0.35); }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--violet-light); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--error); }

.book-form .btn { justify-self: start; margin-top: 0.25rem; }

.form-status { min-height: 1.6em; font-weight: 500; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--violet-light); }

/* Privacy notice page */

.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); }
.legal h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { color: var(--text-soft); }
.legal p + p { margin-top: 1rem; }
.legal > p:nth-of-type(2) { margin-top: 1.75rem; font-size: 1.15rem; color: var(--text); }
.legal ul { margin: 0.75rem 0 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.legal-updated { margin-top: 0.75rem; font-size: 0.95rem; }

/* Footer */

.site-footer { background: var(--footer); color: var(--text-soft); font-size: 0.95rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--text); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

/* Responsive */

@media (max-width: 960px) {
  .nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .hero-grid, .savings-grid, .check-grid, .faq-grid, .book-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { gap: 0.75rem; }
  .logo { font-size: 1rem; white-space: nowrap; gap: 0.5rem; }
  .logo-mark { width: 1.75rem; height: 1.75rem; }
  .header-inner .btn { white-space: nowrap; padding: 0.5rem 0.9rem; font-size: 0.9rem; }
  .calc .btn, .book-form .btn, .callback .btn { justify-self: stretch; }
  .steps, .field-row, .calc-fields, .calc-result, .pipeline { grid-template-columns: 1fr; }
  .tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .tab { flex: 0 0 auto; flex-direction: row; padding: 0.6rem 0.85rem; }
  .tab svg { width: 1.1rem; height: 1.1rem; }
  .panel { padding: 1.1rem 0.6rem 0.5rem; min-height: 0; }
  .showcase-note { padding: 0.7rem 0.6rem; }
  .sheet { font-size: 0.85rem; }
  .sheet th, .sheet td { padding: 0.45rem 0.5rem; }
  .calc-result { gap: 0.75rem; }
  .calc-result p { display: flex; align-items: baseline; gap: 0.6rem; }
  .calc-result strong { margin: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quiz { min-height: 0; }
}

/* Solid fallbacks where glass isn't supported or the visitor prefers less transparency */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(11, 9, 32, 0.96); }
  .showcase, .book-points { background: var(--surface); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .showcase, .book-points { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quiz-bar span, .faq summary svg { transition: none; }
}
