/* ============================================================
 * Jey Здоров'я / Jey Здоровье — Marketing Landing
 * Built on the JeyAI Golden Dark token set, with bright-warm
 * surfaces for medical-trust content per CIS healthtech research.
 * ============================================================ */

/* ---------- font-face (local files, preloaded in <head>) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Variable.ttf') format('truetype-variations'),
       url('fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Italic-Variable.ttf') format('truetype-variations'),
       url('fonts/Inter-Italic-Variable.ttf') format('truetype');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-Variable.ttf') format('truetype-variations'),
       url('fonts/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  /* tokens from JeyAI Design System */
  --jy-bg-primary:     #0D0D0D;
  --jy-bg-secondary:   #161616;
  --jy-bg-card:        #1a1a1a;
  --jy-bg-elevated:    #27272a;
  --jy-accent:         #F7B500;
  --jy-accent-hover:   #D4A017;
  --jy-accent-light:   #FFD54F;
  --jy-accent-bg:      rgba(247,181,0,0.08);
  --jy-accent-subtle:  rgba(247,181,0,0.12);
  --jy-text-on-accent: #000;
  --jy-text-primary:   #fafafa;
  --jy-text-secondary: #9CA3AF;
  --jy-text-tertiary:  #6B7280;
  --jy-success: #22c55e;
  --jy-warning: #f59e0b;
  --jy-error:   #dc2626;
  --jy-info:    #3b82f6;
  --jy-border:        rgba(255,255,255,0.06);
  --jy-border-hover:  rgba(255,255,255,0.10);

  /* light-surface palette (medical-trust content) */
  --warm-bg:        #faf9f7;
  --warm-card:      #ffffff;
  --warm-border:    #e8e4dc;
  --warm-text:      #18181b;
  --warm-text-2:    #3f3f46;
  --warm-text-3:    #6b6b73;
  --warm-divider:   #ece9e1;

  /* fonts */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* spacing */
  --sp-xs: 4px; --sp-sm: 8px; --sp-md: 12px; --sp-lg: 16px;
  --sp-xl: 20px; --sp-2xl: 24px; --sp-3xl: 32px; --sp-4xl: 48px;
  --sp-5xl: 64px; --sp-6xl: 96px;

  /* radii */
  --r-sm: 8px; --r-md: 12px; --r-lg: 14px; --r-xl: 16px;
  --r-2xl: 20px; --r-3xl: 28px; --r-full: 100px;

  /* container */
  --container: 1200px;
  --container-narrow: 960px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--jy-bg-primary);
  color: var(--jy-text-primary);
  font-feature-settings: 'cv02','cv11','ss01';
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }

/* utility */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-2xl); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-2xl); }
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 var(--sp-lg); }
}

/* sections */
.section { padding: var(--sp-6xl) 0; }
.section-tight { padding: var(--sp-5xl) 0; }
.section.dark { background: var(--jy-bg-primary); color: var(--jy-text-primary); }
.section.warm { background: var(--warm-bg); color: var(--warm-text); }
.section.bright { background: var(--warm-card); color: var(--warm-text); }
@media (max-width: 768px) {
  .section { padding: var(--sp-5xl) 0; }
  .section-tight { padding: var(--sp-4xl) 0; }
}

/* dark vs light text overrides */
.section.warm h1, .section.warm h2, .section.warm h3,
.section.bright h1, .section.bright h2, .section.bright h3 { color: var(--warm-text); }
.section.warm p, .section.bright p { color: var(--warm-text-2); }

