/* Untangle site — the "exhale" system: warm paper, quiet teal, one thread. */
:root {
  --bg: #F7F4EE; --surface: #FFFFFF; --muted: #EFEAE1; --border: #E7E2D9;
  --ink: #23211E; --ink-soft: #6E6961; --ink-faint: #8B8478;
  --accent: #326B5B; --accent-press: #28564A; --accent-soft: #E3EDE8;
  --teal-deep: #1F4A3E; --mint: #7FB8A4; --cream: #F7F4EE;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', -apple-system, system-ui, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Fraunces', Georgia, serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.wordmark { font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.2px; }
.wordmark span { color: var(--accent); }
nav.site { display: flex; align-items: center; white-space: nowrap; }
nav.site a { margin-left: 22px; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
nav.site a:hover { color: var(--accent); text-decoration: none; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 800;
  font-size: 17px; padding: 15px 28px; border-radius: 999px; }
.btn:hover { background: var(--accent-press); text-decoration: none; }
.btn.badge { background: var(--ink); }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--border); }
.soon { display: inline-block; font-size: 13px; color: var(--ink-faint); margin-top: 10px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--teal-deep) 0%, #2A5D4E 100%);
  color: var(--cream); padding: 72px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero p.sub { font-size: clamp(17px, 2.2vw, 21px); color: rgba(247,244,238,.85); margin: 20px 0 30px; max-width: 34em; }
.hero .shot { margin-bottom: -80px; border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.thread { width: 120px; margin-bottom: 26px; }

/* phone frame for real app screenshots */
.phone { border: 10px solid #1C1A17; border-radius: 46px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); background: #1C1A17; width: min(320px, 78vw); }
.phone img { border-radius: 36px; }
.hero .phone { margin: 0 auto -70px; }

/* sections */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 44em; margin-top: 14px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px 22px;
  box-shadow: 0 5px 12px rgba(35,33,30,.05); }
.step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* screenshots band */
.band { background: var(--muted); }
.shots { display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; padding: 8px 4px 20px;
  scroll-snap-type: x mandatory; }
.shots img { height: min(72vh, 620px); width: auto; border-radius: 18px; scroll-snap-align: start;
  box-shadow: 0 10px 24px rgba(35,33,30,.12); }

/* privacy */
.privacy { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.privacy ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.privacy li { padding-left: 30px; position: relative; font-size: 16px; }
.privacy li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* guides */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px;
  box-shadow: 0 5px 12px rgba(35,33,30,.05); }
.card h3 { font-size: 17px; line-height: 1.35; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.card a { font-weight: 700; font-size: 14px; }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 22px; margin-top: 12px; }
.faq summary { font-weight: 800; font-size: 16px; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }

/* cta */
.cta { background: linear-gradient(180deg, var(--teal-deep), #2A5D4E); color: var(--cream); text-align: center; }
.cta h2 { color: var(--cream); }
.cta p { color: rgba(247,244,238,.85); margin: 14px auto 28px; max-width: 36em; }

/* footer */
footer.site { padding: 44px 0 64px; color: var(--ink-faint); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer.site nav a { margin-right: 18px; color: var(--ink-soft); }
.disclaimer { font-size: 12.5px; color: var(--ink-faint); max-width: 56em; margin-top: 18px; line-height: 1.55; }

/* article pages */
article.guide { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
article.guide h1 { font-size: clamp(30px, 4.6vw, 42px); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 14px; }
article.guide .meta { color: var(--ink-faint); font-size: 14px; margin-bottom: 30px; }
article.guide h2 { font-size: 24px; margin: 36px 0 12px; }
article.guide p { margin: 14px 0; font-size: 17px; color: #3A3733; }
article.guide li { margin: 8px 0 8px 22px; font-size: 17px; color: #3A3733; }
.appbox { background: var(--accent-soft); border-radius: 20px; padding: 24px; margin: 34px 0; }
.appbox h3 { margin-bottom: 8px; font-size: 18px; }
.appbox p { font-size: 15.5px !important; }

@media (max-width: 860px) {
  .hero { padding-top: 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .phone { margin: 6px auto -56px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  nav.site a { margin-left: 14px; font-size: 14px; }
}
@media (max-width: 700px) {
  nav.site a:not(.btn) { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .shots img { height: min(64vh, 520px); } }
