/* Fonts */
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Design tokens */
:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-rgb: 0, 0, 0;
  --panel: #0d1015;
  --panel-2: #12161d;
  --chip: #16191f;
  --cream: #f4f1ea;
  --muted: #a6adb8;
  --subtle: #8b929d;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.22);
  --field-border: #5a626f;
  --accent-text: #5aa9ff;
  --accent-rgb: 8, 123, 255;
  --accent-2-rgb: 47, 212, 245;
  --accent-3-rgb: 42, 63, 194;
  --btn-bg: #0670ea;
  --btn-hover: #087bff;
  --btn-text: #ffffff;
  --danger: #ff9a9a;
  --success: #6ee7b7;

  --card-1a: #eaf3ff;
  --card-1b: #c9e0ff;
  --card-2a: #c3dcff;
  --card-2b: #8fbfff;
  --card-3a: #2a6be0;
  --card-3b: #1a52c2;
  --card-4a: #1352c4;
  --card-4b: #0a3487;
  --card-ink-dark: #071426;
  --card-ink-light: #ffffff;

  --ui-bg: #0b1424;
  --ui-text: #c9d8ee;
  --ui-dim: #6f86a8;

  --radius: 20px;
  --radius-lg: 26px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--cream);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h3 {
  -webkit-hyphens: auto;
  hyphens: auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-text);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cream);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(var(--accent-rgb), 0.45);
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--cream);
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: #000000;
}

/* Numbers use the brand font with even widths */
.num {
  font-family: var(--font);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.accent {
  color: var(--accent-text);
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.35s, background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn .icon {
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn-glow {
  border-color: rgba(var(--accent-rgb), 0.85);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--cream);
  box-shadow: 0 0 24px -4px rgba(var(--accent-rgb), 0.65), inset 0 0 14px -6px rgba(var(--accent-rgb), 0.8);
}

.btn-glow:hover {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--cream);
  box-shadow: 0 0 36px -2px rgba(var(--accent-rgb), 0.8), inset 0 0 18px -6px rgba(var(--accent-rgb), 0.95);
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.btn-primary:hover {
  background: var(--btn-hover);
  color: var(--btn-text);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--accent-text);
  color: var(--cream);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.75;
  cursor: progress;
}

.spinner {
  display: none;
  width: 1.1em;
  height: 1.1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.is-loading .spinner {
  display: inline-block;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.3s;
}

.link:hover {
  border-color: var(--accent-text);
  color: var(--cream);
}

.link .icon {
  transition: transform 0.35s var(--ease);
}

.link:hover .icon {
  transform: translateX(4px);
}

.chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--chip);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: rgb(var(--accent-2-rgb));
}

/* Header: two floating tabs in the top corners */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  pointer-events: none;
}

