/* ============================================================
   Hushread landing — Exaggerated-minimal, cream + Hushread blue
   ============================================================ */

:root {
  /* Base */
  --cream: #f3efe6;
  --cream-2: #ebe5d9;
  --cream-3: #e3dccd;
  --ink: #0f1b27;
  --ink-2: #16242f;
  --ink-soft: #1d2d3a;

  /* Brand blue */
  --blue: #2f9bff;
  --blue-strong: #1f7fe0;
  --blue-bright: #6fbeff;
  --blue-sky: #bfe0ff;

  /* Accents for bento variety */
  --coral: #ff6f52;
  --coral-soft: #ffd9cb;
  --amber: #f6b65a;
  --violet: #c66bd6;

  /* Text */
  --text: #15212e;
  --text-on-dark: #f3efe6;
  --muted: #5c6b7a;
  --muted-dark: #9fb2c2;

  --border: rgba(15, 27, 39, 0.12);
  --border-dark: rgba(243, 239, 230, 0.14);

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-card: 0 22px 50px -28px rgba(15, 27, 39, 0.45);
  --shadow-nav: 0 18px 40px -22px rgba(15, 27, 39, 0.55);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue-bright); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Mixed-type helpers */
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; }
.hl {
  display: inline-block;
  background: var(--blue-bright);
  color: var(--ink);
  line-height: 0.92;
  padding: 0.05em 0.16em;
  border-radius: 12px;
  vertical-align: baseline;
}
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.section-dark .eyebrow { color: var(--muted-dark); }
.eyebrow .num { font-style: normal; font-weight: 600; }

/* ---------------- Floating pill nav ---------------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(15, 27, 39, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(243, 239, 230, 0.08);
  color: var(--text-on-dark);
  padding: 10px 14px 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .nest { color: var(--blue-bright); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(243, 239, 230, 0.78);
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--text-on-dark); }
.nav-cta {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--blue-bright);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover { background: #8fccff; transform: translateY(-1px); }

/* ---------------- Buttons ---------------- */
/* App-store badges */
.button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  padding: 11px 24px;
  min-width: 210px;
  border-radius: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.button svg { width: 27px; height: 27px; flex-shrink: 0; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -14px rgba(47, 155, 255, 0.75); }
.button-primary:hover { background: var(--blue-strong); transform: translateY(-2px); }
.button-secondary { background: var(--ink); color: var(--cream); }
.button-secondary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(15, 27, 39, 0.6); }
/* On dark sections invert the second badge to a light fill */
.section-dark .button-secondary,
.cta-final .button-secondary { background: var(--cream); color: var(--ink); }
.section-dark .button-secondary:hover,
.cta-final .button-secondary:hover { background: #fff; }
.button-block { display: flex; flex-direction: column; gap: 0; line-height: 1.12; text-align: left; }
.button-block small { font-weight: 500; font-size: 0.72rem; opacity: 0.82; }
.button-block b { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }

/* ---------------- Hero ---------------- */
.hero { padding: 118px 0 92px; text-align: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
  background: var(--cream-2);
  border: 1px solid var(--border);
  padding: 8px 16px; border-radius: var(--radius-pill);
  margin-bottom: 30px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

.display {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-size: clamp(2.4rem, 8.4vw, 6.6rem);
  color: var(--ink);
}
.display .serif { letter-spacing: -0.01em; }

.hero p.lead {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--muted);
}
.action-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.hero .fineprint { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.hero .fineprint strong { color: var(--text); }

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  padding: 0 30px;
}
.marquee-track .plus { color: var(--blue-bright); font-style: normal; font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Section scaffolding ---------------- */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-head { max-width: 1100px; }
.section-head.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}
.section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  color: var(--ink);
  margin-top: 14px;
}
.section-dark .section-title { color: var(--cream); }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 420px; }
.section-dark .section-sub { color: var(--muted-dark); }

/* ---------------- Bento features ---------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 290px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.bento-card .tag {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.66; margin-bottom: 16px;
}
.bento-card h3 {
  font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.12;
}
.bento-card h3 .serif { font-weight: 600; }
.bento-card p { margin-top: 12px; font-size: 0.98rem; line-height: 1.55; opacity: 0.86; }
.bento-art { margin-top: auto; padding-top: 22px; }

.bento-card.span-2 { grid-column: span 2; }
.card-ink { background: var(--ink); color: var(--cream); }
.card-blue { background: var(--blue-bright); color: var(--ink); }
.card-sky { background: var(--blue-sky); color: var(--ink); }
.card-coral { background: var(--coral); color: #fff; }
.card-coral .tag { opacity: 0.85; }
.card-cream { background: var(--cream-2); color: var(--ink); border: 1px solid var(--border); }
.card-amber { background: var(--amber); color: var(--ink); }

/* small inline art */
.wave { width: 100%; height: 46px; opacity: 0.9; }
.dots-row { display: flex; gap: 10px; flex-wrap: wrap; }
.dot-cap { width: 30px; height: 30px; border-radius: 50%; opacity: 0.92; }
.shot-inset {
  margin-top: auto;
  margin-bottom: -30px;
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: var(--shadow-card);
  align-self: center;
  width: min(82%, 240px);
}

