:root {
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --ink: #16171c;
  --ink-soft: #5c5f6a;
  --line: rgba(22, 23, 28, 0.08);
  --bezel: #0c0d10;
  /* logo3-leaning pastels: apricot → blush → periwinkle */
  --accent: #f08a6b;
  --accent-soft: rgba(240, 138, 107, 0.16);
  --accent-2: #d98bb8;
  --hero-base: #3a2a4e;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }

p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 20;
}
.skip-link:focus { transform: none; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  /* The logo gradient's pink → magenta → violet end, behind the white logo and wordmark. */
  background: linear-gradient(90deg, #F7215E 0%, #D1169B 55%, #6A2AF0 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 214, 232, 0.08);
  color: #f7f0f6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f7f0f6;
}


.site-header .brand-mark { width: 32px; height: 32px; }

.site-header .btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 232, 0.18);
}
.site-header .btn:hover { background: rgba(255, 255, 255, 0.2); }
.site-header .btn:focus-visible { outline-color: #ffd6e8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.btn:hover { background: #2a2c33; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn-large { min-height: 3.1rem; padding: 0.7rem 1.4rem; font-size: 1rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--hero-base);
  background-image:
    linear-gradient(105deg, rgba(42, 28, 58, 0.55) 0%, rgba(58, 42, 78, 0.22) 42%, rgba(58, 42, 78, 0.08) 100%),
    url("assets/hero-flame.jpg");
  background-size: cover;
  background-position: center;
  color: #f7f0f6;
  min-height: calc(100svh - 4rem);
  display: flex;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 168, 196, 0.55), rgba(168, 176, 232, 0.45), transparent);
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 300px);
  gap: 2.5rem 3.5rem;
  align-items: center;
  width: min(1120px, calc(100% - 2.5rem));
}

.hero-copy {
  text-align: left;
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffc4b0;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  max-width: 11ch;
  color: #fff;
  text-shadow: 0 1px 18px rgba(42, 28, 58, 0.35);
}

.lede {
  margin: 1rem 0 0;
  color: rgba(247, 240, 246, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 32rem;
}

.hero .quiet {
  margin-top: 1.1rem;
  color: rgba(247, 240, 246, 0.55);
  font-size: 0.92rem;
}

.hero-cta {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #f2a07a 0%, #e889b4 55%, #b8a8e8 100%);
  color: #2a1830;
  box-shadow: 0 10px 28px rgba(232, 137, 180, 0.28);
}
.hero-cta:hover {
  background: linear-gradient(135deg, #f5b08c 0%, #ee9ac0 55%, #c6b8f0 100%);
}
.hero-cta:focus-visible { outline-color: #ffd6e8; }

.phone {
  width: min(340px, 78vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 38px;
  background: var(--bezel);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 30px 70px rgba(40, 32, 18, 0.16);
}

.phone-hero {
  width: min(280px, 72vw);
  margin: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone img,
.phone video {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #121214;
}

.quiet {
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.shot { padding: 5.5rem 0 6rem; }
.shot-alt { background: var(--paper-2); }

.shot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 3rem 4rem;
  align-items: center;
}

.shot-flip .shot-inner {
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
}

.shot-flip .shot-copy { order: 2; }
.shot-flip .phone { order: 1; margin-inline: 0 auto; }

.shot-copy h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  max-width: 10ch;
}

.shot-copy p {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.shot-frame .phone { margin-inline: auto 0; }

.features {
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.features h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  text-align: center;
}

.features-lede {
  margin: 0.85rem auto 0;
  max-width: 30rem;
  text-align: center;
  color: var(--ink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
  max-width: 58rem;
  margin: 2.6rem auto 0;
}

.feature-grid li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.85rem;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.feature-text strong {
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 0.98rem;
  color: var(--ink);
}

.feature-text span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

.cta {
  padding: 6.5rem 0 7rem;
  text-align: center;
  background: var(--paper-2);
}
.cta h2 { font-size: clamp(2.8rem, 6vw, 5rem); }
.cta > .wrap > p {
  margin: 1.1rem auto 0;
  max-width: 30rem;
  color: var(--ink-soft);
}

.signup {
  max-width: 30rem;
  margin: 1.9rem auto 0;
}
.signup { display: flex; flex-direction: column; align-items: center; }
.signup > div { width: 100%; }
/* If EmailOctopus renders the form inline, the pop-up toggle button isn't needed. */
.signup:has(form) [data-eo-form-toggle-id] { display: none; }

.form-note {
  grid-column: 1 / -1;
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-align: center;
}
.form-note a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer .brand { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--paper);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--ink); }
.footer-fineprint {
  flex-basis: 100%;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    padding: 2.75rem 0 3.25rem;
    text-align: center;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
  }
  .hero-copy {
    text-align: center;
    max-width: 34rem;
  }
  .hero h1 {
    margin-inline: auto;
  }
  .lede {
    margin-inline: auto;
  }
  .phone-hero {
    margin-inline: auto;
    width: min(300px, 72vw);
  }
  .shot-inner,
  .shot-flip .shot-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }
  .shot-copy h2 {
    max-width: none;
    margin-inline: auto;
  }
  .shot-copy p {
    margin-inline: auto;
  }
  .shot-frame .phone,
  .shot-flip .phone {
    margin-inline: auto;
  }
  .shot-flip .shot-copy,
  .shot-flip .phone { order: initial; }
}

@media (max-width: 640px) {
  .shot { padding: 4rem 0; }
  .features { padding: 3.75rem 0 4rem; }
  .feature-grid { grid-template-columns: 1fr; max-width: 24rem; }
  .phone, .phone-hero { border-radius: 32px; }
  .phone img, .phone video { border-radius: 24px; }
  .signup .btn { width: 100%; }
}

/* ---------- Policy and support pages ---------- */

.doc {
  width: min(760px, 100% - 2.5rem);
  margin: 0 auto;
  padding: 4rem 0 5rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.65;
}
.doc h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.doc h2 {
  margin-top: 2.6rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.doc h3 {
  margin-top: 1.6rem;
  font-size: 1.08rem;
}
.doc p, .doc ul, .doc ol { margin-top: 0.85rem; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc ul { list-style: disc; }
.doc h3 { margin-bottom: 0; }
.doc li + li { margin-top: 0.4rem; }
.doc a:not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.doc a:not(.btn):hover { text-decoration-color: var(--ink); }
.doc .updated {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.doc .summary {
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #fde4d8, #f6dcec);
}
.doc .summary p { margin: 0; }
.doc .contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.doc .contact-card b { display: block; }
.doc .contact-card span { color: var(--ink-soft); font-size: 0.95rem; }
.doc details {
  margin-top: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.doc details > summary {
  cursor: pointer;
  padding: 0.95rem 1.2rem;
  font-weight: 700;
  list-style: none;
}
.doc details > summary::-webkit-details-marker { display: none; }
.doc details > summary::after { content: "+"; float: right; color: var(--ink-soft); }
.doc details[open] > summary::after { content: "–"; }
.doc details > :not(summary) { margin: 0 1.2rem; }
.doc details > :last-child { padding-bottom: 1.1rem; }
.doc .btn { color: #fff; }

@media (max-width: 640px) {
  .doc { padding: 2.75rem 0 4rem; }
  .doc .contact-card .btn { width: 100%; }
}
