/* DailyInThree — Landing page
   warm dark + terracotta · matches in-app aesthetic
   ============================================================ */

:root {
  --bg:        #100E0B;
  --bg-2:      #14110E;
  --bg-3:      #1A1815;
  --fg:        #F2EFE8;
  --fg-muted:  #9A958C;
  --fg-subtle: #7A766D;

  --line:      #2A2723;
  --line-2:    #1F1D1A;

  --accent:    #B5654A;
  --accent-2:  oklch(0.62 0.10 40);   /* slightly cooler tint, same chroma family */
  --on-accent: #0E0D0B;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1180px;
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

body { overflow-x: hidden; }

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

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

/* ── Brand wordmark + 3-bar mark (reused) ───────────────── */
.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
}
.brand__wordmark,
.phone__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 0.98;
  font-size: 18px;
  color: var(--fg);
  display: inline-flex;
  flex-direction: column;
}
.brand__wordmark span,
.phone__wordmark span { display: block; }

.threemark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  padding-bottom: 2px;
}
.threemark__bar {
  width: 4px;
  border-radius: 1px;
  background: var(--fg);
}
.threemark__bar--1 { height: 9.9px; }
.threemark__bar--2 { height: 14px;  }
.threemark__bar--3 { height: 18px; background: var(--accent); }

.threemark--phone { padding-bottom: 1px; }

.threemark--large {
  gap: 6px;
}
.threemark--large .threemark__bar { width: 8px; border-radius: 2px; }
.threemark--large .threemark__bar--1 { height: 28px; }
.threemark--large .threemark__bar--2 { height: 42px; }
.threemark--large .threemark__bar--3 { height: 56px; }

.threemark--xl {
  gap: 10px;
}
.threemark--xl .threemark__bar { width: 14px; border-radius: 3px; }
.threemark--xl .threemark__bar--1 { height: 46px; }
.threemark--xl .threemark__bar--2 { height: 68px; }
.threemark--xl .threemark__bar--3 { height: 92px; }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16,14,11,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--fg-muted);
}
.topnav a:hover { color: var(--fg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn--ghost {
  border-color: var(--line);
  color: var(--fg);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--fg-muted);
  background: rgba(255,255,255,0.03);
}
.btn--sm { padding: 8px 14px; font-size: 13px; }

/* App Store badge */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid #1f1f1f;
  font-family: inherit;
  transition: transform 120ms ease, background 120ms ease;
}
.appstore:hover { background: #0b0b0b; transform: translateY(-1px); }
.appstore__icon { flex: 0 0 auto; }
.appstore__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.appstore__pre  { font-size: 10px; letter-spacing: 0.4px; opacity: 0.85; }
.appstore__store {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-top: 2px;
}

.appstore--lg {
  padding: 16px 28px;
  border-radius: 16px;
}
.appstore--lg .appstore__pre  { font-size: 11px; }
.appstore--lg .appstore__store { font-size: 24px; }

.ghostlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
}
.ghostlink:hover { color: var(--accent); border-color: var(--accent); }

/* ── Eyebrow + section title ────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(181,101,74,0.15);
}
.eyebrow--center {
  display: flex;
  justify-content: center;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 54px);
  letter-spacing: -1.2px;
  line-height: 1.04;
  margin: 0 0 18px;
  text-wrap: balance;
  text-align: center;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.section-title--left {
  text-align: left;
  max-width: 22ch;
  margin-left: 0;
  margin-right: 0;
}
.section-lede {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.55;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background:
    radial-gradient(900px 520px at 78% 20%, rgba(181,101,74,0.18), transparent 70%),
    radial-gradient(900px 600px at 15% 80%, rgba(120,80,60,0.10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,239,232,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,239,232,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero__copy { max-width: 560px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.6vw, 84px);
  font-weight: 700;
  letter-spacing: -2.2px;
  line-height: 1.0;
  margin: 8px 0 22px;
  text-wrap: balance;
}
.hero__title--accent { color: var(--accent); }

.hero__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 32px;
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__meta {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-subtle);
}
.hero__meta strong { color: var(--fg); font-weight: 600; }

/* iPhone mockup in hero */
.hero__device-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(181,101,74,0.32), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.phone {
  position: relative;
  width: 320px;
  height: 660px;
  border-radius: 44px;
  background: var(--bg);
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 0 2px rgba(255,255,255,0.02);
  z-index: 1;
  transform: rotate(-1.5deg);
}
.phone__island {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 30px;
  border-radius: 22px;
  background: #000;
  z-index: 10;
}
.phone__indicator {
  position: absolute;
  bottom: 7px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 4px;
  border-radius: 100px;
  background: rgba(255,255,255,0.7);
  z-index: 10;
}
.phone__statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 0;
  font-size: 14px;
  font-weight: 600;
  font-family: -apple-system, system-ui, sans-serif;
  z-index: 5;
}
.phone__statusbar-right {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fg);
}

