/* ============================================================
   Risk-App marketing site
   ============================================================ */

:root {
  --brand: #1f4e79;
  --brand-tint: rgba(31, 78, 121, 0.08);
  --brand-tint-strong: rgba(31, 78, 121, 0.16);
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-soft: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --canvas: #ffffff;
  --canvas-alt: #f8fafc;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --max-content: 1200px;
  --max-narrow: 760px;
  --section-pad: clamp(48px, 6.5vw, 88px);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04";
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--max-narrow);
}

/* --------------------------------------------------------------
   Buttons
   -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: #173f64;
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* --------------------------------------------------------------
   Hero with parallax
   -------------------------------------------------------------- */

/* ----- Dark hero - clean, restrained ----- */

.hero {
  /* Plain in-flow hero. No parallax, no pinning. */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: #f1f5f9;
  background: linear-gradient(170deg, #0e2540 0%, #143052 55%, #173a64 100%);
}
.hero__glow {
  position: absolute;
  width: 1100px;
  height: 1100px;
  right: -380px;
  top: -340px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.34),
    transparent 62%
  );
  z-index: 1;
  pointer-events: none;
}
.hero__glow-2 {
  position: absolute;
  width: 760px;
  height: 760px;
  left: -260px;
  bottom: -300px;
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.22),
    transparent 62%
  );
  z-index: 1;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: -40px 0 0 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, #000 0%, transparent 75%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  padding: 120px 24px 72px; /* extra top padding for the in-hero nav */
}
.hero__text {
  text-align: left;
}
.hero__logo {
  width: clamp(180px, 20vw, 230px);
  margin: 0 0 28px;
  display: block;
}
.hero__logo--invert {
  filter: brightness(0) invert(1);
}
.hero__headline {
  font-size: clamp(40px, 4.8vw, 68px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 20px;
  font-weight: 800;
  color: #ffffff;
}
.hero__headline-accent {
  color: #67e8f9;
}
.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: #cbd5e1;
  max-width: 520px;
  margin: 0 0 22px;
  line-height: 1.55;
}
.hero__persona {
  margin: 0 0 28px;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  max-width: 520px;
  line-height: 1.5;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__cta .btn--primary {
  background: #ffffff;
  color: #0b1f33;
}
.hero__cta .btn--primary:hover {
  background: #e2e8f0;
  color: #0b1f33;
}
.hero__cta .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #f1f5f9;
}
.hero__cta .btn--ghost:hover {
  border-color: #ffffff;
  color: #ffffff;
}
/* Hero in-hero nav — sits at the top of the hero, not above it.
   It is part of the hero composition, not a top bar. */
.hero__nav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-content);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 24px 0;
  gap: clamp(20px, 3vw, 36px);
}
.hero__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(18px, 2.4vw, 32px);
  flex-wrap: wrap;
}
.hero__menu a {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.15s ease;
}
.hero__menu a:hover {
  color: #ffffff;
  text-decoration: none;
}
/* Mobile companion badges */
.hero__mobile {
  margin-top: 36px;
  max-width: 460px;
}
.hero__mobile-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}
.hero__mobile-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: "Inter", system-ui, sans-serif;
  user-select: none;
  cursor: default;
}
.appstore-badge__icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}
.appstore-badge__bottom {
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1;
}

