/* Built by tools/build.py. Do not edit by hand. */

/* ---------- tokens (on5 colours) ---------- */
:root {
  --font-display: Inter, system-ui, "Segoe UI", sans-serif;
  --font-body: Inter, system-ui, "Segoe UI", sans-serif;
  --bg: #05060a;
  --surface: #10131b;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.74);
  --accent: #00e08a;
  --highlight: #00e08a;
  --accent-contrast: #05060a;
  --header-bg: rgba(5, 6, 10, 0.8);
  --header-border: rgba(0, 224, 138, 0.22);
  --theme-button-bg: rgba(255, 255, 255, 0.08);
  --theme-button-text: #ffffff;
  --bg-light: #0a0c12;
  --surface-light: #181c27;
  --text-light: #e9ecf1;
}
:root[data-theme="light"] {
  --bg: #eef2f0;
  --surface: #ffffff;
  --text: #0b0d12;
  --text-secondary: rgba(11, 13, 18, 0.78);
  --accent: #007a4d;
  --highlight: #00b874;
  --accent-contrast: #ffffff;
  --header-bg: rgba(238, 242, 240, 0.86);
  --header-border: rgba(0, 122, 77, 0.18);
  --theme-button-bg: rgba(0, 122, 77, 0.09);
  --theme-button-text: #007a4d;
  --bg-light: #e4eae7;
  --surface-light: #ffffff;
  --text-light: #2a2f37;
}

/* ---------- base ---------- */
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  line-height: 1.65;
  hyphens: auto;
  -webkit-hyphens: auto;
  transition:
    background-color 0.24s,
    color 0.24s;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  font-weight: 400;
}
p,
ul,
ol {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.skip-link:focus {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 8px 16px;
  font-weight: 600;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- header ---------- */
body > header {
  --nav-bar-height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background-color 0.24s,
    border-color 0.24s;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1440px;
  min-height: 80px;
  padding-block: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex-shrink: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(5, 6, 10, 0.68);
}
.nav-links {
  flex: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-width: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  white-space: nowrap;
  font-size: 0.9rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switcher {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: var(--theme-button-bg);
  color: var(--theme-button-text);
  font: 600 0.82rem var(--font-body);
  cursor: pointer;
  list-style: none;
  transition: transform 0.18s;
}
.lang-toggle::-webkit-details-marker {
  display: none;
}
.lang-toggle:hover {
  transform: translateY(-1px);
}
.lang-toggle svg {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
}
.lang-code {
  letter-spacing: 0.04em;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 1100;
  display: none;
  flex-direction: column;
  width: 18rem;
  max-width: calc(100vw - 32px);
  max-height: min(70vh, 100svh - 96px);
  overflow-y: auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--header-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.lang-switcher[open] .lang-dropdown {
  display: flex;
}
.lang-dropdown span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text-secondary);
}
.lang-dropdown span.lang-active {
  color: var(--accent);
  font-weight: 600;
}
.lang-note {
  font-size: 0.74rem !important;
  opacity: 0.7;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: var(--theme-button-bg);
  color: var(--theme-button-text);
  font: 600 0.82rem var(--font-body);
  cursor: pointer;
  transition: transform 0.18s;
}
.theme-toggle:hover {
  transform: translateY(-1px);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- mobile menu (narrow screens) ---------- */
.mobile-menu-btn {
  display: none;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: var(--theme-button-bg);
  color: var(--theme-button-text);
  cursor: pointer;
}
.mobile-menu-btn svg {
  width: 18px;
  height: 18px;
}
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px 16px 16px;
  background: var(--bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--header-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mobile-nav.open {
  display: grid;
  gap: 6px;
}
.mobile-nav a {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
}
.mobile-nav a:hover {
  background: var(--theme-button-bg);
}
.mobile-nav i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-contrast);
}
.mobile-nav i svg {
  width: 18px;
  height: 18px;
}
.mobile-nav b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mobile-nav small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
}
@media (max-width: 1160px) {
  .mobile-menu-btn {
    display: flex;
  }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 18px 36px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-100%);
  transition: transform 0.4s;
}
.btn-primary:hover::before {
  transform: translate(0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 224, 138, 0.3);
}
.btn-secondary {
  border: 2px solid var(--text);
  color: var(--text);
  background: none;
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--accent);
}
.btn-nav {
  padding: 12px 24px;
  font-size: 0.9rem;
}
.btn-footer {
  margin-top: 16px;
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100vh, 900px);
  padding-top: max(108px, calc(80px + env(safe-area-inset-top)));
  overflow: hidden;
}
.hero-bg-x {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.slash-1,
.slash-2 {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--highlight),
    transparent
  );
  opacity: 0.8;
  transform-origin: 50%;
}
.slash-1 {
  transform: rotate(35deg);
}
.slash-2 {
  transform: rotate(-35deg);
}
#pattern-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  contain: strict;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  align-items: center;
  gap: clamp(32px, 4vw, 48px);
}
.hero-text {
  min-width: 0;
}
.hero-social-proof {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 8px 14px;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
}
.hero-new {
  color: var(--highlight);
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}
.hero-social-proof b {
  color: var(--text);
}
.hero-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-secondary);
  opacity: 0.5;
}
.hero-tech {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
}
.hero-headline {
  display: grid;
  gap: clamp(1px, 0.3vw, 5px);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.1vw, 3.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-headline span {
  display: block;
  width: fit-content;
  text-wrap: balance;
}
.hero-headline-1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-color: color-mix(in oklab, var(--accent) 60%, transparent);
}
.hero-headline-2 {
  color: var(--accent);
}
.hero-sub {
  max-width: none;
  margin-top: 2rem;
  padding-left: 20px;
  border-left: 2px solid var(--highlight);
  color: var(--text-secondary);
  font-size: clamp(0.91rem, 1.12vw, 1.05rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.hero-sub strong,
.hero-sub-secondary {
  display: block;
}
.hero-sub strong {
  color: var(--text);
  font-weight: 700;
}
@media (min-width: 1200px) {
  .hero-sub strong,
  .hero-sub-secondary {
    white-space: nowrap;
  }
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 40px;
}
.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 430px;
}
.hero-cta-row .btn-primary {
  width: 100%;
}
.ioh-card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 430px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--accent);
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}
.ioh-qr {
  flex: none;
  width: 116px;
  height: 116px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}