/* Soft fade so scrolling content does not show sharply between the two tabs */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--header-h) + 1.5rem);
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.92) 45%, rgba(var(--bg-rgb), 0));
  pointer-events: none;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.tab {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
  padding: 0.6rem clamp(1rem, 3vw, 1.6rem);
  background: rgba(18, 22, 29, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  transition: background-color 0.3s;
}

.site-header.is-scrolled .tab {
  background: rgba(18, 22, 29, 0.97);
}

.tab-left {
  border-bottom-right-radius: 18px;
}

.tab-right {
  gap: 1.1rem;
  border-bottom-left-radius: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.brand:hover {
  color: var(--cream);
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-desktop {
  display: none;
}

.nav-list a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a[aria-current="true"] {
  color: var(--accent-text);
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
}

.lang-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 0.4rem;
  border-radius: 8px;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.lang-switch a:hover {
  color: var(--cream);
}

.lang-switch a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}

.tab-right .lang-switch,
.tab-right .nav-cta {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: none;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle-bars span:nth-child(1) {
  top: 0;
}

.nav-toggle-bars span:nth-child(2) {
  top: 5px;
}

.nav-toggle-bars span:nth-child(3) {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Simple pages have no menu, so the language switch is always visible */
.tab-simple .lang-switch {
  display: flex;
}

.tab-simple .btn {
  display: none;
}

@media (min-width: 640px) {
  .tab-simple .btn {
    display: inline-flex;
  }
}

/* Mobile menu panel */
.site-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0.75rem;
  right: 0.75rem;
  max-height: calc(100vh - var(--header-h) - 1.5rem);
  max-height: calc(100dvh - var(--header-h) - 1.5rem);
  padding: 0.75rem 1.25rem 1.5rem;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  pointer-events: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.site-nav .nav-list a {
  display: block;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 500;
}

.site-nav .lang-switch {
  margin-top: 1.1rem;
}

.site-nav .lang-switch a {
  min-width: 48px;
  min-height: 44px;
  border: 1px solid var(--line);
}

.site-nav .nav-cta {
  width: 100%;
  margin-top: 1.1rem;
}

/* Without JavaScript the menu is simply shown below the header */
html:not(.js) .nav-toggle {
  display: none;
}

html:not(.js) .site-nav {
  position: static;
  margin: 0.5rem 0.75rem 0;
  visibility: visible;
  opacity: 1;
  transform: none;
}

@media (min-width: 1080px) {
  .nav-desktop {
    display: block;
  }

  .nav-desktop .nav-list {
    display: flex;
    gap: 1.6rem;
    font-size: 0.92rem;
    font-weight: 500;
  }

  .nav-desktop .nav-list a {
    white-space: nowrap;
  }

  .tab-right .lang-switch,
  .tab-right .nav-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .site-nav,
  html:not(.js) .site-nav {
    display: none;
  }
}

/* Hero with flowing light ribbons */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(100vh, 920px);
  min-height: min(100svh, 920px);
  overflow: hidden;
  text-align: center;
}

.hero-ribbons {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(40% 30% at 30% 35%, rgba(var(--accent-rgb), 0.35), transparent 70%),
    radial-gradient(35% 25% at 70% 65%, rgba(var(--accent-2-rgb), 0.2), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 50% 55%, rgba(var(--bg-rgb), 0.72), transparent 75%),
    linear-gradient(180deg, transparent 70%, var(--bg));
  pointer-events: none;
}

.hero-inner {
  padding-block: 8rem 5rem;
}

.hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 13ch;
  margin: 1.4rem auto 0;
  font-size: clamp(2.6rem, 1.2rem + 6vw, 6.4rem);
}

.hero h1:lang(de),
.hero h1:lang(fr) {
  max-width: 16ch;
  font-size: clamp(2.3rem, 1.1rem + 4.8vw, 5.2rem);
}

.hero-lead {
  max-width: 34rem;
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem 1.6rem;
  margin-top: 2.4rem;
}

@media (max-width: 479.98px) {
  .hero-actions .btn {
    width: 100%;
  }
}

/* Sections */
.section {
  position: relative;
  padding-block: clamp(5.5rem, 11vw, 9rem);
}

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

.section-head {
  max-width: 48rem;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.title {
  margin-top: 1.4rem;
  color: var(--accent-text);
  font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.4rem);
  font-weight: 500;
}

.lead {
  max-width: 36rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.12rem);
}

.section-head .lead {
  margin-inline: auto;
}

/* Services: cards that stack while scrolling */
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-height: 420px;
  margin-bottom: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.9);
}

.stack-card:nth-child(1) {
  background: linear-gradient(160deg, var(--card-1a), var(--card-1b));
  color: var(--card-ink-dark);
}

.stack-card:nth-child(2) {
  top: calc(var(--header-h) + 3.1rem);
  background: linear-gradient(160deg, var(--card-2a), var(--card-2b));
  color: var(--card-ink-dark);
}

.stack-card:nth-child(3) {
  top: calc(var(--header-h) + 4.7rem);
  background: linear-gradient(160deg, var(--card-3a), var(--card-3b));
  color: var(--card-ink-light);
}

.stack-card:nth-child(4) {
  top: calc(var(--header-h) + 6.3rem);
  background: linear-gradient(160deg, var(--card-4a), var(--card-4b));
  color: var(--card-ink-light);
}

.stack-card h3 {
  margin-top: 1rem;
  color: inherit;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem);
}

.stack-card p {
  max-width: 30rem;
  margin-top: 1rem;
  font-size: 1.08rem;
}

.stack-card .num {
  opacity: 0.75;
}

