/* Serenzio landing page — the app's "quiet garden" palette, set for a
   marketing page: warm cream ground, deep sage brand, one deep-pine band
   for contrast. Display type is Fraunces (soft, warm serif); body is
   Public Sans at a generous size for older readers. */
:root {
  --cream: #F7F5EF;
  --paper: #FFFFFF;
  --ink: #1A2E26;
  --ink-soft: #3E4B46;
  --muted: #5E6B66;
  --brand: #1F5F52;
  --brand-deep: #163F36;
  --brand-soft: #E4EDE7;
  --brand-tint: #CFE0D7;
  --border: #DAD5C8;
  --shadow-phone: 0 30px 60px -20px rgba(26, 46, 38, .35), 0 10px 24px -12px rgba(26, 46, 38, .25);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, .display { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.015em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 34em; }
p { max-width: 62ch; }

/* ---- header ---- */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(247,245,239,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
header.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
header.top .brand img { width: 36px; height: 36px; border-radius: 9px; }
header.top nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
header.top nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
header.top nav a:hover { color: var(--brand); }
header.top .badge svg { height: 36px; }
@media (max-width: 720px) { header.top nav a.link { display: none; } }

/* ---- App Store badge ---- */
.badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .15s ease; }
.badge:hover { transform: translateY(-1px); }
.badge:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.badge svg { height: 54px; width: auto; }

/* ---- phone frame ---- */
.phone {
  width: min(320px, 78vw); aspect-ratio: 1320 / 2868; margin: 0 auto;
  background: #101312; border-radius: 48px; padding: 11px;
  box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; height: 100%; border-radius: 38px; object-fit: cover; }
.phone.lg { width: min(360px, 82vw); }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.hero .cta .note { font-size: .95rem; color: var(--muted); font-weight: 600; }
.hero .tag { margin-top: 26px; font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--brand); font-size: 1.2rem; }
.hero .lede { margin-top: 20px; }
@media (max-width: 860px) {
  .hero { padding: 44px 0 24px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .lede, .hero p { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
}

/* ---- trio strip ---- */
.trio { padding: 40px 0 24px; }
.trio .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio .item { background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 24px 24px 22px; }
.trio .item svg { width: 34px; height: 34px; color: var(--brand); margin-bottom: 12px; }
.trio h3 { font-size: 1.15rem; margin-bottom: 6px; }
.trio p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .trio .wrap { grid-template-columns: 1fr; } }

/* ---- feature bands ---- */
.band { padding: 72px 0; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.band.flip .copy { order: 2; }
.band .copy p { margin-top: 18px; color: var(--ink-soft); }
.band ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.band li { padding-left: 32px; position: relative; color: var(--ink-soft); }
.band li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231F5F52' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
}
@media (max-width: 860px) {
  .band { padding: 52px 0; }
  .band .wrap { grid-template-columns: 1fr; gap: 36px; }
  .band.flip .copy { order: 0; }
}

/* ---- family band (deep pine) ---- */
.family { background: var(--brand-deep); color: #EAF1EC; }
.family .eyebrow { color: #9FD3BF; }
.family h2 { color: #FFFFFF; }
.family .copy p, .family li { color: #D3DFD8; }
.family li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%239FD3BF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.family .roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.family .role { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; }
.family .role b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.family .role span { font-size: .95rem; color: #C3D3CB; }
.family .fine { margin-top: 20px; font-size: .95rem; color: #A9BDB3; }
.family .phone { box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
@media (max-width: 520px) { .family .roles { grid-template-columns: 1fr; } }

/* ---- made-for + privacy ---- */
.made { padding: 72px 0 24px; }
.made .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.made .cell { background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.made .cell svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 10px; }
.made .cell b { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.made .cell p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .made .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .made .grid { grid-template-columns: 1fr; } }

.privacy { padding: 40px 0 72px; }
.privacy .box { background: var(--brand-soft); border-radius: 22px; padding: 36px 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.privacy .box p { color: var(--ink-soft); margin-top: 12px; }
.privacy .pills { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy .pill { background: var(--paper); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .92rem; color: var(--brand); }
.privacy .disclaimer { margin-top: 16px; font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .privacy .box { grid-template-columns: 1fr; padding: 28px 24px; } }

/* ---- final CTA ---- */
.final { padding: 24px 0 80px; }
.final .card { background: var(--paper); border: 1px solid var(--border); border-radius: 26px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.final .card p { color: var(--ink-soft); margin-top: 12px; }
.final .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.final .req { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.final .qr { text-align: center; }
.final .qr img { width: 168px; height: 168px; margin: 0 auto; border: 1px solid var(--border); border-radius: 14px; padding: 8px; background: #fff; }
.final .qr p { font-size: .92rem; color: var(--muted); margin-top: 12px; max-width: 22ch; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .final .card { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; } .final .cta { justify-content: center; } .final .card p { margin-left: auto; margin-right: auto; } }
@media (hover: none) and (pointer: coarse) { .final .qr { display: none; } } /* a phone doesn't need to scan itself */

/* ---- footer ---- */
footer.site { border-top: 1px solid var(--border); padding: 32px 0 44px; color: var(--muted); font-size: .92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--brand); }
footer.site .spacer { flex: 1; }
