:root {
  --forest: #173d2b;
  --forest-2: #255a40;
  --ivory: #f7f5f0;
  --paper: #fffdf9;
  --ink: #1b1c1a;
  --muted: #5f625e;
  --sage: #dde9e1;
  --line: #dfe2dc;
  --coral: #f3a18e;
  --amber: #ffc36d;
  --blue: #547aa5;
  --shadow: 0 24px 80px rgba(23, 61, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 240, .84);
  border-bottom: 1px solid rgba(23, 61, 43, .08);
}
.nav {
  width: min(1160px, calc(100% - 40px));
  height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: .93rem; }
.nav-links a:hover { color: var(--forest); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--forest);
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--forest-2); }
.button.secondary { background: transparent; color: var(--forest); }
.button.small { min-height: 40px; padding: 0 17px; font-size: .9rem; }

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: 720px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 80px;
  padding: 70px 0 90px;
}
.eyebrow { color: var(--forest-2); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { margin-bottom: 24px; font-size: clamp(3.3rem, 7vw, 6.4rem); max-width: 800px; }
h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hero-copy > p { max-width: 610px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.availability { margin-top: 18px; font-size: .88rem !important; }

.phone-wrap { position: relative; min-height: 580px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb.one { width: 420px; height: 420px; background: var(--sage); }
.orb.two { width: 130px; height: 130px; background: var(--amber); right: 0; top: 30px; opacity: .72; }
.phone {
  position: relative;
  width: min(340px, 84vw);
  padding: 18px;
  border-radius: 42px;
  background: #101b15;
  box-shadow: 0 40px 100px rgba(23, 61, 43, .28);
  transform: rotate(2deg);
}
.screen { min-height: 620px; border-radius: 29px; background: var(--ivory); padding: 25px 20px; overflow: hidden; }
.screen-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: white; display: grid; place-items: center; font-weight: 800; }
.bell { width: 36px; height: 36px; border-radius: 50%; background: white; display: grid; place-items: center; }
.greeting { color: var(--muted); font-size: .82rem; }
.screen h4 { font-size: 1.55rem; margin: 3px 0 18px; letter-spacing: -.04em; }
.hero-card { border-radius: 24px; padding: 22px; background: var(--forest); color: white; }
.hero-card small { opacity: .75; }
.hero-card strong { display: block; margin-top: 5px; font-size: 2rem; letter-spacing: -.04em; }
.quick-label { margin: 22px 0 10px; font-weight: 800; }
.quick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick { min-height: 72px; border-radius: 16px; background: white; padding: 11px; font-size: .72rem; box-shadow: 0 7px 20px rgba(23, 61, 43, .07); }
.quick i { display: block; width: 20px; height: 20px; border-radius: 7px; margin-bottom: 8px; }
.quick:nth-child(1) i { background: var(--coral); }
.quick:nth-child(2) i { background: var(--amber); }
.quick:nth-child(3) i { background: var(--blue); }
.recent { margin-top: 22px; }
.transaction { display: grid; grid-template-columns: 36px 1fr auto; gap: 11px; align-items: center; background: white; border-radius: 15px; padding: 11px; margin-top: 8px; }
.transaction .dot { width: 34px; height: 34px; border-radius: 11px; background: var(--sage); }
.transaction b, .transaction span { display: block; font-size: .78rem; }
.transaction span { color: var(--muted); font-size: .67rem; }
.transaction em { font-style: normal; font-size: .75rem; font-weight: 800; }

.section { padding: 110px 0; }
.section-inner { width: min(1160px, calc(100% - 40px)); margin: auto; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 270px; padding: 30px; border-radius: 26px; background: var(--paper); border: 1px solid rgba(23,61,43,.08); }
.card-icon { width: 48px; height: 48px; margin-bottom: 35px; border-radius: 15px; display: grid; place-items: center; background: var(--sage); color: var(--forest); font-weight: 900; }
.card p { color: var(--muted); }

.story-section { background: var(--forest); color: white; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.story-grid p { color: rgba(255,255,255,.72); font-size: 1.12rem; }
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; transform: rotate(-2deg); }
.story { aspect-ratio: 9 / 15; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: white; box-shadow: 0 25px 45px rgba(0,0,0,.18); }
.story:nth-child(1) { background: #33245f; }
.story:nth-child(2) { background: #9a3c55; transform: translateY(28px); }
.story:nth-child(3) { background: #29558a; }
.story-bar { height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; }
.story-bar::before { content: ""; display: block; width: 68%; height: 100%; background: white; }
.story strong { font-size: clamp(1rem, 2vw, 1.45rem); line-height: 1.05; }

.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.privacy-list { display: grid; gap: 12px; }
.privacy-item { background: var(--paper); padding: 22px; border-radius: 18px; display: flex; gap: 15px; align-items: flex-start; }
.check { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; font-weight: 900; }

.cta { padding: 90px 20px; }
.cta-box { width: min(1050px, 100%); margin: auto; padding: 72px; border-radius: 36px; background: var(--amber); color: #2b2111; text-align: center; }
.cta-box p { max-width: 660px; margin: 0 auto 30px; font-size: 1.1rem; }

.site-footer { padding: 36px 0 48px; border-top: 1px solid rgba(23,61,43,.1); }
.footer-inner { width: min(1160px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: .88rem; }

.legal-page { width: min(850px, calc(100% - 40px)); margin: auto; padding: 84px 0 120px; }
.legal-page h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); }
.legal-page h2 { margin-top: 48px; font-size: 1.65rem; letter-spacing: -.03em; }
.legal-page p, .legal-page li { color: #3f423e; }
.legal-page .notice { padding: 20px 22px; background: var(--sage); border-radius: 16px; color: var(--forest); }
.legal-page .meta { color: var(--muted); margin-bottom: 40px; }

@media (max-width: 900px) {
  .hero, .story-grid, .privacy-grid { grid-template-columns: 1fr; }
  .hero { gap: 20px; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .phone-wrap { min-height: 680px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .stories { max-width: 580px; margin: auto; }
}

@media (max-width: 650px) {
  .nav-links a:not(.button) { display: none; }
  .section { padding: 80px 0; }
  .phone-wrap { min-height: 620px; }
  .phone { width: 310px; }
  .screen { min-height: 570px; }
  .stories { gap: 7px; }
  .story { border-radius: 15px; padding: 11px; }
  .cta-box { padding: 50px 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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