@media (min-width: 900px) {
  .stack-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 599.98px) {
  .stack-card {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .stack-card:nth-child(n) {
    top: auto;
  }
}

/* Small interface visuals inside the service cards */
.ui {
  overflow: hidden;
  border-radius: 16px;
  background: var(--ui-bg);
  color: var(--ui-text);
  font-size: 0.82rem;
  box-shadow: 0 30px 60px -30px rgba(4, 20, 50, 0.7);
}

.ui-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ui-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.ui-body {
  padding: 1.1rem;
}

.dash {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
}

.dash-side span {
  display: block;
  height: 8px;
  margin-bottom: 0.7rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.dash-side span:first-child {
  background: rgba(var(--accent-rgb), 0.75);
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 110px;
}

.dash-bars span {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, rgb(var(--accent-rgb)), rgba(var(--accent-rgb), 0.2));
}

.dash-bars span:nth-child(1) { height: 40%; }
.dash-bars span:nth-child(2) { height: 62%; }
.dash-bars span:nth-child(3) { height: 50%; }
.dash-bars span:nth-child(4) { height: 80%; }
.dash-bars span:nth-child(5) { height: 66%; }
.dash-bars span:nth-child(6) { height: 95%; }
.dash-bars span:nth-child(7) { height: 72%; }

.dash-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.dash-row span {
  flex: 1;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.code {
  overflow: hidden;
  font: 0.82rem/1.85 var(--mono);
  white-space: pre;
}

.tk-key { color: var(--accent-text); }
.tk-str { color: rgb(var(--accent-2-rgb)); }
.tk-fn { color: var(--ui-text); font-weight: 600; }
.tk-com { color: var(--ui-dim); }

.flow {
  display: grid;
  gap: 0.7rem;
}

.flow li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.flow li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: rgb(var(--accent-rgb));
}

.flow li:last-child::before {
  background: rgb(var(--accent-2-rgb));
  box-shadow: 0 0 0 4px rgba(var(--accent-2-rgb), 0.2);
}

.flow b {
  color: #ffffff;
  font-weight: 600;
}

.flow small {
  margin-left: auto;
  color: rgb(var(--accent-2-rgb));
  font-size: 0.74rem;
  font-weight: 600;
  text-align: right;
}

.phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.phases div {
  padding: 0.9rem 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
}

.phases .num {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ui-dim);
  font-size: 0.78rem;
}

.phases div:last-child {
  background: rgba(var(--accent-rgb), 0.35);
}

.phases div:last-child .num {
  color: var(--ui-text);
}

.track {
  height: 6px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.track span {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, rgb(var(--accent-rgb)), rgb(var(--accent-2-rgb)));
}

.future-note {
  max-width: 44rem;
  margin: 1rem auto 0;
  color: var(--subtle);
  font-size: 0.95rem;
  text-align: center;
}

.future-note strong {
  color: var(--cream);
  font-weight: 600;
}

/* Dark cards */
.card {
  width: 100%;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.3s, background-color 0.3s;
}

.card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: var(--panel-2);
}

.card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1.1rem;
}

.cards > li {
  display: flex;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.product-grid > li {
  display: flex;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.product-card h3 {
  font-size: 1.45rem;
}

.product-card p {
  margin-top: 0;
}

.product-tagline {
  color: var(--cream) !important;
  font-weight: 500;
}

.product-features {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.product-features .icon {
  margin-top: 0.25rem;
  color: var(--accent-text);
}

.product-card .btn {
  margin-top: auto;
}

.product-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--panel);
  text-align: center;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 80% at 50% 120%, rgba(var(--accent-rgb), 0.45), transparent 70%);
}

.product-panel h3 {
  max-width: 24ch;
  margin: 1.5rem auto 2.2rem;
  font-size: clamp(1.6rem, 1.05rem + 2.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.18;
}

/* About */
.statement {
  margin-top: 1.4rem;
  color: var(--accent-text);
  font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.4rem);
  font-weight: 500;
}

/* Two column sections with a form */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .split-copy {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.steps {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.6rem;
}

.steps .num {
  color: var(--accent-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.steps h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.4rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--accent-text);
}

.contact-label {
  display: block;
  color: var(--subtle);
  font-size: 0.8rem;
  font-weight: 600;
}

.social {
  margin-top: 2rem;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s;
}

.social-list a:hover {
  border-color: var(--accent-text);
}

/* Forms */
.form-card {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: var(--panel);
}

.form-note {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 1.2rem 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .field-full {
    grid-column: 1 / -1;
  }

  /* Label, control and error share rows with the neighbouring field, so controls line up */
  .field:not(.field-full) {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .field:not(.field-full) > label {
    align-self: end;
  }
}

.field {
  min-width: 0;
}

.field > label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.req {
  color: var(--accent-text);
}

.opt {
  margin-left: 0.35rem;
  color: var(--subtle);
  font-size: 0.8rem;
  font-weight: 500;
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background-color: rgba(var(--bg-rgb), 0.6);
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field select {
  padding-right: 2.6rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6adb8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  cursor: pointer;
}

.field select option {
  background: var(--panel-2);
  color: var(--cream);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #7a8392;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.3);
  outline: 2px solid transparent;
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.3);
}

.field-hint {
  margin-top: 0.4rem;
  color: var(--subtle);
  font-size: 0.86rem;
}

.field-error {
  margin-top: 0.4rem;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 500;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.check input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0.15rem 0 0;
  accent-color: var(--btn-hover);
  cursor: pointer;
}

.check label {
  color: var(--muted);
  font-size: 0.93rem;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 138, 138, 0.45);
  border-radius: 12px;
  background: rgba(255, 90, 90, 0.08);
  color: #ffd6d6;
  font-size: 0.95rem;
}

.form-status .icon {
  margin-top: 0.15rem;
  color: var(--danger);
}

.form-legal {
  margin-top: 1rem;
  color: var(--subtle);
  font-size: 0.86rem;
  text-align: center;
}

.form-success {
  padding: clamp(1.5rem, 5vw, 3rem) 0.5rem;
  text-align: center;
}

.form-success:focus {
  outline: none;
}

.form-success h3 {
  margin-top: 1.25rem;
  font-size: 1.6rem;
}

.form-success p {
  max-width: 28rem;
  margin: 0.75rem auto 1.75rem;
  color: var(--muted);
}

.success-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(110, 231, 183, 0.45);
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.1);
  color: var(--success);
  font-size: 1.5rem;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line-strong);
}

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

