:root {
  color-scheme: light;
  --ink: #112851;
  --blue: #095dde;
  --text: #3d5574;
  --line: #d9e5f4;
  --paper: #f1f6ff;
  --night: #0c2145;
  --light-blue: #a8d1ff;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --press-ease: cubic-bezier(.23, 1, .32, 1);
  color: var(--ink);
  background: #fff;
  font: 100%/1.6 system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap {
  width: min(82rem, 100%);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.masthead { padding-top: env(safe-area-inset-top); }
.top { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top img { width: clamp(4.75rem, 15vw, 6.5rem); height: auto; }
nav { display: flex; gap: clamp(.7rem, 3vw, 2rem); flex-wrap: wrap; justify-content: flex-end; }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: .28em;
}
.hero, .closing { background: var(--night); color: #fff; }
.hero { padding-block: clamp(2.5rem, 6vw, 6rem); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero .split {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  grid-template-areas: "intro visual" "copy visual";
  row-gap: .85rem;
}
.hero-intro { grid-area: intro; align-self: end; }
.hero-copy { grid-area: copy; align-self: start; }
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
h1, h2 { line-height: 1.02; letter-spacing: -.062em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.35vw, 6.3rem); }
h2 { font-size: clamp(2.15rem, 4.3vw, 4.2rem); max-width: 22ch; }
em { color: var(--blue); font-style: normal; }
.hero em, .closing em { color: var(--light-blue); }
h1 em, .scenes em { display: block; }
p { max-width: 58ch; color: var(--text); }
p + p { margin-top: .85rem; }
h1 + p, h2 + p { margin-top: 1.3rem; }
.hero p, .closing p { color: #cfdef3; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.32rem); font-weight: 650; color: #fff; }
.hero .offer {
  margin-top: 1.35rem;
  padding-left: .8rem;
  border-left: 2px solid #84bafc;
  color: var(--light-blue);
  font-weight: 750;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  margin-top: 1.45rem;
  padding: .65rem 1.45rem;
  border-radius: 100vmax;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  user-select: none;
  transition: transform 135ms var(--press-ease), background-color 135ms ease-out;
}
.hero .cta, .closing .cta { background: #ddecff; color: var(--night); }
.cta:focus-visible { outline-color: var(--blue); }
.hero .cta:focus-visible, .closing .cta:focus-visible { outline-color: var(--light-blue); }
.cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  nav a:hover { color: var(--blue); text-decoration: underline; }
  .cta:hover { background: #084cb4; }
  .hero .cta:hover, .closing .cta:hover { background: #fff; }
}
.hero-visual {
  grid-area: visual;
  position: relative;
  display: grid;
  isolation: isolate;
  place-items: center;
  min-height: clamp(24rem, 44vw, 34rem);
  padding: 2.25rem 1.25rem 4.75rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 49% 62%, #095dde, transparent 68%),
    linear-gradient(155deg, #183965, #0c2856 70%);
  border: 1px solid #7aa7e54a;
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#c4ddff80 1px, transparent 1px);
  background-size: 19px 19px;
  mask-image: linear-gradient(#0009, transparent 92%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #bedbff44;
  box-shadow: 0 0 0 1.65rem #bedbff10, 0 0 0 3.3rem #bedbff0b;
}
.phone {
  position: relative;
  width: clamp(10rem, 18vw, 14.5rem);
  overflow: hidden;
  border: 4px solid #092045;
  border-radius: 1.35rem;
  background: #e8f2ff;
  box-shadow: 0 24px 48px #06152880, 0 0 0 1px #c4ddff60;
}
.phone img { width: 100%; height: auto; }
.sample-qr {
  position: absolute;
  inset: 15% 22% 54%;
  display: grid;
  place-items: center;
  padding: .1rem;
  background: #e8f2ff;
  color: var(--ink);
  font: 750 .7rem/1.15 system-ui, sans-serif;
  text-align: center;
}
.hero-payment {
  position: absolute;
  right: clamp(.85rem, 5%, 1.75rem);
  bottom: clamp(.85rem, 5%, 1.75rem);
  display: grid;
  gap: .05rem;
  padding: .65rem 1rem;
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 12px 24px #06152855;
  color: var(--text);
  font-size: .875rem;
}
.hero-payment strong { color: var(--ink); font-size: clamp(1.25rem, 2.7vw, 1.85rem); line-height: 1.15; letter-spacing: -.045em; }
.scenes h2 { max-width: 15ch; }
.scene-reply { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.scene-reply strong { display: block; color: var(--blue); font-size: clamp(1.2rem, 2.5vw, 1.75rem); line-height: 1.25; }
.soft { background: var(--paper); }
.steps, .benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}
.steps { counter-reset: step; border-radius: 1.25rem; padding: .4rem; background: #dce9fb; gap: .4rem; }
.steps li { border-radius: .95rem; padding: clamp(1rem, 2.75vw, 2rem); background: #fff; }
.steps li, .benefits li { color: var(--text); }
.steps li::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: 1;
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
}
.steps strong, .benefits strong { display: block; margin-bottom: .25rem; color: var(--ink); }
.steps-note { margin-top: 1.1rem; }
.demo { grid-template-columns: minmax(0, .86fr) minmax(0, 1.15fr); }
.demo-art {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce9ff;
  border-radius: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(160deg, #f7faff, #eaf3ff);
}
.demo-art svg { width: 100%; }
.demo-phone { position: absolute; width: 25%; top: 12%; left: 37.5%; border-width: 2px; border-radius: clamp(.5rem, 1.5vw, 1rem); }
.demo-phone .sample-qr { font-size: clamp(.48rem, 1.2vw, .65rem); }
.demo figcaption { margin-top: .65rem; color: var(--text); font-size: .875rem; }
.benefits li { padding: 1rem 0; border-top: 2px solid #a8c9f6; }
.receipt {
  padding: clamp(1rem, 4vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #f8fbff;
  box-shadow: 0 .55rem 0 -.15rem #e6effd;
  font-variant-numeric: tabular-nums;
}
.receipt div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 1rem; padding-block: .6rem; }
.receipt dd { font-weight: 750; }
.receipt div:last-child { margin-top: .65rem; padding-top: 1rem; border-top: 1px dashed #a8bddb; color: var(--blue); }
.receipt div:last-child dd { font-size: clamp(1.4rem, 3.6vw, 2.5rem); letter-spacing: -.05em; line-height: 1.1; }
.transfer { background: var(--blue); color: #fff; }
.transfer p { color: #f0f6ff; }
.transfer .cta { background: #fff; color: var(--ink); }
.transfer .cta:focus-visible { outline-color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .transfer .cta:hover { background: #ddecff; }
}
.faq { align-items: start; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  display: grid;
  grid-template-columns: 1fr 1.5rem;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  padding: 1rem .3rem;
  font-weight: 700;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; color: var(--blue); text-align: center; font-size: 1.35rem; line-height: 1; }
details[open] summary::after { content: "−" / ""; }
details p { padding: 0 .3rem 1rem; }
.closing { text-align: center; }
.closing h2, .closing p { margin-inline: auto; }
#pilot-status { margin-top: 1.2rem; }
footer { padding-block: 1rem max(1rem, env(safe-area-inset-bottom)); }
@media (max-width: 49rem) {
  .hero .split, .split, .steps, .benefits { grid-template-columns: minmax(0, 1fr); }
  .hero .split { grid-template-areas: "intro" "visual" "copy"; row-gap: 1.5rem; }
  .hero-visual { min-height: 23rem; }
  .steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .1rem .65rem; align-items: baseline; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
  .steps strong { margin: 0; }
  .steps span { grid-column: 2; }
  .benefits { gap: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-intro > *, .hero-visual, .hero-copy > * {
    animation: rise-in 900ms var(--press-ease) var(--hero-delay, 0ms) both;
  }

  .hero-intro .lead { --hero-delay: 95ms; }
  .hero-visual { --hero-delay: 175ms; --reveal-distance: 1.75rem; }
  .hero-copy > p:first-child { --hero-delay: 235ms; }
  .hero-copy .offer { --hero-delay: 295ms; }
  .hero-copy .cta { --hero-delay: 345ms; }
  .hero-copy .cta:active { scale: .97; }

  .is-revealing {
    animation: rise-in 780ms var(--press-ease) var(--reveal-delay, 0ms) both;
  }

  h2[data-reveal] { --reveal-distance: 1.5rem; }
  .scenes p:first-child { --reveal-delay: 65ms; }
  .scenes p:nth-child(2), .steps li:nth-child(3) { --reveal-delay: 115ms; }
  .scene-reply { --reveal-delay: 150ms; }
  .steps li:nth-child(2) { --reveal-delay: 65ms; }

  @supports (animation-timeline: view()) and (animation-range: cover 0px cover 150px) {
    [data-reveal] {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: cover var(--scroll-start, 48px) cover var(--scroll-end, 215px);
    }

    .steps li:nth-child(2), .benefits li:nth-child(2) { --scroll-start: 62px; --scroll-end: 229px; }
    .steps li:nth-child(3), .benefits li:nth-child(3) { --scroll-start: 72px; --scroll-end: 239px; }
    .closing [data-reveal] { --scroll-end: 130px; }
    footer [data-reveal] { --scroll-start: 10px; --scroll-end: 52px; }

    @media (max-width: 49rem) {
      .hero-visual, .hero-copy > * {
        animation: rise-in linear both;
        animation-timeline: view();
        animation-range: cover 36px cover 200px;
      }
    }
  }

  [data-reveal]:focus-visible, [data-reveal]:focus-within, .hero-copy .cta:focus-visible {
    animation: none;
  }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(var(--reveal-distance, 1rem)); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:active { transform: none; }
}
