/* Base, layout and shared page chrome. Page-specific finishes live in home.css and components.css. */
@font-face{font-family:Manrope;src:url('manrope-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('manrope-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('manrope-600.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('manrope-700.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('manrope-800.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}

:root {
  color-scheme: dark;
  --bg: #090d1c;
  --surface: #121830;
  --accent: #9874ff;
  --lavender: #c7b5ff;
  --text: #f4f5fc;
  --muted: #b8bdd3;
  --line: #c6b2fa24;
  --line-strong: #c6b2fa45;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --header-h: 89px;
  --panel-bg: radial-gradient(ellipse at 8% 0%, #7b60bc1f, transparent 62%), linear-gradient(151deg, #252941, #151c31 78%);
  --panel-edge: #b8a9f347;
  --field-bg: #0c1024b8;
  --field-edge: #c6b2fa38;
}

/* Reset and type */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 Manrope, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: var(--text); }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.7vw, 78px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.1vw, 43px); font-weight: 700; }
h3 { font-size: 22px; letter-spacing: -.025em; }
p { text-wrap: pretty; }
em { font-style: normal; color: var(--lavender); }
a, button, summary { transition: color .16s ease-out, background .16s ease-out, border-color .16s ease-out, transform .16s ease-out; }
a:hover { color: var(--lavender); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
[hidden] { display: none !important; }

.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 74px 82px; }
.compact { padding-top: 0; }
.lead { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--lavender);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: 0 0 20px;
  height: 2px;
  background: #b595ff;
  box-shadow: 0 0 10px #ae8eff85;
}
.mini-label { font-size: 10px; letter-spacing: .16em; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.fine-print { font-size: 12px; line-height: 1.7; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--lavender); font-size: 13px; font-weight: 700; }
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.5;
}
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 12px; }
.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; }

/* Floating header, shared by every page. It overlaps the first section so there is no colour seam. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-block: 14px 8px;
  view-transition-name: site-header;
}
main { position: relative; isolation: isolate; margin-top: calc(var(--header-h) * -1); }
.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 26px);
  height: 67px;
  padding-inline: clamp(13px, 2vw, 24px);
  background: #111629e0;
  border: 1px solid #c8b4ff34;
  border-radius: 100px;
  box-shadow: inset 0 1px #efdeff12, 0 12px 42px #33205d38;
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled .nav-row {
  height: 60px;
  background: #0f1326f2;
  border-color: #c8b4ff48;
  box-shadow: inset 0 1px #efdeff17, 0 18px 50px #05061299;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand-wordmark { font-size: clamp(17px, 2.4vw, 23px); white-space: nowrap; letter-spacing: -.055em; }
.nav-row nav { display: flex; align-items: center; gap: 25px; margin-inline: auto; }
.nav-row nav > a { position: relative; padding-block: 20px; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-row nav > a:hover, .nav-row nav > a[aria-current] { color: var(--text); }
.nav-row nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.nav-row nav > a[aria-current]::after { transform: scaleX(1); }
.nav-row nav > a:not([aria-current]):hover::after { transform: scaleX(.5); opacity: .6; }
.header-help { padding: 11px 16px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.menu-toggle { display: none; }
.language-switch {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid #c0b1ff38;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.language-switch > * { display: grid; place-items: center; min-width: 31px; min-height: 31px; color: #c4bad9; border-radius: 7px; }
.language-switch [aria-current] { background: #393053; color: #fff; }
.language-switch a:hover { background: #29223f; color: #f2eaff; }

/* Inner page intro with the same ambient light as the home hero. */
body:not([data-page="index"]) main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: min(860px, 100dvh);
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 85% 10%, #2a2150 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 5% 0%, #16233a 0%, transparent 70%);
  mask-image: linear-gradient(#000 55%, transparent);
}
.page-intro { padding-top: calc(var(--header-h) + 72px); padding-bottom: 50px; }
.page-intro h1 { margin-bottom: 24px; letter-spacing: -.06em; line-height: 1.02; }
.page-intro .lead { font-size: 17px; }


