/* MEDICARD front page — "a day with MEDICARD".
   Only index.html loads this file; landing.css stays for the legal/calculator pages. */

@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* Core palette */
  --mist: #EAF5F2;       /* dawn canvas */
  --paper: #F7FBFA;      /* light sections */
  --ink: #0B2B2E;        /* deep teal ink for text on light */
  --ink-2: #3E5A5D;      /* body on light */
  --teal: #0D9488;       /* brand action */
  --teal-2: #14B8A6;     /* brand on dark */
  --foam: #99F6E4;       /* brand text on dark */
  --night: #030712;      /* app dark canvas */
  --night-2: #111827;    /* app dark surface */
  --night-3: #1F2937;
  --pulse: #F43F5E;      /* the heartbeat, used only for the pulse */
  --deep: #042F2E;       /* app brand tint on dark */

  --display: "FiraGO", system-ui, sans-serif;
  --body: "FiraGO", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* Set by home-scene.js while the day scrolls */
  --sky-a: #F3E7E1;
  --sky-b: #DDF1EC;
  --sun: rgba(255, 196, 160, .55);
  --day-ink: var(--ink);
  --day-ink-2: var(--ink-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }

@font-face { font-family: "Noto Serif Georgian"; src: url("/fonts/noto-serif-georgian/NotoSerifGeorgian-Light-georgian.woff2") format("woff2"); font-weight: 300; font-display: swap;
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Noto Serif Georgian"; src: url("/fonts/noto-serif-georgian/NotoSerifGeorgian-Light-latin.woff2") format("woff2"); font-weight: 300; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Exo 2"; src: url("/fonts/exo2/Exo2-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

/* ───────────── Hero: a serif headline and one heartbeat across the page ───────────── */
.hero {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  min-height: 100vh; min-height: max(100svh, 680px);
  display: flex; flex-direction: column;
  background:
    radial-gradient(38% 34% at 50% 40%, rgba(94, 234, 212, .20), transparent 70%),
    radial-gradient(34% 44% at 6% 92%, rgba(255, 196, 160, .30), transparent 72%),
    radial-gradient(30% 40% at 96% 10%, rgba(165, 180, 252, .20), transparent 72%),
    radial-gradient(30% 36% at 94% 88%, rgba(94, 234, 212, .16), transparent 72%),
    linear-gradient(180deg, #F9FCFB 0%, var(--paper) 60%, #EAF4F1 100%);
}
/* The world behind the hero: dotted land, a lit point for every country MEDICARD is in */
.hero-world {
  position: absolute; z-index: -1; left: 50%; top: 78px; width: max(1100px, 100vw); aspect-ratio: 1800 / 690;
  transform: translateX(-50%); pointer-events: none;
}
.hero-world img { display: block; width: 100%; height: 100%; opacity: .2;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.hero-world-dots { position: absolute; inset: 0; }
.world-dot {
  position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 7px rgba(20, 184, 166, .18), 0 0 22px 6px rgba(20, 184, 166, .35);
  opacity: 0; animation: world-on .9s var(--ease) calc(.6s + var(--i) * .18s) forwards;
}
.world-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(13, 148, 136, .55);
  animation: world-ping 3.2s cubic-bezier(.2, .7, .1, 1) calc(1.4s + var(--i) * .7s) infinite; opacity: 0;
}
.world-dot span {
  position: absolute; left: 16px; font-style: normal; top: 50%; transform: translateY(-50%); white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em;
}
@keyframes world-on { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes world-ping { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.4); } }
.hero-inner {
  flex: 1; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 120px 0 36px;
}
.hero-title {
  font-family: "Noto Serif Georgian", Georgia, serif; font-weight: 300;
  font-size: clamp(40px, 7.4vw, 112px); line-height: 1.04; letter-spacing: -.01em;
  color: var(--ink); text-wrap: balance;
}
.hero-title > span { display: block; opacity: 0; animation: fade 1.1s var(--ease) forwards; }
.hero-title > span + span { animation-delay: .12s; }
/* The pulse: a fixed-scale heartbeat centred on the page, its line fading out to both edges */
.hero-pulse { position: relative; width: 100vw; height: 120px; margin: 28px 0 14px; }
.hero-pulse svg {
  display: block; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.hero-pulse path { fill: none; stroke: var(--teal); stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: pulse-draw 2.4s cubic-bezier(.6, .1, .2, 1) .45s forwards; }
.pulse-line { stroke-width: 1.3; }
.pulse-glow { stroke: var(--teal-2) !important; stroke-width: 7; opacity: .14; }
/* A short light runs along the day every few seconds */
.hero-pulse .pulse-spark { stroke: #2DD4BF; stroke-width: 4; stroke-linecap: round; stroke-dasharray: .03 .97; stroke-dashoffset: .03; opacity: 0; animation: spark 7s linear 3s infinite; }
.hero-pulse .pulse-spark.is-core { stroke: #fff; stroke-width: 1.6; stroke-dasharray: .012 .988; }
@keyframes spark { 0% { stroke-dashoffset: .03; opacity: 0; } 4% { opacity: .9; } 96% { opacity: .9; } 100% { stroke-dashoffset: -.97; opacity: 0; } }
/* Moments of the day sitting on the line */
.moment { position: absolute; left: calc(50% + var(--x)); top: 70px; width: 0; height: 0; opacity: 0; animation: moment-in .8s var(--ease) calc(2s + var(--i) * .15s) forwards; }
.moment-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--c), 0 0 0 6px color-mix(in srgb, var(--c) 14%, transparent); }
.moment-stem { position: absolute; left: -.5px; width: 1px; height: 26px; background: linear-gradient(var(--c), transparent); opacity: .5; }
.moment.is-down .moment-stem { top: 6px; }
.moment.is-up .moment-stem { bottom: 6px; background: linear-gradient(transparent, var(--c)); }
.moment-card {
  position: absolute; left: 0; display: flex; align-items: center; gap: 11px; white-space: nowrap; text-align: left;
  padding: 9px 16px 9px 9px; border-radius: 16px; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(11, 43, 46, .07), 0 22px 40px -26px rgba(11, 43, 46, .45);
  animation: drift 7s ease-in-out calc(var(--i) * -1.7s) infinite;
}
.moment.is-down .moment-card { top: 32px; }
.moment.is-far .moment-stem { height: 74px; }
.moment.is-far .moment-card { top: 80px; }
.moment.is-up .moment-card { bottom: 32px; }
.moment-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.moment-card time { display: block; font-size: 12px; line-height: 1.2; color: #6B8285; font-variant-numeric: tabular-nums; }
.moment-card b { display: block; font-size: 14.5px; line-height: 1.3; font-weight: 600; color: var(--ink); }
@keyframes moment-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
@media (max-width: 1360px) { .moment.is-far { display: none; } }
@media (max-width: 1020px) { .moment { display: none; } }
.pulse-beat {
  position: absolute; left: 50%; top: 8px; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--pulse); box-shadow: 0 0 0 6px rgba(244, 63, 94, .12), 0 0 26px 6px rgba(244, 63, 94, .32);
  opacity: 0; animation: beat-in .6s ease 1.9s forwards, beat 2.4s ease-in-out 2.5s infinite;
}
@keyframes pulse-draw { to { stroke-dashoffset: 0; } }
@keyframes beat-in { to { opacity: 1; } }
@keyframes beat { 50% { box-shadow: 0 0 0 11px rgba(244, 63, 94, .05), 0 0 36px 10px rgba(244, 63, 94, .26); } }
.hero-lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; color: var(--ink-2); max-width: 44ch; opacity: 0; animation: fade .9s 1.2s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; opacity: 0; animation: fade .9s 1.35s var(--ease) forwards; }
.hero .btn-quiet { min-height: 54px; border-radius: 16px; border: 1px solid rgba(11, 43, 46, .14); background: rgba(255, 255, 255, .6); }
.hero .btn-quiet:hover { border-color: rgba(11, 43, 46, .4); background: #fff; }
/* Module wordmarks: upright MEDI in ink + the module part in its colour, skewed like the app's ModuleWordmark */
.hero-modules {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter) 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  opacity: 0; animation: fade .9s 1.6s var(--ease) forwards;
}
.hero-modules li { font-family: "Exo 2", var(--body); font-weight: 800; font-size: 14px; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.hero-modules b { display: inline-block; font-weight: 800; color: var(--mod); transform: skewX(-16deg); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: #0B7F75; }
.btn-quiet { border: 1.5px solid color-mix(in srgb, var(--day-ink) 22%, transparent); color: var(--day-ink); }
.btn-quiet:hover { border-color: var(--day-ink); }

/* ───────────── Medi ───────────── */
.medi {
  position: relative; background: var(--night); color: #fff;
  padding: clamp(96px, 14vw, 180px) 0;
  overflow: hidden;
}
.medi::before {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; left: -30vmax; bottom: -40vmax;
  background: radial-gradient(closest-side, rgba(20, 184, 166, .16), transparent);
  pointer-events: none;
}
.medi-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.medi h2 { font-size: clamp(38px, 4.6vw, 64px); margin-bottom: 22px; text-wrap: balance; }
.medi-lead { color: #D1D5DB; font-size: 19px; max-width: 32rem; }
.modes { display: grid; gap: 8px; margin-top: 36px; max-width: 30rem; }
.modes button {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px;
  text-align: left; padding: 16px 20px; border-radius: var(--radius-md);
  background: transparent; border: 1px solid rgba(255, 255, 255, .1); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.modes button b { font-size: 18px; font-weight: 700; }
.modes button span { color: #9CA3AF; font-size: 15px; }
.modes button:hover { background: rgba(255, 255, 255, .04); }
.modes button[aria-selected="true"] { background: var(--night-2); border-color: rgba(20, 184, 166, .6); }
.modes button[aria-selected="true"] b { color: var(--foam); }
.medi-note { margin-top: 22px; color: #9CA3AF; font-size: 14px; max-width: 30rem; }

.chat-shell { perspective: 1400px; }
.chat {
  background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg); padding: 20px; min-height: 460px;
  box-shadow: 0 60px 120px -40px rgba(20, 184, 166, .25);
  transform: rotateY(-8deg) rotateX(3deg); transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.chat:hover { transform: rotateY(-3deg) rotateX(1deg); }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { color: #9CA3AF; font-size: 13px; }
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5EEAD4, var(--teal) 60%, var(--deep));
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .15);
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 0 9px rgba(20, 184, 166, .06); } }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.bubble {
  max-width: 88%; padding: 13px 16px; border-radius: 20px; font-size: 16px; line-height: 1.55;
  animation: pop .45s var(--ease) both;
}
.bubble.me { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 6px; }
.bubble.medi { align-self: flex-start; background: var(--night-3); color: #E5E7EB; border-bottom-left-radius: 6px; }
.bubble .chip {
  display: inline-flex; margin-top: 10px; padding: 6px 12px; border-radius: 999px;
  background: rgba(20, 184, 166, .16); color: var(--foam); font-size: 14px; font-weight: 600;
}
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 16px 18px; border-radius: 20px; background: var(--night-3); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9CA3AF; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .3; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ───────────── Spaces ───────────── */
.spaces { background: var(--paper); padding: clamp(96px, 13vw, 170px) 0; }
.spaces-title { font-size: clamp(44px, 6.4vw, 96px); margin-bottom: clamp(40px, 6vw, 80px); }
.spaces-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.space-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(11, 43, 46, .12); }
.space-list li { border-bottom: 1px solid rgba(11, 43, 46, .12); }
.space {
  width: 100%; display: grid; gap: 6px; padding: 24px 4px; text-align: left;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.space-name {
  font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1;
  color: rgba(11, 43, 46, .32); transition: color .3s var(--ease);
}
.space-desc {
  color: var(--ink-2); font-size: 17px; max-width: 34rem;
  opacity: 0;

  transition: opacity .35s var(--ease);
}
.space:hover .space-name { color: rgba(11, 43, 46, .6); }
.space.is-on .space-name { color: var(--ink); }
.space.is-on .space-desc { opacity: 1; }
.space-preview { position: sticky; top: 110px; display: grid; place-items: center; perspective: 1200px; }
.mini-phone {
  position: relative; width: min(320px, 100%); aspect-ratio: 660 / 1434;
  border-radius: 46px; padding: 10px; background: #1b2426;
  box-shadow: 0 50px 90px -40px rgba(11, 43, 46, .5), inset 0 0 0 2px #5b6c6f;
  transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg));
  transition: transform .6s var(--ease);
}
.mini-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; transition: opacity .3s; }

/* ───────────── Promise ───────────── */
.promise { background: var(--deep); color: #fff; padding: clamp(96px, 13vw, 170px) 0; }
.promise-line { font-size: clamp(42px, 6.6vw, 104px); color: var(--foam); max-width: 16ch; }
.promise-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 8vw, 110px); }
.promise-facts h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.promise-facts p { color: rgba(255, 255, 255, .74); font-size: 16px; }
.promise-facts > div { padding-top: 22px; border-top: 2px solid rgba(153, 246, 228, .25); }

/* ───────────── FAQ ───────────── */
.faq-band { background: #fff; padding: clamp(90px, 12vw, 150px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid h2 { font-size: clamp(38px, 4.6vw, 64px); position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid rgba(11, 43, 46, .12); }
.faq details:first-child { border-top: 1px solid rgba(11, 43, 46, .12); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(currentColor, currentColor) center/14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 44px 24px 0; max-width: 40rem; }

/* ───────────── Download (dawn again) ───────────── */
.dawn {
  background: linear-gradient(180deg, #fff 0%, #DDF1EC 55%, #F3E7E1 100%);
  padding: clamp(96px, 13vw, 170px) 0;
}
.dawn-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.dawn h2 { font-size: clamp(40px, 5.6vw, 84px); margin-bottom: 22px; text-wrap: balance; }
.dawn-copy > p { color: var(--ink-2); font-size: 19px; max-width: 30rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dawn-mail { display: inline-block; margin-top: 26px; color: var(--ink-2); font-size: 16px; text-underline-offset: 4px; }
.dawn-mail:hover { color: var(--teal); }
.qr-card {
  justify-self: center; display: grid; justify-items: center; gap: 14px;
  padding: 28px; border-radius: 32px; background: #fff;
  box-shadow: 0 40px 80px -40px rgba(11, 43, 46, .35);
  transform: rotate(3deg);
}
.qr-card { text-decoration: none; transition: transform .5s var(--ease); }
.qr-card:hover { transform: rotate(0deg) scale(1.02); }
.qr-card > img { width: 200px; height: 200px; image-rendering: pixelated; }
.qr-card span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }

/* ───────────── Footer ───────────── */
.foot { background: #F3E7E1; padding: 0 0 36px; }
.disclaimer { padding: 28px 0; border-top: 1px solid rgba(11, 43, 46, .14); color: var(--ink-2); font-size: 15px; max-width: 64rem; }
.disclaimer strong { color: var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.foot-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-copy { color: var(--ink-2); font-size: 14px; }

/* ───────────── Responsive ───────────── */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero-inner { padding: 104px 0 28px; }
  .hero-title { font-size: clamp(38px, 11vw, 60px); }
  .hero-pulse { height: 104px; margin: 16px 0 10px; }
  .moment { display: none; }
  /* Phones: zoom in on Europe and the Caucasus, Belgium at 34% of the width */
  .hero-world { width: 250vw; left: calc(34vw - 250vw * .5133); top: calc(104px - 250vw * .3833 * .2117); transform: none; }
  .hero-actions { margin-top: 22px; }
  .hero-modules { gap: 8px 22px; padding-bottom: 28px; }
  .hero-modules li { font-size: 13px; }

  .medi-grid, .spaces-grid, .faq-grid, .dawn-grid { grid-template-columns: 1fr; }
  .chat { transform: none; min-height: 0; }
  .chat:hover { transform: none; }
  .space-preview { display: none; }
  .space-desc { opacity: 1; }
  .space-name { color: var(--ink); }
  .space { padding: 20px 2px; }
  .promise-facts { grid-template-columns: 1fr; }
  .faq-grid h2 { position: static; }
  .faq summary { font-size: 17px; }
  .qr-card { display: none; }
  .foot-links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .hero-pulse path { stroke-dashoffset: 0; }
  .hero-pulse .pulse-spark { display: none; }
  .moment, .moment-card, .world-dot { opacity: 1; animation: none; }
  .world-dot::after { display: none; }
  .moment-card { transform: translateX(-50%); }
}

.foot-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--ink); }
.foot-brand img { border-radius: 8px; }

/* MEDIRUN campaign „გაანათე თბილისი“: hero button + one night band in the poster language (details at /medirun) */
.hero-promo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(11, 43, 46, .12); opacity: 0; animation: fade .9s .1s var(--ease) forwards;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s; }
.hero-promo:hover { transform: translateY(-1px); background: #fff; box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .45), 0 10px 24px -14px rgba(11, 43, 46, .35); }
.hero-promo b { color: var(--teal); font-weight: 700; }
.hero-promo i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); animation: promo-beat 1.6s infinite; }
.hero-promo svg { opacity: .6; transition: transform .25s var(--ease); }
.hero-promo:hover svg { transform: translateX(3px); }
@keyframes promo-beat { 0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, .6); } 70% { box-shadow: 0 0 0 9px rgba(94, 234, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } }

