/* Lumitra marketing site */
@font-face { font-family: Lato; font-weight: 300; font-display: swap; src: url(fonts/lato-300.woff2) format('woff2'); }
@font-face { font-family: Lato; font-weight: 400; font-display: swap; src: url(fonts/lato-400.woff2) format('woff2'); }
@font-face { font-family: Lato; font-weight: 700; font-display: swap; src: url(fonts/lato-700.woff2) format('woff2'); }

:root {
  --paper: #F7F6F2;
  --white: #FFFFFF;
  --ink: #0E1A33;
  --wordmark: #1C2B4A;
  --body: #4A5468;
  --muted: #8A91A0;
  --line: rgba(14, 26, 51, .1);
  --accent: #1446D6;
  --sky: #7FD3FF;
  --night: #0A1430;
  --night-2: #111D3D;
  --ok: #1A8F5A;
  --font: Lato, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.55; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- Nav ---------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .4s, box-shadow .4s; }
.nav.scrolled { background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wordmark); font-weight: 400; font-size: 23px; letter-spacing: .1px; line-height: 1; justify-self: start; }
.logo img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--body); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 18px; justify-self: end; }
.lang { border: 0; background: none; padding: 6px 2px; font-size: 13px; letter-spacing: .08em; color: var(--body); cursor: pointer; transition: color .2s; }
.lang:hover { color: var(--ink); }
.soon-tag { font-size: 13.5px; color: var(--ink); padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 168px 0 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, var(--white) 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 50%; top: 52%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(127,170,255,.22), rgba(127,211,255,.08) 55%, transparent); pointer-events: none; }
.hero-copy { position: relative; text-align: center; }
.hero h1 { font-weight: 300; font-size: clamp(46px, 7.2vw, 96px); line-height: 1.02; letter-spacing: -.035em; color: var(--ink); }
.lead { max-width: 560px; margin: 28px auto 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--body); }
.hero-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 14px; color: var(--ink); letter-spacing: .01em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(20,70,214,.4); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20,70,214,.35); } 70%, 100% { box-shadow: 0 0 0 9px rgba(20,70,214,0); } }

.hero-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 640px; margin-top: 72px; }

