/* FJR landing — short, visual, Erly-clean */

:root {
  --ink: #14110e;
  --ink-soft: #3d342c;
  --ink-faint: #6b5f54;
  --mist: #f7f0e6;
  --sand: #efe6d8;
  --ember: #c95f2c;
  --ember-lift: #e8a070;
  --cream: #faf6f1;
  --line: rgba(20, 17, 14, 0.12);
  --line-dark: rgba(250, 246, 241, 0.14);
  --shell: min(980px, calc(100% - 2.5rem));
}

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

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.kicker {
  font-family: Syne, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 0.75rem;
}

h1, h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.15;
  max-width: 18ch;
}

h3 {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 0.3rem;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 34rem;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 240, 230, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.top.is-stuck { border-bottom-color: var(--line); }

.top-inner {
  width: var(--shell);
  margin: 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mark {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: var(--ember);
  color: #fff;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
}
.btn:hover { background: #b4501f; color: #fff; }

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.15s ease;
}
.store-badge:hover { opacity: 0.85; }
.store-badge img {
  width: 156px;
  height: 52px;
  object-fit: contain;
}

.cta-note {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-faint);
}
.cta-note strong { color: var(--ink-soft); font-weight: 600; }

/* phone */
/* Phone bezel — real iPhone aspect (~9:19.5) */
.phone {
  width: min(220px, 48vw);
  margin: 0 auto;
  padding: 9px;
  border-radius: 36px;
  background: linear-gradient(160deg, #40382f 0%, #16120e 100%);
  box-shadow: 0 36px 80px rgba(20, 17, 14, 0.32);
  flex-shrink: 0;
}
.phone img {
  border-radius: 28px;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

/* Erly-style dual phone stack — full-height phones */
.phones {
  position: relative;
  width: min(380px, 90vw);
  aspect-ratio: 1 / 1.15;
  margin: 0 auto;
  flex-shrink: 0;
}

.phones .phone {
  position: absolute;
  width: min(200px, 46vw);
  margin: 0;
}

.phones .phone-back {
  left: 2%;
  top: 6%;
  transform: rotate(-9deg);
  z-index: 1;
  box-shadow: 0 24px 50px rgba(20, 17, 14, 0.28);
}

.phones .phone-front {
  right: 2%;
  bottom: 0;
  transform: rotate(5deg);
  z-index: 2;
}

@media (min-width: 820px) {
  .phones {
    width: 400px;
    aspect-ratio: 1 / 1.12;
  }
  .phones .phone { width: 210px; }
}

/* sections */
.band { padding: clamp(3rem, 8vw, 5rem) 0; }
.band-inner { width: var(--shell); margin: 0 auto; }

/* Section titles sit centered above content */
.band-inner > .kicker,
.band-inner > h2,
.band-inner > .lede,
.how-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.band-line { border-top: 1px solid var(--line); }
.band-dark {
  background: linear-gradient(168deg, #1f1915 0%, #14110e 100%);
  color: var(--cream);
}
.band-dark h2 { color: var(--cream); }
.band-dark .kicker { color: var(--ember-lift); }
.band-dark .lede { color: rgba(250, 246, 241, 0.7); }
.band-sand { background: var(--sand); }

/* hero */
.hero {
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(16, 12, 9, 0.5) 0%, rgba(16, 12, 9, 0.15) 45%, rgba(16, 12, 9, 0.45) 100%),
    radial-gradient(ellipse 80% 55% at 72% 60%, var(--ember-lift) 0%, transparent 60%),
    linear-gradient(158deg, #17120e 0%, #4a2d1e 46%, var(--ember) 100%);
}

.hero-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4rem) 0 clamp(2.75rem, 7vw, 4.5rem);
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 820px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
}

.proof {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(250, 246, 241, 0.12);
  border: 1px solid rgba(250, 246, 241, 0.18);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250, 246, 241, 0.92);
  line-height: 1.2;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid rgba(26, 22, 18, 0.55);
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: #1a1612;
  background: #e8d5c0;
}

.avatars span:first-child { margin-left: 0; background: #d4b896; }
.avatars span:nth-child(2) { background: #e0c4a8; }
.avatars span:nth-child(3) { background: #c9a882; }
.avatars span:nth-child(4) { background: #f0dcc8; }

.hero-mark {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.08;
  max-width: 12ch;
  margin-bottom: 0.9rem;
}

.hero-sub {
  margin: 0 0 1.6rem;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.45;
  color: rgba(250, 246, 241, 0.86);
  max-width: 34ch;
}

.hero .cta-note { color: rgba(250, 246, 241, 0.62); }
.hero .cta-note strong { color: rgba(250, 246, 241, 0.88); }

/* without / with — Hugo pattern */
.compare {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.col {
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(20, 17, 14, 0.03);
}

.col-bad { background: #fff; }
.col-good { background: #fff; }

.col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.col-label {
  font-family: Syne, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink-soft);
}

.col-good .col-label { color: var(--ember); }

.col-same {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.55rem;
  margin: 0 -0.55rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.timeline li + li {
  border-top: 1px solid rgba(20, 17, 14, 0.06);
}

.timeline li.is-hit {
  background: rgba(196, 92, 42, 0.08);
}

.col-good .timeline li.is-hit {
  background: rgba(52, 120, 72, 0.1);
}

.timeline time {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  padding-top: 0.12rem;
}

.timeline li > div > p {
  margin: 0;
  color: var(--ink);
}

.timeline .note {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-faint);
}

.badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  font-family: Syne, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.1em;
  color: #fff;
}

.badge-bad { background: #c45c4a; }
.badge-good { background: #347848; }

.col-end {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* How it works — Erly-style: number + phone + title + copy */
.how-head {
  margin-bottom: 2.25rem;
  max-width: 28ch;
}

.how-head h2 {
  margin-bottom: 0;
}

.how-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.how-card {
  background: var(--sand);
  border-radius: 22px;
  padding: 1.35rem 1.15rem 1.6rem;
  text-align: center;
}

.how-num {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.how-card .phone {
  width: min(168px, 42vw);
  margin: 0 auto 1.25rem;
  padding: 8px;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(20, 17, 14, 0.18);
  position: relative;
}

.how-card .phone img {
  border-radius: 22px;
  aspect-ratio: 9 / 19.5;
  display: block;
}

.how-card h3 {
  font-family: Syne, sans-serif;
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
}

.how-card p {
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 22ch;
}

/* legacy step styles kept unused */

/* features — Erly-style icon grid */
.facts-inner {
  text-align: center;
}

.facts-title {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.facts {
  display: grid;
  gap: 2rem 1.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .facts { grid-template-columns: repeat(4, 1fr); gap: 1.75rem 1.5rem; }
}

.fact-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: var(--sand);
  color: var(--ink);
}

.fact h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.fact p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 28ch;
}

/* faq */
.faq-list { max-width: 40rem; }

details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
details:first-of-type { border-top: 1px solid var(--line); }

summary {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ember);
  line-height: 1;
}
details[open] summary::after { content: "–"; }

details p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  max-width: 36rem;
}

/* final */
.final-inner { text-align: center; }
.final-inner h2 { max-width: 16ch; margin-inline: auto; }
.final-inner .lede { margin-inline: auto; }
.final-inner .store-badge { margin-inline: auto; }

/* footer */
footer { border-top: 1px solid var(--line); }
.foot-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: 1.5rem 0 calc(1.5rem + var(--dock-space, 0px));
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ink-faint);
}
.foot-inner a { color: var(--ink-faint); text-decoration-thickness: 1px; }
.foot-inner a:hover { color: var(--ink); }

/* sticky mobile dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(247, 240, 230, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.2s ease;
}
.dock.is-visible { transform: translateY(0); }
.dock .btn { width: 100%; }

@media (min-width: 820px) {
  .dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
