/* ============================================================
   Tap2Web ))) — NFC in Print · Powered by TapIt2TrackIt
   Brand: navy #1B2A6B · red #E23A26 · white, gold foil accent
   ============================================================ */

:root {
  --navy: #1b2a6b;
  --navy-deep: #101c4d;
  --navy-ink: #0b1438;
  --red: #e23a26;
  --red-dark: #c22e1c;
  --gold: #c9a24a;
  --paper: #ffffff;
  --mist: #f4f6fb;
  --line: #dde3f0;
  --text: #1c2340;
  --muted: #5a6280;
  --ok: #1d8a4a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 28, 77, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 28, 77, 0.18);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 88px 0; }
.section.alt { background: var(--mist); }
.section-dark { background: var(--navy-deep); color: #eaeefc; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--navy); }
.section-dark h2 { color: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--red); border-radius: 2px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.section-dark .lead { color: #b9c2e6; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: baseline; font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
.wordmark .t1 { color: var(--navy); }
.wordmark .t2 { color: var(--red); }
.wordmark .waves { color: var(--navy); font-weight: 800; letter-spacing: -0.12em; margin-left: 1px; }
.section-dark .wordmark .t1, .section-dark .wordmark .waves { color: #fff; }
.wordmark sup { font-size: 0.4em; font-weight: 700; margin-left: 3px; color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16,28,77,0.07); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { text-decoration: none; font-size: 1.5rem; display: inline-flex; align-items: baseline; }
.logo .tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); margin-left: 10px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.nav a:hover { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--navy); white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-weight: 800; font-size: 0.98rem;
  text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(226, 58, 38, 0.32); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(226,58,38,0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(27,42,107,0.10), transparent 60%),
    linear-gradient(180deg, #fdfdff 0%, #f2f5fc 100%);
  padding: 158px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.82rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(29,138,74,0.4); } 50% { box-shadow: 0 0 0 6px rgba(29,138,74,0); } }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 900; color: var(--navy); margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); position: relative; }
