/* ============================================================
   Kilometra.pl — Landing Page styles
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  --ink:        #111A2E;
  --ink-soft:   #1B2640;
  --body:       #5A6678;
  --body-light: #8A94A6;
  --line:       #E7ECF3;
  --line-soft:  #EFF2F7;
  --bg:         #FFFFFF;
  --bg-alt:     #F4F7FB;
  --bg-hero:    #EFF3FA;

  --blue:       #2563EB;
  --blue-600:   #1D4ED8;
  --blue-50:    #EAF1FE;

  --green:      #0E9F6E;
  --green-50:   #E7F7F0;
  --purple:     #7C3AED;
  --purple-50:  #F1EAFE;
  --orange:     #E5601B;
  --orange-50:  #FCEEE3;
  --amber:      #D97706;
  --amber-50:   #FDF3E3;

  --navy:       #0C1426;
  --navy-2:     #11203B;

  --shadow-card: 0 30px 60px -28px rgba(17, 26, 46, 0.18), 0 8px 20px -12px rgba(17,26,46,0.10);
  --shadow-soft: 0 18px 40px -24px rgba(17, 26, 46, 0.22);
  --shadow-btn:  0 12px 24px -10px rgba(13, 22, 42, 0.45);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.ac { color: var(--acc, var(--blue)); }
.svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* per-section accent */
.s-blue   { --acc: var(--blue);   --acc-50: var(--blue-50); }
.s-green  { --acc: var(--green);  --acc-50: var(--green-50); }
.s-purple { --acc: var(--purple); --acc-50: var(--purple-50); }
.s-orange { --acc: var(--orange); --acc-50: var(--orange-50); }

/* ============================ Header ============================ */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr-in { display: flex; align-items: center; height: 80px; gap: 28px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; margin: 0 auto; }
.nav a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 16px; font-weight: 600; color: #3D4658;
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a .svg { width: 16px; height: 16px; color: var(--body-light); }
.hdr-right { display: flex; align-items: center; gap: 22px; }
.login { font-size: 16px; font-weight: 600; color: #3D4658; }
.login:hover { color: var(--ink); }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  border: none; border-radius: 999px; padding: 14px 26px;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn .svg { width: 18px; height: 18px; }
.btn-dark { background: var(--navy); color: #fff; box-shadow: var(--shadow-btn); }
.btn-dark:hover { transform: translateY(-1px); background: #16243f; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -10px rgba(37,99,235,.55); }
.btn-blue:hover { transform: translateY(-1px); background: var(--blue-600); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap;
}
.link-arrow .svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link-arrow:hover .svg { transform: translateX(4px); }

/* ============================ Hero ============================ */
.hero {
  text-align: center;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(37,99,235,.10) 0%, transparent 55%),
    radial-gradient(100% 70% at 10% 0%, rgba(37,99,235,.05) 0%, transparent 50%),
    linear-gradient(180deg, #F4F8FE 0%, #FFFFFF 60%);
  padding: 70px 0 90px;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  color: #2D3954; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-soft); white-space: nowrap;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.pill.blue { background: var(--blue-50); border-color: transparent; color: var(--blue-600); }

.hero h1 {
  font-size: 72px; line-height: 1.04; margin: 28px auto 22px; max-width: 920px;
}
.hero h1 .ac { color: var(--blue); }
.hero h1 .pdot { color: var(--ink); margin-left: 8px; }
.hero-sub { font-size: 20px; color: var(--body); max-width: 620px; margin: 0 auto; }

.waitlist {
  width: 100%; max-width: 480px; margin: 44px auto 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 24px;
  box-shadow: var(--shadow-card);
}
.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: #EEF2F8; border-radius: var(--r-md); padding: 6px; margin-bottom: 16px;
}
.seg button {
  font-family: inherit; font-size: 15px; font-weight: 700; color: #6B7588;
  padding: 11px; border-radius: 10px; background: transparent; border: none; cursor: pointer;
  transition: all .15s ease;
}
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px -2px rgba(17,26,46,.18); }
.field {
  display: flex; align-items: center; gap: 11px;
  background: #F3F6FB; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 0 16px; height: 56px; margin-bottom: 12px;
}
.field .svg { color: var(--body-light); width: 18px; height: 18px; }
.field input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: inherit; font-size: 16px; color: var(--ink);
}
.field input::placeholder { color: var(--body-light); }
.waitlist .btn { height: 56px; padding: 0; font-size: 16px; }
.captcha { margin: 14px 0 2px; font-size: 12px; color: #AEB6C4; text-align: center; }

/* ============================ Kalkulator VAT ============================ */
.calc {
  width: 100%; max-width: 480px; margin: 44px auto 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 26px;
  box-shadow: var(--shadow-card); text-align: left;
}
.calc-controls { display: flex; flex-direction: column; gap: 20px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc-row.col { flex-direction: column; align-items: stretch; gap: 12px; }
.calc-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc-label { font-size: 15px; font-weight: 700; color: var(--ink); }
.calc-amount { font-size: 18px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* stepper */
.stepper { display: inline-flex; align-items: center; gap: 4px; background: #F3F6FB; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 1px 3px rgba(17,26,46,.12);
  transition: background .15s ease, transform .1s ease;
}
.stepper button:hover { background: var(--blue-50); color: var(--blue-600); }
.stepper button:active { transform: scale(.92); }
.stepper-val { min-width: 34px; text-align: center; font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* slider */
.slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--blue) 0 var(--fill, 28%), #E4EAF3 var(--fill, 28%) 100%);
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 5px solid var(--blue); box-shadow: 0 3px 8px -2px rgba(37,99,235,.5); cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--blue);
  box-shadow: 0 3px 8px -2px rgba(37,99,235,.5); cursor: pointer;
}
.slider-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--body-light); margin-top: -2px; }