.faq-item h3 {
  font-size: inherit;
  letter-spacing: normal;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.4rem 0.25rem;
  border: 0;
  background: none;
  color: var(--cream);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: default;
}

.js .faq-question {
  cursor: pointer;
}

.faq-question:hover {
  color: var(--accent-text);
}

.faq-icon {
  position: relative;
  display: none;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.25s, border-color 0.25s;
}

.js .faq-icon {
  display: block;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon {
  border-color: rgba(var(--accent-rgb), 0.7);
  background: rgba(var(--accent-rgb), 0.18);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-panel p {
  max-width: 44rem;
  padding: 0 0.25rem 1.5rem;
  color: var(--muted);
}

.js .faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.js .faq-panel .faq-panel-inner {
  visibility: hidden;
  transition: visibility 0s 0.35s;
}

.js .faq-panel.is-open {
  grid-template-rows: 1fr;
}

.js .faq-panel.is-open .faq-panel-inner {
  visibility: visible;
  transition-delay: 0s;
}

.faq-layout {
  display: grid;
  gap: 2rem;
}

.faq-layout .section-head {
  margin: 0;
  text-align: left;
}

.faq-layout .section-head .lead {
  margin-inline: 0;
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4.5rem;
    align-items: start;
  }

  .faq-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* Final call to action */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 13vw, 10rem);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 50% 100%, rgba(var(--accent-rgb), 0.4), transparent 70%),
    radial-gradient(25% 35% at 60% 95%, rgba(var(--accent-2-rgb), 0.2), transparent 70%);
}

.cta h2 {
  max-width: 14ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 1.3rem + 5vw, 5.6rem);
}

.cta p {
  max-width: 30rem;
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

/* Footer */
.site-footer {
  padding-block: 4rem 2rem;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  gap: 2.5rem;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1rem;
  color: var(--muted);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.footer-nav h2 {
  margin-bottom: 0.9rem;
  color: var(--subtle);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-nav a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--accent-text);
  font-size: 0.92rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.86rem;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--cream);
}

@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr 1.6fr;
  }
}

/* Simple pages: privacy policy, 404 and form responses without JavaScript */
.page-simple main {
  min-height: 70vh;
  padding-block: calc(var(--header-h) + 4rem) clamp(4rem, 8vw, 6rem);
}

.page-simple .site-footer {
  padding-block: 0 2rem;
  border-top: 0;
}

.page-simple .footer-bottom {
  margin-top: 0;
}

.prose {
  max-width: 46rem;
}

.prose h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
}

.prose h2 {
  margin-top: 2.6rem;
  color: var(--accent-text);
  font-size: 1.4rem;
  font-weight: 600;
}

.prose p,
.prose ul {
  margin-top: 1rem;
  color: var(--muted);
}

.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.prose li + li {
  margin-top: 0.4rem;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 200, 100, 0.45);
  border-radius: 12px;
  background: rgba(255, 190, 80, 0.08);
  color: #ffe2b0 !important;
}

.message-page {
  display: grid;
  place-items: center;
  text-align: center;
}

.message-page .prose {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message-code {
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.message-page h1 {
  margin-top: 1rem;
}

.message-page .btn {
  margin-top: 2rem;
}

.message-page ul {
  text-align: left;
}

/* Reveal on scroll, only active when JavaScript is running */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js li.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.js li.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

/* Keyframes */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
