:root {
  --bg: #f4efe7;
  --bg-strong: #efe4d4;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #fffaf3;
  --ink: #1f150d;
  --muted: #645648;
  --line: rgba(112, 82, 47, 0.16);
  --accent: #bf5c2c;
  --accent-deep: #9e4720;
  --teal: #1c5b61;
  --teal-soft: #dceff1;
  --shadow: 0 24px 60px rgba(41, 28, 14, 0.12);
  --shadow-soft: 0 14px 30px rgba(41, 28, 14, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(191, 92, 44, 0.15), transparent 24%),
    radial-gradient(circle at top right, rgba(28, 91, 97, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  filter: blur(26px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.38;
}

body::before {
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(28, 91, 97, 0.24), transparent 68%);
}

body::after {
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(191, 92, 44, 0.2), transparent 65%);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar,
.hero,
.trust-strip,
.section,
.download-note,
.footer {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.brand span {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  letter-spacing: 0.03em;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}

.lang-picker select {
  border: none;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  outline: none;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
}

.cta {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #d77d45);
  box-shadow: 0 18px 36px rgba(191, 92, 44, 0.28);
}

.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 26px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.hero h1,
.section-head h2 {
  margin: 0;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  max-width: 11.5ch;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
}

.lede {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
  margin: 18px 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-actions .is-disabled,
.footer-actions .is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.55;
  filter: saturate(0.75);
}

.download-unavailable {
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 54ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.trust-strip div {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 236, 222, 0.9)),
    radial-gradient(circle at top right, rgba(28, 91, 97, 0.12), transparent 30%);
  box-shadow: var(--shadow);
  transform: translateY(22px) scale(0.98);
  opacity: 0;
  transition: transform 620ms cubic-bezier(.2,.9,.2,1), opacity 620ms ease;
}

body.is-ready .hero-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-copy {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 540ms cubic-bezier(.2,.9,.2,1), opacity 540ms ease;
}

body.is-ready .hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.promo-frame,
.mini-window {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(31, 21, 13, 0.08);
  background: var(--surface-strong);
}

.promo-frame {
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}

.promo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #f0e5d4;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ce936a;
}

.window-body {
  padding: 22px;
}

.vault-stat {
  margin-bottom: 18px;
}

.vault-stat label {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 8px;
}

.vault-stat strong {
  font-size: 2.1rem;
}

.vault-grid,
.feature-grid,
.security-grid,
.journey-grid,
.adv-grid,
.usecase-grid,
.ideal-grid {
  display: grid;
  gap: 16px;
}

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

.feature-grid,
.adv-grid,
.usecase-grid,
.ideal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-grid,
.journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vault-grid article,
.feature-card,
.journey-card,
.faq-list article,
.security-grid article,
.adv-card,
.usecase-card,
.ideal-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, opacity 560ms ease, transform 560ms cubic-bezier(.2,.9,.2,1);
}

.vault-grid article:hover,
.feature-card:hover,
.journey-card:hover,
.faq-list article:hover,
.security-grid article:hover,
.adv-card:hover,
.usecase-card:hover,
.ideal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(41, 28, 14, 0.13);
  border-color: rgba(28, 91, 97, 0.22);
}

.vault-kicker {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.vault-value {
  display: block;
  font-size: 1.28rem;
  line-height: 1.32;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.download-note {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
}

.download-note strong { color: var(--ink); }
.download-note p { margin: 0; line-height: 1.7; }

.interest-section {
  padding-top: 30px;
}

.interest-lede {
  margin: 14px auto 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.72;
  text-align: center;
}

.interest-form {
  margin-top: 26px;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 228, 212, 0.78)),
    radial-gradient(circle at top right, rgba(28, 91, 97, 0.08), transparent 32%);
  box-shadow: var(--shadow-soft);
}

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

.interest-row input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.interest-row input:focus {
  border-color: rgba(28, 91, 97, 0.45);
  box-shadow: 0 0 0 4px rgba(28, 91, 97, 0.08);
  transform: translateY(-1px);
}

.interest-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.interest-card {
  width: 100%;
  text-align: left;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.interest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(191, 92, 44, 0.28);
}

.interest-card.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.interest-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.interest-card span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.interest-status {
  min-height: 24px;
  margin: 16px 2px 0;
  font-weight: 700;
  color: var(--teal);
}

.interest-status.is-error {
  color: #b23e28;
}

.section {
  padding: 82px 0 18px;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(191, 92, 44, 0.55), transparent);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.reveal-up,
.reveal-card {
  opacity: 0;
  transform: translateY(26px);
}

.reveal-up.is-visible,
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  transition: opacity 540ms ease, transform 540ms cubic-bezier(.2,.9,.2,1);
}

.reveal-card {
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.9,.2,1);
}

.section-head.narrow {
  max-width: 680px;
}

.feature-card h3,
.journey-card h3,
.faq-list h3,
.security-grid h3,
.adv-card h3,
.usecase-card h3,
.ideal-card h3 {
  margin-top: 0;
}

.feature-card p,
.journey-card p,
.faq-list p,
.security-grid p,
.adv-card p,
.usecase-card p,
.ideal-card p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 0;
}

.section-soft {
  padding-top: 56px;
}

.adv-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-dark {
  width: min(1280px, calc(100% - 20px));
  padding: 86px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 24%),
    linear-gradient(135deg, #18343d, #0f1f24);
  color: #eef7f5;
  box-shadow: var(--shadow);
}

.section-dark .eyebrow {
  color: #f0a06e;
}

.section-dark p {
  color: rgba(238, 247, 245, 0.82);
}

.section-dark article {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  box-shadow: none;
}

.journey-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(28, 91, 97, 0.12);
  color: var(--teal);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 72px 0 40px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy,
  .hero-card,
  .reveal-up,
  .reveal-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.footer-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  nav,
  .hero,
  .feature-grid,
  .adv-grid,
  .usecase-grid,
  .ideal-grid,
  .security-grid,
  .journey-grid,
  .interest-actions,
  .trust-strip,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero,
  .trust-strip,
  .section,
  .download-note,
  .footer {
    width: min(100% - 24px, 1220px);
  }

  .section-dark {
    width: min(100% - 24px, 1280px);
    padding: 56px 20px;
  }

  .vault-grid {
    grid-template-columns: 1fr;
  }
}
