/* ============================================================
   Sayer — Landing page styles
   Brand: sage #5B7F74 · paper #FAF7F2 · ink #2B2722
   ============================================================ */

:root {
  --sage:        #5B7F74;
  --sage-dark:   #44615A;
  --sage-soft:   #DCE6E1;
  --paper:       #FAF7F2;
  --paper-2:     #F2EEE7;
  --ink:         #2B2722;
  --ink-soft:    #6B655C;
  --line:        rgba(43, 39, 34, 0.10);
  --shadow:      0 30px 70px -30px rgba(43, 39, 34, 0.45);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--sage-soft); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--sage);
  color: var(--paper);
  border-radius: 9px;
  line-height: 1;
}
.brand__dot { color: var(--ink); }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sage);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 24px -12px rgba(91,127,116,0.8);
}
.btn:hover { background: var(--sage-dark); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: none; border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: var(--paper-2); border-color: var(--sage); }
.btn--small { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links .btn--small { color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% 0%, #EFE9E1 0%, var(--paper) 55%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 33em;
  margin-bottom: 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.92rem; color: var(--ink-soft); font-weight: 500;
}

.hero__shot { position: relative; display: grid; place-items: center; }
.hero__glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(50% 50% at 50% 45%, rgba(91,127,116,0.18), transparent 70%);
  filter: blur(8px);
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative; z-index: 1;
  width: 300px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #2c2c2e, #111);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 32px; }
.phone--sm { width: 280px; }

/* ---------- Trust strip ---------- */
.strip { background: var(--ink); color: var(--paper); }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 34px 24px;
}
.strip__item { display: flex; flex-direction: column; gap: 2px; }
.strip__item strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.strip__item span { color: rgba(250,247,242,0.62); font-size: 0.9rem; }

/* ---------- Features ---------- */
.features { padding: 30px 0 10px; }
.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 24px;
}
.feature--rev .feature__media { order: 2; }
.feature__media { display: grid; place-items: center; }
.feature__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.feature__copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 14px; max-width: 36em; }

.ticks { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--sage);
  border-bottom: 2.5px solid var(--sage);
  transform: rotate(-45deg);
}

