@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/* iMoney marketing page (/imoney). Light, high-contrast, matched to the app.
   One accent for action (app blue), one for the night (gold). */

:root {
  --ink: #111111;
  --ink-2: #3d3d40;          /* body copy: 10.9:1 on white */
  --ink-3: #5c5c62;          /* captions: 6.6:1 on white */
  --line: #e4e2dd;
  --paper: #ffffff;
  --paper-2: #f7f5f0;        /* warm section tint */
  --blue: #0066cc;           /* the app's action blue */
  --blue-deep: #004f9e;
  --gold: #c99a3c;
  --gold-soft: #f3e6c8;
  --night: #0c0a07;
  --radius: 22px;
  --wrap: 1160px;
  /* The site typeface, as on the home page, header and shared footer (same import URL). */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }
.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; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand-name { font: 700 20px/1 var(--font-display); letter-spacing: -0.01em; }
.brand-by { font-size: 14px; color: var(--ink-3); }
.head-nav { display: flex; align-items: center; gap: 28px; }
.head-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.head-nav a:hover { color: var(--ink); }
.head-nav .btn { color: #fff; }
@media (max-width: 860px) { .head-nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--blue); color: #fff; font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-deep); color: #fff; }
.btn:active { transform: scale(0.98); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost:hover { background: rgba(0, 102, 204, 0.06); color: var(--blue-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- type helpers ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section { padding: 120px 0; }
.section.tint { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; font-weight: 700; }
.section-head p { margin-top: 18px; font-size: 21px; color: var(--ink-2); }
.center { text-align: center; margin-inline: auto; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7vw, 88px); line-height: 1.0; font-weight: 700; letter-spacing: -0.035em; }
.hero .lede { margin-top: 26px; font-size: clamp(20px, 2vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.hero .actions { margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.hero-visual { position: relative; justify-self: center; }
.hero-visual .phone { width: min(320px, 72vw); }
.receipt-float { position: absolute; left: -96px; bottom: 56px; width: 300px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero .lede { max-width: none; }
  .receipt-float { position: static; width: 100%; max-width: 400px; margin: -80px auto 0; }
}

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 30px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font: 700 clamp(30px, 3.4vw, 42px)/1 var(--font-display); letter-spacing: -0.03em; }
.fact span { display: block; margin-top: 10px; font-size: 16px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- phone + receipt ---------- */
.phone {
  border-radius: 46px; padding: 10px; background: #111;
  box-shadow: 0 40px 80px -30px rgba(17, 17, 17, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.phone img, .phone video { border-radius: 36px; width: 100%; height: auto; background: #fff; }
.receipt {
  background: #fff; border-radius: 20px; padding: 22px 22px 18px;
  box-shadow: 0 24px 60px -20px rgba(17, 17, 17, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 15px;
}
.receipt-title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 16px; }
.receipt-title small { font-weight: 500; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.receipt dl { margin: 14px 0 0; }
.receipt dl > div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.35; }
.receipt dt { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.receipt dd { margin: 0; }
.receipt .zero dd { color: #1a7f37; font-weight: 700; }
.receipt-foot { margin-top: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.45; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; }
.step .phone { border-radius: 34px; padding: 7px; margin-bottom: 28px; }
.step .phone img { border-radius: 28px; aspect-ratio: 1206 / 1700; object-fit: cover; object-position: top; }
.step h3 { font-size: 22px; line-height: 1.25; display: flex; gap: 12px; align-items: baseline; }
.step h3::before {
  content: counter(step); flex: none;
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; transform: translateY(-2px);
}
.step p { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step .phone { max-width: 300px; } }

/* ---------- night band ---------- */
.night {
  position: relative; color: #f4efe4; overflow: hidden;
  background: var(--night) url("/imoney/assets/night.webp") right center / cover no-repeat;
}
.night::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 10, 7, 0.96) 0%, rgba(12, 10, 7, 0.82) 45%, rgba(12, 10, 7, 0.25) 100%); }
.night .wrap { position: relative; }
.night-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: center; }
.night h2 { color: #fff; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; font-weight: 700; }
.night .eyebrow { color: var(--gold); }
.night p.big { margin-top: 20px; font-size: 21px; color: #ddd5c4; max-width: 36ch; }
.checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; font-size: 18px; color: #f4efe4; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0a07' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section:not(.night) .checks li { color: var(--ink); }
@media (max-width: 900px) { .night-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- approve split ---------- */
.split { display: grid; grid-template-columns: 380px 1fr; gap: 88px; align-items: center; }
.split .phone { max-width: 340px; }
.split h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; font-weight: 700; }
.split p.big { margin-top: 20px; font-size: 21px; color: var(--ink-2); }
.split .checks { margin-top: 30px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } .split .phone { order: 2; justify-self: center; } }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: #7a5a17; margin-bottom: 22px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 21px; line-height: 1.25; }
.feature p { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- comparison ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 18px; }
.compare th, .compare td { text-align: left; padding: 22px 24px; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.compare thead th.us { color: var(--ink); }
.compare tbody th { font-weight: 600; width: 26%; color: var(--ink); }
.compare td { color: var(--ink-2); width: 37%; }
.compare td.us { color: var(--ink); font-weight: 500; background: #fffaf0; }
.compare thead th.us { background: #fffaf0; border-radius: 16px 16px 0 0; }
.compare tbody tr:last-child td.us { border-radius: 0 0 16px 16px; }
@media (max-width: 700px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { border-top: 1px solid var(--line); padding: 18px 0; }
  .compare th, .compare td { border: 0; padding: 6px 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 2px; }
  .compare td.us { background: #fffaf0; padding: 10px 14px; border-radius: 12px; margin-top: 6px; }
}

/* ---------- films ---------- */
.films { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.films .side { display: grid; gap: 24px; }
.film { margin: 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: #111; }
.night-film { justify-self: center; width: min(320px, 80vw); }
.night-film video { aspect-ratio: 390 / 844; border-radius: 36px; }
.film.portrait video { object-fit: contain; background: #ebe7de; }
.film figcaption { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.film figcaption b { color: var(--ink); }
.more { margin-top: 40px; border-top: 1px solid var(--line); }
.more > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font: 600 19px/1.3 var(--font); color: var(--ink);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; font-size: 28px; font-weight: 400; color: var(--ink-3); transition: transform .2s ease; }
.more[open] > summary::after { transform: rotate(45deg); }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 32px; }
@media (max-width: 900px) { .films { grid-template-columns: 1fr; } .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font: 600 21px/1.35 var(--font); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 28px; line-height: 1; font-weight: 400; color: var(--ink-3); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; font-size: 18px; color: var(--ink-2); }

/* ---------- early access ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.access-grid h2 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; }
.access-grid .big { margin-top: 20px; font-size: 21px; color: var(--ink-2); }
.access-grid .checks { margin-top: 28px; }
.access-links { margin-top: 32px; display: grid; gap: 10px; font-size: 17px; }
.door { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: 0 30px 60px -40px rgba(17, 17, 17, 0.25); }
.door h3 { font-size: 26px; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label, fieldset legend { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.req { color: #b42318; }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid #cfcdc7; background: #fff;
  font: 400 17px/1.4 var(--font); color: var(--ink);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15); }
.field input[aria-invalid="true"] { border-color: #b42318; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.radio-row { display: grid; gap: 8px; }
.radio { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 16px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--blue); background: rgba(0, 102, 204, 0.05); }
.radio input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex: none; }
.field-error { display: none; margin-top: 6px; font-size: 15px; color: #b42318; }
.field-error.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; margin-top: 4px; }
.form-note { margin-top: 14px; font-size: 15px; color: var(--ink-3); text-align: center; }
.confirm { display: none; }
.confirm.show { display: block; }
.confirm h3 { margin-bottom: 10px; }
.confirm p { color: var(--ink-2); margin-bottom: 18px; }
.disclosure { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr; gap: 48px; } .door { padding: 26px 22px; } }

@media (max-width: 700px) {
  body { font-size: 18px; }
  .section { padding: 84px 0; }
  .hero { padding: 56px 0 56px; }
  .section-head { margin-bottom: 40px; }
  .section-head p, .night p.big, .split p.big, .access-grid .big { font-size: 19px; }
}

/* ---------- motion: explains, never decorates ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- small screens ---------- */
.btn { white-space: nowrap; }
.receipt-float { z-index: 2; }
@media (max-width: 960px) { .receipt-float { margin: 24px auto 0; } }
@media (max-width: 520px) { .brand-by { display: none; } }
@media (max-width: 700px) {
  .compare tbody th, .compare td { width: auto; }
}
@media (max-width: 560px) {
  .step { display: grid; grid-template-columns: 112px 1fr; column-gap: 18px; align-items: start; }
  .step .phone { grid-row: span 2; margin: 0; padding: 4px; border-radius: 20px; max-width: none; }
  .step .phone img { border-radius: 16px; }
  .step h3 { font-size: 20px; }
  .step p { margin-top: 6px; font-size: 16px; }
  .steps { row-gap: 36px; }
}

/* labels: dark gold on light (5.6:1), bright gold on night */
.eyebrow, .section-head .eyebrow { color: #85601c; }
.night .eyebrow { color: var(--gold); }

/* films: one clear play button instead of a control bar over every poster */
.vwrap { position: relative; display: block; }
.play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
  display: grid; place-items: center; transition: transform .15s ease;
}
.play:hover { transform: scale(1.06); }
.play svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--ink); }
.play .sr-only { position: absolute; }
.vwrap.playing .play { display: none; }
