:root {
  color-scheme: light;
  --ink: #101216;
  --muted: #5c6470;
  --line: #d9e0ea;
  --soft: #f5f8fc;
  --blue: #0a5cff;
  --blue-dark: #073b9a;
  --gold: #b98116;
  --gold-soft: #fff6df;
  --white: #ffffff;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--white);
  color: var(--ink);
}

body {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom-width: 1px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
}

.nav,
.section,
.footer-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(16, 18, 22, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.96rem;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(10, 92, 255, 0.13), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 78%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding: clamp(52px, 8vw, 92px) 0 clamp(42px, 7vw, 76px);
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.gold {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 7vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lead {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.34rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary,
.button.subtle {
  background: var(--white);
  color: var(--blue-dark);
}

.button.subtle {
  border-color: var(--line);
}

.app-store-slot {
  min-height: 44px;
}

.hero-visual {
  margin: 0;
  justify-self: center;
  width: min(100%, 410px);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(16, 18, 22, 0.18);
  overflow: hidden;
  background: #020407;
}

.hero-visual img {
  width: 100%;
}

.section {
  padding: clamp(54px, 8vw, 86px) 0;
}

.section.alt {
  width: 100%;
  max-width: none;
  background: var(--soft);
}

.section.alt > .section-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 660px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.card,
.step {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step {
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
}

.split.reverse .split-copy {
  order: 2;
}

.split.reverse .product-frame {
  order: 1;
}

.split-copy p:not(.eyebrow):not(.lead) {
  max-width: 650px;
  color: var(--muted);
}

.customisation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1.26fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
}

.customisation-copy {
  max-width: 520px;
}

.customisation-visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 720px);
}

.customisation-visual img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.product-frame,
.context-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #05070a;
  box-shadow: 0 18px 50px rgba(16, 18, 22, 0.12);
}

.product-frame {
  justify-self: center;
  width: min(100%, 360px);
}

.product-frame.compact {
  max-height: 620px;
}

.product-frame.compact img {
  margin-top: -5%;
}

.use-case-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
}

.context-image {
  max-height: 600px;
}

.context-image img {
  margin-top: -2%;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.notice {
  max-width: 720px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: #4f3410;
}

.pro-section {
  padding-top: clamp(34px, 6vw, 70px);
}

.pro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(185, 129, 22, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(185, 129, 22, 0.1), rgba(10, 92, 255, 0.05)),
    var(--white);
}

.pro-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 18px;
}

.purchase-note {
  display: inline-flex;
  margin-bottom: 0;
  padding: 8px 12px;
  border: 1px solid rgba(185, 129, 22, 0.35);
  border-radius: 999px;
  background: var(--gold-soft);
  color: #5a3a09;
  font-weight: 750;
}

.pro-visual {
  margin: 0;
  justify-self: center;
  width: min(100%, 330px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #05070a;
  box-shadow: 0 18px 50px rgba(16, 18, 22, 0.12);
}

.pro-visual img {
  width: 100%;
  height: auto;
}

.support-section {
  background: var(--ink);
  color: var(--white);
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 54px) 0;
}

.support-inner h2 {
  margin-bottom: 8px;
}

.support-inner p:not(.eyebrow) {
  margin-bottom: 0;
  color: #d7dce5;
}

.support-inner .eyebrow {
  color: #9dccff;
}

.support-inner .button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.support-inner .button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--white);
}

.support-page .nav-links [aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.support-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(10, 92, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 82%);
}

.support-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(28px, 5vw, 62px);
  align-items: end;
  padding: clamp(48px, 7vw, 82px) 0 clamp(34px, 6vw, 64px);
}

.support-hero-copy h1 {
  margin-bottom: 16px;
}

.support-search {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(16, 18, 22, 0.1);
}

.support-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 750;
}

.support-search-control {
  display: flex;
  gap: 10px;
}

.support-search input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.support-search button {
  cursor: pointer;
  font: inherit;
}

.support-search-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.compact-section {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.quick-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-help-card {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.quick-help-card::after {
  content: "↓";
  margin-left: auto;
  color: var(--blue);
  font-weight: 900;
}

.faq-section {
  padding-top: 0;
}

.faq-groups {
  display: grid;
  gap: 34px;
}

.faq-group {
  scroll-margin-top: 92px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-group h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.faq-item p {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--muted);
}

.no-results {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.no-results h3 {
  margin-bottom: 6px;
}

.no-results p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-note {
  margin-top: 14px;
  font-size: 0.95rem;
}

.support-contact .support-inner {
  align-items: flex-end;
}

.site-footer {
  border-top-width: 1px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.policy main {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 54px 0 64px;
}

.policy h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
}

.policy section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.effective-date {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-inner,
  .support-hero-inner,
  .split,
  .split.reverse,
  .use-case-layout,
  .customisation-section,
  .pro-panel {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy,
  .split.reverse .product-frame {
    order: initial;
  }

  .hero-copy,
  .section-heading,
  .section-heading.narrow {
    max-width: none;
  }

  .hero-visual {
    width: min(100%, 360px);
  }

  .hero-inner,
  .split,
  .use-case-layout {
    gap: 28px;
  }

  .product-frame,
  .context-image,
  .pro-visual {
    width: min(100%, 360px);
  }

  .customisation-copy {
    max-width: none;
  }

  .customisation-visual {
    justify-self: center;
    width: min(100%, 680px);
  }

  .support-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-contact .support-inner {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-inner {
    padding: 34px 0 32px;
  }

  .support-hero-inner {
    padding: 34px 0 32px;
  }

  .support-search-control {
    flex-direction: column;
  }

  .section {
    padding: 38px 0;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .lead {
    margin-bottom: 20px;
  }

  .steps,
  .use-grid,
  .quick-help-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card,
  .step {
    padding: 18px;
  }

  .pro-panel {
    padding: 24px;
  }
}
