/* Sections: styles that belong to exactly one part of the homepage, top to bottom. */

/* Hero */
.hero { background: var(--mist); padding-block: clamp(48px, 7vw, 80px); }
.hero__text { max-width: 580px; }
.hero__lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1.15; }
.hero__product { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 500; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.ticks .icon { margin-top: 2px; }
/* The panel is a size container so the ghost letters scale with the PANEL, not the window: both letters always fit. */
/* The panel is a size container: everything drawn inside it is sized in em from one base that
   follows the PANEL width, so the picture scales as a whole and the lettering stays in proportion. */
.hero__panel { container-type: inline-size; position: relative; border-radius: var(--radius-lg); background: var(--navy); overflow: hidden; }
.demo { position: relative; z-index: 1; font-size: clamp(11px, 3.6vw, 16px); padding: 1.5em 1.25em 7.2em; color: var(--navy); }
@supports (font-size: 1cqw) { .demo { font-size: clamp(11px, 3.4cqw, 16.5px); } }
.demo p { margin: 0; }
.demo__owner { width: 58%; }
.demo__label { font-size: max(0.75em, 9px); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.demo__label--on-navy { color: var(--on-navy-label); margin-bottom: 0.9em; }
.demo__card { background: var(--white); border-radius: 0.75em; padding: 1em 1.15em 1.1em; box-shadow: var(--shadow-float); }
.demo__meta { font-size: max(0.8125em, 10px); line-height: 1.45; color: var(--ink-soft); }
.demo__amount { font-size: 2em; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.demo__bar { height: 0.45em; border-radius: 1em; background: var(--line); margin: 0.7em 0 0.55em; overflow: hidden; }
.demo__bar-fill { display: block; width: 76%; height: 100%; border-radius: 1em; background: var(--demo-green); }
.demo__line { font-size: max(0.8125em, 10px); font-weight: 500; line-height: 1.45; margin-bottom: 0.75em; }
.demo__chip { display: inline-block; font-size: max(0.75em, 9px); font-weight: 700; color: var(--demo-red); background: var(--demo-red-soft); border-radius: 2em; padding: 0.35em 0.85em; }
.demo__phone { position: absolute; right: 1.25em; top: 5.4em; width: 40%; background: var(--white); border: 0.2em solid var(--demo-frame); border-radius: 1em; padding: 0.8em 0.8em 0.9em; box-shadow: var(--shadow-float); }
.demo__phone .demo__label { margin-bottom: 0.6em; }
.demo__pay { margin-top: 0.7em; font-size: max(0.8125em, 10px); font-weight: 700; text-align: center; background: var(--orange); border-radius: 0.5em; padding: 0.6em 0; }
.demo__done { margin-top: 0.65em; display: flex; align-items: center; gap: 0.35em; font-size: max(0.75em, 9px); font-weight: 500; color: var(--demo-green-ink); }
.demo__done .icon { stroke: var(--demo-green-ink); }
.hero__pulse { position: absolute; left: 0; right: 0; bottom: 0.4em; width: 100%; height: auto; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-pulse 1.6s ease-out 0.2s forwards; }
@keyframes draw-pulse { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__pulse { stroke-dashoffset: 0; } }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust__list li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 12px; font-size: 15px; font-weight: 500; text-align: center; }
.trust__list li + li { border-left: 1px solid var(--line); }

/* Product names (KYCPulse section) */
.product__name { font-size: clamp(34px, 4vw, 44px); letter-spacing: -0.02em; }

/* Features and steps */
.features__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps__grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step); font-size: 48px; line-height: 1.1; font-weight: 800; color: var(--orange); }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* Pricing */
.pricing__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pricing__grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.price { padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
.price__band { font-size: 16px; font-weight: 700; }
.price__amount { font-size: 44px; line-height: 1.2; font-weight: 800; }
.price__unit { font-size: 15px; color: var(--ink-soft); }
.price--talk { background: var(--navy); border-color: var(--navy); color: var(--white); }
.price--talk .price__amount { font-size: 32px; line-height: 1.65; }
.price--talk a { color: var(--orange-soft); font-size: 15px; font-weight: 700; }

/* KYCPulse */
.kyc__text p.muted { color: var(--on-navy-soft); }
.notify { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.notify h3 { color: var(--white); }
.notify p { font-size: 15px; line-height: 1.55; color: var(--on-navy-soft); }

/* About and contact */
.contact { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; gap: 10px; }
.contact h2 { font-size: 20px; }
.contact__list { display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); font-size: 16px; }
.contact__list a { text-decoration: none; }
.contact__list a[href] { color: var(--navy); font-weight: 500; text-decoration: underline; }

/* Plain text pages (privacy, 404) */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); }
.prose h2 { font-size: 22px; margin-top: 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 1000px) {
  .pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .trust__list { grid-template-columns: minmax(0, 1fr); padding-block: 6px; }
  .trust__list li { justify-content: flex-start; text-align: left; padding: 12px 0; }
  .trust__list li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .features__grid, .pricing__grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .price { min-height: 0; }
}