.ioh-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ioh-h {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}
.ioh-s {
  max-width: 26ch;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}
.ioh-text {
  align-self: flex-start;
  margin-top: 10px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ioh-text:hover {
  color: var(--highlight);
}
.is-ios .ioh-card {
  display: none;
}
.hero-trust-line {
  color: var(--text-secondary);
  font-size: 0.86rem;
}
.hero-trust-line .sep {
  opacity: 0.4;
  margin: 0 8px;
}

/* phone mockup: a modern iPhone playing a real screen recording */
.mockup-container {
  --mockup-h: min(700px, calc(100vh - 190px));
  position: relative;
  width: min(336px, calc(var(--mockup-h) * 0.479), 100%);
  height: var(--mockup-h);
  max-height: 700px;
  aspect-ratio: 336 / 702;
  margin-left: auto;
}
.iphone {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 17% / 8.2%;
  background: linear-gradient(
    145deg,
    #6b6e73 0%,
    #2b2d31 22%,
    #46494e 48%,
    #222428 74%,
    #5d6065 100%
  );
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.22s;
}
.iphone:hover {
  transform: translateY(-2px);
}
.iphone-bezel {
  width: 100%;
  height: 100%;
  padding: 3.2%;
  border-radius: 16% / 7.7%;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.iphone-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13.5% / 6.3%;
  background: #1a2e22;
}
.iphone-btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2a2c30, #6b6e73);
}
.iphone-btn.left {
  left: -2px;
  border-radius: 2px 0 0 2px;
}
.iphone-btn.right {
  right: -2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #6b6e73, #2a2c30);
}
.iphone-action {
  top: 17%;
  height: 4.5%;
}
.iphone-vol-up {
  top: 25%;
  height: 8%;
}
.iphone-vol-down {
  top: 35%;
  height: 8%;
}
.iphone-power {
  top: 28%;
  height: 12%;
}
.iphone-camera {
  top: 50%;
  height: 9%;
}
:root[data-theme="light"] .iphone {
  background: linear-gradient(
    145deg,
    #f2f3f4 0%,
    #b9bcbf 24%,
    #e3e5e6 50%,
    #a9acb0 76%,
    #eceef0 100%
  );
  box-shadow:
    0 34px 80px rgba(20, 30, 25, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
:root[data-theme="light"] .iphone-btn.left {
  background: linear-gradient(90deg, #9da0a4, #d9dbdd);
}
:root[data-theme="light"] .iphone-btn.right {
  background: linear-gradient(90deg, #d9dbdd, #9da0a4);
}
/* ---------- trust strip ---------- */
.trust-strip {
  position: relative;
  z-index: 3;
  padding: 24px 0;
  background: var(--highlight);
  border-top: 1px solid var(--surface-light);
  border-bottom: 1px solid var(--surface-light);
  transform: skewY(-2deg);
}
.trust-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #05060a;
}
.trust-item::before {
  content: "×";
  font-size: 1.5rem;
  font-weight: 900;
}
:root[data-theme="light"] .trust-item {
  color: #fff;
}

/* ---------- features ---------- */
.features {
  position: relative;
  margin-top: -50px;
  padding: 170px 0 120px;
  background: var(--bg-light);
  color: var(--text-light);
  clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0 100%);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(var(--text) 1px, transparent 1px);
  background-size: 40px 40px;
}
.features .container,
.hero .container {
  position: relative;
  z-index: 2;
}
.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header h2 {
  max-inline-size: min(100%, 22ch);
  margin: 0 auto 16px;
  color: var(--text);
  font-size: clamp(1.95rem, 3.25vw, 2.6rem);
  line-height: 1.12;
  text-wrap: balance;
}
.compare-callout .section-header h2 {
  max-inline-size: none;
  font-size: clamp(1.9rem, 3.1vw, 2.65rem);
}
.section-header p {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--text-light);
  text-wrap: pretty;
}
.feature-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px 0 80px;
}
.feature-hub-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 20px;
  min-height: 100%;
  padding: 32px;
  background: var(--surface-light);
  border: 1px solid color-mix(in srgb, var(--text-light) 10%, transparent);
  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.feature-hub-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(
    to bottom left,
    var(--highlight) 50%,
    transparent 50%
  );
}
.feature-hub-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.feature-hub-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--text);
}
.feature-hub-card-icon svg {
  width: 32px;
  height: 32px;
}
.feature-hub-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
}
.feature-hub-card-content h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}
.feature-plan-label {
  display: inline-flex;
  align-self: flex-start;
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.feature-hub-card-content p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.6;
}
.learn-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- how it works ---------- */
.timeline-section {
  padding: 120px 0;
  background: var(--bg);
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
  transform: translate(-50%);
}
.step {
  position: relative;
  width: 50%;
  min-width: 0;
  margin-bottom: 80px;
  overflow-x: clip;
}
.step:nth-child(odd) {
  left: 0;
  padding-right: 60px;
  text-align: right;
}
.step:nth-child(even) {
  left: 50%;
  padding-left: 60px;
}
.step-marker {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 20px;
  height: 20px;
  background: var(--bg);
  border: 2px solid var(--highlight);
  transform: rotate(45deg);
}
.step:nth-child(odd) .step-marker {
  right: 0;
}
.step:nth-child(even) .step-marker {
  left: 0;
}
.step-number {
  position: absolute;
  top: -20px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--text) 5%, transparent);
}
.step:nth-child(odd) .step-number {
  right: 40px;
}
.step:nth-child(even) .step-number {
  left: 40px;
}
.step h3 {
  position: relative;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.15;
  text-wrap: balance;
}
.step p {
  color: var(--accent);
  text-wrap: pretty;
}

