@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap");

:root {
  --ink: #173331;
  --muted: #58706d;
  --paper: #f7f5ee;
  --cream: #eeeadc;
  --white: #fffefa;
  --sage: #b9cfbe;
  --deep: #214c47;
  --accent: #df7b55;
  --line: rgba(23, 51, 49, 0.14);
  --shadow: 0 28px 70px rgba(29, 59, 55, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.site-header {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 1.05rem "Manrope", sans-serif;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .08em;
}
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
.nav-contact { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; }

.hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0 96px;
}
.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(3.2rem, 7vw, 6.4rem); }
.hero-text { max-width: 640px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--deep); color: var(--white); }
.button-primary:hover { background: #173b37; }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.beta-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .9rem; }
.beta-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(223,123,85,.12); }

.memory-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 30px;
  background: linear-gradient(145deg, #c9d9c8, #9fbbb0);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.memory-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 25px -18px -20px 28px;
  border-radius: 30px;
  background: var(--cream);
  transform: rotate(-5deg);
}
.memory-card-top { display: flex; justify-content: space-between; color: rgba(23,51,49,.68); font-size: .85rem; font-weight: 600; }
.status-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--deep); }
.quote { margin: 55px 0 42px; font: 600 clamp(1.6rem, 3vw, 2.45rem)/1.3 "Manrope", sans-serif; letter-spacing: -.03em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 11px; border: 1px solid rgba(23,51,49,.18); border-radius: 999px; font-size: .75rem; }
.memory-lines { display: grid; gap: 9px; margin-top: 38px; }
.memory-lines span { height: 1px; background: rgba(23,51,49,.18); }
.memory-lines span:nth-child(2) { width: 82%; }
.memory-lines span:nth-child(3) { width: 55%; }

.principles { padding: 120px max(20px, calc((100vw - 1160px) / 2)); background: var(--white); }
.section-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px 70px; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-intro h2 { margin-bottom: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); }
.section-intro > p:last-child { max-width: 500px; margin-bottom: 7px; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 82px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article { min-height: 290px; padding: 34px; background: var(--white); }
.feature-number { display: block; margin-bottom: 80px; color: var(--accent); font: 600 .75rem "Manrope", sans-serif; }
.feature-grid h3 { font-size: 1.35rem; }
.feature-grid p { color: var(--muted); }

.privacy-callout {
  width: min(1160px, calc(100% - 40px));
  margin: 110px auto;
  padding: 72px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px 70px;
  border-radius: 30px;
  background: var(--deep);
  color: var(--white);
}
.privacy-callout .eyebrow { color: #f4a887; }
.privacy-callout h2 { max-width: 650px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.privacy-callout > p { color: rgba(255,255,255,.7); }
.text-link { grid-column: 2; font-weight: 600; text-underline-offset: 5px; }

.closing { padding: 100px 20px 120px; text-align: center; }
.closing h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.closing > p:not(.eyebrow) { color: var(--muted); }
.closing .button { margin-top: 15px; }

footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 45px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
footer strong { color: var(--ink); }
footer p { margin: 3px 0 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }

.legal-page, .support-page { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0 130px; }
.legal-heading { padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.legal-heading h1, .support-card h1 { margin-bottom: 16px; font-size: clamp(3rem, 7vw, 5.7rem); }
.legal-heading > p:last-child { color: var(--muted); }
.legal-content { max-width: 760px; padding-top: 34px; }
.legal-content section { padding: 25px 0; }
.legal-content h2 { font-size: 1.35rem; }
.legal-content p { color: var(--muted); }
.legal-content a, .support-details a { color: var(--deep); font-weight: 600; }

.support-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; padding: 80px; border-radius: 30px; background: var(--cream); }
.support-card > div:first-child > p:last-child { color: var(--muted); }
.contact-box { padding: 28px; border-radius: 20px; background: var(--white); box-shadow: 0 16px 35px rgba(29,59,55,.07); }
.contact-box span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.contact-box a { display: block; margin-bottom: 15px; color: var(--deep); font: 600 1.1rem "Manrope", sans-serif; }
.contact-box p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.support-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; padding-top: 70px; }
.support-details article { padding-top: 24px; border-top: 1px solid var(--line); }
.support-details h2 { font-size: 1.15rem; }
.support-details p { color: var(--muted); }

@media (max-width: 820px) {
  .site-header { min-height: 76px; }
  nav { gap: 15px; }
  nav a:first-child { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 70px 0 100px; }
  .memory-card { width: min(520px, 94%); margin: 0 auto; }
  .section-intro, .privacy-callout, .support-card { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 230px; }
  .feature-number { margin-bottom: 55px; }
  .privacy-callout { padding: 45px 34px; }
  .text-link { grid-column: 1; }
  .support-card { padding: 45px 34px; }
  .support-details { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 520px) {
  .site-header { width: min(100% - 28px, 1160px); }
  .brand > span:last-child { display: none; }
  .hero, .privacy-callout, footer { width: min(100% - 28px, 1160px); }
  .hero h1 { font-size: 3.35rem; }
  .hero-actions .button { width: 100%; }
  .memory-card { padding: 27px; }
  .quote { margin: 42px 0 32px; }
  .principles { padding: 90px 20px; }
  .privacy-callout { margin: 75px auto; }
  .legal-page, .support-page { width: min(100% - 28px, 980px); padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