.phone__screen {
  position: absolute;
  inset: 0;
  padding: 56px 20px 70px;
  display: flex;
  flex-direction: column;
}
.phone__logo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 8px 0 4px;
}
.phone__wordmark { font-size: 15px; }

.phone__title { padding: 18px 8px 0 8px; }
.phone__date {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.phone__title h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
}
.phone__tag {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--fg-muted);
}

.phone__slots {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 4px 0;
}
.phone__slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.phone__slot-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.phone__slot-title {
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone__slot-meta {
  font-size: 10px;
  color: var(--fg-subtle);
  letter-spacing: 0.2px;
}
.phone__badge {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(154,149,140,0.35);
  color: var(--fg-muted);
}
.phone__slot--active {
  border-color: rgba(181,101,74,0.45);
  background: rgba(181,101,74,0.08);
}
.phone__slot--active .phone__badge {
  border-color: rgba(181,101,74,0.6);
  color: var(--accent);
  background: rgba(181,101,74,0.12);
}
.phone__slot--done .phone__slot-title {
  color: var(--fg-subtle);
  text-decoration: line-through;
  text-decoration-color: rgba(154,149,140,0.5);
}
.phone__check {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}

.phone__bottomnav {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 18px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.phone__tab {
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted);
}
.phone__tab.is-active { color: var(--accent); font-weight: 600; }
.phone__mic {
  position: absolute;
  left: 50%; top: -18px;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow:
    0 8px 20px rgba(181,101,74,0.45),
    0 0 0 4px var(--bg);
}

/* ── Why three (stats) ──────────────────────────────────── */
.why {
  padding: 110px 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
}
.why .eyebrow { margin-bottom: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  text-align: left;
}
.stat {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--accent);
}
.stat__label {
  font-size: 14px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}

/* ── How it works (steps) ───────────────────────────────── */
.how {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--fg-subtle);
}
.step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.step--accent {
  background: linear-gradient(180deg, rgba(181,101,74,0.16), rgba(181,101,74,0.04));
  border-color: rgba(181,101,74,0.4);
}
.step--accent .step__num { color: var(--accent); }

/* ── Features grid ──────────────────────────────────────── */
.features {
  padding: 110px 0;
  background: var(--bg);
}
.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  padding: 36px 30px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(181,101,74,0.12);
  color: var(--accent);
  margin-bottom: 8px;
}
.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ── Pull quote ─────────────────────────────────────────── */
.quote {
  padding: 110px 0;
  background:
    radial-gradient(700px 400px at 50% 50%, rgba(181,101,74,0.12), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.quote__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  max-width: 28ch;
}
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 0 0 18px;
  text-wrap: balance;
}
.quote cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--fg-subtle);
  text-transform: uppercase;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  padding: 110px 0;
  background: var(--bg);
}
.faq__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.faq__intro { position: sticky; top: 100px; }
.faq__list { margin: 0; padding: 0; }
.faq__item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item dt {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.faq__item dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 58ch;
}

/* ── Final CTA ──────────────────────────────────────────── */
.cta {
  padding: 130px 0 140px;
  background:
    radial-gradient(700px 500px at 50% 30%, rgba(181,101,74,0.22), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line-2);
  text-align: center;
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cta__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.02;
  text-wrap: balance;
}
.cta__lede {
  margin: 0;
  max-width: 48ch;
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.cta__fineprint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
  letter-spacing: 0.6px;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 48px 0 56px;
  background: var(--bg);
  border-top: 1px solid var(--line-2);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { display: inline-flex; align-items: flex-end; gap: 10px; }
.footer__nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-muted);
}
.footer__nav a:hover { color: var(--fg); }
.footer__legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--fg-subtle);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 56px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: none; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__intro { position: static; }
  .topnav { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__cta { gap: 16px; }
  .appstore { padding: 10px 16px; }
  .appstore__store { font-size: 18px; }
}
