@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #050f1e;
  --navy-900: #08182d;
  --navy-800: #102944;
  --navy-700: #183b5b;
  --gold-300: #ffe09a;
  --gold-400: #e9b84f;
  --gold-500: #c58a2d;
  --cream: #fff8e8;
  --muted: #c9d3dc;
  --line: rgba(233, 184, 79, 0.38);
  --surface: rgba(13, 34, 56, 0.82);
  --surface-soft: rgba(21, 52, 79, 0.65);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 8%, rgba(38, 101, 139, 0.34), transparent 32rem),
    radial-gradient(circle at 15% 70%, rgba(197, 138, 45, 0.12), transparent 28rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 56%, #071321);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 46px 46px;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 15, 30, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gold-400); box-shadow: 0 0 22px rgba(233,184,79,.16);
}
.brand-name { font: 700 1.33rem/1.05 'Cormorant Garamond', serif; letter-spacing: .035em; }
.brand-name small { display: block; margin-top: 5px; color: var(--gold-300); font: 600 .62rem/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links a { padding: 10px 13px; border-radius: 11px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); background: rgba(255,255,255,.07); }
.menu-button { display: none; border: 1px solid var(--line); color: var(--cream); background: var(--surface); border-radius: 12px; padding: 9px 11px; font: inherit; }

.hero { padding: 88px 0 70px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 68px; }
.eyebrow { color: var(--gold-300); font-weight: 700; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.04; }
h1 { margin-top: 15px; max-width: 760px; font-size: clamp(3.2rem, 7vw, 6.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.25rem, 4.3vw, 3.75rem); }
h3 { font-size: 1.58rem; }
.hero-copy > p { max-width: 680px; color: var(--muted); font-size: clamp(1.02rem, 1.8vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.button-primary { color: #071321; background: linear-gradient(145deg, var(--gold-300), var(--gold-500)); box-shadow: 0 13px 30px rgba(197,138,45,.22); }
.button-secondary { background: rgba(255,255,255,.055); }
.button:hover { transform: translateY(-2px); }

.vault-frame {
  position: relative; min-height: 475px; padding: 34px; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line); border-radius: 40px; background: linear-gradient(145deg, rgba(29,71,103,.92), rgba(7,20,35,.94)); box-shadow: var(--shadow), inset 0 0 0 7px rgba(233,184,79,.055);
}
.vault-frame::before, .vault-frame::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(233,184,79,.18); }
.vault-frame::before { width: 390px; height: 390px; }
.vault-frame::after { width: 320px; height: 320px; }
.app-icon { position: relative; z-index: 2; width: min(285px, 75%); border-radius: 27%; border: 2px solid var(--gold-400); box-shadow: 0 30px 60px rgba(0,0,0,.48), 0 0 38px rgba(233,184,79,.18); }
.seal { position: absolute; right: 22px; bottom: 22px; z-index: 3; padding: 9px 13px; border-radius: 999px; background: rgba(5,15,30,.86); border: 1px solid var(--line); color: var(--gold-300); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }

.section { padding: 80px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading p { max-width: 570px; margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 28px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(27,62,91,.83), rgba(9,25,43,.92)); box-shadow: 0 15px 35px rgba(0,0,0,.19), inset 0 1px rgba(255,255,255,.06); }
.card::after { content: ''; position: absolute; width: 110px; height: 110px; right: -45px; top: -45px; border: 1px solid rgba(233,184,79,.16); border-radius: 50%; }
.card-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 13px; color: var(--gold-300); background: rgba(5,15,30,.45); font-size: 1.3rem; }
.card p { margin-bottom: 0; color: var(--muted); }

.feature-product { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: stretch; }
.product-mark { min-height: 370px; display: grid; place-items: center; padding: 42px; border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(155deg, #173e5c, #071524); }
.product-mark img { width: min(250px, 80%); border-radius: 28%; box-shadow: var(--shadow); }
.product-copy { padding: 42px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 0; margin: 25px 0 0; list-style: none; color: var(--muted); }
.feature-list li::before { content: '◆'; margin-right: 9px; color: var(--gold-400); font-size: .6rem; }

.page-hero { padding: 70px 0 38px; text-align: center; }
.page-hero h1 { margin-inline: auto; font-size: clamp(3rem, 7vw, 5.2rem); }
.page-hero p { max-width: 720px; margin: 20px auto 0; color: var(--muted); font-size: 1.08rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 90px; }
.legal-nav { position: sticky; top: 102px; padding: 21px; }
.legal-nav a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: .88rem; }
.legal-nav a:hover { color: var(--gold-300); }
.legal-copy { padding: clamp(25px, 5vw, 55px); }
.legal-copy h2 { margin-top: 42px; font-size: 2rem; color: var(--gold-300); }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: #d5dde4; }
.legal-copy a { color: var(--gold-300); }
.notice { margin: 25px 0; padding: 20px 22px; border-left: 3px solid var(--gold-400); border-radius: 5px 15px 15px 5px; background: rgba(233,184,79,.08); }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 90px; }
.support-card { min-height: 220px; }
.support-card ul { padding-left: 20px; color: var(--muted); }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: rgba(3,10,19,.55); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 35px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .86rem; }
.footer-links a { display: block; margin: 7px 0; text-decoration: none; }
.legal-line { margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #9eacb8; font-size: .76rem; }

@media (max-width: 860px) {
  .hero, .feature-product { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; gap: 42px; }
  .vault-frame { min-height: 390px; }
  .cards { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 15px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 68px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; inset: 68px 14px auto; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 17px; background: #091a2d; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; }
  .hero { padding: 44px 0 50px; }
  h1 { font-size: 3.25rem; }
  .vault-frame { min-height: 330px; border-radius: 28px; }
  .vault-frame::before { width: 280px; height: 280px; }
  .vault-frame::after { width: 230px; height: 230px; }
  .section { padding: 58px 0; }
  .feature-list, .support-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-copy, .legal-copy { padding: 27px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .card { transition: transform .2s ease, border-color .2s ease; }
  .card:hover { transform: translateY(-4px); border-color: rgba(255,224,154,.62); }
}
