:root {
  --primary: #123b5d;
  --primary-dark: #0a2741;
  --primary-deep: #071a33;
  --accent: #ff7117;
  --accent-soft: #fff0e7;
  --background: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef4f8;
  --text: #132238;
  --muted: #5e6d7f;
  --border: #dce5ed;
  --shadow: 0 24px 70px rgba(10, 39, 65, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(220,229,237,.9);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 22px rgba(10,39,65,.16); }
.site-nav { display: flex; align-items: center; gap: 28px; color: #31455d; font-weight: 650; }
.site-nav a { padding: 8px 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--accent); transition: width .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.menu-button { display: none; border: 0; background: transparent; font-size: 28px; color: var(--primary); cursor: pointer; }

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 75% 30%, rgba(255,113,23,.2), transparent 20%),
    radial-gradient(circle at 12% 10%, rgba(66,140,197,.25), transparent 28%),
    linear-gradient(135deg, #071a33 0%, #0d2d55 52%, #123b5d 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; padding-block: 90px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.hero h1, .policy-hero h1 { margin: 0; font-size: clamp(2.9rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.hero-text { max-width: 660px; margin: 28px 0 0; color: #d9e5ef; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.store-badge, .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 22px; font-weight: 800; }
.store-badge { background: var(--accent); color: #fff; box-shadow: 0 12px 35px rgba(255,113,23,.3); }
.button { border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 28px rgba(18,59,93,.18); }
.button-primary:hover { background: var(--primary-dark); }
.button-secondary { color: inherit; border-color: currentColor; background: transparent; }
.hero .button-secondary { color: #fff; border-color: rgba(255,255,255,.4); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; color: #c9d8e5; font-size: .95rem; }
.trust-row span::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 900; }

.hero-art { min-height: 480px; position: relative; display: grid; place-items: center; }
.logo-halo { width: min(82%, 430px); aspect-ratio: 1; border-radius: 42px; padding: 20px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow); transform: rotate(2deg); }
.logo-halo img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.formula-chip { position: absolute; padding: 11px 17px; border-radius: 999px; color: var(--primary-deep); background: rgba(255,255,255,.94); box-shadow: 0 12px 32px rgba(0,0,0,.18); font-weight: 850; }
.chip-one { top: 14%; left: 2%; }
.chip-two { top: 48%; right: -2%; }
.chip-three { bottom: 10%; left: 10%; }

.section { padding: 100px 0; }
.section h2 { max-width: 780px; margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.045em; }
.section-lead { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 1.06rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.feature-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 16px 40px rgba(18,59,93,.07); }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: var(--primary); font-size: 1.55rem; font-weight: 900; }
.feature-card h3 { margin: 24px 0 10px; font-size: 1.28rem; }
.feature-card p { margin: 0; color: var(--muted); }

.section-soft { background: var(--surface-soft); }
.workflow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px; border-radius: var(--radius-md); background: rgba(255,255,255,.75); border: 1px solid rgba(220,229,237,.9); }
.step > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-weight: 900; }
.step h3 { margin: 0 0 5px; }
.step p { margin: 0; color: var(--muted); }

.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.privacy-preview .button { margin-top: 28px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding: 22px 22px 22px 62px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--border); }
.check-list li::before { content: "✓"; position: absolute; left: 22px; top: 22px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-weight: 900; }
.check-list strong, .check-list span { display: block; }
.check-list span { color: var(--muted); margin-top: 4px; }

.contact-section { padding-top: 20px; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 46px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--primary-deep), var(--primary)); box-shadow: var(--shadow); }
.contact-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.contact-card p { color: #d8e4ee; }
.contact-actions { display: grid; gap: 14px; }
.contact-link { padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); }
.contact-link span, .contact-link strong { display: block; }
.contact-link span { color: #bcd0df; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-link strong { margin-top: 4px; }

.site-footer { margin-top: 100px; color: #d4e0e9; background: #071a2c; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 60px; padding: 70px 0; }
.footer-brand p { max-width: 430px; color: #9fb1c1; }
.site-footer h3 { margin: 0 0 16px; color: #fff; }
.site-footer a, .site-footer span { display: block; margin: 8px 0; color: #b8c8d5; }
.site-footer .brand span { color: #fff; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.compact-footer { margin-top: 0; }

.policy-hero { color: #fff; padding: 95px 0 70px; background: linear-gradient(135deg, var(--primary-deep), var(--primary)); }
.policy-hero p:last-child { color: #d4e2ec; }
.policy-card { padding: 46px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(18,59,93,.08); }
.policy-card h2 { margin: 38px 0 10px; font-size: 1.5rem; letter-spacing: -.02em; }
.policy-card p, .policy-card li { color: #4d5f72; }
.policy-card a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.policy-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.policy-actions .button { text-decoration: none; }

@media (max-width: 900px) {
  .hero-grid, .workflow-grid, .privacy-grid, .contact-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { gap: 32px; padding-block: 70px; }
  .hero-art { min-height: 420px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 76px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(10,39,65,.15); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; border-radius: 10px; }
  .site-nav a:hover { background: var(--surface-soft); }
  .hero h1, .policy-hero h1 { font-size: clamp(2.5rem, 13vw, 4.3rem); }
  .hero-art { min-height: 350px; }
  .logo-halo { width: min(88%, 350px); }
  .formula-chip { font-size: .82rem; padding: 9px 13px; }
  .section { padding: 76px 0; }
  .contact-card, .policy-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