/* ---------- security ---------- */
.security-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid color-mix(in srgb, var(--text) 5%, transparent);
}
.tech-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.tech-specs > * {
  min-width: 0;
}
.tech-content h2 {
  max-inline-size: min(100%, 24ch);
  margin-bottom: 24px;
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
}
.tech-lead {
  color: var(--accent);
  font-size: 1.1rem;
}
.tech-content ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.tech-content li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 24px;
}
.tech-content li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--highlight);
  font-weight: 700;
}
.tech-diagram {
  position: relative;
  min-width: 0;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--accent);
  overflow: hidden;
}
.tech-diagram::before,
.tech-diagram::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--highlight);
  border-style: solid;
  transition: all 0.5s;
}
.tech-diagram::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.tech-diagram::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}
.tech-diagram:hover::before,
.tech-diagram:hover::after {
  width: 40px;
  height: 40px;
}
.code-block {
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  color: var(--accent);
  font-family:
    "SF Mono", "Fira Code", "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}
.code-key {
  color: var(--highlight);
  font-weight: 700;
}
.code-val {
  color: var(--text);
}
.code-comment {
  color: var(--text-secondary);
}

/* ---------- conviction ---------- */
.conviction-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid color-mix(in srgb, var(--highlight) 25%, transparent);
}
.conviction-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--highlight), transparent);
  transform: translate(-50%);
}
.conviction-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.conviction-headline {
  margin: 0 0 32px;
  color: var(--text);
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.conviction-highlight {
  color: var(--highlight);
}
.conviction-body {
  max-width: 52ch;
  margin: 0 auto 20px;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.conviction-body strong {
  color: var(--text);
}
.conviction-divider {
  width: 40px;
  height: 2px;
  margin: 40px auto;
  background: var(--highlight);
}
.conviction-kicker {
  max-width: 28ch;
  margin: 0 auto 48px;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- compare ---------- */
.compare-callout {
  padding: 96px 0;
  text-align: center;
  background: var(--bg);
}
.compare-callout-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  width: min(100%, 760px);
  margin: 8px auto 32px;
  padding: 0;
  list-style: none;
}
.compare-callout-list a {
  padding-bottom: 2px;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.compare-callout-list a:hover {
  border-bottom-color: var(--accent);
}
.compare-callout .section-header {
  margin-bottom: 40px;
}

/* ---------- faq ---------- */
.faq-section {
  padding: 120px 0;
  background: var(--bg);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: min(100%, 800px);
  margin: 0 auto;
}
.faq-item {
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.faq-item[open] {
  border-color: var(--highlight);
  background: var(--surface);
}
.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 24px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: "+";
  flex: none;
  color: var(--highlight);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s;
}
.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}
.faq-content {
  padding: 0 24px 24px;
  color: var(--text);
  opacity: 0.9;
}
.faq-content p {
  max-width: 75ch;
  margin: 0;
  line-height: 1.7;
}

/* ---------- footer ---------- */
footer {
  padding: 60px 0;
  font-size: 0.9rem;
  background: color-mix(in srgb, var(--bg) 82%, #000 18%);
  border-top: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px 24px;
}
.footer-brand {
  width: 100%;
}
.footer-brand-name {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer-brand p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: 100%;
}
.footer-links a {
  position: relative;
  color: var(--accent);
}
.footer-links a:hover {
  color: var(--highlight);
}
.footer-links a.active {
  font-weight: 600;
}
.footer-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
}
.footer-features,
.footer-compare,
.footer-guides,
.footer-languages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px 14px;
  width: 100%;
  margin-top: 6px;
  padding-top: 16px;
  font-size: 0.82rem;
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}
.footer-section-label {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-features a,
.footer-compare a,
.footer-guides a,
.footer-languages span {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-features a:hover,
.footer-compare a:hover,
.footer-guides a:hover {
  color: var(--accent);
}
.footer-languages .active {
  color: var(--accent);
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- responsive (same breakpoints) ---------- */
@media (max-width: 1500px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    letter-spacing: 0.05em;
    font-size: 0.84rem;
  }
  .nav-cta {
    gap: 10px;
  }
}
@media (max-width: 1160px) {
  .nav-links {
    display: none;
  }
  .nav-cta .btn-nav,
  .theme-toggle .theme-label {
    display: none;
  }
  .theme-toggle {
    justify-content: center;
    gap: 0;
    width: 44px;
    padding: 0;
  }
}
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub {
    border-left: none;
    margin-inline: auto;
    padding-left: 0;
  }
  .hero-actions {
    align-items: center;
  }
  .hero-headline {
    justify-items: center;
  }
  .hero-trust-row {
    text-align: center;
  }
  .mockup-container {
    --mockup-h: clamp(320px, calc(100vh - 260px), 700px);
    width: min(100%, calc(var(--mockup-h) * 0.479));
    max-width: 336px;
    margin: 24px auto 28px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  body > header {
    --nav-bar-height: 74px;
  }
  .nav-inner {
    min-height: 74px;
  }
  .logo {
    font-size: 1.1rem;
  }
  .logo img {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
  .lang-dropdown {
    position: fixed;
    top: calc(74px + env(safe-area-inset-top) + 8px);
    inset-inline: 16px;
    width: auto;
  }
  .hero {
    min-height: auto;
    padding-top: max(112px, calc(74px + env(safe-area-inset-top) + 28px));
    padding-bottom: 40px;
  }
  .hero-layout {
    gap: 24px;
  }
  .hero-social-proof {
    justify-content: center;
    row-gap: 6px;
    max-width: 100%;
  }
  .hero-tech {
    flex-basis: 100%;
    text-align: center;
  }
  .hero-headline {
    gap: 0.14em;
    font-size: clamp(2.05rem, 8.9vw, 2.35rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
  }
  .hero-headline-1 em {
    text-underline-offset: 4px;
  }
  .hero-sub {
    max-width: 36ch;
    margin-top: 1.35rem;
    font-size: 1.05rem;
  }
  .hero-actions {
    gap: 12px;
    width: 100%;
    margin-top: 28px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .ioh-card {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }
  .mockup-container {
    width: min(100%, 340px);
    height: auto;
    margin: 20px auto 32px;
  }
  .trust-content {
    flex-direction: column;
  }
  .features {
    clip-path: polygon(0 36px, 100% 0, 100% calc(100% - 40px), 0 100%);
    margin-top: -36px;
    padding-top: 136px;
  }
  .section-header {
    margin-bottom: 64px;
  }
  .section-header h2,
  .tech-content h2 {
    max-inline-size: min(100%, 20ch);
  }
  .feature-hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 56px;
  }
  .feature-hub-card {
    gap: 14px;
    padding: 22px;
  }
  .timeline::before {
    left: 16px;
    background: var(--accent);
    opacity: 0.3;
  }
  .step {
    margin-bottom: 40px;
  }
  .step:nth-child(odd),
  .step:nth-child(even) {
    left: 0;
    width: 100%;
    padding: 8px 0 8px 52px;
    text-align: left;
  }
  .step:nth-child(odd) .step-marker,
  .step:nth-child(even) .step-marker {
    left: 7px;
    right: auto;
    width: 18px;
    height: 18px;
    border-color: var(--accent);
  }
  .step-number {
    position: static;
    margin-bottom: 4px;
    color: var(--highlight);
    font-size: 1rem;
  }
  .tech-specs {
    grid-template-columns: 1fr;
  }
  .code-block {
    font-size: 0.82rem;
    line-height: 1.65;
  }
  .conviction-section {
    padding: 80px 0;
  }
  .conviction-headline {
    max-width: 18ch;
    margin-inline: auto;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-features,
  .footer-compare,
  .footer-guides,
  .footer-languages {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
@media (max-width: 480px) {
  .faq-grid {
    gap: 16px;
  }
  .faq-summary {
    gap: 16px;
    padding: 20px;
    font-size: 1.05rem;
  }
  .faq-content {
    padding: 0 20px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  #pattern-canvas,
  .slash-1,
  .slash-2 {
    display: none;
  }
}

/* Article layout for the Learn More pages, matched to the reference feature pages. */
.page-feature main {
  padding: 0;
}
.page-feature {
  --feature-text-measure: 70ch;
  --feature-card-measure: 34ch;
  --feature-detail-heading-measure: 24ch;
  --feature-hub-heading-measure: 20ch;
}
.page-feature .breadcrumbs {
  color: var(--text-secondary);
  overflow-wrap: break-word;
  padding: 100px 0 0;
  font-size: 0.92rem;
}
.page-feature .breadcrumbs a {
  color: var(--accent);
}
.page-feature .breadcrumbs a:hover {
  color: var(--highlight);
}
.page-feature .breadcrumbs span {
  opacity: 0.5;
  margin: 0 8px;
}
.feature-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 0 80px;
}
.feature-article h1 {
  text-transform: none;
  letter-spacing: -0.02em;
  max-inline-size: min(100%, var(--feature-detail-heading-measure));
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: balance;
  margin-bottom: 16px;
  margin-inline: auto;
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  line-height: 1.04;
}
.feature-article h2 {
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: balance;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  font-size: 1.5rem;
}
.feature-article h3 {
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: balance;
  margin: 32px 0 12px;
  font-size: 1.15rem;
}
.feature-article p {
  color: var(--text-secondary);
  max-inline-size: var(--feature-text-measure);
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: pretty;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}
.feature-article a:not(.btn) {
  text-underline-offset: 2px;
  color: var(--accent);
  text-decoration: underline;
}
.feature-article a:not(.btn):hover {
  color: var(--highlight);
}
.feature-article strong {
  color: var(--text);
  font-weight: 600;
}
.feature-article em {
  color: var(--highlight);
  font-style: italic;
}
.feature-article ul,
.feature-article ol {
  color: var(--text-secondary);
  margin: 0 0 20px;
  padding-inline-start: 0;
  list-style: none;
}
.feature-article li {
  padding-block: 6px;
  padding-inline: 20px 0;
  line-height: 1.65;
  position: relative;
}
.feature-article li:before {
  content: "/";
  color: var(--highlight);
  font-weight: 700;
  font-family: var(--font-display);
  position: absolute;
  inset-inline-start: 0;
}
.feature-article ol {
  counter-reset: feature-step;
}
.feature-article ol li {
  counter-increment: feature-step;
}
.feature-article ol li:before {
  content: counter(feature-step) ".";
  color: var(--accent);
}
.feature-hero {
  text-align: center;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 12px;
  padding: 24px 0 0;
  display: grid;
}
.feature-hero-icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin-bottom: 8px;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  display: flex;
}
.feature-hero-icon svg {
  width: 56px;
  height: 56px;
}
.feature-hero .feature-plan-label {
  background: var(--accent);
  width: max-content;
  color: var(--accent-contrast);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
}
.feature-hero h1 {
  text-align: center;
}
.feature-hero p.hero-lead {
  color: var(--text-secondary);
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: pretty;
  max-width: 58ch;
  margin: 0 auto 32px;
  font-size: 1.15rem;
  line-height: 1.7;
}
.info-box {
  background: var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .info-box {
    background: color-mix(in srgb, var(--accent) 6%, transparent 94%);
  }
}
.info-box {
  border: 1px solid var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .info-box {
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent 75%);
  }
}
.info-box {
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
  margin: 24px 0;
  padding: 24px 28px;
  position: relative;
}
.info-box:after {
  content: "";
  background: linear-gradient(
    to bottom left,
    var(--highlight) 50%,
    transparent 50%
  );
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  right: 0;
}
.info-box-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--highlight);
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}
.info-box p {
  margin-bottom: 8px;
}
.info-box p:last-child {
  margin-bottom: 0;
}
.feature-article code {
  word-break: break-all;
  font-size: 0.9em;
}
.feature-article pre {
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.stat-row {
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 16px;
  margin: 32px 0;
  display: grid;
}
.stat-card {
  background: var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .stat-card {
    background: color-mix(in srgb, var(--accent) 8%, transparent 92%);
  }
}
.stat-card {
  border: 1px solid var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .stat-card {
    border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent 80%);
  }
}
.stat-card {
  text-align: center;
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
  padding: 24px;
}
.stat-value {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}
.stat-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  font-family: var(--font-display);
  overflow-wrap: anywhere;
  -webkit-hyphens: auto;
  hyphens: auto;
  margin-top: 4px;
}
.diagram-container {
  background: var(--surface);
  margin: 32px 0;
  padding: 32px;
}
@supports (color: color-mix(in lab, red, red)) {
  .diagram-container {
    background: color-mix(in srgb, var(--surface) 40%, transparent 60%);
  }
}
.diagram-container {
  border: 1px solid var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .diagram-container {
    border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent 85%);
  }
}
.diagram-container {
  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
  position: relative;
  overflow: hidden;
}
.diagram-container:before {
  content: "";
  background: linear-gradient(
    to bottom right,
    var(--highlight) 50%,
    transparent 50%
  );
  width: 32px;
  height: 32px;
  position: absolute;
  top: 0;
  left: 0;
}
.diagram-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}
.pattern-grid-diagram {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 280px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
}
.grid-node {
  aspect-ratio: 1;
  border: 2px solid var(--text);
  border-radius: 50%;
}
@supports (color: color-mix(in lab, red, red)) {
  .grid-node {
    border: 2px solid color-mix(in srgb, var(--text) 25%, transparent 75%);
  }
}
.grid-node {
  background: 0 0;
  transition: all 0.3s;
  position: relative;
}
.grid-node.active {
  border-color: var(--accent);
  background: var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .grid-node.active {
    background: color-mix(in srgb, var(--accent) 20%, transparent 80%);
  }
}
.grid-node.active {
  box-shadow: 0 0 12px var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .grid-node.active {
    box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 30%, transparent 70%);
  }
}
.grid-node.active:after {
  content: "";
  background: var(--accent);
  border-radius: 50%;
  width: 40%;
  height: 40%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.flow-diagram {
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 0;
  display: flex;
}
.flow-diagram--spaced {
  margin-top: 1rem;
}
.flow-step {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  display: flex;
}
.flow-step-box {
  background: var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .flow-step-box {
    background: color-mix(in srgb, var(--accent) 12%, transparent 88%);
  }
}
.flow-step-box {
  border: 1px solid var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .flow-step-box {
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent 70%);
  }
}
.flow-step-box {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  text-align: center;
  clip-path: polygon(
    6px 0,
    100% 0,
    100% calc(100% - 6px),
    calc(100% - 6px) 100%,
    0 100%,
    0 6px
  );
  overflow-wrap: anywhere;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
}
.flow-step-label {
  color: var(--text-secondary);
  text-align: center;
  overflow-wrap: break-word;
  font-size: 0.72rem;
}
.flow-arrow {
  color: var(--highlight);
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
}
.feature-article blockquote {
  border-left: 3px solid var(--highlight);
  background: var(--surface);
  margin: 24px 0;
  padding: 12px 20px;
}
@supports (color: color-mix(in lab, red, red)) {
  .feature-article blockquote {
    background: color-mix(in srgb, var(--surface) 50%, transparent 50%);
  }
}
.feature-article blockquote {
  color: var(--text-secondary);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.feature-faq {
  margin: 48px 0 0;
}
.feature-faq h2 {
  margin-bottom: 24px;
}
.feature-faq-item {
  border-bottom: 1px solid var(--text);
}
@supports (color: color-mix(in lab, red, red)) {
  .feature-faq-item {
    border-bottom: 1px solid
      color-mix(in srgb, var(--text) 10%, transparent 90%);
  }
}
.feature-faq-item:first-of-type {
  border-top: 1px solid var(--text);
}
@supports (color: color-mix(in lab, red, red)) {
  .feature-faq-item:first-of-type {
    border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent 90%);
  }
}
.feature-faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  color: var(--text);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  display: flex;
}
.feature-faq-item summary::-webkit-details-marker {
  display: none;
}
.feature-faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.feature-faq-item summary:after {
  content: "+";
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.2s;
}
.feature-faq-item[open] summary:after {
  content: "−";
}
.feature-faq-item .faq-answer {
  opacity: 0;
  grid-template-rows: 0fr;
  padding: 0;
  transition:
    grid-template-rows 0.3s,
    padding 0.3s,
    opacity 0.2s;
  display: grid;
  overflow: hidden;
}
.feature-faq-item .faq-answer > * {
  overflow: hidden;
}
.feature-faq-item[open] .faq-answer {
  opacity: 1;
  grid-template-rows: 1fr;
  padding-bottom: 18px;
}
.feature-faq-item .faq-answer p {
  margin-bottom: 8px;
}
.feature-faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}
.feature-cta {
  background: radial-gradient(
    ellipse at center,
    var(--accent) 0%,
    transparent 70%
  );
  margin: 56px 0 0;
  padding: 48px 40px;
}
@supports (color: color-mix(in lab, red, red)) {
  .feature-cta {
    background: radial-gradient(
      ellipse at center,
      color-mix(in srgb, var(--accent) 10%, transparent 90%) 0%,
      transparent 70%
    );
  }
}
.feature-cta {
  border: 1px solid var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .feature-cta {
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent 75%);
  }
}
.feature-cta {
  text-align: center;
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
}
.feature-cta h2 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: none;
  margin: 0 0 12px;
  padding-bottom: 0;
  font-size: 1.6rem;
}
.feature-cta p {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 24px;
}
.feature-cta .btn {
  font-size: 1rem;
}
.feature-hub-hero {
  text-align: center;
  padding: 104px 0 36px;
}
.feature-hub-hero h1 {
  max-inline-size: min(100%, var(--feature-hub-heading-measure));
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: balance;
  margin-bottom: 16px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.04;
}
.feature-hub-hero p {
  color: var(--text-secondary);
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: pretty;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.feature-hub-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px 0 80px;
  display: grid;
}
.feature-hub-card {
  background: var(--surface);
}
@supports (color: color-mix(in lab, red, red)) {
  .feature-hub-card {
    background: color-mix(in srgb, var(--surface) 60%, transparent 40%);
  }
}
.feature-hub-card {
  border: 1px solid var(--text);
}
@supports (color: color-mix(in lab, red, red)) {
  .feature-hub-card {
    border: 1px solid color-mix(in srgb, var(--text) 10%, transparent 90%);
  }
}
.feature-hub-card {
  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 20px;
  min-height: 100%;
  padding: 32px;
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  display: grid;
  position: relative;
}
.feature-hub-card:after {
  content: "";
  background: linear-gradient(
    to bottom left,
    var(--highlight) 50%,
    transparent 50%
  );
  width: 32px;
  height: 32px;
  position: absolute;
  top: 0;
  right: 0;
}
.feature-hub-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px #0003;
}
.feature-hub-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.feature-hub-card-icon {
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
}
.feature-hub-card-icon svg {
  width: 32px;
  height: 32px;
}
.feature-hub-card-content {
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
  display: flex;
}
.feature-hub-card-content h2,
.feature-hub-card-content h3 {
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: balance;
  max-inline-size: 100%;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.feature-hub-card-content p {
  color: var(--text-secondary);
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: pretty;
  max-inline-size: 40ch;
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}
.feature-hub-card-content .learn-more {
  font-family: var(--font-display);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .page-feature {
    --feature-detail-heading-measure: 100%;
    --feature-hub-heading-measure: 100%;
  }
  .page-feature .breadcrumbs {
    padding-top: 88px;
  }
  .feature-article {
    padding: 24px 0 60px;
  }
  .feature-hero-icon {
    width: 52px;
    height: 52px;
  }
  .feature-hero-icon svg {
    width: 44px;
    height: 44px;
  }
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-diagram {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .flow-arrow {
    height: auto;
    transform: rotate(90deg);
  }
  .feature-cta {
    padding: 32px 24px;
  }
  .feature-cta h2 {
    font-size: 1.45rem;
  }
  .feature-hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 56px;
  }
  .feature-hub-hero {
    padding-top: 96px;
  }
  .feature-hub-card {
    gap: 14px;
    padding: 22px;
  }
  .diagram-container {
    margin: 24px -8px;
    padding: 20px;
  }
  .pattern-grid-diagram {
    gap: 8px;
    max-width: 220px;
  }
  .info-box {
    padding: 20px;
  }
}
.app-icon-grid {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 20px 12px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.app-icon-grid li {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  display: flex;
}
.app-icon-grid img {
  border-radius: 22.37%;
  width: 64px;
  height: 64px;
}
.app-icon-grid span {
  color: var(--text-secondary);
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}
.related-features {
  margin: 56px 0 0;
}
.related-features h2 {
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  border-bottom: none;
  margin-bottom: 20px;
  padding-bottom: 0;
  font-size: 1.2rem;
}
.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  display: grid;
}
.related-card {
  border: 1px solid var(--text);
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 100%;
  padding: 16px 20px;
  display: grid;
}
@supports (color: color-mix(in lab, red, red)) {
  .related-card {
    border: 1px solid color-mix(in srgb, var(--text) 8%, transparent 92%);
  }
}
.related-card {
  background: var(--surface);
}
@supports (color: color-mix(in lab, red, red)) {
  .related-card {
    background: color-mix(in srgb, var(--surface) 50%, transparent 50%);
  }
}
.related-card {
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s,
    background 0.2s;
}
.related-card:hover {
  border-color: var(--accent);
  background: var(--accent);
}
@supports (color: color-mix(in lab, red, red)) {
  .related-card:hover {
    background: color-mix(in srgb, var(--accent) 6%, transparent 94%);
  }
}
.related-card:hover {
  transform: translateY(-2px);
}
.related-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.feature-article a.related-card,
.feature-article a.related-card * {
  text-decoration: none;
}
.related-card-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}
.related-card-icon svg {
  width: 20px;
  height: 20px;
  padding-top: 2px;
  line-height: 1;
}
.related-card-text {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}
.related-card-title {
  overflow-wrap: break-word;
  max-inline-size: 100%;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: balance;
  font-size: 0.88rem;
  font-weight: 600;
}
.related-card-desc {
  max-inline-size: var(--feature-card-measure);
  overflow-wrap: normal;
  color: var(--text-secondary);
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
  text-wrap: pretty;
  font-size: 0.78rem;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.cite-link {
  color: inherit;
  text-decoration: none;
}
.cite-link:hover,
.cite-link:focus {
  text-underline-offset: 2px;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
.page-references {
  padding: 48px 0 64px;
}
.page-references--embedded {
  padding: 0 0 28px;
}
.page-references-inner {
  background: var(--surface);
  max-width: 960px;
  margin: 0 auto;
  padding: 28px;
}
@supports (color: color-mix(in lab, red, red)) {
  .page-references-inner {
    background: color-mix(in srgb, var(--surface) 60%, transparent 40%);
  }
}
.page-references-inner {
  border: 1px solid var(--text);
}
@supports (color: color-mix(in lab, red, red)) {
  .page-references-inner {
    border: 1px solid color-mix(in srgb, var(--text) 10%, transparent 90%);
  }
}
.page-references-inner {
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}
.page-references-inner--feature {
  max-width: 800px;
}
.page-compare .page-references {
  padding: 12px 0 0;
}
.page-compare .page-references--embedded {
  padding: 0 0 28px;
}
.page-compare .page-references-inner {
  max-width: var(--compare-block-measure, 960px);
}
.page-references-heading {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  font-size: 1rem;
}
.page-references-list {
  counter-reset: reference-item;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.page-references-item {
  color: var(--text-secondary);
  padding-inline-start: 36px;
  line-height: 1.6;
  position: relative;
}
.page-references-item:before {
  content: counter(reference-item) ".";
  counter-increment: reference-item;
  color: var(--accent);
  font-family: var(--font-display);
  inset-inline-start: 0;
  font-weight: 700;
  position: absolute;
  top: 0;
}
.page-references-item cite {
  font-style: normal;
}
.page-references-item a {
  color: var(--accent);
  text-underline-offset: 2px;
  text-decoration: underline;
}
.page-references-item a:hover,
.page-references-item a:focus-visible {
  color: var(--highlight);
}
@media (max-width: 768px) {
  .page-references {
    padding: 32px 0 48px;
  }
  .page-references--embedded,
  .page-compare .page-references--embedded {
    padding: 0 0 24px;
  }
  .page-references-inner {
    padding: 22px 20px;
  }
  .page-references-item {
    padding-inline-start: 30px;
  }
}

/* Our font is narrower than the reference font: keep paragraphs the same 800px width. */
.page-feature {
  --feature-text-measure: 80ch;
}

/* Long code names in source titles must wrap on phones. */
.page-references-item cite,
.scenario-source-list a {
  overflow-wrap: anywhere;
}

/* "By the Vaultmira team · Updated <date>" under the lead: who wrote it and when (search engines
   and readers both look for it). Small and quiet, centred like the hero. */
.page-byline {
  margin: -20px auto 28px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.page-byline a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.compare-hero .page-byline {
  margin: 14px auto 0;
}
.scenario-hero .page-byline {
  margin: -16px 0 24px;
  text-align: inherit;
}