/* result */
.calc-result {
  margin: 22px 0; padding: 22px; border-radius: var(--r-lg);
  background: var(--blue-50); text-align: center;
}
.calc-result-label { font-size: 13px; font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: .04em; }
.calc-big { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 6px; color: var(--ink); }
.calc-big > span:first-child { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-big .cur { font-size: 24px; font-weight: 700; color: var(--blue); }
.calc-multi { font-size: 14px; font-weight: 600; color: var(--body); margin-top: 2px; }

/* comparison bars */
.calc-bars { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.bar { position: relative; height: 30px; border-radius: 8px; background: #DCE5F2; overflow: hidden; }
.bar-fill { position: absolute; inset: 0; border-radius: 8px; }
.bar-fill.half { width: 50%; background: #B9C6DC; }
.bar-fill.full { width: 100%; background: var(--blue); }
.bar-tag { position: absolute; left: 12px; top: 0; height: 100%; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); z-index: 1; }
.bar-fill.full ~ .bar-tag { color: #fff; }
.bar-tag strong { font-weight: 800; }

.calc .btn { height: 56px; padding: 0 20px; font-size: 16px; }
.calc-note { margin: 14px 4px 0; font-size: 12px; line-height: 1.5; color: var(--body-light); text-align: center; }
.calc-note strong { color: var(--body); font-weight: 700; }

/* timeline */
.timeline {
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 720px; margin: 64px auto 0; position: relative;
}
.timeline::before {
  content: ''; position: absolute; left: 36px; right: 36px; top: 24px;
  height: 2px; background: linear-gradient(90deg, #D3DCEA, #C7D3E6);
}
.tl-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 120px; }
.tl-dot {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  background: #fff; border: 2px solid #D3DCEA; color: var(--body-light);
}
.tl-dot.cur { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 5px var(--blue-50); }
.tl-dot.done { background: var(--navy); border-color: var(--navy); color: #fff; }
.tl-label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-node.muted .tl-label { color: var(--body-light); }
.tl-node.blue .tl-label { color: var(--blue); }
.tl-node.dark .tl-label { color: var(--ink); }

/* ============================ Section heads ============================ */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--acc, var(--blue)); margin-bottom: 16px;
}
.center { text-align: center; }
.center .eyebrow { color: var(--body-light); }
.h2 { font-size: 48px; line-height: 1.06; }
.center .h2 { max-width: 900px; margin: 0 auto; }
.lead { font-size: 19px; color: var(--body); margin-top: 18px; }
.center .lead { max-width: 640px; margin: 18px auto 0; }

/* ============================ Two perspective cards ============================ */
.persp { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; }
.pcard {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 38px;
  box-shadow: var(--shadow-card);
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--acc); background: var(--acc-50);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.pcard h3 { font-size: 34px; line-height: 1.1; margin-bottom: 16px; }
.pcard h3 .ac { color: var(--acc); }
.pcard p { font-size: 17px; color: var(--body); margin-bottom: 26px; max-width: 420px; }

/* mockup inner card */
.mock {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 18px;
  box-shadow: 0 24px 50px -26px rgba(17,26,46,.30);
  margin-top: 30px;
}
.mock-row { display: flex; align-items: center; gap: 12px; }
.ic-tile {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); flex: 0 0 38px;
}
.ic-tile.dark { background: var(--navy); color: #fff; }
.ic-tile .svg { width: 19px; height: 19px; }
.m-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.m-sub { font-size: 12.5px; color: var(--body-light); font-family: var(--mono); }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  white-space: nowrap;
}
.badge .svg { width: 13px; height: 13px; }
.badge.green { background: var(--green-50); color: var(--green); }
.badge.amber { background: var(--amber-50); color: var(--amber); }
.badge.slate { background: #EEF2F8; color: #8A94A6; }
.ml-auto { margin-left: auto; }

.mpanel {
  background: var(--navy); border-radius: var(--r-md); padding: 18px 20px; margin: 16px 0;
  text-align: center;
}
.mpanel .cap { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7E8BA8; }
.mpanel .big { font-size: 40px; font-weight: 800; color: #fff; line-height: 1.1; margin-top: 4px; letter-spacing: -0.02em; }
.mpanel .big .u { font-size: 18px; font-weight: 600; color: #9DA9C2; margin-left: 4px; }
.mbar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.14); margin-top: 14px; overflow: hidden; }
.mbar > span { display: block; height: 100%; width: 70%; background: var(--blue); border-radius: 999px; }

.mline {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 12px; margin-top: 10px;
}
.mline .ic-sm { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #F0F4FA; color: var(--body); flex: 0 0 32px; }
.mline .ic-sm .svg { width: 16px; height: 16px; }
.mline .t { flex: 1; min-width: 0; }
.mline .t .a { font-size: 14px; font-weight: 700; color: var(--ink); }
.mline .t .b { font-size: 12px; color: var(--body-light); margin-top: 1px; }
.mline .km { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--blue); }
.mock .btn { margin-top: 16px; height: 48px; padding: 0; font-size: 15px; }

/* partner list rows */
.divider { height: 1px; background: var(--line-soft); margin: 16px 0; }
.prow {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px; border-radius: 12px;
}
.prow.warn { background: var(--amber-50); box-shadow: inset 3px 0 0 var(--amber); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; flex: 0 0 36px; font-family: var(--mono);
}
.avatar.b { background: var(--blue-50); color: var(--blue); }
.avatar.a { background: var(--amber-50); color: var(--amber); }
.avatar.p { background: var(--purple-50); color: var(--purple); }
.prow .pn { flex: 1; font-size: 15px; font-weight: 700; color: var(--ink); }
.prow .pinfo { flex: 1; min-width: 0; }
.prow .pinfo .a { font-size: 15px; font-weight: 700; color: var(--ink); }
.prow .pinfo .b { font-size: 12px; color: var(--body-light); margin-top: 1px; }
.prow.muted .avatar { background: #EEF2F8; color: #9AA4B4; }
.prow.muted .pinfo .a { color: var(--body-light); }
.cap-mini { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body-light); margin: 14px 0 10px; }

/* ============================ Feature zigzag ============================ */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: center; }
.feat.rev .feat-visual { order: -1; }
.feat-title { font-size: 46px; line-height: 1.07; }
.feat-title .ac { color: var(--acc); }
.feat-desc { font-size: 18px; color: var(--body); margin: 22px 0 26px; max-width: 480px; }
.flist { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.flist li { display: flex; align-items: center; gap: 13px; font-size: 16.5px; font-weight: 600; color: var(--ink-soft); }
.chk {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px;
  display: grid; place-items: center; background: var(--acc-50); color: var(--acc);
}
.chk .svg { width: 14px; height: 14px; }
.feat-link { color: var(--ink); }

/* generic visual card */
.vcard {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-card);
}

/* feature 1 mini cards */
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-soft); min-height: 150px;
  display: flex; flex-direction: column;
}
.mini.dark { background: var(--navy); border-color: transparent; }
.mini.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; }
.mini .ic-tile { margin-bottom: auto; }
.mini h4 { font-size: 18px; margin-top: 18px; }
.mini.dark h4 { color: #fff; }
.mini p { font-size: 13.5px; color: var(--body-light); margin-top: 5px; }
.mini.dark p { color: #93A0BC; }
.mini.wide h4 { margin-top: 0; }
.mini.wide .ic-tile { margin: 0; }
.pdf-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #FDECEC; color: #DA3B3B; }

/* audit card */
.audit-head { display: flex; align-items: flex-start; justify-content: space-between; }
.audit-shield { width: 46px; height: 46px; border-radius: 13px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.vcard h3 { font-size: 22px; margin: 20px 0 4px; }
.vcard .sub { font-size: 14px; color: var(--body-light); }
.arow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; background: #F5F8FC; border-radius: 12px; margin-top: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
}
.arow .val { font-family: var(--mono); font-weight: 700; color: var(--green); }

/* export card (purple) */
.exp-head { text-align: center; margin-bottom: 22px; }
.exp-node { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--purple); }
.exp-head h4 { font-size: 20px; }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.exp-item {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 16px;
  text-align: center; color: var(--body); font-weight: 700; font-size: 15px;
}
.exp-item .svg { width: 24px; height: 24px; color: var(--body-light); margin: 0 auto 12px; }

/* map card */
.mapcard { position: relative; overflow: hidden; min-height: 300px; padding: 0; }
.mapcard .map-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle, #D7E0EC 1.3px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, #F3F6FB, #EAF0F8);
  opacity: .9;
}
.mapcard svg.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; top: 28%; left: 56%;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 6px;
}
.map-pin .svg { width: 13px; height: 13px; color: #E5601B; }
.map-cap {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.map-cap .mc-t { font-size: 15px; font-weight: 700; }
.map-cap .mc-s { font-size: 12.5px; color: var(--body-light); margin-top: 3px; }

/* notification cards (orange) */
.notes { display: flex; flex-direction: column; gap: 16px; }
.note {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--shadow-soft);
}
.note .ic-sm { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 40px; }
.note .ic-sm.o { background: var(--orange-50); color: var(--orange); }
.note .ic-sm.g { background: var(--green-50); color: var(--green); }
.note .n-t { font-size: 15px; font-weight: 700; color: var(--ink); }
.note .n-to { font-size: 12.5px; color: var(--body); margin-top: 2px; }
.note .n-q { font-size: 12.5px; color: var(--body-light); margin-top: 5px; font-style: italic; }

/* chart card */
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.chart-head h3 { font-size: 19px; }
.legend { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--body-light); font-weight: 600; }
.legend .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.bars { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; align-items: end; height: 190px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; border-radius: 10px 10px 0 0; background: #EAEFF6; position: relative; }
.bar.on { background: var(--blue); }
.bar .tip { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 700; font-family: var(--mono); color: var(--ink); }
.bar-x { font-size: 13px; color: var(--body-light); font-weight: 600; }

/* archive card */
.arch-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; }
.arch-head .svg { width: 20px; height: 20px; color: var(--body); }
.arch-head .t { font-size: 16px; font-weight: 700; }
.frow { display: flex; align-items: center; gap: 13px; padding: 14px 6px; }
.frow .fi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 38px; }
.frow .fi.red { background: #FDECEC; color: #DA3B3B; }
.frow .fi.grn { background: var(--green-50); color: var(--green); }
.frow .fi.blu { background: var(--blue-50); color: var(--blue); }
.frow .fi .svg { width: 18px; height: 18px; }
.frow .fn { flex: 1; }
.frow .fn .a { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.frow .fn .b { font-size: 12px; color: var(--body-light); margin-top: 1px; font-family: var(--mono); }
.frow .dl { color: var(--body-light); }
.frow .dl .svg { width: 18px; height: 18px; }

/* ============================ Dark mobile CTA ============================ */
.appband { padding: 0 0 90px; }
.appband-in {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(37,99,235,.28) 0%, transparent 55%),
    linear-gradient(135deg, #0B1326 0%, #0E1B36 100%);
  border-radius: 32px; padding: 70px 72px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.appband h2 { color: #fff; font-size: 46px; line-height: 1.08; }
.appband h2 .star { color: var(--blue); }
.appband p { color: #9DA9C2; font-size: 18px; margin: 22px 0 30px; max-width: 420px; }
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md); padding: 12px 20px; color: #fff;
}
.store .svg { width: 26px; height: 26px; }
.store .st-s { font-size: 11px; color: #9DA9C2; letter-spacing: 0.04em; }
.store .st-b { font-size: 17px; font-weight: 700; line-height: 1.1; }
.appnote { color: #6E7A95; font-size: 13px; margin-top: 22px; }

/* phone */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  width: 300px; background: #F4F7FC; border-radius: 38px; padding: 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(3deg);
  border: 8px solid #0A1020;
}
.ph-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ph-top .t { font-size: 19px; font-weight: 800; }
.ph-top .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#5C8BFF,#2563EB); }
.ph-card { background: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 8px 20px -12px rgba(17,26,46,.18); }
.ph-card .c { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body-light); }
.ph-card .v { font-size: 30px; font-weight: 800; margin-top: 3px; }
.ph-card.dark { background: var(--navy); }
.ph-card.dark .scan { display: flex; align-items: center; gap: 12px; }
.ph-card.dark .scan .svg { color: #fff; width: 22px; height: 22px; }
.ph-card.dark .sn { color: #fff; font-weight: 700; font-size: 15px; }
.ph-card.dark .ss { color: #93A0BC; font-size: 12px; margin-top: 2px; }
.ph-ghost { height: 14px; border-radius: 8px; background: #fff; margin-bottom: 10px; box-shadow: 0 8px 20px -14px rgba(17,26,46,.2); }
.ph-ghost.w70 { width: 70%; }

/* ============================ Footer ============================ */
.footer { background: var(--navy); color: #fff; padding: 80px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.footer h3 { color: #fff; font-size: 34px; }
.footer .fdesc { color: #9DA9C2; font-size: 17px; margin: 18px 0 28px; max-width: 380px; }
.fcontact { display: flex; flex-direction: column; gap: 14px; }
.fcontact a { display: inline-flex; align-items: center; gap: 12px; color: #C7D0E0; font-size: 16px; font-weight: 600; }
.fcontact a .svg { color: var(--blue); width: 19px; height: 19px; }
.fcontact a:hover { color: #fff; }

.fform {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg); padding: 30px;
}
.flabel { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8893AC; margin-bottom: 9px; }
.finput, .ftext {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md); padding: 14px 16px; color: #fff; font-family: inherit; font-size: 16px;
  outline: none; transition: border-color .15s ease;
}
.finput::placeholder, .ftext::placeholder { color: #6E7A95; }
.finput:focus, .ftext:focus { border-color: var(--blue); }
.ftext { resize: vertical; min-height: 96px; margin-bottom: 6px; }
.fgap { margin-bottom: 18px; }
.fform .btn { margin-top: 8px; }

.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px; color: #7E8AA3; flex-wrap: wrap; gap: 16px;
}
.foot-bottom .copy { display: flex; align-items: center; gap: 12px; }
.foot-bottom .copy img { height: 18px; opacity: .55; }
.foot-links { display: flex; gap: 30px; }
.foot-links a { color: #9DA9C2; font-weight: 600; white-space: nowrap; }
.foot-links a:hover { color: #fff; }

/* ============================ Responsive ============================ */
@media (max-width: 980px) {
  .hero h1 { font-size: 52px; }
  .h2, .feat-title, .appband h2 { font-size: 38px; }
  .nav { display: none; }
  .persp, .feat, .appband-in, .foot-grid, .mini-grid, .exp-grid { grid-template-columns: 1fr; }
  .feat { gap: 40px; }
  .feat.rev .feat-visual { order: 0; }
  .appband-in { padding: 44px 32px; }
  .phone { transform: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 40px; }
  .h2, .feat-title { font-size: 30px; }
  .timeline { max-width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