/* phone */
.phone { position: relative; padding: 9px; border-radius: 50px; background: #0D0F14; box-shadow: inset 0 0 0 1px #2A2D35, 0 1px 1px rgba(14,26,51,.06), 0 40px 80px -30px rgba(14,26,51,.35), 0 18px 40px -24px rgba(14,26,51,.25); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 41px; overflow: hidden; }

.ph-main { width: 300px; height: 629px; z-index: 3; }
.ph-side { width: 268px; height: 560px; z-index: 2; }
.ph-left { margin-right: 36px; }
.ph-right { margin-left: 36px; }




/* ---------------- Statement ---------------- */
.statement { padding: 160px 0 40px; }
.statement p { max-width: 980px; font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.22; letter-spacing: -.02em; color: var(--ink); }
.statement p span { color: var(--muted); }

/* ---------------- Sections ---------------- */
.sec { position: relative; padding: 140px 0; }
.sec-paper { background: var(--paper); }
.sec-dark { background: var(--night); color: #fff; }
.sec h2 { font-weight: 300; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -.03em; color: inherit; }
.sec-head { max-width: 760px; margin-bottom: 80px; }
.sec-head p, .split-copy > p, .spec-head p { margin-top: 26px; font-size: 18px; line-height: 1.65; color: var(--body); max-width: 520px; }
.sec-dark .sec-head p, .sec-dark .split-copy > p { color: rgba(255,255,255,.66); }
.fine { margin-top: 56px; font-size: 13px; color: var(--muted); }

/* spec list */
.spec { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.spec-head { position: sticky; top: 120px; }
.spec-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.spec-list .k { font-size: 18px; color: var(--ink); }
.spec-list .d { grid-column: 1; font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.spec-list .v { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 300; font-size: 40px; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec-list .v em { font-style: normal; font-size: 15px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
/* range bars: same zones and colours as the app's metric sheet */
.spec-list .r { grid-column: 1 / -1; grid-row: 3; margin-top: 20px; }
.r-bar { display: block; position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #FDE2E1 0, #FDE2E1 var(--lo), #D1FADF var(--lo), #D1FADF var(--hi), #FEE4C7 var(--hi), #FEE4C7 100%); }
.r-bar.score { background: linear-gradient(90deg, #EF4444 0, #F97316 35%, #FACC15 60%, #22C55E 100%); }
.r-bar i { position: absolute; top: -5px; left: calc(var(--v) - 9px); width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--c); box-shadow: 0 2px 6px rgba(14,26,51,.18); }
.js .reveal .r-bar i { left: -9px; opacity: 0; transition: left 1.4s var(--ease) .35s, opacity .3s .35s; }
.js .reveal.in .r-bar i { left: calc(var(--v) - 9px); opacity: 1; }
.r-l { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.r-l .ok { color: var(--ok); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.split.rev .split-copy { order: 2; }
.split-vis { display: flex; justify-content: center; }
.sec-dark .phone { box-shadow: inset 0 0 0 1px #2A2D35, 0 40px 80px -30px rgba(0,0,0,.6); }
.note { margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.45); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 48px; }
.feats div { padding-top: 18px; border-top: 1px solid var(--line); }
.feats dt { font-size: 16px; color: var(--ink); }
.feats dd { margin-top: 6px; font-size: 14.5px; color: var(--body); line-height: 1.55; }

.ph-md { width: 300px; height: 629px; }



/* columns (perks, privacy) */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.col { padding-top: 26px; border-top: 1px solid var(--line); }
.col svg { width: 26px; height: 26px; color: var(--ink); margin-bottom: 28px; }
.col h3 { font-weight: 400; font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
.col p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--body); }
.sec-dark .col { border-top-color: rgba(255,255,255,.14); }
.sec-dark .col p { color: rgba(255,255,255,.6); }

/* closing */
.closing { padding: 170px 0 150px; text-align: center; background: linear-gradient(180deg, var(--white), var(--paper)); }
.closing-mark { height: 70px; width: auto; margin: 0 auto 30px; }
.closing-word { font-weight: 400; font-size: clamp(64px, 11vw, 150px); letter-spacing: -.02em; line-height: 1; color: var(--wordmark); }
.closing-soon { margin-top: 26px; font-weight: 300; font-size: clamp(20px, 2vw, 26px); color: var(--body); }

/* footer */
.foot { padding: 56px 0 44px; background: var(--paper); border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: center; }
.foot .logo { font-size: 20px; }
.foot .logo img { height: 21px; }
.foot-legal { max-width: 760px; margin-top: 32px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.foot-copy { margin-top: 20px; font-size: 12.5px; color: var(--muted); }

/* ---------------- Motion ---------------- */
.rise { animation: up 1s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .1s; } .hero-copy .rise:nth-child(3) { animation-delay: .2s; }
.hero-stage.rise { animation: stage 1.3s var(--ease) both .25s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes stage { from { opacity: 0; transform: translateY(50px); } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .paused *, .js .paused *::before, .js .paused *::after { animation-play-state: paused !important; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
  .cols { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
  .spec { grid-template-columns: 1fr; gap: 56px; }
  .spec-head { position: static; }
}
@media (max-width: 1000px) {
  .ph-side { display: none; }
}
@media (max-width: 900px) {
  .hero { padding-top: 132px; }
  .hero-stage { height: 640px; margin-top: 56px; }
  .statement { padding: 110px 0 20px; }
  .sec { padding: 104px 0; }
  .split { grid-template-columns: 1fr; gap: 64px; }
  .split.rev .split-copy { order: 0; }
  .sec-head { margin-bottom: 56px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 22px; }
  .nav-in { height: 64px; }
  .logo { font-size: 21px; }
  .logo img { height: 22px; }
  .nav-right { gap: 12px; }
  .soon-tag { padding: 7px 12px; font-size: 12.5px; }
  .hero h1 { font-size: 46px; }
  .hero-stage { height: 548px; }
  .ph-main { transform: scale(.88); transform-origin: bottom center; }
  .spec-list .v { font-size: 32px; }
  .feats { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .cols { grid-template-columns: 1fr; gap: 36px; }
  .ph-md { transform: scale(.92); }
  .closing { padding: 120px 0 110px; }
}
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .soon-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
@media (max-width: 600px) {
  html[lang^="fr"] .hero h1 br { display: none; }
}

/* =====================================================================
   App screens: replicas of the Lumitra web app (WebApp/web/app/css/app.css).
   Each screen is laid out at the app's real 393 x 852 size and scaled
   into its phone frame with --s.
   ===================================================================== */
.phone.app-phone .screen { background: #F5F7FB; }
.app { --primary: #0F3DB5; --primary-2: #1D4ED8; --a-ink: #0F1A2E; --a-ink-2: #344054; --a-muted: #667085; --a-line: #E6EBF2; --a-bg: #F5F7FB; --a-green: #1A9E5B; --a-teal: #0E9384; --a-orange: #E0701B; --a-red: #E5484D; --a-purple: #6D4AFF;
  position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform: scale(var(--s, .7176)); transform-origin: 0 0; overflow: hidden;
  background: var(--a-bg); color: var(--a-ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.4; text-align: left; letter-spacing: 0; }
.app.white { background: #fff; }
.app svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.a-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 9; }
.a-sb { height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 4px 30px 0 46px; font-weight: 600; font-size: 16.5px; letter-spacing: -.2px; }
.a-sbi { display: flex; gap: 6px; align-items: center; }
.a-sbi svg { display: block; }
.a-appbar { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 16px; }
.a-appbar > span { width: 44px; display: flex; align-items: center; color: var(--a-ink); }
.a-appbar > span:last-child { justify-content: flex-end; position: relative; }
.a-brand { display: flex !important; width: auto !important; align-items: center; gap: 8px; font-family: Lato, sans-serif; color: #1C2B4A !important; font-size: 21px; letter-spacing: .1px; }
.a-brand img { height: 22px; width: auto; }
.a-dot { position: absolute; top: -1px; right: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--a-red); border: 2px solid var(--a-bg); }
.a-h-sm { font-size: 16px; font-weight: 650; }
.a-sub { color: var(--a-muted); font-size: 14px; line-height: 1.4; }
.a-tiny { font-size: 12px; color: var(--a-muted); }
.a-card { background: #fff; border: 1px solid var(--a-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.a-sec-title { font-size: 15.5px; font-weight: 700; margin: 22px 20px 10px; display: flex; justify-content: space-between; align-items: center; }
.a-sec-title a { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; }
.a-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: #E7F7EE; color: var(--a-green); }
.a-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 13px; font-weight: 600; font-size: 16px; background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(15,61,181,.55); }
.a-btn-sm { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 600; background: #EEF2FA; color: var(--primary); }

/* tab bar */
.a-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 86px; background: rgba(255,255,255,.96); border-top: 1px solid var(--a-line); display: flex; justify-content: space-around; padding: 9px 12px 0; }
.a-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 70px; font-size: 11px; font-weight: 550; color: #7A8499; }
.a-tab.on { color: var(--primary); }
.a-tab.on svg.i { stroke-width: 2.3; }
.a-homebar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 139px; height: 5px; border-radius: 3px; background: #0b0b0c; z-index: 9; }

/* scan */
.a-scan { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 4px; }
.a-ring { position: relative; width: 300px; height: 300px; margin-top: 18px; }
.a-ticks { position: absolute; inset: 0; width: 100%; height: 100%; }
.a-face { position: absolute; inset: 30px; border-radius: 50%; overflow: hidden; background: #E8EEF7; }
.a-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
.a-mesh circle { animation: a-pd 1.6s infinite; }
.a-mesh circle:nth-child(3n) { animation-duration: 1.2s; animation-delay: .2s; } .a-mesh circle:nth-child(3n+1) { animation-duration: 2s; animation-delay: .5s; }
@keyframes a-pd { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.a-sweep { position: absolute; left: 0; right: 0; top: -60px; height: 60px; background: linear-gradient(180deg, transparent, rgba(45,212,191,.32), transparent); animation: a-sweep 2.4s ease-in-out infinite; }
@keyframes a-sweep { 0% { top: -60px; } 100% { top: 100%; } }
.a-time { font-size: 44px; font-weight: 750; letter-spacing: -1px; margin-top: 14px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.a-status { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--a-teal); background: #E7F8F5; border-radius: 99px; padding: 7px 14px; margin-top: 14px; max-width: 340px; white-space: nowrap; overflow: hidden; }
.a-status span:last-child { overflow: hidden; text-overflow: ellipsis; }
.a-pd { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; animation: a-pd 1.2s infinite; }
.a-live { display: flex; gap: 10px; margin-top: 14px; }
.a-chip { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 8px 12px; min-width: 96px; text-align: center; }
.a-chip .v { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-chip .v.ok { color: var(--a-green); }
.a-chip .l { font-size: 10.5px; color: var(--a-muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; margin-top: 1px; }
.a-ppg { width: 300px; height: 44px; margin-top: 10px; }
.a-trust { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--a-ink-2); font-size: 13px; margin-top: 16px; }
.a-trust span { display: flex; align-items: center; gap: 5px; }
.a-trust svg.i { width: 15px; height: 15px; }
.a-trust i { width: 3px; height: 3px; border-radius: 50%; background: #98A2B3; }

/* results */
.a-res-title { text-align: center; font-size: 17px; font-weight: 650; letter-spacing: -.2px; }
.a-gauge { position: relative; width: 230px; height: 200px; margin: 4px auto 0; }
.a-gauge svg { display: block; }
.a-g-center { position: absolute; left: 0; right: 0; top: 64px; text-align: center; }
.a-g-score { font-size: 54px; font-weight: 750; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.a-g-score small { font-size: 22px; font-weight: 500; color: var(--a-muted); letter-spacing: 0; }
.a-g-label { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 16px; margin-top: 6px; color: var(--a-green); }
.a-g-label svg.i { width: 15px; height: 15px; }
.a-delta { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--a-green); margin: -6px 0 12px; }
.a-segs { display: flex; gap: 8px; justify-content: center; margin: 4px 20px 14px; }
.a-seg { padding: 8px 18px; border-radius: 99px; border: 1px solid var(--a-line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--a-ink-2); }
.a-seg.on { border-color: var(--primary-2); color: var(--primary); background: #EEF4FF; }
.a-metrics { display: grid; gap: 10px; margin: 0 20px; }
.a-metric { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: #fff; border: 1px solid var(--a-line); border-radius: 14px; }
.a-m-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.a-m-ico svg.i { width: 19px; height: 19px; }
.a-m-name { flex: 1; font-size: 14.5px; font-weight: 550; }
.a-m-val { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.a-m-val small { font-size: 12px; font-weight: 500; color: var(--a-muted); margin-left: 2px; }
.a-m-val.ok { color: var(--a-green); }
.ic-red { background: #FDECEC; color: var(--a-red); } .ic-teal { background: #E2F6F3; color: var(--a-teal); } .ic-blue { background: #E6EEFF; color: var(--primary-2); } .ic-purple { background: #EEEAFF; color: var(--a-purple); } .ic-orange { background: #FDF0E5; color: var(--a-orange); }

/* home */
.a-welcome { padding: 6px 20px 0; }
.a-welcome h4 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.a-hc { margin: 16px 20px 0; background: linear-gradient(180deg, #F4F8FF, #EAF1FF); border: 1px solid #D8E4FB; border-radius: 18px; padding: 18px; position: relative; overflow: hidden; }
.a-hc::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(29,78,216,.12), transparent 70%); }
.a-hc-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.a-hc-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: 0 2px 6px rgba(15,61,181,.12); }
.a-hc-ico svg.i { width: 26px; height: 26px; stroke-width: 1.8; }
.a-prog { margin: 0 20px; }
.a-prog-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.a-prog-row + .a-prog-row { border-top: 1px solid var(--a-line); }
.a-prog-row .lbl { font-weight: 600; font-size: 15px; }
.a-ring-sm { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--a-green); color: var(--a-green); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.a-recs { display: grid; gap: 10px; margin: 0 20px; }
.a-rec { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid; }
.a-rec-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.7); }
.a-rec-ico svg.i { width: 24px; height: 24px; stroke-width: 1.8; }
.a-rec-b { flex: 1; min-width: 0; }
.a-sponsor { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: #98A2B3; font-weight: 700; }
.a-rec-t { font-weight: 650; font-size: 14.5px; line-height: 1.25; }
.a-rec-s { font-size: 12.5px; color: var(--a-muted); margin-top: 3px; }
.a-chev { color: #98A2B3; }

/* AI plan */
.a-ai { margin: 4px 16px 0; border-radius: 22px; background: radial-gradient(120% 90% at 0% 0%, #1E3A8A 0%, #0B1530 60%); color: #fff; padding: 18px; }
.a-ai-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #7DD3FC; }
.a-ai-tag svg.i { width: 14px; height: 14px; }
.a-ai-line { font-size: 16.5px; font-weight: 600; line-height: 1.35; margin-top: 8px; }
.a-ai-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.a-ai-chips span { background: rgba(255,255,255,.1); border-radius: 99px; padding: 5px 10px; font-size: 12px; }
.a-ai-chips em { font-style: normal; opacity: .7; }
.a-flags { display: grid; gap: 10px; margin: 12px 20px 0; }
.a-flag { display: flex; gap: 11px; align-items: flex-start; padding: 11px 12px; border-radius: 13px; background: #fff; border: 1px solid var(--a-line); }
.a-f-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--a-green); }
.a-f-ico svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
.a-f-t { font-weight: 650; font-size: 14px; line-height: 1.25; }
.a-f-n { font-size: 12.5px; color: var(--a-muted); margin-top: 2px; }
.a-goals { margin: 12px 16px 0; border-radius: 20px; background: #1B2340; color: #fff; padding: 16px; }
.a-gc-h { display: inline-block; background: #7FCBB0; color: #0B1530; font-weight: 700; border-radius: 99px; padding: 5px 14px; font-size: 13.5px; margin-bottom: 3px; }
.a-goal { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #121935; margin-top: 7px; font-size: 13.5px; line-height: 1.35; }
.a-goal svg.i { width: 17px; height: 17px; color: #7FCBB0; margin-top: 1px; }
.a-mtabs { display: flex; gap: 6px; margin: 0 16px; background: #EAEFF7; padding: 4px; border-radius: 12px; }
.a-mtab { flex: 1; text-align: center; padding: 8px 0; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--a-ink-2); }
.a-mtab.on { background: #fff; color: var(--a-ink); box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.a-meal { margin: 10px 16px 0; display: flex; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--a-line); border-radius: 16px; }
.a-meal-img { width: 96px; height: 96px; border-radius: 14px; display: grid; place-items: center; font-size: 50px; flex: none; background: #FFF4E5; }
.a-meal b { display: block; font-size: 15px; font-weight: 650; }
.a-meal ul { margin: 4px 0 0; padding-left: 16px; font-size: 13.5px; line-height: 1.6; color: var(--a-ink-2); }
.a-meal-btns { display: flex; gap: 8px; margin: 10px 16px 0; }
.a-meal-btns svg.i { width: 15px; height: 15px; }

/* coach */
.a-chat { position: absolute; top: 54px; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: var(--a-bg); }
.a-chat-head { display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 56px; border-bottom: 1px solid var(--a-line); background: #fff; flex: none; }
.a-chat-av { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #34D399, #3B82F6); color: #fff; }
.a-chat-av svg.i { width: 19px; height: 19px; }
.a-chat-head b { display: block; font-size: 15px; font-weight: 650; }
.a-chat-head small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--a-muted); }
.a-chat-head small i { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; }
.a-chat-body { flex: 1; padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.a-msg { max-width: 84%; padding: 10px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.a-msg.bot { background: #fff; border: 1px solid var(--a-line); border-bottom-left-radius: 6px; align-self: flex-start; }
.a-msg.me { background: var(--primary); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.a-act { margin-top: 10px; border: 1px solid var(--a-line); border-radius: 12px; padding: 10px 12px; background: #F8FAFD; display: flex; align-items: center; gap: 10px; }
.a-act b { display: block; font-size: 13.5px; font-weight: 650; }
.a-act small { font-size: 12px; color: var(--a-muted); }
.a-act .go { margin-left: auto; padding: 7px 12px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 600; flex: none; }
.a-act-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #E2F6F3; color: var(--a-teal); flex: none; }
.a-act-ico svg.i { width: 18px; height: 18px; }
.a-typing { display: flex; gap: 4px; padding: 14px 15px; }
.a-typing i { width: 7px; height: 7px; border-radius: 50%; background: #98A2B3; animation: dot 1.2s infinite; }
.a-typing i:nth-child(2) { animation-delay: .15s; } .a-typing i:nth-child(3) { animation-delay: .3s; }
.a-chips { display: flex; gap: 8px; padding: 8px 14px; overflow: hidden; flex: none; }
.a-chips span { flex: none; padding: 7px 13px; border-radius: 99px; border: 1px solid #D3E2FF; background: #fff; font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.a-input { display: flex; gap: 8px; padding: 8px 12px 6px; background: #fff; border-top: 1px solid var(--a-line); flex: none; }
.a-input span { flex: 1; height: 42px; border-radius: 21px; border: 1px solid var(--a-line); padding: 0 16px; display: flex; align-items: center; font-size: 15px; color: #98A2B3; background: var(--a-bg); white-space: nowrap; overflow: hidden; }
.a-input i { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.a-input svg.i { width: 19px; height: 19px; }
.a-disc { background: #fff; text-align: center; font-size: 11.5px; color: var(--a-muted); padding: 0 24px 30px; line-height: 1.4; }
.js .a-chat-body .a-msg { opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s var(--ease); }
.js .a-chat-body .a-msg.show { opacity: 1; transform: none; }
.js .a-chat-body .a-msg.gone { display: none; }

/* history card (progress section), at 1:1 scale */
.a-hist { position: relative; width: 100%; max-width: 420px; padding: 0; background: none; transform: none; height: auto; overflow: visible; }
.a-hist .a-card { padding: 18px; }
.a-h-top { display: flex; justify-content: space-between; align-items: flex-start; }
.a-h-score { font-size: 30px; font-weight: 750; letter-spacing: -.8px; line-height: 1.1; }
.a-h-score small { font-size: 14px; font-weight: 500; color: var(--a-muted); letter-spacing: 0; }
.a-h-up { font-size: 13px; font-weight: 650; color: var(--a-green); margin-top: 2px; }
.a-range { display: flex; gap: 2px; background: #EEF1F6; border-radius: 10px; padding: 3px; }
.a-range span { padding: 5px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--a-muted); }
.a-range .on { background: #fff; color: var(--a-ink); box-shadow: 0 1px 2px rgba(16,24,40,.1); }
.a-h-chart { width: 100%; height: 130px; margin-top: 16px; overflow: visible; }
.a-h-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--a-muted); margin-top: 6px; }
.a-h-recent { margin-top: 12px; }
.a-h-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.a-h-row + .a-h-row { border-top: 1px solid var(--a-line); }
.a-h-row .a-ring-sm { width: 40px; height: 40px; font-size: 14px; }
.a-h-row b { display: block; font-size: 15px; font-weight: 650; }
.a-h-row small { font-size: 12.5px; color: var(--a-muted); }
.a-h-row .a-chev { margin-left: auto; }
.a-h-line { fill: none; stroke: var(--primary-2); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.a-h-area { fill: url(#hArea); opacity: 0; transition: opacity 1s 1s; }
.a-h-dots circle { fill: #fff; stroke: var(--primary-2); stroke-width: 2; opacity: 0; transition: opacity .4s 1.6s; }
.in .a-h-line { stroke-dashoffset: 0; } .in .a-h-area, .in .a-h-dots circle { opacity: 1; }

@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
