/* ==========================================================================
   Iron & Light — marketing site
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-raised: #141310;
  --bg-card: #17150f;
  --gold: #d4af37;
  --gold-deep: #b8962e;
  --gold-soft: rgba(212, 175, 55, 0.25);
  --gold-faint: rgba(212, 175, 55, 0.09);
  --ink: #f5f3ee;
  --muted: #c9c4ba;
  --line: rgba(212, 175, 55, 0.16);
  --font-display: "Playfair Display", Georgia, serif;
  --font-brand: "Cinzel", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius: 18px;
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* black-and-gold marble slab — tiles down the full page and scrolls with it.
   The scrim layer knocks back the bright veining so body copy stays readable
   where it sits directly on the slab. */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(8, 8, 8, 0.62), rgba(8, 8, 8, 0.62)),
    #0a0a0a url("../assets/img/marble-scroll.jpg") top center / max(100%, 900px) auto repeat-y;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--gold); color: #0a0a0a; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

a { color: var(--gold); text-decoration: none; }

/* text that sits on the marble slab rather than on a card */
h1, h2, h3, h4,
.hero-sub,
.rank-note,
.price-foot,
.page-body p,
.page-body ul,
.spotlight-copy > p,
.section-head p,
.cta-panel p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

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

/* --- shared bits ------------------------------------------------------- */

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(180deg, #f3dc8a 0%, #d9b545 38%, #a5811f 80%, #c9a832 100%);
  color: #241c07;
  font-weight: 700;
  border-color: rgba(58, 44, 10, 0.9);
  text-shadow: 0 1px 0 rgba(255, 246, 214, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.65),
    inset 0 -3px 6px rgba(60, 42, 6, 0.45),
    0 6px 24px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.65),
    inset 0 -3px 6px rgba(60, 42, 6, 0.45),
    0 10px 32px rgba(212, 175, 55, 0.45);
}

.btn-ghost {
  border-color: var(--gold-soft);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { background: var(--gold-faint); }

/* --- store badge (placeholder — swap for real Google Play badge) ------- */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(8, 7, 4, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.12), 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.18);
}

.store-badge svg { flex-shrink: 0; }

.store-badge .badge-text { line-height: 1.25; text-align: left; }

.store-badge .badge-small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.store-badge .badge-big {
  display: block;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.platform-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}

.platform-note .dot { color: var(--gold); margin: 0 6px; }

/* --- nav ---------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.brand img { width: 30px; height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: #e9e4d8;
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.75);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --- hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 30%, rgba(212, 175, 55, 0.13), transparent 65%),
    radial-gradient(ellipse 55% 45% at 15% 82%, rgba(212, 175, 55, 0.06), transparent 60%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero h1 .gold {
  background: linear-gradient(180deg, #f6e6a5 8%, #d4af37 45%, #96721c 78%, #e3c157 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* the glyphs are transparent here — an inherited shadow would show through them */
  text-shadow: none;
}

.hero-copy {
  transform: translateY(-48px);
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 38px;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone::before {
  content: "";
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  background: radial-gradient(ellipse 50% 42% at 50% 46%, rgba(212, 175, 55, 0.28), transparent 68%);
  pointer-events: none;
}

.hero-phone img {
  position: relative;
  width: min(340px, 78vw);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65));
}

/* --- verse band ----------------------------------------------------------- */

.verse-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* opaque so the marble slab doesn't show through — this band is a deliberate dark break */
  background:
    radial-gradient(110% 130% at 50% 50%, rgba(212, 175, 55, 0.045), transparent 72%),
    #080706;
  box-shadow:
    inset 0 32px 56px -40px rgba(0, 0, 0, 0.95),
    inset 0 -32px 56px -40px rgba(0, 0, 0, 0.95);
  padding: 72px 0;
  text-align: center;
}

.verse-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 14px;
  line-height: 1.5;
}

.verse-band cite {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- features grid -------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: linear-gradient(180deg, var(--bg-card), #100f0b);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon svg { width: 24px; height: 24px; stroke: var(--gold); }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.feature-card p { font-size: 0.95rem; }

.feature-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 14px;
}

/* --- spotlight sections ----------------------------------------------------- */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.spotlight + .spotlight { margin-top: 130px; }

.spotlight-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 18px;
}

.spotlight-copy > p { margin-bottom: 26px; }

.spotlight-list { list-style: none; }

.spotlight-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 0.98rem;
}

.spotlight-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  stroke: var(--gold);
}

.spotlight-list strong { color: var(--ink); font-weight: 600; }

.spotlight-media { position: relative; display: flex; justify-content: center; }

.spotlight-media::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(ellipse 46% 40% at 50% 50%, rgba(212, 175, 55, 0.14), transparent 68%);
  pointer-events: none;
}

.spotlight-media img {
  position: relative;
  width: min(320px, 74vw);
  filter: drop-shadow(0 26px 52px rgba(0, 0, 0, 0.6));
}

/* staggered phone pair */
.phone-pair { position: relative; display: flex; justify-content: center; }

