@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ground: #F7F4EE;
  --surface: #FFFFFF;
  --ink: #17150F;
  --ink-inverse: #F7F4EE;
  --muted: #7A7568;
  --muted-on-ink: #A79F92;
  --body: #5E5A50;
  --moss: #23604A;
  --moss-deep: #123A2C;
  --moss-mid: #3E7C63;
  --moss-tint: #E4EEE7;
  --sand: #EFE7D8;
  --sand-track: #E0D3B8;
  --sand-text: #8A7B5C;
  --terracotta: #B4553A;
  --hairline: #F1EDE4;
  --border: #DED8CB;
  --shadow: 0 24px 70px rgba(23, 21, 15, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 216, 203, 0.66);
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 116px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--body); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--ink-inverse) !important;
  padding: 11px 16px;
  border-radius: 999px;
}

.hero { padding: 76px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr); gap: 76px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--moss); font-size: 11px; line-height: 1; letter-spacing: 0.16em; font-weight: 700; text-transform: uppercase; }
.hero h1,
.section-title,
.legal-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(58px, 7.6vw, 104px); line-height: 0.92; }
.hero-copy { max-width: 620px; margin: 28px 0 0; color: var(--body); font-size: 17px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.primary-button { background: var(--ink); color: var(--ink-inverse); }
.secondary-button { background: var(--surface); border: 1px solid var(--border); color: var(--ink); }
.app-status { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.phone-stage { position: relative; min-height: 660px; display: grid; place-items: center; }
.phone-stage::before {
  content: '';
  position: absolute;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  background: var(--moss-tint);
  filter: blur(2px);
}
.phone-stage::after {
  content: '';
  position: absolute;
  width: 210px;
  height: 210px;
  right: 0;
  bottom: 18px;
  border-radius: 50%;
  background: var(--sand);
}
.phone {
  position: relative;
  z-index: 2;
  width: 342px;
  height: 680px;
  border-radius: 52px;
  background: #10100e;
  padding: 10px;
  box-shadow: 0 36px 90px rgba(23, 21, 15, 0.23);
  transform: rotate(2deg);
}
.phone-screen {
  height: 100%;
  border-radius: 43px;
  overflow: hidden;
  background: var(--ground);
  padding: 22px 18px 18px;
  position: relative;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; margin: 10px 2px 24px; }
.phone-mark { width: 30px; height: 30px; object-fit: contain; }
.phone-dot { width: 29px; height: 29px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); }
.phone-kicker { font-size: 9px; letter-spacing: 0.12em; font-weight: 700; color: var(--moss); }
.phone-title { font-family: 'Instrument Serif', Georgia, serif; font-size: 33px; line-height: 1; margin-top: 5px; }
.net-card { margin-top: 18px; border-radius: 27px; padding: 20px; background: var(--ink); color: var(--ink-inverse); }
.net-label { color: var(--muted-on-ink); font-size: 10px; font-weight: 600; }
.net-value { margin-top: 5px; font-family: 'Instrument Serif', Georgia, serif; font-size: 39px; letter-spacing: -0.02em; }
.net-change { display: inline-flex; margin-top: 8px; padding: 5px 8px; border-radius: 999px; background: rgba(105, 184, 150, 0.15); color: #82c9aa; font-size: 9px; font-weight: 700; }
.map-card { margin-top: 12px; border-radius: 26px; padding: 16px; background: var(--surface); }
.map-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--hairline); }
.map-row:first-of-type { border-top: 0; }
.map-label { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; }
.map-swatch { width: 8px; height: 26px; border-radius: 999px; background: var(--moss); }
.map-swatch.sand { background: #c5aa75; }
.map-swatch.terra { background: var(--terracotta); }
.map-amount { font-size: 11px; font-weight: 700; }
.target-card { margin-top: 12px; border-radius: 24px; padding: 15px; background: var(--moss-tint); }
.target-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.target-label { font-size: 10px; font-weight: 700; color: var(--moss-deep); }
.target-pct { font-family: 'Instrument Serif', Georgia, serif; font-size: 27px; color: var(--moss-deep); }
.progress { height: 7px; margin-top: 12px; border-radius: 999px; background: #cfddd3; overflow: hidden; }
.progress > span { display: block; width: 64%; height: 100%; border-radius: inherit; background: var(--moss); }
.phone-tabs { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 56px; border-radius: 23px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: rgba(255,255,255,0.94); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(23,21,15,0.08); }
.phone-tab { text-align: center; font-size: 8px; font-weight: 700; color: var(--muted); }
.phone-tab.active { color: var(--moss); }

.section { padding: 96px 0; }
.section.soft { background: var(--surface); }
.section.dark { background: var(--ink); color: var(--ink-inverse); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-title { margin: 0; font-size: clamp(46px, 5vw, 72px); line-height: 0.98; max-width: 760px; }
.section-copy { margin: 0; max-width: 500px; color: var(--body); line-height: 1.7; font-size: 14px; }
.dark .section-copy { color: var(--muted-on-ink); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { min-height: 260px; border-radius: 28px; padding: 24px; background: var(--ground); display: flex; flex-direction: column; justify-content: space-between; }
.feature-card:nth-child(2) { background: var(--sand); }
.feature-card:nth-child(3) { background: var(--moss-tint); }
.feature-card:nth-child(4) { background: #ece9e1; }
.feature-no { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.13em; }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.2; }
.feature-card p { margin: 0; color: var(--body); font-size: 12px; line-height: 1.65; }

.privacy-panel { border-radius: 34px; background: var(--moss-deep); padding: 44px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.privacy-panel .eyebrow { color: #8bbca5; }
.privacy-panel h2 { margin: 0; color: var(--ink-inverse); font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(45px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.03em; }
.privacy-panel p { color: #b9c7c0; line-height: 1.7; font-size: 14px; }
.privacy-points { display: grid; gap: 10px; }
.privacy-point { border-radius: 20px; padding: 16px 18px; background: rgba(255,255,255,0.07); color: #d9e5df; font-size: 12px; line-height: 1.55; }

.cta-panel { border-radius: 36px; background: var(--sand); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-panel h2 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(43px, 5vw, 70px); line-height: 0.95; letter-spacing: -0.03em; }
.cta-copy { max-width: 680px; }
.cta-copy p { margin: 15px 0 0; color: var(--body); line-height: 1.65; font-size: 14px; }

.site-footer { padding: 34px 0 46px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.footer-brand img { width: 96px; }
.footer-brand p { max-width: 540px; margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 11px; font-weight: 600; }
.footer-links a { text-decoration: none; color: var(--body); }

.legal-wrap { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 90px; }
.legal-back { display: inline-flex; margin-bottom: 36px; text-decoration: none; color: var(--moss); font-size: 12px; font-weight: 700; }
.legal-title { margin: 0; font-size: clamp(50px, 7vw, 76px); line-height: 0.96; }
.legal-meta { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.legal-card { margin-top: 30px; border-radius: 30px; background: var(--surface); padding: 30px; }
.legal-card > p:first-child { margin-top: 0; }
.legal-card h2 { margin: 28px 0 7px; font-size: 15px; }
.legal-card p { color: var(--body); font-size: 13px; line-height: 1.75; }
.legal-note { margin-top: 16px; border-radius: 26px; padding: 22px; background: var(--sand); }
.legal-note.moss { background: var(--moss-tint); }
.legal-note h3 { margin: 0; font-size: 10px; letter-spacing: 0.1em; color: var(--sand-text); }
.legal-note.moss h3 { color: var(--moss-deep); }
.legal-note p { margin: 7px 0 0; color: var(--body); font-size: 12px; line-height: 1.65; }
.support-hero { margin-top: 30px; border-radius: 30px; background: var(--ink); color: var(--ink-inverse); padding: 30px; }
.support-hero h2 { margin: 5px 0 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 45px; }
.support-hero p { color: var(--muted-on-ink); font-size: 13px; line-height: 1.7; }
.support-email { display: block; margin-top: 18px; border: 1px solid #403D36; border-radius: 20px; padding: 18px; text-decoration: none; background: #211F1A; }
.support-email small { color: var(--muted-on-ink); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; }
.support-email strong { display: block; margin-top: 5px; color: var(--ink-inverse); font-size: 15px; }
.support-email span { display: block; margin-top: 5px; color: #69B896; font-size: 10px; }
.help-list { margin-top: 16px; border-radius: 30px; background: var(--surface); padding: 24px 28px; }
.help-list h3 { margin: 0 0 6px; color: var(--muted); font-size: 10px; letter-spacing: 0.1em; }
.help-row { padding: 17px 0; border-top: 1px solid var(--hairline); }
.help-row:first-of-type { border-top: 0; }
.help-row strong { font-size: 13px; }
.help-row p { margin: 5px 0 0; color: var(--body); font-size: 12px; line-height: 1.7; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .phone-stage { min-height: 620px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-panel { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 68px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 50px 0 58px; }
  .hero h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero-copy { font-size: 15px; }
  .phone-stage { min-height: 575px; }
  .phone-stage::before { width: 380px; height: 380px; }
  .phone { width: 290px; height: 575px; border-radius: 45px; }
  .phone-screen { border-radius: 37px; padding: 18px 15px; }
  .phone-title { font-size: 29px; }
  .net-card { padding: 16px; border-radius: 23px; }
  .net-value { font-size: 32px; }
  .map-card { padding: 12px 14px; }
  .map-row { padding: 8px 0; }
  .target-card { padding: 12px; }
  .phone-tabs { height: 48px; }
  .section { padding: 70px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .privacy-panel { padding: 30px 24px; border-radius: 28px; }
  .cta-panel { padding: 32px 24px; border-radius: 28px; align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-wrap { width: min(100% - 28px, 860px); padding: 48px 0 70px; }
  .legal-card, .support-hero, .help-list { border-radius: 24px; padding: 22px; }
}