.glow { position: relative; isolation: isolate; overflow: hidden; background: #030712; color: #E2E8F0; padding: clamp(96px, 12vw, 160px) 0; }
.glow-art { position: absolute; inset: 0; z-index: -2; }
.glow-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #030712 0%, rgba(3, 7, 18, .92) 34%, rgba(3, 7, 18, .35) 68%, rgba(3, 7, 18, .55) 100%),
              linear-gradient(180deg, #030712 0%, rgba(3, 7, 18, 0) 18%, rgba(3, 7, 18, 0) 78%, #030712 100%); }
.glow-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.glow-copy { display: grid; gap: 20px; max-width: 36rem; }
.glow-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.glow-brand { font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.glow-brand b { color: #14B8A6; font-style: italic; }
.glow-chip { border: 1.5px solid rgba(94, 234, 212, .5); border-radius: 999px; padding: 5px 13px; font-size: 14px; font-weight: 700; color: #99F6E4; background: rgba(3, 7, 18, .55); white-space: nowrap; }
.glow h2 { font-size: clamp(48px, 7vw, 104px); color: #fff; text-wrap: balance; }
.glow-lead { font-size: clamp(17px, 1.4vw, 20px); color: #CBD5E1; max-width: 32rem; }
.glow-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.glow-facts li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 18px; border-radius: 18px;
  background: rgba(13, 27, 48, .7); border: 1px solid rgba(94, 234, 212, .22); backdrop-filter: blur(6px); }
.glow-facts b { color: #5EEAD4; font-weight: 800; font-size: 16px; }
.glow-facts span { color: #E2E8F0; font-size: 15.5px; }
.glow-facts li.is-gold { border-color: rgba(252, 211, 77, .45); } .glow-facts li.is-gold b { color: #FCD34D; }
.glow-facts li.is-red { border-color: rgba(253, 164, 175, .55); background: linear-gradient(90deg, rgba(244, 63, 94, .22), rgba(13, 27, 48, .7)); } .glow-facts li.is-red b { color: #FDA4AF; }
.glow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.glow-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; background: #14B8A6; color: #022C29;
  font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 12px 34px rgba(20, 184, 166, .38); transition: background .2s, transform .25s var(--ease); }
.glow-btn:hover { background: #5EEAD4; transform: translateY(-1px); }
.glow-link { color: #E2E8F0; font-weight: 600; text-underline-offset: 4px; }
.glow-visual { position: relative; aspect-ratio: 1; width: min(100%, 460px); justify-self: center; display: grid; place-items: center; }
.glow-visual img { position: relative; width: 46%; filter: drop-shadow(0 0 34px rgba(45, 212, 191, .55)) drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); animation: glow-float 4.5s ease-in-out infinite; }
.glow-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(94, 234, 212, .55); inset: 22%; animation: glow-pulse 3.2s var(--ease) infinite; }
.glow-ring.r2 { inset: 10%; opacity: .55; animation-delay: .5s; } .glow-ring.r3 { inset: -2%; opacity: .28; animation-delay: 1s; }
@keyframes glow-float { 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes glow-pulse { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.04); } 24% { transform: scale(1); } 36% { transform: scale(1.025); } }
@media (max-width: 860px) {
  .glow-grid { grid-template-columns: 1fr; }
  .glow-visual { width: min(70%, 300px); order: -1; }
  .glow::before { background: linear-gradient(180deg, #030712 0%, rgba(3, 7, 18, .55) 30%, rgba(3, 7, 18, .9) 55%, #030712 100%); }
  .glow-facts li { grid-template-columns: 1fr; gap: 2px; }
  .hero-promo { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-promo, .hero-promo i, .glow-visual img, .glow-ring, .hero-title > span, .hero-lead, .hero-actions, .hero-modules, .pulse-beat { animation: none; opacity: 1; }
}
