:root {
  --bg: #f4f6ff;
  --ink: #162047;
  --muted: #596188;
  --line: #dce2f7;
  --panel: #ffffff;
  --brand: #3a63ff;
  --brand-2: #7f49ff;
  --mint: #1bb98b;
  --shadow: 0 22px 54px rgba(22, 32, 71, 0.12);
  --shadow-soft: 0 14px 34px rgba(22, 32, 71, 0.08);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% -8%, rgba(127, 73, 255, 0.16), transparent 34%),
    radial-gradient(circle at 96% 0, rgba(27, 185, 139, 0.1), transparent 30%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(var(--max), calc(100% - 42px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 255, 0.88);
  border-bottom: 1px solid rgba(22, 32, 71, 0.08);
}
.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 72px;
  height: 72px;
  padding: 9px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.brand strong {
  display: block;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}
.brand span {
  font-size: 0.95rem;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  gap: 20px;
}
.desktop-nav a {
  font-weight: 700;
  color: var(--muted);
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: var(--ink); }

.desktop-cta { display: flex; gap: 10px; }
.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-1px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(58, 99, 255, 0.34);
}
.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.button.mini { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  gap: 10px;
  padding-bottom: 14px;
}
.mobile-nav.open { display: grid; }
.mobile-nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-weight: 700;
}

.hero {
  padding: 66px 0 34px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}
.hero-badge {
  margin: 0;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #21429f;
  background: rgba(58, 99, 255, 0.12);
  border: 1px solid rgba(58, 99, 255, 0.24);
}
.hero h1 {
  margin: 14px 0 10px;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.hero-lead {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-flow {
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.flow-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}
.flow-fill {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--mint));
  transition: width 0.25s ease;
}
.hero-flow strong {
  display: block;
  margin-top: 12px;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: 1.28rem;
}
.hero-flow p {
  margin: 5px 0 0;
  color: var(--muted);
}
.flow-buttons {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-art {
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-art img {
  width: 100%;
  border-radius: 16px;
}
.hero-art figcaption {
  margin-top: 10px;
  color: #2e3c79;
  font-size: 0.96rem;
}

.section {
  padding: 66px 0;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.section h2 {
  margin: 0;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: clamp(1.9rem, 3.9vw, 3rem);
  line-height: 0.98;
}
.section-copy,
.section-head p,
.story-copy p {
  color: var(--muted);
}

.tour-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: stretch;
}
.tour-phone {
  margin: 0;
  padding: 14px;
  border-radius: 22px;
  background: #101835;
  box-shadow: var(--shadow);
}
.tour-phone img {
  width: 100%;
  border-radius: 14px;
}
.tour-panel {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.tab-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tab {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}
.tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(58, 99, 255, 0.25);
}
.tip-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #f6f9ff;
  border: 1px solid #e3e9ff;
}
.tip-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.tip-card h3 {
  margin: 7px 0 5px;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}
.tip-card p {
  margin: 0;
  color: var(--muted);
}
.tip-line {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px dashed #cfd8ff;
  background: #fff;
  font-weight: 700;
  color: #334281;
}

.safety-features {
  background: linear-gradient(180deg, rgba(58, 99, 255, 0.04), rgba(27, 185, 139, 0.03));
}

.safety-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.safety-card {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.safety-card h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: 1.14rem;
  line-height: 1.05;
}

.safety-card ul {
  margin: 0;
  padding-left: 18px;
}

.safety-card li {
  color: var(--muted);
  margin-top: 6px;
}

.safety-card.tone-blue {
  background: linear-gradient(180deg, rgba(58, 99, 255, 0.12), #fff 52%);
  border-color: rgba(58, 99, 255, 0.26);
}
.safety-card.tone-blue h3 { color: #1f3eaa; }

.safety-card.tone-green {
  background: linear-gradient(180deg, rgba(27, 185, 139, 0.13), #fff 52%);
  border-color: rgba(27, 185, 139, 0.3);
}
.safety-card.tone-green h3 { color: #0b7f5d; }

.safety-card.tone-orange {
  background: linear-gradient(180deg, rgba(255, 145, 52, 0.14), #fff 52%);
  border-color: rgba(255, 145, 52, 0.3);
}
.safety-card.tone-orange h3 { color: #a44f03; }

.safety-card.tone-purple {
  background: linear-gradient(180deg, rgba(127, 73, 255, 0.13), #fff 52%);
  border-color: rgba(127, 73, 255, 0.3);
}
.safety-card.tone-purple h3 { color: #5c2dc7; }

.safety-card.tone-pink {
  background: linear-gradient(180deg, rgba(243, 81, 161, 0.13), #fff 52%);
  border-color: rgba(243, 81, 161, 0.3);
}
.safety-card.tone-pink h3 { color: #b91d74; }

.safety-card.tone-gold {
  background: linear-gradient(180deg, rgba(255, 201, 38, 0.15), #fff 52%);
  border-color: rgba(255, 201, 38, 0.35);
}
.safety-card.tone-gold h3 { color: #8f6200; }

.safety-card.tone-slate {
  background: linear-gradient(180deg, rgba(107, 127, 169, 0.16), #fff 56%);
  border-color: rgba(107, 127, 169, 0.35);
}
.safety-card.tone-slate h3 { color: #2f436f; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.story-copy h2 {
  margin: 0;
}
.story-copy p {
  margin: 12px 0 0;
  font-size: 1.02rem;
}
.story-cards {
  display: grid;
  gap: 10px;
  align-content: start;
}
.story-banner {
  margin: 0;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.story-banner img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.mini-card {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.mini-card strong {
  display: block;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: 1.12rem;
}
.mini-card span {
  color: var(--muted);
}

.final-cta { padding-top: 18px; }
.cta-box {
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(120deg, #121b41 0%, #2a3f8c 60%, #2d63ef 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cta-box .eyebrow { color: rgba(255, 255, 255, 0.72); }
.cta-box h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}
.cta-box p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  margin-top: 24px;
  padding: 24px 0 40px;
  border-top: 1px solid rgba(22, 32, 71, 0.08);
  background: rgba(255, 255, 255, 0.74);
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr;
  gap: 14px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
}
.footer-brand strong {
  display: block;
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: 1.3rem;
}
.footer-brand span { color: var(--muted); font-size: 0.9rem; }
.footer-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a,
.footer-contact a,
.footer-contact span {
  color: var(--muted);
  font-weight: 700;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--ink); }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .desktop-nav,
  .desktop-cta { display: none; }
  .menu-toggle { display: inline-block; }

  .hero-grid,
  .tour-grid,
  .safety-grid,
  .story-grid,
  .cta-box,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .footer-contact,
  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
  .brand strong { font-size: 1.35rem; }
  .brand span { font-size: 0.85rem; }
  .tab-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 54px 0; }
  .cta-box .button { width: 100%; }
}