.phone-pair img {
  position: relative;
  width: min(270px, 58vw);
  filter: drop-shadow(0 26px 52px rgba(0, 0, 0, 0.6));
}

.phone-pair img:last-child {
  margin-left: -70px;
  margin-top: 76px;
}

/* --- ranks ------------------------------------------------------------------ */

.ranks {
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.035) 50%, transparent);
}

.rank-track {
  position: relative;
  margin: 76px 0 20px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2c2817, var(--gold));
}

.rank-ticks {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rank-tick {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid #4a4023;
}

.rank-tick.first, .rank-tick.last { width: 18px; height: 18px; border-color: var(--gold); }

.rank-tick.last { background: var(--gold); box-shadow: 0 0 18px rgba(212, 175, 55, 0.65); }

.rank-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.rank-labels .rank-name { display: block; font-weight: 700; }

.rank-labels .rank-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
}

.rank-labels div:last-child { text-align: right; }

.rank-labels div:last-child .rank-name { color: var(--gold); }

.rank-note {
  margin-top: 46px;
  text-align: center;
  font-size: 0.95rem;
}

.rank-note strong { color: var(--gold); font-weight: 600; }

/* --- pricing ------------------------------------------------------------------ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 26px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card), #100f0b);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.price-card.premium {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 24px 60px rgba(0, 0, 0, 0.55);
}

.best-value {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #e3c157, var(--gold-deep));
  color: #131006;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
}

.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }

.price-line { margin: 18px 0 6px; color: var(--ink); }

.price-line .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
}

.price-line .period { color: var(--muted); font-size: 0.95rem; }

.price-alt { font-size: 0.9rem; margin-bottom: 4px; }

.price-alt strong { color: var(--gold); font-weight: 600; }

.trial-chip {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 10px 0 8px;
}

.price-list { list-style: none; margin: 22px 0 32px; flex: 1; }

.price-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.95rem;
}

.price-list svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 4px;
  stroke: var(--gold);
}

.price-list strong { color: var(--ink); font-weight: 600; }

.price-card .btn { justify-content: center; }

.price-foot {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 30px;
}

/* --- FAQ ------------------------------------------------------------------------ */

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] { border-color: var(--gold-soft); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body { padding: 0 24px 22px; font-size: 0.97rem; }

/* --- final CTA -------------------------------------------------------------------- */

.cta-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 90px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 50% 115%, rgba(212, 175, 55, 0.16), transparent 70%),
    linear-gradient(180deg, #12100b, #0c0b08);
}

.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 640px;
  margin: 0 auto 18px;
}

.cta-panel p { max-width: 480px; margin: 0 auto 40px; }

/* --- footer -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 44px;
  margin-top: 110px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer .brand { font-size: 0.9rem; }

.footer-tag { font-size: 0.85rem; margin-top: 10px; }

.footer-links { display: flex; gap: 30px; list-style: none; }

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  margin-top: 40px;
  font-size: 0.8rem;
  color: #6e685f;
  text-align: center;
}

/* --- legal / simple pages -------------------------------------------------------------- */

.page-body { padding: 160px 0 60px; max-width: 780px; margin: 0 auto; }

.page-body h1 { font-size: 2.2rem; margin-bottom: 8px; }

.page-updated { font-size: 0.85rem; margin-bottom: 44px; }

.page-body h2 { font-size: 1.25rem; margin: 40px 0 12px; }

.page-body p, .page-body ul { margin-bottom: 16px; font-size: 0.98rem; }

.page-body ul { padding-left: 22px; }

.notice {
  border: 1px solid var(--gold-soft);
  background: var(--gold-faint);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.9rem;
  margin-bottom: 36px;
}

/* --- reveal animation -------------------------------------------------------------------- */

/* hidden state only applies when JS is running (html.js) — no-JS visitors see everything */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature-card, .store-badge { transition: none; }
}

/* --- responsive ----------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .section { padding: 84px 0; }

  .hero { padding: 150px 0 90px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }

  .hero-copy { transform: none; }

  .hero-sub { margin-inline: auto; }

  .hero-actions { justify-content: center; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .spotlight { grid-template-columns: 1fr; gap: 48px; }

  .spotlight.reverse .spotlight-media { order: -1; }

  .spotlight-media { order: -1; }

  .pricing-grid { grid-template-columns: minmax(0, 460px); }

  .nav-links, .nav-cta .btn { display: none; }

  .nav-toggle { display: block; }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 12px 0 20px;
  }

  .nav.open .nav-links li { width: 100%; text-align: center; }

  .nav.open .nav-links a { display: block; padding: 13px 0; font-size: 1.05rem; border-bottom: none; }

  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

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

  .phone-pair img { width: 44vw; }

  .phone-pair img:last-child { margin-left: -6vw; margin-top: 52px; }

  .rank-labels { font-size: 0.82rem; }

  .cta-panel { padding: 64px 24px; }

  .footer-inner { flex-direction: column; }
}