/* ============================================================
 * HEADER
 * ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--jy-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-lg);
  padding: var(--sp-md) var(--sp-2xl);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: var(--sp-md);
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.01em;
  color: var(--jy-text-primary);
}
.brand__mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--jy-bg-card); display: grid; place-items: center;
  flex-shrink: 0;
}
.brand__mark img { width: 26px; height: 26px; }
.brand__name { white-space: nowrap; }

.site-nav { display: none; gap: var(--sp-2xl); }
@media (min-width: 1024px) {
  .site-nav { display: flex; }
}
.site-nav a {
  font-size: 14px; font-weight: 500;
  color: var(--jy-text-secondary);
  padding: var(--sp-sm) 0;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--jy-text-primary); }

.header-right { display: flex; align-items: center; gap: var(--sp-md); }

/* language toggle */
.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-full);
  padding: 2px;
  font-size: 13px;
  font-weight: 600;
}
.lang-toggle button {
  padding: 6px 12px;
  border-radius: var(--r-full);
  color: var(--jy-text-secondary);
  transition: all 0.15s ease;
  min-width: 36px;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--jy-accent);
  color: var(--jy-text-on-accent);
}
.section.warm .lang-toggle,
.section.bright .lang-toggle,
.stay-strip .lang-toggle {
  background: var(--warm-card);
  border-color: var(--warm-border);
}
.section.warm .lang-toggle button,
.section.bright .lang-toggle button { color: var(--warm-text-3); }

/* CTA buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-sm);
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  min-height: 44px;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--jy-accent);
  color: var(--jy-text-on-accent);
}
.btn--primary:hover { background: var(--jy-accent-hover); }
.btn--ghost {
  background: transparent;
  color: var(--jy-text-primary);
  border-color: rgba(255,255,255,0.18);
}
.btn--ghost:hover { border-color: var(--jy-text-primary); }
.section.warm .btn--ghost, .section.bright .btn--ghost {
  color: var(--warm-text); border-color: var(--warm-border);
}
.section.warm .btn--ghost:hover, .section.bright .btn--ghost:hover {
  border-color: var(--warm-text-2);
}
.btn--large {
  padding: 16px 28px;
  font-size: 17px;
  min-height: 56px;
}
.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
  min-height: 36px;
}
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ============================================================
 * HERO
 * ============================================================ */
.hero {
  position: relative;
  padding: var(--sp-5xl) 0 var(--sp-6xl);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(247,181,0,0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; gap: var(--sp-3xl);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: var(--sp-5xl); }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--jy-text-secondary);
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  padding: 6px 12px; border-radius: var(--r-full);
  margin-bottom: var(--sp-xl);
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jy-accent); }
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: var(--sp-xl);
}
.hero h1 .hl { color: var(--jy-accent); }
.hero__sub {
  font-size: 18px;
  color: var(--jy-text-secondary);
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: var(--sp-2xl);
}
.hero__sub--mobile { display: none; }
@media (max-width: 767px) {
  .hero__sub--desktop { display: none; }
  .hero__sub--mobile { display: block; }
  .hero h1 { font-size: 34px; }
  .hero__sub { font-size: 16px; }
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}
.hero__disclaimer {
  font-size: 13px;
  color: var(--jy-text-tertiary);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: var(--sp-md);
}
.hero__micro {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--jy-text-secondary);
  margin-bottom: var(--sp-xl);
}
.trust-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
  color: var(--jy-text-secondary);
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  padding: 6px 12px;
  border-radius: var(--r-full);
}
.trust-chip svg { width: 14px; height: 14px; opacity: 0.7; }

/* ============================================================
 * PHONE MOCKUP (recreates the Mini App home screen)
 * ============================================================ */
