/* Simmer & Sear — shared site theme.
   Tokens mirror the app's asset catalog: accent #CE4720 (light) / #F2714D
   (dark), warm paper grounds, serif display over system sans. */

:root {
  --ground: #FAF6F1;
  --ink: #2C221D;
  --muted: #6E6055;
  --accent: #CE4720;
  --line: #EAE0D7;
  --card: #FFFFFF;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #191310;
    --ink: #F2EAE3;
    --muted: #B0A196;
    --accent: #F2714D;
    --line: #352B24;
    --card: #221B16;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

/* Header / footer chrome */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 650; letter-spacing: 0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand .amp { font-family: var(--serif); font-style: italic; color: var(--accent); }
.site-nav { display: flex; gap: 22px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

.site-footer {
  margin-top: 88px; padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  justify-content: space-between;
}
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Type */
.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

/* Prose pages (help, privacy) */
.prose { max-width: 42rem; margin: 0 auto; padding-top: 34px; }
.prose h1 { font-size: clamp(30px, 6vw, 40px); margin: 8px 0 4px; }
.prose .lede { color: var(--muted); font-size: 17px; margin: 10px 0 30px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; scroll-margin-top: 24px; }
.prose h3 { font-size: 17px; font-family: var(--sans); font-weight: 650; margin: 22px 0 6px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px 1.2rem; }
.prose li { margin-bottom: 6px; }
.prose .effective { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 40px;
  font-size: 17px;
}

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; }
.toc a {
  display: inline-block; padding: 6px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 14px;
}
.toc a:hover { border-color: var(--accent); color: var(--accent); }

kbd.path {
  font-family: var(--sans); font-size: 0.92em; font-weight: 600;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 7px; white-space: nowrap;
}

details.faq {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer; font-weight: 650; font-size: 16px;
  font-family: var(--sans);
}
details.faq[open] summary { margin-bottom: 8px; }
details.faq p:last-child { margin-bottom: 0; }

/* Lander */
.hero { text-align: center; padding: 64px 0 36px; }
.hero h1 {
  font-size: clamp(38px, 7.5vw, 62px);
  max-width: 17ch; margin: 10px auto 0;
}
.hero .sub {
  max-width: 34rem; margin: 18px auto 0;
  color: var(--muted); font-size: 19px;
}
.hero .amp { font-style: italic; color: var(--accent); }
.cta-row { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 650; font-size: 15px; text-decoration: none;
}
.pill.solid { background: var(--accent); color: #FFF7F3; }
.pill.ghost { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.pill.ghost:hover { border-color: var(--accent); }
.coming { font-size: 13px; color: var(--muted); margin-top: 12px; }

.phones {
  display: flex; gap: 26px; justify-content: center; align-items: flex-end;
  padding: 44px 0 10px;
}
.phone {
  width: 264px; flex: 0 0 auto;
  border-radius: 34px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 24px 60px -24px rgba(44, 34, 29, 0.35);
}
.phone.raised { margin-bottom: 26px; }
@media (max-width: 760px) {
  .phones {
    justify-content: flex-start; overflow-x: auto; padding-left: 24px;
    scroll-snap-type: x mandatory;
  }
  .phone { scroll-snap-align: center; }
  .phone.raised { margin-bottom: 0; }
}

.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; padding: 54px 0 0;
}
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.feature svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; }
.feature h3 { font-family: var(--sans); font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

.privacy-band {
  margin-top: 64px;
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 14px;
  padding: 30px 32px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px;
}
@media (max-width: 760px) { .privacy-band { grid-template-columns: 1fr; } }
.privacy-band h2 { font-size: 26px; margin-bottom: 8px; }
.privacy-band p { color: var(--muted); }
.privacy-band ul { list-style: none; margin-top: 4px; }
.privacy-band li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.privacy-band li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1.5px solid var(--accent);
}
.section-head { text-align: center; padding-top: 64px; }
.section-head h2 { font-size: clamp(26px, 4.5vw, 34px); margin-top: 8px; }

/* 404 */
.lost { text-align: center; padding: 110px 0 40px; }
.lost h1 { font-size: clamp(34px, 7vw, 54px); margin-bottom: 12px; }
.lost p { color: var(--muted); }