/* ---------------- Showcase (video) ---------------- */
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 56px;
  align-items: center;
}
.showcase .section-title { margin-top: 6px; }
.showcase .section-sub { margin-top: 20px; max-width: 460px; }
.phone {
  position: relative;
  justify-self: center;
  width: min(300px, 78vw);
  background: var(--ink);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 44px 90px -44px rgba(15, 27, 39, 0.6);
}
.phone::before {
  content: '';
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 7px;
  border-radius: 5px;
  background: rgba(243, 239, 230, 0.22);
  z-index: 2;
}
.phone-video {
  display: block;
  width: 100%;
  border-radius: 34px;
  background: var(--ink-2);
  aspect-ratio: 1080 / 2340;
  object-fit: cover;
}
@media (max-width: 940px) {
  .showcase-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------------- Why Hushread (dark icon cards) ---------------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.reason-card {
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.reason-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
}
.reason-icon svg { width: 26px; height: 26px; }
.ic-blue { background: var(--blue-sky); color: var(--ink); }
.ic-coral { background: var(--coral-soft); color: var(--coral); }
.ic-amber { background: rgba(246, 182, 90, 0.25); color: var(--amber); }
.ic-green { background: rgba(111, 190, 255, 0.22); color: var(--blue-bright); }
.reason-card h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cream); }
.reason-card p { margin-top: 12px; color: var(--muted-dark); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.chip {
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(243, 239, 230, 0.07);
  border: 1px solid var(--border-dark);
  color: var(--muted-dark);
}

/* ---------------- How it works ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.step {
  border-radius: var(--radius-xl);
  padding: 36px 32px 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 40px;
}
.step h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin-top: 12px; opacity: 0.85; }
.step-art { margin-top: auto; padding-top: 26px; }
.step-1 { background: var(--cream-2); color: var(--ink); border: 1px solid var(--border); }
.step-2 { background: var(--blue-bright); color: var(--ink); }
.step-3 { background: var(--ink); color: var(--cream); }

/* ---------------- Quote ---------------- */
.quote { background: var(--blue-bright); color: var(--ink); padding: 110px 0; text-align: center; }
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 980px;
  margin: 0 auto;
}
.quote-by { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; text-align: left; }
.quote-by .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--blue-bright); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.quote-by b { display: block; font-size: 1rem; }
.quote-by span { font-size: 0.9rem; opacity: 0.7; }

/* ---------------- Final CTA ---------------- */
.cta-final { background: var(--ink); color: var(--cream); padding: 120px 0 64px; text-align: center; position: relative; overflow: hidden; }
.cta-final .display { color: var(--cream); position: relative; z-index: 2; }
.cta-final p { position: relative; z-index: 2; max-width: 540px; margin: 26px auto 0; color: var(--muted-dark); font-size: 1.1rem; }
.cta-final .action-row { position: relative; z-index: 2; }
.cta-final .fineprint { position: relative; z-index: 2; margin-top: 22px; font-size: 0.9rem; color: var(--muted-dark); }
.cta-watermark {
  position: absolute;
  left: 50%;
  bottom: -2%;
  transform: translateX(-50%);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 19rem);
  letter-spacing: -0.04em;
  color: rgba(243, 239, 230, 0.045);
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--border-dark); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner .brand { color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--cream); }
.footer-legal { font-size: 0.85rem; opacity: 0.7; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
  .reason-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
  .section-sub { max-width: none; }
}
@media (max-width: 620px) {
  .nav-links { gap: 14px; }
  .nav-link { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .hero { padding: 140px 0 72px; }
  .section { padding: 72px 0; }
  .button { width: 100%; }
  .action-row { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Secondary pages — Contact / Privacy / Terms
   ============================================================ */
.contact-main, .legal-main { padding: 150px 0 96px; }
.section-label {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.05rem; color: var(--muted); margin-bottom: 8px;
}
.contact-main .section-head h2,
.legal-main .section-head h2 {
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  font-size: clamp(2rem, 5vw, 3.3rem); color: var(--ink); margin-bottom: 14px;
}
.contact-main .section-head > p,
.legal-main .section-head > p { color: var(--muted); max-width: 720px; font-size: 1.08rem; }
.legal-meta { font-size: 0.9rem; color: var(--muted); margin-top: 16px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.legal-layout { display: grid; gap: 16px; margin-top: 40px; max-width: 880px; }

.card {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; }
.card p { color: var(--text); }
.card p + p { margin-top: 10px; }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--text); }
.card li { margin-bottom: 8px; }
.card strong { color: var(--ink); }
.contact-list { list-style: none; padding-left: 0; margin-top: 0; }
.contact-list li { margin-bottom: 10px; color: var(--muted); }
.contact-list strong { color: var(--ink); }
.inline-link { color: var(--blue-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--blue); }

@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
