/* ==========================================================================
   PoshPromo — site styles
   Blush palette lifted from the app (siBlush* tokens). Pure CSS, system fonts,
   no external dependencies. Serves the landing page + Privacy / Terms / Support.
   ========================================================================== */

:root {
  --tint:    #FFEDF5;
  --pale:    #FAADCC;
  --light:   #FAB8D6;
  --soft:    #F273A6;
  --accent:  #F05294;
  --primary: #F2408C;
  --deep:    #DB0D61;

  --ink:   #241019;
  --body:  #4c3a42;
  --muted: #8a7a82;
  --line:  #f1dde7;
  --bg:    #fffafc;
  --card:  #ffffff;

  --maxw: 1000px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--deep); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Header ------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 250, 252, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 19px; letter-spacing: -0.3px; color: var(--ink);
}
.wordmark:hover { text-decoration: none; }
.wordmark .tri {
  color: var(--primary); font-size: 12px; transform: translateY(0.5px);
}
.wordmark .two { color: var(--deep); }
.nav-links { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--body); }
@media (max-width: 560px) { .nav-links { gap: 15px; font-size: 14px; } }

/* ---- Hero -------------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, #ffffff 0%, var(--tint) 60%, var(--light) 130%);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 74px 0 84px;
}
.hero .badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--deep);
  background: #fff; border: 1px solid var(--pale);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -1.2px;
  color: var(--ink); margin: 0 auto 18px; max-width: 15ch; font-weight: 850;
}
.hero p.lede {
  font-size: clamp(17px, 2.4vw, 21px); color: var(--body);
  max-width: 40ch; margin: 0 auto 30px;
}
.app-icon-badge {
  width: 108px; height: 108px; border-radius: 24px; margin: 0 auto 26px;
  display: block; box-shadow: 0 14px 40px rgba(219, 13, 97, 0.28);
}

/* ---- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 14px; cursor: pointer; border: 0;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--deep));
  box-shadow: 0 10px 26px rgba(242, 64, 140, 0.35);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { color: var(--deep); background: #fff; border: 1px solid var(--pale); }
.cta-note { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---- Feature grid ------------------------------------------------------ */

section { padding: 66px 0; }
section h2 {
  font-size: clamp(24px, 3.6vw, 32px); letter-spacing: -0.5px; color: var(--ink);
  text-align: center; margin: 0 0 8px; font-weight: 800;
}
section .section-sub { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 46ch; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 820px) { .features { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--tint); font-size: 24px; margin-bottom: 16px;
}
.feature h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); font-weight: 750; }
.feature p { margin: 0; font-size: 15.5px; color: var(--body); }

/* ---- Legal / document pages ------------------------------------------- */

.doc { padding: 56px 0 40px; }
.doc .wrap { max-width: 760px; }
.doc h1 {
  font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.6px; color: var(--ink);
  margin: 0 0 6px; font-weight: 850;
}
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 34px; }
.doc h2 {
  font-size: 21px; color: var(--ink); margin: 38px 0 10px; font-weight: 780;
  padding-top: 6px;
}
.doc h3 { font-size: 17px; color: var(--ink); margin: 24px 0 6px; font-weight: 700; }
.doc p, .doc li { font-size: 16px; color: var(--body); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .lead { font-size: 18px; color: var(--ink); }
.doc a { font-weight: 600; }
.callout {
  border-left: 4px solid var(--primary); background: var(--tint);
  border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 22px 0; font-size: 15.5px;
}
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin: 26px 0;
}
.contact-card .email { font-size: 20px; font-weight: 750; color: var(--deep); }

/* ---- Support FAQ ------------------------------------------------------- */

.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; margin: 12px 0;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16.5px;
  padding: 16px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--primary); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; }

/* ---- Footer ------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line); background: #fff;
  padding: 40px 0; margin-top: 20px; font-size: 14.5px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 34px; justify-content: space-between; }
.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .foot-links a { color: var(--body); font-weight: 600; }
.site-footer .legal { color: var(--muted); max-width: 52ch; }
.site-footer .legal .copy { display: block; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