.hero__signin {
  color: #cbd5e1;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.hero__signin:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

@media (max-width: 720px) {
  .hero__nav {
    padding-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.hero__product {
  position: relative;
}
.hero__product-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  /* No rotation. Parallax JS may apply a Y translation only. */
  transform: translate3d(0, 0, 0);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.40),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  will-change: transform;
}
.hero__text {
  will-change: transform;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 72px 24px 56px;
    gap: 40px;
  }
  .hero__text {
    text-align: center;
  }
  .hero__logo,
  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__cta {
    justify-content: center;
  }
  .hero__product-img {
    max-width: 620px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------
   Sections
   -------------------------------------------------------------- */

.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section--alt {
  background: var(--canvas-alt);
}
.section__head {
  margin-bottom: 56px;
  text-align: center;
}
.section__title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
}
.section__title--xl {
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -0.022em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto;
}
.section__lede {
  margin: 14px auto 0;
  color: var(--ink-muted);
  font-size: 18px;
  max-width: 600px;
}
.currency-switch {
  display: inline-flex;
  margin: 24px auto 0;
  padding: 4px;
  background: var(--canvas-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 2px;
}
.currency-switch__btn {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  letter-spacing: 0.08em;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease;
}
.currency-switch__btn:hover {
  color: var(--ink);
}
.currency-switch__btn.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 6px rgba(31, 78, 121, 0.30);
}
.currency-switch__btn.is-active:hover {
  color: #fff;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 700;
  color: var(--brand);
}

/* --------------------------------------------------------------
   Features (numbers, no icons)
   -------------------------------------------------------------- */

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 80px;
}
@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.feature p {
  margin: 0 0 10px;
}
.feature p:last-child {
  margin-bottom: 0;
}
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.feature__num {
  font-family: "Inter", system-ui, sans-serif;
  font-feature-settings: "tnum";
  font-size: clamp(54px, 5vw, 72px);
  font-weight: 800;
  color: var(--brand);
  line-height: 0.85;
  letter-spacing: -0.04em;
  opacity: 0.92;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* --------------------------------------------------------------
   Pricing
   -------------------------------------------------------------- */

/* --------------------------------------------------------------
   Full feature catalog
   -------------------------------------------------------------- */

.catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.cat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-tint-strong);
}
.cat ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat li {
  font-size: 13px;
  color: var(--ink-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.cat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .catalog {
    grid-template-columns: 1fr;
  }
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .pricing {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.plan {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.plan:hover {
  border-color: var(--brand);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}
.plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.plan--starter::before {
  background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%);
}
.plan--growth::before {
  background: linear-gradient(90deg, #1f4e79 0%, #2a6ea8 100%);
}
.plan--scale::before {
  background: linear-gradient(90deg, #0f2540 0%, #1e3a5f 100%);
}
.plan--featured {
  border-color: var(--brand);
  box-shadow: 0 22px 56px rgba(31, 78, 121, 0.16);
}
.plan__badge {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0;
  font-weight: 700;
  z-index: 1;
}
.plan__head {
  display: flex;
  flex-direction: column;
}
.plan__name {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.plan__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.plan__price-period {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.plan__billing {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.plan__compare {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.plan__section-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.plan__modules-head {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(15, 39, 71, 0.10);
  /* Reserve space for the label + pricing note line even when the
     note is absent (Scale), so module rows align across all cards. */
  min-height: 56px;
}
.plan__section-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
}
.plan__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 4px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(15, 39, 71, 0.05);
}
.plan__row:last-child {
  border-bottom: none;
}
.plan__row-label {
  color: var(--ink-muted);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.plan__row-value {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.plan__row-value--yes {
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.plan__row-value--no {
  color: #cbd5e1;
  font-weight: 400;
}
.plan__row-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__row-status--on {
  background: var(--brand-tint-strong);
  color: var(--brand);
}
.plan__row-status--addon {
  background: rgba(100, 116, 139, 0.10);
  color: var(--ink-soft);
}
.plan__row--on {
  background: rgba(31, 78, 121, 0.025);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
  border-bottom-color: transparent;
}
.plan__rows--modules .plan__row {
  font-weight: 500;
  color: var(--ink);
}
.plan__rows--modules .plan__row-label {
  color: var(--ink);
  font-weight: 500;
}
.plan__cta {
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------
   Frameworks / Compliance
   -------------------------------------------------------------- */

.frameworks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.framework {
  /* 3 cards per row at desktop; (100% - 2*gap) / 3 = 1/3 minus gaps. */
  flex: 0 0 calc((100% - 40px) / 3);
  padding: 28px 26px;
  gap: 16px;
}
@media (max-width: 760px) {
  .frameworks {
    gap: 16px;
  }
  .framework {
    flex: 0 0 100%;
  }
}
.framework {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.framework:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.framework__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.framework__logo-main {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.framework__logo-sub {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}
/* Per-framework brand-colour accents on the wordmark. */
.framework__logo--iso .framework__logo-main {
  color: #003876;
}
.framework__logo--nis .framework__logo-main {
  color: #003399;
}
.framework__logo--nist .framework__logo-main {
  color: #1a4d89;
}
.framework__logo--cis .framework__logo-main {
  color: #c8102e;
}
.framework__logo--esrs .framework__logo-main {
  color: #1e7a3e;
}
.framework p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------
   About
   -------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 1100px;
  margin: 0 auto;
}
.about p {
  margin: 0;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 720px;
  }
}

/* --------------------------------------------------------------
   Contact
   -------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px;
  background: var(--canvas-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.contact__label {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--brand);
}
.contact__col p {
  margin: 0 0 8px;
  color: var(--ink-muted);
}
.contact__note {
  margin-top: 12px !important;
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .contact {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

/* --------------------------------------------------------------
   Footer
   -------------------------------------------------------------- */

.footer {
  background: #0b1f33;
  color: #cbd5e1;
  padding: 56px 0 36px;
}
.footer__top {
  display: flex;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer__logo {
  height: 80px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  display: block;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bottom p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}
.footer__legal {
  display: inline-flex;
  gap: 20px;
}
.footer__legal a {
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(203, 213, 225, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer__legal a:hover {
  color: #67e8f9;
  border-color: #67e8f9;
}

/* --------------------------------------------------------------
   Legal page (privacy + terms)
   -------------------------------------------------------------- */
.legal-page {
  background: #f8fafc;
  color: var(--ink);
}
.legal-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.legal-header__brand img {
  height: 32px;
  display: block;
}
.legal-header__back {
  color: var(--ink-muted);
  font-size: 14px;
  text-decoration: none;
}
.legal-header__back:hover {
  color: var(--brand);
  text-decoration: none;
}

.legal {
  padding: 64px 24px 96px;
  max-width: 820px;
}
.legal__head {
  margin-bottom: 40px;
}
.legal__title {
  margin: 0 0 12px;
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.05;
}
.legal__sub {
  margin: 0 0 6px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
}
.legal__updated {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.legal__toc {
  display: flex;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  margin-bottom: 56px;
}
.legal__toc a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.legal__toc a:hover {
  text-decoration: underline;
}
.legal__section {
  margin-bottom: 64px;
  scroll-margin-top: 24px;
}
.legal__section h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-tint-strong);
}
.legal__section h3 {
  margin: 32px 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.legal__section p,
.legal__section li {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}
.legal__section p {
  margin: 0 0 12px;
}
.legal__section ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.legal__section li {
  margin-bottom: 6px;
}
.legal__section a {
  color: var(--brand);
}
.legal__section strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .footer__logo {
    height: 60px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* --------------------------------------------------------------
   Scroll-reveal animation
   -------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