/* Form fields */
label { font-size: 12px; font-weight: 600; }
select, .search-field, .enquiry-form input {
  border: 1px solid var(--field-edge);
  border-radius: 12px;
  background-color: var(--field-bg);
  box-shadow: inset 0 1px 4px #0608184d;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
select {
  width: 100%;
  min-height: 49px;
  padding: 12px 44px 12px 16px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c7b5ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  font-size: 15px;
  cursor: pointer;
}
select:hover, .search-field:hover, .enquiry-form input:hover { border-color: #c6b2fa66; }
select:focus-visible, .enquiry-form input:focus-visible, .search-field:focus-within {
  outline: none;
  border-color: var(--lavender);
  background-color: #10142c;
  box-shadow: 0 0 0 4px #9874ff2e, inset 0 1px 4px #0608184d;
}
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 15px; }
.search-field > span { color: var(--lavender); font-size: 23px; }
.search-field input { width: 100%; min-width: 0; min-height: 49px; border: 0; background: transparent; font-size: 14px; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: #a2acc5; }

.plain-panel { padding: 32px; }
.plain-panel h3 { font-size: 24px; margin-block: 20px 16px; }
.plain-panel p { font-size: 14px; color: var(--muted); }

.empty-state { margin: 24px 0; padding: 70px 30px; text-align: center; background: var(--panel-bg); border: 1px dashed var(--line-strong); border-radius: 18px; }
.empty-state h2 { font-size: 25px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; color: var(--muted); }

/* FAQ */
.help-layout { display: grid; grid-template-columns: 310px 1fr; gap: 80px; align-items: start; }
.help-layout aside { position: sticky; top: 104px; }
.help-layout aside > label { display: block; margin-bottom: 12px; }
.help-layout aside > .fine-print { margin-top: 12px; }
.aside-note { margin-top: 40px; padding: 25px; background: var(--panel-bg); border: 1px solid var(--panel-edge); border-radius: 18px; box-shadow: inset 0 1px #f4eaff19, 0 12px 35px #070c2355; }
.aside-note h3 { font-size: 19px; }
.aside-note p { font-size: 13px; color: var(--muted); margin-block: 10px 18px; }
.faq-list details { border-bottom: 1px solid var(--line-strong); scroll-margin-top: 115px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--lavender);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform .35s var(--ease), background .2s, border-color .2s;
}
.faq-list summary:hover { color: var(--lavender); }
.faq-list summary:hover > span { border-color: var(--lavender); }
.faq-list details[open] summary > span { transform: rotate(135deg); background: #9874ff2e; border-color: var(--lavender); }
.faq-list details > div { padding: 0 56px 27px 0; }
.faq-list details p { max-width: 65ch; margin-bottom: 16px; color: var(--muted); font-size: 15px; }
@supports selector(::details-content) {
  .faq-list details { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition: block-size .4s var(--ease), opacity .3s var(--ease), content-visibility .4s allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; opacity: 1; }
}

/* Closing call to action */
.closing-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 48px;
  border: 1px solid var(--panel-edge);
  border-radius: 24px;
  background: radial-gradient(ellipse at 90% 0%, #6846a367, transparent 64%), linear-gradient(150deg, #242746, #161c32);
  box-shadow: inset 0 1px #eadbff26, 0 18px 54px #090c1a70;
}
.closing-cta h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.05em; }
.closing-cta p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.closing-cta .button { flex-shrink: 0; }

/* Plans page price grid */
.own-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.own-price-card { display: flex; flex-direction: column; padding: 30px 24px; }
.price-footnote { margin-top: 23px; max-width: 850px; }

/* Footer */
footer { position: relative; padding-top: 64px; background: #070a17; border-top: 1px solid var(--line); }
footer::before {
  content: "";
  position: absolute;
  inset: -1px 15% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c3a7fb99, transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-grid > div > p { margin-top: 18px; max-width: 30ch; color: var(--muted); font-size: 14px; }
.footer-grid h3 { margin-bottom: 18px; color: var(--text); font-size: 13px; letter-spacing: 0; }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; margin-block: 10px; color: var(--muted); font-size: 14px; }
.footer-grid > div > a:not(.brand):hover { color: var(--lavender); transform: translateX(2px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .nav-row nav { gap: 16px; }
  .help-layout { grid-template-columns: 260px 1fr; gap: 45px; }
  .footer-grid { gap: 25px; }
}
@media (min-width: 901px) and (max-width: 1110px) {
  .nav-row .header-help { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 10px 16px; font-size: 13px; font-weight: 700; }
  .nav-row nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 18px;
    background: #10152af5;
    border: 1px solid #c8b4ff34;
    border-radius: 20px;
    box-shadow: 0 24px 60px #05061299;
    backdrop-filter: blur(18px);
  }
  .nav-row nav.is-open { display: flex; animation: menu-in .3s var(--ease) both; }
  .nav-row nav > a { padding: 13px; font-size: 15px; }
  .nav-row nav > a::after { bottom: 6px; left: 13px; right: auto; width: 30px; transform-origin: left; }
  .section { padding-block: 55px 62px; }
  .page-intro { padding-top: calc(var(--header-h) + 55px); }
  .help-layout { grid-template-columns: 220px 1fr; gap: 35px; }
  .own-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing-cta { padding: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-row: span 2; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}
@media (max-width: 650px) {
  :root { --header-h: 81px; }
  .wrap { width: calc(100% - 32px); }
  .nav-row { gap: 10px; height: 59px; }
  .site-header.is-scrolled .nav-row { height: 55px; }
  .brand { gap: 7px; }
  .brand img { width: 29px; height: 29px; }
  .menu-toggle { gap: 7px; padding: 8px 12px; font-size: 12px; }
  .section { padding-block: 42px 50px; }
  .page-intro { padding-top: calc(var(--header-h) + 40px); padding-bottom: 32px; }
  .page-intro .eyebrow { font-size: 10px; letter-spacing: .14em; }
  .page-intro h1 { font-size: clamp(38px, 10vw, 58px); }
  .page-intro .lead { font-size: 15px; }
  .plain-panel { padding: 25px; }
  .help-layout { grid-template-columns: 1fr; gap: 20px; }
  .help-layout aside { position: static; }
  .aside-note { display: none; }
  .faq-list summary { padding: 20px 0; font-size: 15px; }
  .faq-list details > div { padding-right: 0; }
  .faq-list details p { font-size: 14px; }
  .closing-cta { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 23px; padding-bottom: 36px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  footer { padding-top: 42px; }
}
@media (max-width: 480px) {
  .nav-row .header-help { display: none; }
  .own-price-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Motion. Everything below is decoration; content is complete without it. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease); }

@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes intro-arrive { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

@media (prefers-reduced-motion: no-preference) {
  .page-intro > * { animation: intro-arrive .8s var(--ease) both; }
  .page-intro > :nth-child(2) { animation-delay: .07s; }
  .page-intro > :nth-child(3) { animation-delay: .14s; }

  /* site.js tags below-the-fold blocks with data-reveal; --i staggers siblings. */
  :root [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(5px);
    transition:
      opacity .7s var(--ease) calc(var(--i, 0) * 75ms),
      transform .85s var(--ease) calc(var(--i, 0) * 75ms),
      filter .7s var(--ease) calc(var(--i, 0) * 75ms);
  }
  :root [data-reveal].is-revealed { opacity: 1; transform: none; filter: none; }

  @supports (animation-timeline: scroll()) {
    body::before {
      content: "";
      position: fixed;
      inset: 0 0 auto;
      z-index: 95;
      height: 2px;
      pointer-events: none;
      background: linear-gradient(90deg, #8fa9ff, #c7b5ff 50%, #e2b2ff);
      box-shadow: 0 0 12px #b686fc80;
      transform-origin: left;
      animation: scroll-progress linear both;
      animation-timeline: scroll(root block);
    }
    @keyframes scroll-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}
