/* Incircart public pages (home and how it works). Calm, compact, built on the same tokens as the rest of the site. */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root { --page: #f3f4f6; --card: #ffffff; --border: #e0dfdc; --text: #1d2226; --muted: #5f6770; --accent: #0a66c2; --accent-hover: #004182; }
* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: "Manrope", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* header: the same blue band as every other page, logo only */
.band { background: linear-gradient(155deg, #0a2c52 0%, #0a66c2 100%); color: #fff; padding: 14px 0; padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.band .in { max-width: 1100px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.brand svg { width: 38px; height: 38px; flex: none; display: block; fill: none; }
.brand svg rect { fill: #fff; }
.brand .nm { display: block; font-size: 18px; line-height: 18px; font-weight: 800; letter-spacing: -.025em; }
.brand .tg { display: block; margin-top: 2px; font-size: 10px; line-height: 11px; font-weight: 500; color: rgba(255,255,255,.86); }
.band .back { color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; padding: 8px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
body[data-landing] .hdr-r { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(10,102,194,.28); }
.btn.primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--accent); border: 1.5px solid #b9d2ee; }
.btn.ghost:hover { border-color: var(--accent); }
.btn.link { background: none; color: var(--accent); min-height: 40px; padding: 0 6px; font-size: 15px; }
.btn.link:hover { text-decoration: underline; }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* home */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: radial-gradient(800px 420px at 82% 6%, rgba(10,102,194,.14), transparent 60%), linear-gradient(180deg, #eef4fb 0%, var(--page) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
h1 { margin: 0; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.lede { margin: 16px 0 0; max-width: 30em; font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.55; color: var(--muted); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.fine { margin: 14px 0 0; font-size: 13px; color: #7a828b; font-weight: 600; }

.stage { position: relative; display: grid; place-items: center; }
.phone { position: relative; width: 262px; border-radius: 40px; padding: 9px; background: #0f1b2d; box-shadow: 0 34px 70px rgba(10,44,82,.26), 0 6px 16px rgba(10,44,82,.16), inset 0 0 0 1.5px #2a3b55; }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 74px; height: 19px; border-radius: 999px; background: #0f1b2d; z-index: 3; }
.screen { border-radius: 32px; overflow: hidden; background: var(--page); aspect-ratio: 390 / 812; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.qrcard { position: absolute; left: -6px; bottom: 56px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 16px 36px rgba(10,44,82,.18), 0 2px 6px rgba(10,44,82,.08); border: 1px solid rgba(10,44,82,.06); text-align: center; }
.qrcard img { width: 92px; height: 92px; display: block; }
.qrcard span { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; color: #0a2c52; letter-spacing: .01em; }

/* how it works */
.page { padding: 36px 0 28px; }
.page .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h2 { margin: 6px 0 0; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.sub { margin: 10px 0 0; max-width: 34em; font-size: 15.5px; color: var(--muted); font-weight: 500; }
.sec { margin-top: 36px; }
.grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.card .num { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .05em; }
.ico { width: 38px; height: 38px; border-radius: 12px; background: #e7f0fb; display: grid; place-items: center; margin-bottom: 6px; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 2px 0 0; font-size: 15.5px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; font-weight: 500; }
.start { margin: 40px 0 8px; border-radius: 20px; padding: 28px 20px; text-align: center; color: #fff; background: linear-gradient(155deg, #0a2c52 0%, #0a66c2 100%); }
.start h2 { color: #fff; margin: 0; font-size: clamp(22px, 3vw, 28px); }
.start p { margin: 8px auto 0; max-width: 28em; color: rgba(255,255,255,.86); font-size: 15px; font-weight: 500; }
.start .cta { justify-content: center; }
.start .btn.primary { background: #fff; color: var(--accent); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.start .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }

/* footer */
footer { margin-top: 40px; border-top: 1px solid var(--border); background: #fff; padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
footer .fb b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
footer .fb span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
footer .soc { display: flex; gap: 8px; margin-top: 12px; }
footer .soc a { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #cfd6dd; display: grid; place-items: center; color: var(--text); }
footer .soc a:hover { border-color: var(--accent); color: var(--accent); }
footer .soc i { width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 700; }
footer nav a { text-decoration: none; color: var(--text); cursor: pointer; }
footer nav a:hover { color: var(--accent); }
footer small { display: block; margin-top: 20px; color: #8b939c; font-size: 12.5px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

@media (min-width: 760px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card { padding: 20px; } }

/* phones: everything centred and smaller */
@media (max-width: 860px) {
  .hero { padding: 32px 0 44px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .stage { padding-bottom: 6px; }
  .page { padding-top: 26px; }
  footer .row { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  footer .soc { justify-content: center; }
  footer nav { justify-content: center; }
  footer small { text-align: center; }
}
@media (max-width: 440px) {
  .btn { min-height: 46px; font-size: 15px; }
  .cta .btn.primary, .cta .btn.ghost { flex: 1 1 140px; }
  .phone { width: 236px; }
  .qrcard { left: 4px; bottom: 44px; padding: 8px; }
  .qrcard img { width: 78px; height: 78px; }
}
.btn { white-space: nowrap; }
@media (max-width: 440px) { .btn { padding: 0 14px; } .qrcard { left: -2px; bottom: 16px; padding: 7px; border-radius: 14px; } .qrcard img { width: 66px; height: 66px; } .qrcard span { font-size: 10px; } }

/* hero without the phone: one centred column */
.stage[hidden] { display: none; }
.hero .wrap.solo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero .wrap.solo .lede { margin-left: auto; margin-right: auto; }
.hero .wrap.solo .cta { justify-content: center; }
.hero:has(.wrap.solo) { padding: 84px 0 96px; }

/* footer: smaller, with room between the icons */
footer { margin-top: 32px; padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px)); }
footer .fb b { font-size: 15px; }
footer .fb span { font-size: 12.5px; }
footer .soc { gap: 12px; margin-top: 10px; }
footer .soc a { width: 32px; height: 32px; border-width: 1.2px; }
footer .soc i { width: 14px; height: 14px; }
footer nav { gap: 6px 16px; font-size: 12.5px; font-weight: 600; }
footer small { margin-top: 14px; font-size: 12px; }
@media (max-width: 860px) { .hero:has(.wrap.solo) { padding: 56px 0 64px; } }