.hero p.lead { margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.rtc { display: flex; gap: 10px; align-items: center; font-weight: 800; letter-spacing: 0.1em; font-size: 0.9rem; color: var(--navy); margin-bottom: 26px; }
.rtc .sep { color: var(--red); }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.5rem; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.hero-stat .num em { color: var(--red); font-style: normal; }
.hero-stat .lbl { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* hero tap demo */
.tap-demo { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.demo-card {
  position: relative; width: 190px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(150deg, #223a8f, var(--navy-deep));
  color: #fff; box-shadow: var(--shadow-lg);
  transform: rotate(-7deg) translateX(-96px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer; border: 1px solid rgba(255,255,255,0.14);
}
.tap-demo.tapped .demo-card { transform: rotate(-3deg) translateX(-118px) translateY(-8px); }
.demo-card-in { padding: 20px 16px 16px; text-align: center; }
.demo-card .brand { font-weight: 900; letter-spacing: 0.06em; font-size: 1.05rem; color: var(--gold); }
.demo-card .generic { font-size: 0.62rem; color: #c6cdea; margin-bottom: 8px; }
.demo-card .strap { font-size: 0.72rem; font-weight: 600; line-height: 1.4; color: #e8ecfc; }
.demo-card .foot { margin-top: 14px; background: rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 6px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.02em; }
.demo-card .nfc-mark { font-weight: 900; color: var(--gold); letter-spacing: -0.1em; }
.demo-waves {
  position: absolute; left: 50%; top: 50%; transform: translate(-64%, -50%);
  width: 120px; height: 120px; pointer-events: none; opacity: 0; z-index: 3;
}
.tap-demo.tapped .demo-waves { opacity: 1; }
.demo-waves span {
  position: absolute; inset: 0; border: 3px solid var(--red); border-radius: 50%;
  opacity: 0; transform: scale(0.3);
}
.tap-demo.tapped .demo-waves span { animation: wave 1.4s ease-out infinite; }
.tap-demo.tapped .demo-waves span:nth-child(2) { animation-delay: 0.35s; }
.tap-demo.tapped .demo-waves span:nth-child(3) { animation-delay: 0.7s; }
@keyframes wave { 0% { opacity: 0.9; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.15); } }
.demo-phone {
  position: relative; z-index: 2; width: 250px; border-radius: 34px;
  background: #10131c; padding: 12px; box-shadow: var(--shadow-lg);
  transform: rotate(4deg) translateX(78px);
}
.demo-screen { border-radius: 24px; overflow: hidden; background: #fff; height: 470px; position: relative; }
.screen-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 18px; text-align: center; transition: opacity 0.4s; }
.screen-lock { background: linear-gradient(180deg, #1a2350, #0e1638); color: #fff; }
.screen-lock .time { font-size: 2.4rem; font-weight: 300; font-variant-numeric: tabular-nums; }
.screen-lock .hint { font-size: 0.78rem; color: #aab4dd; }
.screen-content { background: #fff; opacity: 0; pointer-events: none; justify-content: flex-start; padding-top: 26px; }
.tap-demo.tapped .screen-lock { opacity: 0; }
.tap-demo.tapped .screen-content { opacity: 1; pointer-events: auto; }
.screen-content .sc-brand { font-weight: 900; color: var(--navy); letter-spacing: 0.05em; font-size: 1.1rem; }
.screen-content .sc-generic { font-size: 0.62rem; color: var(--muted); margin-top: -8px; }
.screen-content .sc-menu { width: 100%; display: flex; flex-direction: column; gap: 9px; margin-top: 10px; }
.sc-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 13px;
  font-size: 0.8rem; font-weight: 700; color: var(--navy); text-align: left;
  background: #fff; opacity: 0; transform: translateY(8px);
}
.tap-demo.tapped .sc-item { animation: sc-in 0.45s forwards; }
.tap-demo.tapped .sc-item:nth-child(1) { animation-delay: 0.25s; }
.tap-demo.tapped .sc-item:nth-child(2) { animation-delay: 0.4s; }
.tap-demo.tapped .sc-item:nth-child(3) { animation-delay: 0.55s; }
.tap-demo.tapped .sc-item:nth-child(4) { animation-delay: 0.7s; }
@keyframes sc-in { to { opacity: 1; transform: translateY(0); } }
.sc-item .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--mist); display: grid; place-items: center; font-size: 0.9rem; }
.sc-cta { margin-top: 12px; background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 26px; font-size: 0.82rem; font-weight: 800; opacity: 0; }
.tap-demo.tapped .sc-cta { animation: sc-in 0.45s 0.85s forwards; }
.tap-hint {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  z-index: 5;
}
.tap-hint .btn { box-shadow: 0 10px 26px rgba(226,58,38,0.4); }
.tap-demo.tapped .tap-hint .btn-primary { background: var(--navy); box-shadow: 0 10px 26px rgba(27,42,107,0.35); }
.live-chip {
  position: absolute; top: 6px; right: -4px; z-index: 6;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 16px; min-width: 168px;
  opacity: 0; transform: translateY(-8px); transition: 0.4s 0.5s;
}
.tap-demo.tapped .live-chip { opacity: 1; transform: translateY(0); }
.live-chip .lc-head { display: flex; align-items: center; gap: 7px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.live-chip .lc-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: pulse-dot 1.6s infinite; }
.live-chip .lc-num { font-family: var(--mono); font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.live-chip .lc-sub { font-size: 0.7rem; color: var(--muted); }

/* ---------- ribbon strip ---------- */
.strip { background: var(--navy); color: #fff; padding: 16px 0; }
.strip-in { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; font-weight: 700; font-size: 0.95rem; }
.strip a { color: #ffd9d3; font-weight: 800; }

/* ---------- how it works / explainer ---------- */
.how-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; margin-top: 48px; }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; gap: 18px; padding: 20px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step.active { border-color: var(--red); box-shadow: var(--shadow); }
.step-num {
  flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mist); color: var(--navy); font-weight: 900; font-size: 1.05rem;
  transition: 0.2s;
}
.step.active .step-num { background: var(--red); color: #fff; }
.step h3 { font-size: 1.06rem; color: var(--navy); margin-bottom: 4px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* explainer player */
.player {
  border-radius: 18px; overflow: hidden; background: var(--navy-ink);
  box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 16 / 10;
}
.player-scene { position: absolute; inset: 0 0 56px 0; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; color: #fff; text-align: center; padding: 30px; }
.player-scene.on { display: flex; animation: scene-in 0.6s; }
@keyframes scene-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.player-scene .art { font-size: 3.2rem; line-height: 1; }
.player-scene h4 { font-size: 1.35rem; font-weight: 800; }
.player-scene p { font-size: 0.95rem; color: #b9c2e6; max-width: 420px; }
.player-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  display: flex; align-items: center; gap: 14px; padding: 0 18px;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(6px);
}
.player-bar button {
  background: var(--red); border: 0; color: #fff; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; font-size: 0.9rem; display: grid; place-items: center;
}
.player-track { flex: 1; height: 5px; background: rgba(255,255,255,0.18); border-radius: 3px; overflow: hidden; }
.player-progress { height: 100%; width: 0; background: var(--red); transition: width 0.2s linear; }
.player-count { font-family: var(--mono); font-size: 0.75rem; color: #b9c2e6; }
.player-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.prod-card {
  border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-visual { height: 210px; display: grid; place-items: center; position: relative; overflow: hidden; }
.prod-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-body h3 { color: var(--navy); font-size: 1.15rem; }
.prod-body p { font-size: 0.93rem; color: var(--muted); flex: 1; }
.prod-spec { display: flex; gap: 8px; flex-wrap: wrap; }
.spec-chip { font-size: 0.72rem; font-weight: 700; background: var(--mist); color: var(--navy); border-radius: 999px; padding: 5px 12px; }
.pv-booklet { background: linear-gradient(160deg, #eef1fa, #dde3f4); }
.zfold { display: flex; transform: rotate(-4deg); filter: drop-shadow(0 10px 18px rgba(16,28,77,0.22)); }
.zfold .panel { width: 62px; height: 130px; background: #fff; border: 1px solid #e3e7f2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 0.5rem; font-weight: 700; color: var(--navy); text-align: center; padding: 6px; }
.zfold .panel:nth-child(odd) { transform: rotate(2.5deg); }
.zfold .panel:nth-child(even) { transform: rotate(-2.5deg); }
.zfold .panel .pico { width: 26px; height: 26px; border-radius: 8px; background: var(--mist); display: grid; place-items: center; font-size: 0.85rem; }
.zfold .panel.cover { background: linear-gradient(150deg, #223a8f, var(--navy-deep)); color: #fff; }
.zfold .panel.cover .brandline { color: var(--gold); font-weight: 900; font-size: 0.58rem; }
.pv-passport { background: linear-gradient(160deg, #101c4d, #1a2a66); }
.passport {
  width: 120px; height: 168px; border-radius: 10px;
  background: linear-gradient(150deg, #1e2d63, #131f4c);
  border: 1px solid rgba(201,162,74,0.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,0.4);
  transform: rotate(4deg);
}
.passport .pp-title { font-weight: 800; letter-spacing: 0.14em; font-size: 0.72rem; text-align: center; line-height: 1.5; }
.passport .pp-waves { font-weight: 900; letter-spacing: -0.1em; font-size: 1rem; }
.passport .pp-line { width: 54px; height: 1px; background: rgba(201,162,74,0.55); }
.passport .pp-sub { font-size: 0.5rem; letter-spacing: 0.1em; color: #d8c186; }
.pv-custom { background: linear-gradient(160deg, #fdeeec, #f7dcd7); }
.custom-shapes { position: relative; width: 170px; height: 140px; }
.custom-shapes .shape { position: absolute; border-radius: 10px; background: #fff; box-shadow: 0 8px 20px rgba(16,28,77,0.16); display: grid; place-items: center; font-size: 0.6rem; font-weight: 800; color: var(--navy); text-align: center; }
.custom-shapes .s1 { width: 96px; height: 60px; top: 6px; left: 0; transform: rotate(-6deg); }
.custom-shapes .s2 { width: 76px; height: 100px; top: 20px; right: 0; transform: rotate(5deg); }
.custom-shapes .s3 { width: 90px; height: 46px; bottom: 0; left: 24px; transform: rotate(-2deg); border: 1.5px dashed var(--red); background: #fff8f7; color: var(--red); }

/* ---------- tapit2trackit dashboard ---------- */
.t2t-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; margin-bottom: 46px; }
.t2t-logo { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.t2t-logo .t1, .t2t-logo .waves { color: #fff; }
.t2t-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.t2t-badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px; padding: 12px 18px; text-align: center;
}
.t2t-badge .b-num { font-weight: 900; font-size: 1.3rem; color: #ff8d7e; }
.t2t-badge .b-lbl { font-size: 0.7rem; color: #b9c2e6; font-weight: 600; }

.dash {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  overflow: hidden; color: var(--text);
}
.dash-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.dash-title { display: flex; align-items: center; gap: 12px; }
.dash-title .camp { font-weight: 800; color: var(--navy); font-size: 0.98rem; }
.dash-title .env { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; background: #fdeeec; color: var(--red); padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.dash-live { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; color: var(--ok); }
.dash-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse-dot 2s infinite; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.metric { padding: 20px 22px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric .m-lbl { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.metric .m-num { font-family: var(--mono); font-size: 1.7rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.metric .m-delta { font-size: 0.74rem; font-weight: 700; color: var(--ok); }
.dash-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; }
.dash-panel { padding: 22px; }
.dash-panel + .dash-panel { border-left: 1px solid var(--line); }
.dash-panel h4 { font-size: 0.86rem; color: var(--navy); margin-bottom: 14px; letter-spacing: 0.02em; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.bars .bar { flex: 1; background: linear-gradient(180deg, #3a53b4, var(--navy)); border-radius: 6px 6px 0 0; min-height: 6px; height: 0; transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1); position: relative; }
.bars .bar.hot { background: linear-gradient(180deg, #ff7a68, var(--red)); }
.bars-x { display: flex; gap: 8px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: 0.62rem; color: var(--muted); font-weight: 600; }
.rank { display: flex; flex-direction: column; gap: 12px; }
.rank-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 0.82rem; }
.rank-row .r-lbl { font-weight: 700; color: var(--text); }
.rank-row .r-val { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }
.rank-row .r-track { grid-column: 1 / -1; height: 7px; background: var(--mist); border-radius: 4px; overflow: hidden; }
.rank-row .r-fill { height: 100%; width: 0; background: var(--red); border-radius: 4px; transition: width 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.rank-row:nth-child(even) .r-fill { background: var(--navy); }
.dash-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }
.metric-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.mc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  color: #dfe5fa; border-radius: 999px; padding: 9px 18px; font-size: 0.85rem; font-weight: 700;
}
.mc-chip::before { content: "✓"; color: #ff8d7e; font-weight: 900; }
.t2t-cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- benefits tabs ---------- */
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 40px 0 34px; }
.tab-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  border-radius: 999px; padding: 12px 26px; font-family: var(--font);
  font-weight: 800; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
}
.tab-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-pane { display: none; }
.tab-pane.on { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; animation: scene-in 0.4s; }
.ben-item {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.ben-item .check { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #e9f7ef; color: var(--ok); display: grid; place-items: center; font-weight: 900; font-size: 0.8rem; }
.ben-item p { font-size: 0.94rem; font-weight: 600; color: var(--text); }
.ben-item p small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- features band ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.feat {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform 0.2s, box-shadow 0.2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .f-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--mist); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.feat h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.feat p { font-size: 0.88rem; color: var(--muted); }

/* ---------- pricing ---------- */
.price-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  background: #fff; border-radius: 20px; border: 2px solid var(--red);
  box-shadow: var(--shadow-lg); padding: 38px 44px; margin-top: 46px;
}
.price-coffee { font-size: 3.4rem; }
.price-copy h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 6px; }
.price-copy .big { color: var(--red); font-weight: 900; }
.price-copy p { color: var(--muted); font-size: 0.95rem; }
.price-num { text-align: center; }
.price-num .from { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.price-num .amt { font-size: 3rem; font-weight: 900; color: var(--navy); line-height: 1; }
.price-num .amt sup { font-size: 1.2rem; }
.price-num .per { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* ---------- addon ---------- */
.addon {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  background: linear-gradient(120deg, #101c4d, #26205c 60%, #4a1e4e);
  border-radius: 20px; padding: 44px 48px; color: #fff; box-shadow: var(--shadow-lg);
}
.addon .kicker { color: #ff8d7e; }
.addon h3 { font-size: 1.6rem; margin-bottom: 10px; }
.addon p { color: #c9cfee; max-width: 560px; }

/* ---------- compliance ---------- */
.comp-band { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.comp-badge {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 28px;
}
.comp-badge .cb-ico { font-size: 1.7rem; }
.comp-badge .cb-name { font-weight: 900; color: var(--navy); font-size: 1.1rem; line-height: 1.2; }
.comp-badge .cb-sub { font-size: 0.75rem; color: var(--muted); font-weight: 600; }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 800;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--red); font-weight: 700; transition: transform 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; margin-top: 48px; }
.contact-info h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }
.c-lines { display: flex; flex-direction: column; gap: 16px; }
.c-line { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.c-line .ci { width: 46px; height: 46px; border-radius: 13px; background: var(--mist); display: grid; place-items: center; font-size: 1.15rem; }
.c-line .cl-lbl { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.c-line .cl-val { font-weight: 800; color: var(--navy); }
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 36px; }
.form-card h3 { color: var(--navy); margin-bottom: 4px; }
.form-card .form-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.8rem; font-weight: 800; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 0.95rem; color: var(--text);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  background: #fbfcfe; outline: none; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); background: #fff; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-ink); color: #aab4dd; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-grid a { color: #aab4dd; text-decoration: none; display: block; margin-bottom: 9px; font-size: 0.9rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: 0.75rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom .tm { max-width: 640px; line-height: 1.7; }

/* ---------- consent banner ---------- */
.consent-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 400;
  max-width: 520px; margin: 0 auto; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 22px 24px;
  display: none;
}
.consent-banner.show { display: block; animation: scene-in 0.4s; }
.consent-banner h4 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.consent-banner p { font-size: 0.84rem; color: var(--muted); margin-bottom: 16px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- a11y widget ---------- */
.a11y-btn {
  position: fixed; left: 18px; bottom: 18px; z-index: 390;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 1.35rem; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.a11y-panel {
  position: fixed; left: 18px; bottom: 80px; z-index: 390; width: 230px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 16px; display: none;
}
.a11y-panel.open { display: block; animation: scene-in 0.25s; }
.a11y-panel h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 10px; }
.a11y-panel button {
  width: 100%; text-align: left; background: var(--mist); border: 1.5px solid transparent;
  border-radius: 9px; padding: 9px 12px; margin-bottom: 7px; font-family: var(--font);
  font-weight: 700; font-size: 0.82rem; color: var(--text); cursor: pointer;
}
.a11y-panel button.on { border-color: var(--navy); background: #e8edfb; }
.a11y-panel .a11y-reset { background: #fdeeec; color: var(--red); }
/* a11y modes */
html.a11y-large body { font-size: 112%; }
html.a11y-larger body { font-size: 125%; }
html.a11y-contrast body { filter: contrast(1.2); }
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-gray body { filter: grayscale(1); }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }

/* ---------- reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s, transform 0.7s; }
html.js .reveal.in { opacity: 1; transform: translateY(0); }
html.js .reveal.d1 { transition-delay: 0.08s; }
html.js .reveal.d2 { transition-delay: 0.16s; }
html.js .reveal.d3 { transition-delay: 0.24s; }

/* ---------- portal ---------- */
.portal-body { background: var(--mist); min-height: 100vh; display: flex; flex-direction: column; }
.portal-header { background: #fff; border-bottom: 1px solid var(--line); }
.portal-header .header-in { height: 68px; }
.login-wrap { flex: 1; display: grid; place-items: center; padding: 60px 4%; }
.login-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 44px; width: min(430px, 100%); }
.login-card .logo { font-size: 1.5rem; margin-bottom: 8px; }
.login-card h1 { font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }
.login-card .sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
.demo-creds {
  background: var(--mist); border: 1.5px dashed var(--navy); border-radius: 12px;
  padding: 14px 16px; font-size: 0.82rem; margin-bottom: 20px; color: var(--text);
}
.demo-creds code { font-family: var(--mono); font-weight: 700; color: var(--navy); }
.login-err { display: none; color: var(--red); font-size: 0.84rem; font-weight: 700; margin-bottom: 12px; }
.login-err.show { display: block; }
.portal-main { flex: 1; padding: 34px 4% 60px; display: none; }
.portal-main.on { display: block; }
.portal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.portal-top h1 { font-size: 1.4rem; color: var(--navy); }
.portal-top .meta { font-size: 0.82rem; color: var(--muted); }
.demo-ribbon {
  background: #fff4e8; border: 1px solid #f2ce9e; color: #8a5a16;
  border-radius: 12px; padding: 12px 18px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px;
}
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.pcard { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 20px 22px; }
.pcard .m-lbl { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.pcard .m-num { font-family: var(--mono); font-size: 1.8rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.pcard .m-delta { font-size: 0.75rem; font-weight: 700; color: var(--ok); }
.pcard .m-delta.neg { color: var(--red); }
.pwide { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-bottom: 24px; }
.pcard h4 { font-size: 0.88rem; color: var(--navy); margin-bottom: 16px; }
.geo-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--mist); font-size: 0.86rem; }
.geo-row:last-child { border-bottom: 0; }
.geo-row .g-name { font-weight: 700; }
.geo-row .g-val { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.donut-wrap { display: flex; align-items: center; gap: 24px; }
.donut { width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(var(--navy) 0 62%, var(--red) 62% 91%, var(--gold) 91% 100%); display: grid; place-items: center; }
.donut::after { content: ""; width: 78px; height: 78px; border-radius: 50%; background: #fff; }
.legend { display: flex; flex-direction: column; gap: 9px; font-size: 0.84rem; }
.legend .l-row { display: flex; align-items: center; gap: 9px; }
.legend .swatch { width: 12px; height: 12px; border-radius: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .how-grid, .t2t-head, .contact-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .feat-grid, .dash-grid, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid var(--line); }
  .dash-body, .pwide { grid-template-columns: 1fr; }
  .dash-panel + .dash-panel { border-left: 0; border-top: 1px solid var(--line); }
  .tab-pane.on { grid-template-columns: 1fr; }
  .price-band { grid-template-columns: 1fr; text-align: center; }
  .price-coffee { margin: 0 auto; }
  .addon { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .t2t-badges { justify-content: flex-start; }
  .tap-demo { transform: scale(0.86); min-height: 430px; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 24px 6%; gap: 18px; align-items: flex-start;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform 0.3s; z-index: 150;
  }
  .nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .phone-link { display: none; }
  .hero { padding-top: 128px; }
  .hero-stats { gap: 20px; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .tap-demo { transform: scale(0.72); min-height: 380px; margin: -30px 0; }
  .demo-card { transform: rotate(-7deg) translateX(-72px); }
  .tap-demo.tapped .demo-card { transform: rotate(-3deg) translateX(-88px); }
  .footer-grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
}