.phone-wrap {
  display: flex; justify-content: center; position: relative;
}
.phone {
  position: relative;
  width: 320px;
  background: #0a0a0a;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}
.phone__screen {
  background: var(--jy-bg-primary);
  border-radius: 32px;
  overflow: hidden;
  height: 580px;
  display: flex; flex-direction: column;
  position: relative;
}
.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px 4px;
  font-size: 12px; font-weight: 600;
  color: var(--jy-text-primary);
}
.phone__notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px; background: #000;
  border-radius: 0 0 16px 16px;
}
.phone__tg-bar {
  display: flex; align-items: center; gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--jy-bg-secondary);
  border-bottom: 1px solid var(--jy-border);
}
.phone__tg-bar .back { color: var(--jy-text-secondary); font-size: 18px; }
.phone__tg-title { font-weight: 600; font-size: 14px; color: var(--jy-text-primary); }
.phone__tg-subtitle { font-size: 11px; color: var(--jy-text-tertiary); }
.phone__body {
  flex: 1; overflow: hidden;
  padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-md);
}
.greeting {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--jy-text-primary);
  letter-spacing: -0.01em;
}
.greeting span { color: var(--jy-accent); }
.subgreet { font-size: 12px; color: var(--jy-text-secondary); margin-top: 2px; }
.quick-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: var(--sp-sm);
}
.quick-card {
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.quick-card .ico { font-size: 18px; }
.quick-card .lbl { font-size: 12px; font-weight: 600; color: var(--jy-text-primary); line-height: 1.25; }
.quick-card .sub { font-size: 10.5px; color: var(--jy-text-tertiary); }
.disclaimer-banner {
  margin-top: auto;
  background: var(--jy-warning-subtle, rgba(245,158,11,0.10));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 11px;
  color: var(--jy-warning);
  line-height: 1.4;
}

/* floating chips around phone */
.float-chip {
  position: absolute;
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  font-size: 12px;
}
.float-chip__title { font-size: 11px; color: var(--jy-text-tertiary); margin-bottom: 2px; }
.float-chip__val { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--jy-text-primary); }
.float-chip--lab { top: 12%; left: -64px; }
.float-chip--med { bottom: 18%; right: -60px; }
.float-chip--trend { bottom: 6%; left: -40px; }
.float-chip .trend-line {
  display: block; margin-top: 4px; color: var(--jy-warning); font-size: 11px;
}
@media (max-width: 1024px) {
  .float-chip--lab { left: -20px; }
  .float-chip--med { right: -20px; }
  .float-chip--trend { display: none; }
}
@media (max-width: 600px) {
  .float-chip { display: none; }
  .phone { width: 280px; }
  .phone__screen { height: 520px; }
}

/* ============================================================
 * PROBLEM SECTION
 * ============================================================ */
.section-head { margin-bottom: var(--sp-4xl); }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 800px;
}
.section-head .eyebrow {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--jy-accent);
  margin-bottom: var(--sp-md);
}
.section.warm .section-head .eyebrow,
.section.bright .section-head .eyebrow { color: #a8780a; }

.problem-grid {
  display: grid; gap: var(--sp-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2xl); }
}
.problem-card {
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl);
  display: flex; flex-direction: column; gap: var(--sp-md);
}
.problem-card .icon-box {
  width: 44px; height: 44px;
  background: #f4f1e9;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: #a8780a;
}
.problem-card p { font-size: 16px; color: var(--warm-text); line-height: 1.5; font-weight: 500; }

/* ============================================================
 * INPUT METHODS (dark section, bright cards)
 * ============================================================ */
