/* =====================================================
   Polish pass — loaded after styles.css
   ===================================================== */
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.phone-brand .brand-mark { width: 28px; height: 28px; }
.brand span { background: linear-gradient(90deg, var(--ink), #24428f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn-primary { background: linear-gradient(135deg, #2f86ff, #1a6ef0 55%, #1554c4); }
.btn-primary:hover { background: linear-gradient(135deg, #2a7cf2, #1554c4); box-shadow: 0 12px 28px rgba(26,110,240,.38); }
.btn:active { transform: translateY(0); }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .6; }
.section-head .eyebrow { justify-content: center; }

/* Hero */
.hero {
  background:
    radial-gradient(800px 480px at 88% 8%, #d6e8ff 0%, transparent 62%),
    radial-gradient(600px 400px at 0% 100%, #fff1dc 0%, transparent 60%),
    linear-gradient(180deg, #f2f8ff 0%, #fff 100%);
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(#c5d9f5 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero-grid { position: relative; }
.hero h1 .accent { background: linear-gradient(90deg, #1a6ef0, #5b9dff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badges li { background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(26,110,240,.05); }

/* Trust */
.trust-panel { background: linear-gradient(160deg, #eaf3ff, #f6faff); box-shadow: var(--shadow); }
.trust-item { background: rgba(255,255,255,.7); border: 1px solid #dbe8fb; border-radius: 20px; padding: 26px 18px; transition: transform .2s, box-shadow .2s; }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-item .ic-xl { width: 64px; height: 64px; padding: 15px; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px rgba(16,28,58,.08); }

/* Values */
.values { background: linear-gradient(180deg, var(--cream), #fffaf3); position: relative; overflow: hidden; }
.values::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: #ffe6c2; opacity: .5; }
.values > .container { position: relative; z-index: 1; }
.value { background: rgba(255,255,255,.75); border: 1px solid #f6e4cb; border-radius: 20px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.value:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(245,154,35,.14); }

/* Features */
.features { background: linear-gradient(180deg, #fff, #f8fbff); }
.feature { position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), #7fb3ff); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.feature:hover::before { transform: scaleX(1); }
.feature .badge { width: 48px; height: 48px; justify-content: center; }

/* Problems */
.problem { border-top: 4px solid transparent; transition: transform .2s, box-shadow .2s; }
.problem:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(16,28,58,.09); }
.problem:nth-child(1) { border-top-color: var(--orange); } .problem:nth-child(2) { border-top-color: var(--pink); }
.problem:nth-child(3) { border-top-color: var(--green); } .problem:nth-child(4) { border-top-color: var(--purple); }
.problem:nth-child(5) { border-top-color: var(--yellow); } .problem:nth-child(6) { border-top-color: var(--teal); }

/* How it works */
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 16px; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (min-width: 1500px) {
  .steps { grid-template-columns: repeat(8, 1fr); gap: 16px; position: relative; }
  .steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 47px; border-top: 2px dashed #bcd6fb; z-index: 0; }
  .step { position: relative; z-index: 1; padding: 22px 12px; }
}

/* Testimonials */
.quote { position: relative; overflow: hidden; transition: transform .2s; }
.quote:hover { transform: translateY(-4px); }
.quote::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--blue-soft); z-index: 0; }
.quote > * { position: relative; z-index: 1; }

/* FAQ */
.faq-list summary { transition: background .15s; border-radius: 14px; }
.faq-list summary:hover { background: #f5f9ff; }

/* Final CTA */
.cta-panel {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(24px, 5vw, 72px); text-align: left;
  background: radial-gradient(700px 360px at 90% -10%, #4d97ff 0%, transparent 60%), linear-gradient(135deg, #1a6ef0, #0f3f9c);
  border: 0; color: #fff; box-shadow: 0 30px 60px rgba(21,84,196,.28);
}
.cta-panel .cta-copy { margin: 0; max-width: 780px; position: relative; z-index: 1; }
.cta-copy h2 { color: #fff; }
.cta-copy > p { color: rgba(255,255,255,.86); }
.cta-panel .center-row { justify-content: flex-start; }
.cta-panel .btn-primary { background: #fff; color: var(--blue-dark); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.cta-panel .btn-primary:hover { background: #f1f7ff; }
.cta-panel .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cta-panel .btn-outline:hover { background: rgba(255,255,255,.14); }
.cta-tags { justify-content: flex-start; color: rgba(255,255,255,.9); }
.cta-tags .ic { color: #ffd45c; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb-1 { width: 320px; height: 320px; left: -100px; bottom: -160px; background: rgba(255,255,255,.08); }
.orb-2 { width: 180px; height: 180px; right: 22%; top: -90px; background: rgba(255,212,92,.16); }
.hand-cta { display: none; }
.qr-card {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; padding: 20px; background: #fff; color: var(--ink);
  border-radius: 24px; text-align: center; font-size: .82rem; box-shadow: 0 20px 40px rgba(0,0,0,.22); transition: transform .2s;
}
.qr-card:hover { transform: translateY(-4px) rotate(-1deg); }
.qr-card img { width: 150px; height: 150px; display: block; }
.qr-card strong { font-size: .95rem; }
@media (max-width: 900px) {
  .cta-panel { grid-template-columns: 1fr; text-align: center; }
  .cta-panel .center-row, .cta-tags { justify-content: center; }
  .qr-card { display: none; }
}

/* Footer */
.site-footer { background: linear-gradient(180deg, #fff, var(--sky)); }

/* Legal / prose extras */
.callout { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink) !important; font-weight: 600; }
.prose h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.prose dl { margin: 0 0 14px; display: grid; gap: 12px; }
.prose dt { font-weight: 700; color: var(--ink); }
.prose dd { margin: 2px 0 0; color: var(--ink-2); }
.prose h2[id] { scroll-margin-top: 90px; }
.toc { background: var(--sky); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
.toc ol { list-style: decimal; padding-left: 20px; margin: 10px 0 0; columns: 2; column-gap: 32px; }
.toc li { padding-left: 4px; margin-bottom: 6px; font-size: .9rem; }
.toc li::before { display: none; }
.toc a { text-decoration: none !important; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* Back-to-top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(26,110,240,.4); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ic { transform: rotate(-90deg); }

/* Hero copy sits higher: top-aligned instead of vertically centred */
.hero { padding-top: clamp(16px, 2.5vw, 36px); }
.hero-grid { align-items: start; }
.hero-copy { padding-top: clamp(8px, 2vw, 28px); }
@media (max-width: 900px) { .hero-copy { padding-top: 12px; } }

/* Flaticon (multicolour) images used in place of the outline glyphs */
img.ic.fi { fill: none; stroke: none; object-fit: contain; }
.trust-item .ic-xl.fi { padding: 10px; }
.hero-badges img.fi, .cta-tags img.fi, .chip img.fi { width: 18px; height: 18px; }
.feature .badge img.fi, .value .badge img.fi, .problem .badge img.fi { width: 30px; height: 30px; }
.app-ic img.fi { width: 28px; height: 28px; }
.footer-bottom { flex-wrap: wrap; }
.social img.fi { width: 18px; height: 18px; }

/* Typewriter headline */
.hero h1 .accent.typed { position: relative; display: inline-block; background: none; color: var(--blue); white-space: nowrap; }
.js .typed-ghost { visibility: hidden; }
.typed-live { display: none; }
.js .typed-live { display: inline; }
.typed-live {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  background: linear-gradient(90deg, #1a6ef0, #5b9dff 70%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.caret { display: inline-block; width: .07em; height: .85em; margin-left: .06em; vertical-align: -.05em; background: var(--blue); border-radius: 2px; animation: caret-blink 1s steps(1) infinite; }
.typed.static .caret { display: none; }
.typed.static .typed-live { position: static; }
.typed.static .typed-ghost { display: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
