/* ============================================================
   Entie — Landing (Direction 4: Soft gradient tech)
   Brand gradient: #C13AEE → #E94CC0 · Space Grotesk + Hanken Grotesk
   ============================================================ */

:root {
  --bg:        #FBFAFD;
  --paper:     #FFFFFF;
  --ink:       #1B1226;
  --ink-2:     #4A4156;
  --muted:     rgba(27,18,38,0.58);
  --subtle:    rgba(27,18,38,0.40);
  --hairline:  rgba(27,18,38,0.10);

  --purple:    #C13AEE;
  --magenta:   #E94CC0;
  --grad:      linear-gradient(125deg, #C13AEE 0%, #E94CC0 100%);
  --grad-soft: linear-gradient(125deg, rgba(193,58,238,0.14), rgba(233,76,192,0.14));

  /* dark "harsh reality" */
  --night:     #160E20;
  --night-2:   #1E1430;
  --night-card:#241834;
  --night-ink: #F3ECF7;
  --night-muted:rgba(243,236,247,0.62);
  --night-line:rgba(243,236,247,0.12);

  --glass:     rgba(255,255,255,0.60);
  --glass-brd: rgba(255,255,255,0.92);
  --shadow-sm: 0 4px 20px rgba(80,40,110,0.07);
  --shadow:    0 22px 60px rgba(90,40,120,0.13);
  --shadow-lg: 0 44px 100px rgba(80,30,110,0.22);

  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans);
  font-size: 18px; line-height: 1.6; overflow-x: hidden;
  background:
    radial-gradient(1000px 620px at 82% -8%, rgba(193,58,238,0.16) 0%, transparent 55%),
    radial-gradient(900px 640px at 8% 8%, rgba(233,76,192,0.13) 0%, transparent 52%),
    var(--bg);
  background-attachment: fixed;
}
h1,h2,h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; font-family: var(--display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.gradtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display:inline-flex; align-items:center; gap:8px; font-family: var(--sans);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 20px; }
.eyebrow::before { content:""; width:18px; height:2px; border-radius:2px; background: var(--grad); }
.eyebrow.center { justify-content:center; }
.eyebrow.center::before { display:none; }

/* ---- buttons ---- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  border: none; border-radius: 100px; padding: 14px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s; }
.btn-grad { background: var(--grad); color:#fff; box-shadow: 0 10px 30px rgba(200,60,200,0.32); position:relative; }
.btn-grad::after { content:""; position:absolute; inset:0; border-radius:100px; box-shadow:0 0 0 0 rgba(220,70,200,0.5); transition: box-shadow 0.5s var(--ease); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(200,60,200,0.44); }
.btn-grad:hover::after { box-shadow: 0 0 38px 5px rgba(220,70,200,0.35); }
.btn-dark { background: var(--ink); color:#fff; box-shadow: 0 14px 36px rgba(27,18,38,0.22); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 15px; }
.btn-glass { background: var(--glass); border:1px solid var(--glass-brd); color: var(--ink);
  backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.btn-glass:hover { transform: translateY(-1px); }

/* glass surface */
.glass { background: var(--glass); border:1px solid var(--glass-brd);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: var(--shadow); }

/* ============================================================ HEADER */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; border-bottom:1px solid transparent; }
.site-header.scrolled { background: rgba(251,250,253,0.72); backdrop-filter: blur(20px) saturate(1.3); border-bottom-color: var(--hairline); }
.header-inner { display:flex; align-items:center; justify-content:space-between; height: 76px; }
.logo { display:flex; align-items:center; gap:11px; font-family: var(--display); font-weight:700; font-size:24px; letter-spacing:-0.03em; color: var(--ink); }
.logo img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px rgba(200,60,200,0.3); }
.header-nav { display:flex; align-items:center; gap:28px; }
.header-nav a { font-size:15px; font-weight:600; color: var(--ink); opacity:0.62; transition: opacity .25s; display:inline-flex; align-items:center; min-height:44px; }
.header-nav a:hover { opacity:1; }