.input-grid {
  display: grid; gap: var(--sp-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .input-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .input-grid { grid-template-columns: repeat(5, 1fr); } }

.input-card {
  background: var(--warm-card);
  color: var(--warm-text);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl) var(--sp-lg);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 160px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.input-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.input-card .ico {
  font-size: 26px;
  margin-bottom: 4px;
}
.input-card h3 { font-size: 16px; font-weight: 700; color: var(--warm-text); }
.input-card p { font-size: 13.5px; color: var(--warm-text-3); line-height: 1.5; }
.input-foot {
  margin-top: var(--sp-2xl);
  text-align: center;
  font-size: 13px;
  color: var(--jy-text-secondary);
}

/* ============================================================
 * BEFORE / AFTER
 * ============================================================ */
.ba-grid {
  display: grid; gap: var(--sp-2xl);
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) {
  .ba-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); position: relative; }
}
.ba-col {
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  padding: var(--sp-3xl);
  display: flex; flex-direction: column; gap: var(--sp-lg);
  min-height: 0;
}
.ba-col--left { opacity: 0.85; }
.ba-col--right {
  border-left: 4px solid var(--jy-accent);
  position: relative;
}
@media (max-width: 899px) {
  .ba-col--right { border-left: 4px solid var(--jy-accent); border-top: none; }
}
.ba-divider {
  text-align: center;
  font-size: 13px; font-weight: 600;
  color: var(--warm-text-3);
  letter-spacing: 0.1em; text-transform: uppercase;
}
@media (min-width: 900px) {
  .ba-divider { display: none; }
}
.ba-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--warm-text-3);
}
.ba-col--right .ba-label {
  color: #a8780a;
}
.ba-col--right .ba-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--jy-accent);
}
.ba-answer {
  font-size: 16px; line-height: 1.65;
  color: var(--warm-text);
  font-weight: 400;
}
.ba-answer .hl {
  color: #a8780a; font-weight: 600;
  border-bottom: 1.5px solid rgba(247,181,0,0.45);
}
.ba-foot {
  margin-top: var(--sp-2xl);
  text-align: center;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.ba-foot p {
  font-size: 15px;
  color: var(--warm-text-2);
  line-height: 1.55;
  margin-bottom: var(--sp-md);
}
.disc-amber {
  font-size: 13px;
  font-weight: 600;
  color: var(--jy-warning);
  letter-spacing: 0.02em;
}
.disc-micro-dark {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--jy-text-secondary);
}

/* ============================================================
 * TRUST SECTION
 * ============================================================ */
.trust-grid {
  display: grid; gap: var(--sp-lg);
  grid-template-columns: 1fr;
  max-width: 900px;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}
.trust-item {
  display: flex; gap: var(--sp-lg);
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
}
.trust-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: #fdf6dd;
  color: #8a6300;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.trust-item p { font-size: 15.5px; line-height: 1.55; color: var(--warm-text); font-weight: 500; }

.expander {
  margin-top: var(--sp-2xl);
  max-width: 900px;
}
.expander__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: #a8780a;
  text-decoration: underline; text-underline-offset: 4px;
  padding: 12px 0;
  min-height: 44px;
}
.expander__toggle svg {
  width: 20px; height: 20px;
  transition: transform 0.2s ease;
}
.expander__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.expander__panel {
  display: none;
  margin-top: var(--sp-md);
  padding: var(--sp-xl);
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-lg);
}
.expander__panel.open { display: block; }
.expander__panel p { font-size: 14px; line-height: 1.6; color: var(--warm-text-2); margin-bottom: 8px; }
.expander__panel p:last-child { margin-bottom: 0; }

/* ============================================================
 * CAPABILITIES (4 pillars on dark)
 * ============================================================ */
.pillars {
  display: grid; gap: var(--sp-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pillars { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); } }
.pillar {
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-xl);
  padding: var(--sp-3xl);
  display: flex; flex-direction: column; gap: var(--sp-lg);
  transition: border-color 0.2s ease;
}
.pillar:hover { border-color: var(--jy-border-hover); }
.pillar__num {
  width: 36px; height: 36px;
  background: var(--jy-accent-subtle);
  color: var(--jy-accent);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
}
.pillar h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--jy-text-primary);
}
.pillar p {
  font-size: 15.5px;
  color: var(--jy-text-secondary);
  line-height: 1.6;
}
.pillar__fragment {
  margin-top: auto;
  padding-top: var(--sp-lg);
}
.soon-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--jy-warning);
  background: rgba(245,158,11,0.12);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-right: 8px;
}
.pillar__sub {
  font-size: 13px; color: var(--jy-text-secondary);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--jy-border);
  margin-top: var(--sp-md);
}