/* room chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  font-size: 0.9rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
}
.chip--heartbreak  { background: #F3DEDE; color: #8A4A4A; }
.chip--grief       { background: #DFE4EE; color: #4C5878; }
.chip--burnout     { background: #F2E6CB; color: #8A6A2E; }
.chip--loneliness  { background: #D9E6E9; color: #3F6470; }
.chip--anxiety     { background: #E8DCEC; color: #6E4C82; }
.chip--caregiver   { background: #DCEBD9; color: #4A6E47; }

.langs {
  font-family: var(--serif);
  font-size: 1.15rem !important;
  color: var(--ink) !important;
  line-height: 1.9;
  margin-top: 18px;
}

/* ---------- Privacy ---------- */
.privacy {
  background: linear-gradient(165deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--paper);
  margin-top: 40px;
}
.privacy__inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 60px; align-items: center; padding: 90px 24px;
}
.privacy__copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.privacy__copy > p { color: rgba(250,247,242,0.85); font-size: 1.08rem; max-width: 38em; }
.privacy__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 40px;
}
.privacy__grid h3 { font-size: 1.2rem; margin-bottom: 6px; }
.privacy__grid p { color: rgba(250,247,242,0.78); font-size: 0.97rem; }
.privacy__media { display: grid; place-items: center; }
.privacy__media .phone { background: linear-gradient(160deg, #1c2925, #0d1310); }

/* ---------- CTA ---------- */
.cta { background: var(--paper); padding: 100px 0; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.cta > .cta__inner > p { color: var(--ink-soft); font-size: 1.15rem; max-width: 32em; margin-bottom: 36px; }
.cta__stores { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  padding: 12px 22px; border-radius: 14px;
  transition: transform .15s ease, opacity .2s;
}
.store:hover { transform: translateY(-2px); opacity: 0.92; }
.store__icon {
  width: 26px; height: 26px; flex: none;
  background: var(--paper);
  -webkit-mask: center/contain no-repeat;
  mask: center/contain no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 3c.1 1.1-.3 2.2-1 3-.7.9-1.9 1.5-3 1.4-.1-1.1.4-2.2 1-3 .8-.9 2-1.5 3-1.4zM19 17.3c-.5 1.2-.8 1.7-1.4 2.7-.9 1.4-2.2 3.1-3.8 3.1-1.4 0-1.8-.9-3.7-.9s-2.3.9-3.7.9c-1.6 0-2.8-1.6-3.7-3C-.1 16.4-.4 11.5 1.9 9c1-1.3 2.5-2 3.9-2 1.5 0 2.4.9 3.7.9 1.2 0 2-.9 3.7-.9 1.2 0 2.5.7 3.5 1.8-3 1.7-2.6 6.1.4 7.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 3c.1 1.1-.3 2.2-1 3-.7.9-1.9 1.5-3 1.4-.1-1.1.4-2.2 1-3 .8-.9 2-1.5 3-1.4zM19 17.3c-.5 1.2-.8 1.7-1.4 2.7-.9 1.4-2.2 3.1-3.8 3.1-1.4 0-1.8-.9-3.7-.9s-2.3.9-3.7.9c-1.6 0-2.8-1.6-3.7-3C-.1 16.4-.4 11.5 1.9 9c1-1.3 2.5-2 3.9-2 1.5 0 2.4.9 3.7.9 1.2 0 2-.9 3.7-.9 1.2 0 2.5.7 3.5 1.8-3 1.7-2.6 6.1.4 7.5z'/%3E%3C/svg%3E");
}
.store__icon--play {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.6 2.3c-.3.3-.5.7-.5 1.3v16.8c0 .6.2 1 .5 1.3l9-9.7-9-9.7zM14.3 12.9 5.2 22.4l11.4-6.5-2.3-3zM17.9 10.9l-3.6 2.1 2.3 3 3.8-2.2c.9-.5.9-1.5 0-2L17.9 10.9zM5.2 1.6l9.1 9.5 2.3-3L5.2 1.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.6 2.3c-.3.3-.5.7-.5 1.3v16.8c0 .6.2 1 .5 1.3l9-9.7-9-9.7zM14.3 12.9 5.2 22.4l11.4-6.5-2.3-3zM17.9 10.9l-3.6 2.1 2.3 3 3.8-2.2c.9-.5.9-1.5 0-2L17.9 10.9zM5.2 1.6l9.1 9.5 2.3-3L5.2 1.6z'/%3E%3C/svg%3E");
}
.store__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store__text small { font-size: 0.68rem; opacity: 0.8; }
.store__text strong { font-size: 1.05rem; font-weight: 600; }

.cta__note {
  margin-top: 40px; max-width: 44em;
  font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 50px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: rgba(250,247,242,0.75); font-size: 0.92rem; transition: color .2s; }
.footer__links a:hover { color: var(--paper); }
.footer__copy { width: 100%; color: rgba(250,247,242,0.5); font-size: 0.85rem; border-top: 1px solid rgba(250,247,242,0.12); padding-top: 22px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__shot { order: 1; }
  .hero__cta, .hero__badges { justify-content: center; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .feature, .feature--rev { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .feature--rev .feature__media { order: 0; }
  .feature__copy p, .ticks { margin-left: auto; margin-right: auto; }
  .ticks { display: inline-grid; text-align: left; }
  .chips { justify-content: center; }
  .privacy__inner { grid-template-columns: 1fr; text-align: center; }
  .privacy__media { order: -1; }
  .privacy__grid { text-align: left; }
}

@media (max-width: 560px) {
  .nav__links a:not(.btn) { display: none; }
  .strip__inner { grid-template-columns: 1fr; }
  .privacy__grid { grid-template-columns: 1fr; }
  .phone { width: 260px; }
}

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