/* ============================================================ HERO */
.hero { position: relative; padding: 58px 0 84px; text-align:center; overflow:hidden; }
.hero-aura { position:absolute; z-index:0; border-radius:50%; filter: blur(80px); pointer-events:none; }
.aura-p { width:560px; height:560px; top:-160px; left:8%; background: radial-gradient(circle, rgba(193,58,238,0.30), transparent 65%); }
.aura-m { width:560px; height:560px; top:40px; right:4%; background: radial-gradient(circle, rgba(233,76,192,0.28), transparent 65%); }
.hero .wrap { position:relative; z-index:2; }
.rating { display:inline-flex; align-items:center; gap:10px; font-size:14px; font-weight:700; padding:8px 16px 8px 12px; border-radius:100px; margin-bottom:28px; }
.rating .stars { display:inline-flex; }
.rating .stars svg { width:16px; height:16px; display:block; }
.rating .src { color: var(--muted); font-weight:500; }
.hero h1 { font-size: clamp(44px, 6.6vw, 86px); line-height: 0.98; max-width: 900px; margin: 0 auto; }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 28px auto 34px; max-width: 620px; }
.hero-cta { display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; }
.hero-cta .note { font-size:14px; color: var(--muted); font-weight:600; }

/* glass UI cluster */
.hero-stage { position:relative; margin-top: 60px; display:flex; align-items:flex-start; justify-content:center; gap:22px; flex-wrap:wrap; }
.uicard { border-radius: 24px; padding: 24px; text-align:left; will-change: transform; }
.uicard .gh { font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color: var(--muted); margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.uicard .gh .pulse { width:7px; height:7px; border-radius:50%; background: var(--magenta); box-shadow:0 0 0 0 rgba(233,76,192,0.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(233,76,192,0.5);} 70%{box-shadow:0 0 0 9px rgba(233,76,192,0);} 100%{box-shadow:0 0 0 0 rgba(233,76,192,0);} }
.ui-score { width: 280px; margin-top: 34px; }
.ui-score .ring { position:relative; width:170px; height:170px; margin: 6px auto 0; }
.ui-score .ring .cc { position:absolute; inset:0; display:grid; place-items:center; text-align:center; }
.ui-score .ring .cc .v { font-family: var(--display); font-weight:700; font-size:50px; line-height:1; }
.ui-score .ring .cc .l { font-size:11.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color: var(--muted); margin-top:3px; }
.ui-score .trend { margin-top:14px; text-align:center; font-size:13.5px; font-weight:700; color: var(--magenta); }
.ui-chat { width: 320px; }
.ui-chat .bub { font-size:14px; padding:12px 15px; border-radius:18px; margin-bottom:9px; line-height:1.38; max-width:85%; }
.ui-chat .bub.them { background: rgba(193,58,238,0.10); color: var(--ink); border-bottom-left-radius:5px; }
.ui-chat .bub.me { background: var(--grad); color:#fff; border-bottom-right-radius:5px; margin-left:auto; }
.ui-plan { width: 250px; margin-top: 18px; }
.ui-plan .pl { display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px solid var(--hairline); }
.ui-plan .pl:last-child { border-bottom:none; }
.ui-plan .pl .dot { width:10px; height:10px; border-radius:50%; flex:none; }
.ui-plan .pl .pt { font-size:14.5px; font-weight:600; }
.ui-plan .pl .ps { font-size:12px; color: var(--muted); }

/* ============================================================ STAT BAND */
.statband { padding: 70px 0; }
.statband .panel { border-radius: 34px; padding: 60px; display:flex; align-items:center; gap:48px; justify-content:center; flex-wrap:wrap; text-align:center;
  background: linear-gradient(125deg, rgba(193,58,238,0.10), rgba(233,76,192,0.10)); border:1px solid var(--glass-brd); box-shadow: var(--shadow); }
.statband .big { font-family: var(--display); font-weight:700; font-size: clamp(80px, 12vw, 156px); line-height: 0.82; letter-spacing:-0.04em; }
.statband p { font-size: clamp(20px, 2.4vw, 27px); max-width: 540px; text-align:left; line-height:1.34; color: var(--ink); }
.statband .divider { width:1px; height:96px; background: var(--hairline); }

/* ============================================================ SECTION */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
.section-head .sub { font-size: 20px; color: var(--ink-2); margin-top: 20px; max-width: 600px; }
.section-head.center .sub { margin-left:auto; margin-right:auto; }

/* hero testimonials */
.tcards { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tcard { border-radius: 24px; padding: 30px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tcard .quote { font-size: 17px; line-height: 1.5; }
.tcard .quote::before { content:"\201C"; font-family: var(--display); font-weight:700; font-size:48px; line-height:0; display:block; height:24px;
  background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.tcard .who { margin-top: 20px; font-size: 14px; font-weight: 700; }
.tcard .who span { color: var(--muted); font-weight: 500; }

/* ============================================================ MOTIVATION */
.nomore { display:grid; gap: 14px; }
.nm { display:grid; grid-template-columns: auto 1fr; gap: 22px; align-items:start;
  border-radius: 22px; padding: 26px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.nm:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.nm .num { font-family: var(--display); font-weight:700; font-size: 30px; line-height:1; min-width: 30px;
  background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.nm h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; letter-spacing:-0.01em; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.nm p { font-size: 16.5px; color: var(--ink-2); margin-top: 7px; }
.ai-pill { display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase;
  color:#fff; background: var(--grad); padding:4px 11px; border-radius:100px; white-space:nowrap; }
.ai-pill .dot { width:6px; height:6px; border-radius:50%; background:#fff; }

/* ============================================================ FEATURES */
.feature { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; padding: 46px 0; }
.feature > * { min-width: 0; }
.feature.flip .f-visual { order: 2; }
.feature .f-copy { max-width: 480px; }
.feature .f-tag { display:inline-flex; align-items:center; gap:10px; font-family: var(--sans); font-size:13px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; color: var(--purple); margin-bottom:16px; }
.feature .f-tag .n { width:26px; height:26px; border-radius:8px; display:grid; place-items:center; background: var(--grad); color:#fff; font-family: var(--display); font-weight:700; font-size:14px; }
.feature h3 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.04; }
.feature .f-copy p { font-size: 18px; color: var(--ink-2); margin-top: 18px; }

.f-visual { position: relative; }
.viz-card { border-radius: 28px; padding: 34px; min-height: 320px; display:flex; flex-direction:column; position:relative; overflow:hidden; }

.gauge-wrap { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; flex:1; }
.gauge { position:relative; width:230px; height:230px; }
.gauge svg { transform: rotate(-90deg); display:block; }
.gauge .ring-bg { fill:none; stroke: rgba(27,18,38,0.08); stroke-width:18; }
.gauge .ring-fg { fill:none; stroke: url(#gaugegrad); stroke-width:18; stroke-linecap:round; }
.gauge .center { position:absolute; inset:0; display:grid; place-items:center; text-align:center; }
.gauge .center .v { font-family: var(--display); font-weight:700; font-size:62px; line-height:1; }
.gauge .center .l { font-size:12px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color: var(--muted); margin-top:4px; }
.gauge-trend { display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:700; color:#fff; background: var(--grad); padding:6px 14px; border-radius:100px; }

.sync { flex:1; display:flex; flex-direction:column; justify-content:center; gap:24px; }
.wave-row{display:flex;align-items:center;gap:14px;min-width:0}
.wave-row .av { width:38px; height:38px; border-radius:50%; flex:none; display:grid; place-items:center; color:#fff; font-weight:700; font-size:15px; }
/* the SVG's viewBox gives it an intrinsic 300px width; min-width:0 lets it shrink */
.wave { flex:1 1 0; min-width:0; width:100%; height:56px; }
.wave path { fill:none; stroke-width:3; stroke-linecap:round; stroke-dasharray:600; stroke-dashoffset:600; }
.sync-note { text-align:center; font-size:14px; color: var(--muted); }
.sync-note b { color: var(--magenta); }

.modes { display:flex; flex-direction:column; gap:12px; flex:1; justify-content:center; }
.mode-row { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:16px; border:1px solid var(--hairline); background: rgba(255,255,255,0.5); transition: transform .3s var(--ease); }
.mode-row:hover { transform: translateX(5px); }
.mode-row .ic { width:44px; height:44px; border-radius:13px; display:grid; place-items:center; flex:none; }
.mode-row .t { font-size:16px; font-weight:700; }
.mode-row .s { font-size:13.5px; color: var(--muted); }

.mini-chat { display:flex; flex-direction:column; gap:12px; flex:1; justify-content:center; }
.bub { max-width:80%; padding:13px 17px; border-radius:20px; font-size:14.5px; line-height:1.4; }
.bub.them { background: rgba(193,58,238,0.10); color: var(--ink); border-bottom-left-radius:6px; align-self:flex-start; }
.bub.me { background: var(--grad); color:#fff; border-bottom-right-radius:6px; align-self:flex-end; }

.planner { flex:1; display:flex; flex-direction:column; gap:12px; justify-content:center; }
.plan-item { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:16px; background: rgba(255,255,255,0.5); border:1px solid var(--hairline); }
.plan-item .dot { width:12px; height:12px; border-radius:50%; flex:none; }
.plan-item .pt { font-size:15px; font-weight:600; }
.plan-item .ps { font-size:12.5px; color: var(--muted); }

.diary { flex:1; display:grid; grid-template-columns:1fr 1fr; gap:12px; align-content:center; }
.diary .d { padding:18px; border-radius:18px; background: rgba(255,255,255,0.5); border:1px solid var(--hairline); display:flex; flex-direction:column; gap:8px; }
.diary .lock { font-size:11px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color: var(--purple); display:inline-flex; align-items:center; gap:5px; }
.diary .d .hh { font-size:15px; font-weight:700; }
.diary .bars { display:flex; gap:5px; align-items:flex-end; height:36px; }
.diary .bars i { flex:1; border-radius:3px; background: rgba(193,58,238,0.18); }
.diary .bars i.on { background: var(--grad); }

.f64 { font-family: var(--display); font-weight:700; background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

.markquote { margin-top: 64px; }
.markquote .inner { border-radius: 28px; padding: 56px; text-align:center; position:relative; overflow:hidden;
  background: var(--night); color: var(--night-ink); }
.markquote .inner .mq-glow { position:absolute; width:420px; height:420px; border-radius:50%; filter:blur(90px); top:-160px; right:-80px; background: radial-gradient(circle, rgba(233,76,192,0.4), transparent 65%); }
.markquote .q { font-family: var(--display); font-weight:500; font-size: clamp(26px, 3.6vw, 40px); line-height:1.18; max-width:820px; margin:0 auto; position:relative; }
.markquote .who { margin-top:26px; font-size:15px; color: var(--night-muted); font-weight:600; position:relative; }

/* ============================================================ TRUST / masonry */
.firsts-badge { display:inline-flex; align-items:center; gap:9px; font-family: var(--sans); font-weight:700; font-size:14px;
  color:#fff; background: var(--grad); padding:9px 18px; border-radius:100px; }
.masonry { columns: 3; column-gap: 18px; margin-top: 48px; }
.masonry .m { break-inside: avoid; margin-bottom: 18px; border-radius: 20px; padding: 24px; }
.masonry .m .q { font-size: 17px; line-height: 1.45; }
.masonry .m .who { margin-top: 14px; font-size: 13.5px; font-weight: 700; }
.masonry .m .who span { color: var(--muted); font-weight: 500; }
.masonry .m.accent { background: var(--grad); color:#fff; border:none; }
.masonry .m.accent .who span { color: rgba(255,255,255,0.8); }
.masonry .m.purple { background: var(--ink); color: var(--night-ink); border:none; }
.masonry .m.purple .who span { color: rgba(243,236,247,0.7); }

/* ============================================================ HARSH (dark) */
.harsh { background: var(--night); color: var(--night-ink); overflow:hidden; }
.harsh .hglow { position:absolute; border-radius:50%; filter: blur(100px); pointer-events:none; }
.harsh .hg1 { width:520px; height:520px; top:-120px; left:-80px; background: radial-gradient(circle, rgba(193,58,238,0.28), transparent 64%); }
.harsh .hg2 { width:520px; height:520px; bottom:-160px; right:-80px; background: radial-gradient(circle, rgba(233,76,192,0.24), transparent 64%); }
.harsh .wrap { position: relative; z-index: 2; }
.harsh-transition { text-align:center; max-width:760px; margin:0 auto 64px; }
.harsh-transition h2 { font-family: var(--display); font-weight:500; font-size: clamp(30px, 4.4vw, 52px); line-height:1.1; }
.stats3 { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.statcard { background: var(--night-card); border:1px solid var(--night-line); border-radius:24px; padding:38px 32px; position:relative; }
.statcard .big { font-family: var(--display); font-weight:700; font-size: clamp(56px, 7vw, 84px); line-height:0.9; display:flex; align-items:baseline; gap:6px;
  background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.statcard .big .unit { font-size:0.34em; font-family: var(--sans); font-weight:700; -webkit-text-fill-color: var(--night-ink); }
.statcard h3 { font-family: var(--sans); font-size:21px; font-weight:700; margin-top:20px; }
.statcard p { font-size:16px; color: var(--night-muted); margin-top:12px; line-height:1.5; }
.src-link { display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-size:12.5px; font-weight:600; color: rgba(243,236,247,0.5);
  border:1px solid var(--night-line); border-radius:100px; padding:6px 12px; transition: color .3s, border-color .3s, background .3s; position:relative; }
.src-link:hover { color:#fff; border-color: rgba(233,76,192,0.5); background: rgba(233,76,192,0.12); }
.src-link svg { width:13px; height:13px; }
.src-link .tip { position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%) translateY(4px);
  background: var(--night-ink); color: var(--night); font-size:11.5px; font-weight:700; padding:5px 10px; border-radius:7px; white-space:nowrap; opacity:0; pointer-events:none; transition: opacity .25s, transform .25s; }
.src-link:hover .tip { opacity:1; transform: translateX(-50%) translateY(0); }

.resolve { text-align:center; }
.resolve h2 { font-family: var(--display); font-weight:500; font-size: clamp(32px, 4.6vw, 56px); line-height:1.08; max-width:840px; margin:0 auto; }

/* ============================================================ FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-radius: 18px; margin-bottom: 12px; overflow:hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { width:100%; background:none; border:none; text-align:left; display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding: 24px 26px; font-family: var(--sans); font-size: 20px; font-weight:600; color: var(--ink); letter-spacing:-0.01em; transition: color .3s; }
.faq-q:hover { color: var(--purple); }
.faq-icon { flex:none; width:24px; height:24px; position:relative; }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; top:50%; left:50%; border-radius:2px; background: var(--magenta); transition: transform .4s var(--ease); }
.faq-icon::before { width:15px; height:2.5px; transform: translate(-50%,-50%); }
.faq-icon::after { width:2.5px; height:15px; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow:hidden; height:0; transition: height .45s var(--ease); }
.faq-a .inner { padding: 0 26px 26px; font-size: 17px; line-height:1.62; color: var(--ink-2); max-width: 700px; }

/* ============================================================ FINAL CTA */
.finalcta { position:relative; overflow:hidden; padding: 120px 0 60px; text-align:center; }
.finalcta h2 { font-size: clamp(40px, 6.4vw, 82px); line-height: 1.0; position:relative; z-index:2; }
.store-badges { display:flex; gap:16px; justify-content:center; margin: 40px 0 0; flex-wrap:wrap; position:relative; z-index:2; }
.store-badge { display:inline-flex; align-items:center; gap:12px; background: var(--ink); color:#fff; border-radius:15px; padding:12px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: var(--shadow-sm); }
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store-badge svg { width:26px; height:26px; flex:none; }
.store-badge .sb-top { font-size:11px; line-height:1; opacity:0.8; text-transform:uppercase; letter-spacing:0.06em; }
.store-badge .sb-main { font-size:19px; font-weight:700; letter-spacing:-0.01em; margin-top:3px; }

.footer { padding: 80px 0 50px; position:relative; z-index:2; }
.footer-top { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding-bottom:36px; border-bottom:1px solid var(--hairline); }
.social { display:flex; gap:10px; flex-wrap:wrap; }
.social a { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background: var(--glass); border:1px solid var(--glass-brd); color: var(--ink); transition: transform .3s var(--ease), background .3s, color .3s; }
.social a:hover { transform: translateY(-3px); background: var(--grad); color:#fff; border-color:transparent; }
.social svg { width:18px; height:18px; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-top:30px; }
.footer-links { display:flex; gap:22px; flex-wrap:wrap; }
.footer-links a { font-size:12.5px; font-weight:700; letter-spacing:0.08em; color: var(--muted); transition: color .3s; }
.footer-links a:hover { color: var(--purple); }
.copyright { font-size:12.5px; font-weight:600; letter-spacing:0.06em; color: var(--subtle); }

/* ============================================================ SUPPORT MODAL */
.modal-back { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px;
  background: rgba(22,14,32,0.55); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s var(--ease); }
.modal-back[hidden] { display: none; }
.modal-back.show { opacity: 1; }
.modal { width: 100%; max-width: 520px; border-radius: 26px; padding: 38px 36px; position: relative;
  background: rgba(255,255,255,0.92); transform: translateY(16px) scale(0.98); transition: transform .35s var(--ease); max-height: 90vh; overflow-y: auto; }
.modal-back.show .modal { transform: none; }
.modal h3 { font-size: 30px; line-height: 1.05; }
.modal-sub { font-size: 16px; color: var(--ink-2); margin-top: 10px; }
.modal-x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.7); color: var(--ink); display: grid; place-items: center; transition: background .25s, transform .25s; }
.modal-x:hover { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(90deg); }
.modal-x svg { width: 18px; height: 18px; }
#support-form { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 7px; position: relative; }
.fld .fl { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld textarea { font-family: var(--sans); font-size: 16px; color: var(--ink); background: rgba(255,255,255,0.8);
  border: 1.5px solid var(--hairline); border-radius: 14px; padding: 13px 15px; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(193,58,238,0.12); }
.fld.bad input, .fld.bad textarea { border-color: #E0455B; box-shadow: 0 0 0 4px rgba(224,69,91,0.1); }
.fld .err { font-size: 13px; font-weight: 600; color: #C7303F; min-height: 0; display: none; }
.fld.bad .err { display: block; }
.fld .fcount { position: absolute; right: 4px; bottom: -19px; font-size: 12px; color: var(--subtle); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.modal-note { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.modal-note.ok { color: #1D9E7F; }
.modal-note.bad { color: #C7303F; }
.modal-note .linkbtn { background: none; border: none; padding: 0; font-family: inherit; font-size: inherit; font-weight: 700;
  color: var(--purple); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.modal-note .linkbtn:hover { color: var(--magenta); }
body.modal-open { overflow: hidden; }

/* ============================================================ REVEAL */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s; } .reveal.d2 { transition-delay:.16s; } .reveal.d3 { transition-delay:.24s; } .reveal.d4 { transition-delay:.32s; }

/* ============================================================ RESPONSIVE */
@media (max-width: 960px) {
  body { font-size:17px; }
  .hero h1 { font-size: clamp(38px,10vw,58px); }
  .statband .panel { flex-direction:column; gap:24px; padding:44px 28px; }
  .statband .divider { display:none; }
  .statband p { text-align:center; }
  .tcards { grid-template-columns:1fr; }
  .feature { grid-template-columns:1fr; gap:30px; }
  .feature.flip .f-visual { order:0; }
  .stats3 { grid-template-columns:1fr; }
  .masonry { columns:2; }
  .header-nav a:not(.btn) { display:none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section { padding: 70px 0; }
  .masonry { columns:1; }
  .markquote .inner { padding: 36px 24px; }
  .nm { padding: 22px; gap: 16px; }
  .viz-card { padding: 26px; }
  .footer-top { flex-direction:column; align-items:flex-start; }
  .finalcta { padding: 80px 0 40px; }
  /* comfortable touch targets for the legal links (44px min) */
  .footer-links { gap: 4px 20px; }
  .footer-links a { padding: 12px 0; display: inline-flex; align-items: center; }
  .social a { width: 46px; height: 46px; }
  .ui-chat, .ui-score, .ui-plan { width: 100%; max-width: 340px; }
  .diary { grid-template-columns: 1fr; }
  .statband .big { font-size: clamp(64px, 22vw, 96px); }
  .store-badge { padding: 12px 18px; }
  .modal { padding: 30px 22px; }
}
@media (max-width: 380px) {
  .store-badges { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: flex-start; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .store-badge { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
  .uicard { transform:none !important; }
  .wave path { stroke-dashoffset:0 !important; }
  * { animation:none !important; }
}