/* mini reminder fragment in pillar */
.frag-reminder {
  background: var(--jy-bg-elevated);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  color: var(--jy-text-secondary);
}
.frag-reminder .bell {
  width: 28px; height: 28px;
  background: var(--jy-accent-subtle);
  color: var(--jy-accent);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.frag-reminder .med { color: var(--jy-text-primary); font-weight: 600; }

.frag-profiles {
  display: flex; gap: 8px;
  padding-top: var(--sp-md);
}
.profile-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--jy-bg-elevated);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-full);
  padding: 4px 10px 4px 4px;
  font-size: 12px; color: var(--jy-text-secondary);
}
.profile-chip.active { border-color: var(--jy-accent); color: var(--jy-text-primary); }
.profile-chip .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--jy-bg-card);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  color: var(--jy-accent);
}
.profile-chip.active .av { background: var(--jy-accent); color: var(--jy-text-on-accent); }

.frag-trend {
  background: var(--jy-bg-elevated);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-md);
  padding: 12px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
}
.frag-trend .lab { font-size: 11px; color: var(--jy-text-tertiary); }
.frag-trend .val { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; color: var(--jy-text-primary); }
.frag-trend .arrow { color: var(--jy-warning); font-size: 12px; font-weight: 600; }
.frag-trend svg { width: 60px; height: 24px; }

.frag-questions {
  background: var(--jy-bg-elevated);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--jy-text-secondary);
  line-height: 1.45;
}
.frag-questions .q { color: var(--jy-text-primary); font-weight: 500; display: block; margin: 2px 0; }
.frag-questions .q::before { content: '·  '; color: var(--jy-accent); font-weight: 700; }

/* ============================================================
 * FAMILY SECTION
 * ============================================================ */
.family-grid {
  display: grid; gap: var(--sp-3xl);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .family-grid { grid-template-columns: 1fr 1fr; }
}
.family-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: var(--sp-lg);
}
.family-text p {
  font-size: 17px; color: var(--warm-text-2); line-height: 1.6;
  max-width: 520px;
}
.family-phone {
  display: flex; justify-content: center;
}

/* phone: family-profile view */
.phone--family .phone__body {
  gap: var(--sp-sm);
}
.phone__profile-strip {
  display: flex; gap: 8px;
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--jy-border);
}
.profile-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  background: var(--jy-bg-elevated);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-full);
  font-size: 11px; color: var(--jy-text-secondary);
}
.profile-pill.active { border-color: var(--jy-accent); color: var(--jy-text-primary); }
.profile-pill .av {
  width: 20px; height: 20px;
  border-radius: 50%; background: var(--jy-bg-card);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  color: var(--jy-accent);
}
.profile-pill.active .av { background: var(--jy-accent); color: var(--jy-text-on-accent); }
.mini-lab {
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  border-left: 3px solid var(--jy-warning);
  border-radius: var(--r-md);
  padding: 10px 12px;
}
.mini-lab .head { font-size: 10px; color: var(--jy-warning); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mini-lab .lab { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.mini-lab .lab .name { font-size: 12px; color: var(--jy-text-primary); font-weight: 500; }
.mini-lab .lab .val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; color: var(--jy-text-primary); }
.mini-meds {
  background: var(--jy-bg-card);
  border: 1px solid var(--jy-border);
  border-radius: var(--r-md);
  padding: 10px 12px;
}
.mini-meds .head { font-size: 10px; color: var(--jy-text-tertiary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.mini-meds .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--jy-text-primary); padding: 2px 0; }
.mini-meds .row .dose { color: var(--jy-text-tertiary); font-variant-numeric: tabular-nums; }

/* ============================================================
 * PRICING
 * ============================================================ */
.pricing-rows {
  display: grid; gap: var(--sp-lg);
  max-width: 820px;
  margin: 0 auto;
}
.pricing-row {
  display: flex; gap: var(--sp-xl);
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  padding: var(--sp-xl) var(--sp-2xl);
  align-items: flex-start;
}
.pricing-row .num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: #fdf6dd;
  color: #a8780a;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
}
.pricing-row p { font-size: 16px; color: var(--warm-text); line-height: 1.55; font-weight: 500; }
.pricing-row p .kbd {
  font-weight: 700; color: #a8780a;
  border-bottom: 1.5px solid rgba(247,181,0,0.45);
}
.pricing-note {
  text-align: center;
  max-width: 720px; margin: var(--sp-2xl) auto 0;
  font-size: 14px;
  color: var(--warm-text-3);
}

/* ============================================================
 * FAQ
 * ============================================================ */
.faq {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--sp-md);
}
.faq-item {
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-lg);
  width: 100%;
  padding: var(--sp-xl) var(--sp-2xl);
  text-align: left;
  font-size: 16.5px; font-weight: 600;
  color: var(--warm-text);
  min-height: 56px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.faq-q__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f4f1e9;
  display: grid; place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-q__icon svg { width: 14px; height: 14px; }
.faq-item[data-open="true"] .faq-q__icon { transform: rotate(45deg); background: var(--jy-accent); color: var(--jy-text-on-accent); }
.faq-a {
  display: none;
  padding: 0 var(--sp-2xl) var(--sp-xl);
}
.faq-item[data-open="true"] .faq-a { display: block; }
.faq-a p { font-size: 15.5px; color: var(--warm-text-2); line-height: 1.6; }
.faq-foot {
  text-align: center;
  margin-top: var(--sp-2xl);
}

/* ============================================================
 * FINAL CTA
 * ============================================================ */
.final-cta {
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: var(--sp-lg);
  max-width: 880px;
  margin-left: auto; margin-right: auto;
}
.final-cta p {
  font-size: 18px;
  color: var(--jy-text-secondary);
  max-width: 560px;
  margin: 0 auto var(--sp-2xl);
}
.final-cta .micro { margin-top: var(--sp-lg); }

/* ============================================================
 * STAY CONNECTED
 * ============================================================ */
.stay-strip h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--sp-xl);
  text-align: center;
}
.stay-grid {
  display: grid; gap: var(--sp-md);
  grid-template-columns: 1fr;
  max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) { .stay-grid { grid-template-columns: repeat(3, 1fr); } }
.stay-card {
  display: flex; gap: var(--sp-md);
  align-items: center;
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.stay-card:hover { transform: translateY(-2px); border-color: #d4cebc; }
.stay-card .tg-ico {
  width: 40px; height: 40px;
  background: #229ED9;
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.stay-card .tg-ico svg { width: 20px; height: 20px; }
.stay-card .handle {
  font-size: 14px; font-weight: 700; color: var(--warm-text);
  margin-bottom: 2px;
}
.stay-card .desc { font-size: 13px; color: var(--warm-text-3); line-height: 1.4; }

/* ============================================================
 * FOOTER
 * ============================================================ */
.site-footer {
  background: var(--jy-bg-primary);
  border-top: 1px solid var(--jy-border);
  padding: var(--sp-5xl) 0 var(--sp-2xl);
  color: var(--jy-text-secondary);
}
.footer-grid {
  display: grid; gap: var(--sp-3xl);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-4xl); }
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jy-text-tertiary);
  margin-bottom: var(--sp-lg);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--jy-text-secondary);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--jy-text-primary); }
.footer-product__desc {
  font-size: 14px; color: var(--jy-text-secondary);
  line-height: 1.55;
  margin-top: var(--sp-md);
  max-width: 320px;
}
.footer-parent { font-size: 13px; color: var(--jy-text-tertiary); margin-top: var(--sp-md); }
.footer-parent a { color: var(--jy-accent); }
.footer-bottom {
  margin-top: var(--sp-4xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--jy-border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-md);
  font-size: 12px;
  color: var(--jy-text-tertiary);
}
.footer-disclaimer {
  margin-top: var(--sp-lg);
  font-size: 12px;
  color: var(--jy-text-tertiary);
  line-height: 1.55;
  max-width: 720px;
}

/* ============================================================
 * MISC
 * ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
