/* =========================================================
   Welloria Health — Structured Wellness Tech (Light Mode)
   Organized stylesheet

   Palette:
   --primary:   #2F4858
   --secondary: #4C6F7A
   --bg:        #F4F6F8
   --card:      #FFFFFF
   --text:      #1E2A32
   --muted:     #5A6B76
   --line:      #D9E1E6
   --accent:    #7BA6B1
========================================================= */


/* =========================================================
   1) CSS Variables
========================================================= */
:root{
  --primary:#2F4858;
  --secondary:#4C6F7A;
  --bg:#F4F6F8;
  --card:#FFFFFF;
  --text:#1E2A32;
  --muted:#5A6B76;
  --line:#D9E1E6;
  --accent:#7BA6B1;

  --radius:14px;
  --radius-lg:16px;

  --shadow:0 10px 30px rgba(30,42,50,.08);
  --shadow-soft:0 6px 18px rgba(30,42,50,.06);

  --container:1180px;
  --content:860px;
  --article:820px;
}


/* =========================================================
   2) Base / Reset
========================================================= */
*{ box-sizing:border-box; }

html,
body{
  height:100%;
}

body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#f5f8fb;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

a{
  color:var(--primary);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

a.btn{
  text-decoration:none;
}

main{
  padding:28px 0 40px;
}


/* =========================================================
   3) Layout / Containers / Sections
========================================================= */
.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.section{
  padding:50px 20px;
}

.section-tight{
  padding-top:0;
}

.narrow{
  max-width:760px;
  margin:auto;
}

.hr{
  height:1px;
  background:var(--line);
  margin:18px 0;
}

.rule{
  border:none;
  border-top:1px solid var(--line);
  margin:2rem 0;
}

.section-divider{
  height:1px;
  width:100%;
  max-width:var(--content);
  margin:36px auto;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(47,72,88,.18),
    transparent
  );
}

.section-head{
  margin-bottom:1.5rem;
}

.section-head h2{
  margin-bottom:.5rem;
}

.section-actions{
  display:flex;
  justify-content:flex-start;
}


/* =========================================================
   4) Typography
========================================================= */
h1{
  margin:14px 0 10px;
  font-size:42px;
  line-height:1.1;
  letter-spacing:-0.04em;
}

h2{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.2;
  letter-spacing:-0.03em;
}

h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:-0.02em;
}

.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
}

.fineprint,
.small{
  font-size:.9rem;
}

.fineprint{
  color:var(--muted);
  margin:10px 0 0;
  max-width:620px;
}

.muted{
  color:var(--muted);
}


/* =========================================================
   5) Brand / Logo
========================================================= */
.logo,
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.logo-icon,
.brand-logo{
  width:34px;
  height:34px;
}

.logo-icon{
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.brand-mark{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
}

.brand-text{
  display:flex;
  gap:6px;
  align-items:baseline;
  line-height:1;
}

.brand-name{
  font-weight:600;
  font-size:1.05rem;
  color:var(--text);
}

.brand-sub{
  font-weight:500;
  color:var(--muted);
  font-size:.95rem;
}

.brand:hover{
  opacity:.9;
}


/* =========================================================
   6) Header / Navigation
========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(244,246,248,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-link{
  padding:10px 10px;
  border-radius:10px;
  color:var(--text);
  font-weight:600;
  text-decoration:none;
}

.nav-link:hover{
  background:rgba(47,72,88,.08);
  text-decoration:none;
}

.nav-link.is-active{
  background:rgba(47,72,88,.12);
}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--text);
  margin:4px 0;
  border-radius:2px;
}

/* Mobile Nav */
.mobile-nav{
  border-top:1px solid var(--line);
  background:var(--bg);
}

.mobile-nav-inner{
  padding:14px 0 18px;
  display:grid;
  gap:10px;
}

.mobile-link{
  display:block;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--card);
  color:var(--text);
  font-weight:700;
  text-decoration:none;
}

.mobile-link:hover{
  text-decoration:none;
  border-color:rgba(47,72,88,.25);
}

.welcome-pop{
  animation:welcomePop .35s ease-out both;
}

@keyframes welcomePop{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}


/* =========================================================
   7) Buttons
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:800;
  cursor:pointer;
  transition:
    transform .06s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.btn:hover{
  text-decoration:none;
}

.btn:active{
  transform:translateY(1px);
}

.btn-primary{
  background:var(--primary);
  color:#fff;
  box-shadow:var(--shadow-soft);
}

.btn-primary:hover{
  background:#27404f;
}

.btn-outline{
  background:transparent;
  border-color:rgba(47,72,88,.25);
  color:var(--primary);
}

.btn-outline:hover{
  background:rgba(47,72,88,.08);
}

.btn-secondary{
  background:rgba(123,166,177,.14);
  border-color:rgba(123,166,177,.45);
  color:var(--primary);
}

.btn-secondary:hover{
  background:rgba(123,166,177,.20);
  border-color:rgba(123,166,177,.65);
}

.btn-block{
  width:100%;
}

.btn-large{
  padding:14px 26px;
  font-size:1.05rem;
}


/* =========================================================
   8) Badges / Kicker / Pills
========================================================= */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.65);
  color:var(--secondary);
  font-weight:600;
  font-size:.8rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.kicker-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  padding:.35rem .9rem;
  border-radius:999px;
  border:1px solid rgba(47,72,88,.18);
  background:rgba(47,72,88,.06);
  color:var(--primary);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.pillars{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.pillar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(47,72,88,.18);
  background:rgba(47,72,88,.06);
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  color:var(--primary);
}


/* =========================================================
   9) Cards / Grids
========================================================= */
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}

.card-body{
  padding:2.25rem 2.5rem;
}

.cards-grid{
  max-width:var(--content);
  margin:0 auto;
  display:grid;
  gap:2rem;
}

.card-link{
  display:block;
  color:inherit;
  text-decoration:none;
}

.card-link:hover{
  text-decoration:none;
  border-color:rgba(47,72,88,.18);
  box-shadow:var(--shadow);
}

.card.card-hover{
  transition:transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}

.card.card-hover:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
  border-color:rgba(47,72,88,.22);
}

.card-meta{
  color:var(--muted);
  font-weight:700;
  font-size:12px;
}

.card-title{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.25;
  letter-spacing:-0.02em;
}

.card-text{
  margin:0;
  color:var(--muted);
}

.card-lead{
  font-weight:500;
  margin-bottom:8px;
}

.card-list{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
}

.card-list li{
  margin-bottom:4px;
}


/* =========================================================
   10) Hero / Home Sections
========================================================= */
.hero{
  padding:34px 0 16px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:stretch;
}

.hero-copy{
  padding:28px;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.hero-panel{
  padding:18px;
  display:grid;
  gap:12px;
}

.panel-title{
  font-weight:900;
  letter-spacing:-0.02em;
  margin:4px 0 0;
}

.panel-sub{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.hero-panel-soft{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0.85),
    rgba(244,246,248,0.65)
  );
  border:1px solid var(--line);
  border-radius:18px;
  padding:36px 40px;
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(6px);
}


/* =========================================================
   11) Metrics / Features / Utility Grids
========================================================= */
.metric-row{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}

.metric{
  background:rgba(244,246,248,.55);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
}

.metric .label{
  color:var(--muted);
  font-weight:700;
  font-size:12px;
}

.metric .value{
  font-weight:900;
  font-size:20px;
  margin-top:6px;
  letter-spacing:-0.02em;
}

.metric .sub{
  color:var(--muted);
  font-size:12px;
  margin-top:4px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  align-items:stretch;
}

.grid-3 .card{
  height:100%;
  transition:transform .12s ease, box-shadow .18s ease;
}

.grid-3 .card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.grid-3 .card-body{
  display:flex;
  flex-direction:column;
  height:100%;
}

.feature{
  padding:18px;
}

.feature p{
  margin:0;
  color:var(--muted);
}


/* =========================================================
   12) Tools / Product UI
========================================================= */
.tool-card .tool-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.card-body .form-actions{
  margin-top:auto;
}


/* =========================================================
   13) Forms / Fields / Notes
========================================================= */
form{
  display:block;
}

.field-label{
  display:block;
  font-weight:800;
  margin:10px 0 6px;
  color:var(--text);
}

.field{
  width:100%;
  max-width:100%;
  display:block;
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 14px;
  min-height:48px;
  font:inherit;
  font-size:16px;
  line-height:1.25;
  background:var(--card);
}

.field:focus{
  outline:2px solid rgba(123,166,177,.35);
  border-color:rgba(47,72,88,.35);
}

.card .field-label{
  display:block;
  margin:0 0 8px;
}

.card .field{
  width:100%;
  display:block;
}

.form-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.form-actions .btn{
  width:100%;
  justify-content:center;
}

.checklist{
  display:grid;
  gap:10px;
}

.check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--text);
  font-weight:700;
}

.check input{
  margin-top:3px;
}

.notes{
  display:grid;
  gap:12px;
}

.note-item{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  background:rgba(244,246,248,.55);
}

.note-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.note-text{
  margin-top:8px;
  color:var(--muted);
  font-weight:600;
}


/* =========================================================
   14) Meal Builder UI
========================================================= */
.meal-result{
  margin-top:1.25rem;
}

.meal-scoreline{
  display:flex;
  gap:.75rem;
  align-items:center;
  margin-bottom:.75rem;
}

.meal-score{
  font-weight:900;
}

.meal-label{
  font-size:.95rem;
  opacity:.85;
}

.meal-breakdown{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:.75rem 0;
}

.meal-pill{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.35rem .7rem;
  border-radius:999px;
  border:1px solid rgba(120,140,150,.35);
  background:rgba(120,140,150,.10);
  font-weight:700;
  font-size:.92rem;
}

.meal-pill.miss{
  opacity:.75;
}

.meal-tip{
  margin-bottom:.85rem;
  opacity:.92;
}

.meal-actions{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top:.6rem;
}


/* =========================================================
   15) Modal
========================================================= */
body.modal-open{
  overflow:hidden;
}

.modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
}

.modal.is-open{
  display:block;
}

.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(2px);
}

.modal-dialog{
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:min(860px, calc(100% - 2rem));
  max-height:calc(100vh - 2rem);
  overflow:auto;
  background:#0f1720;
  color:#f5f8fa;
  border:1px solid rgba(140,170,180,.25);
  border-radius:16px;
  padding:1.25rem 1.25rem 1rem;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}

.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.modal-header h3{
  margin:0;
}

.modal-close{
  border:none;
  background:transparent;
  color:inherit;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  opacity:.85;
}

.modal-close:hover{
  opacity:1;
}

.modal-sub{
  margin:.5rem 0 1rem;
  opacity:.9;
}

.modal-textarea{
  min-height:320px;
  width:100%;
  background:#1e2a33;
  color:#f5f8fa;
  border:1px solid rgba(180,200,210,.35);
  border-radius:14px;
  padding:1rem 1.1rem;
  line-height:1.55;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:.95rem;
}

.modal-textarea:focus{
  outline:none;
  border-color:rgba(123,166,177,.55);
  box-shadow:0 0 0 3px rgba(123,166,177,.18);
}

.modal-actions{
  display:flex;
  gap:.75rem;
  justify-content:flex-end;
  margin-top:1rem;
  flex-wrap:wrap;
}

.modal-note{
  margin-top:.65rem;
  font-size:.95rem;
  opacity:.9;
}


/* =========================================================
   16) CTA Blocks
========================================================= */
.cta-card{
  background:#f9fbfd;
  border:1px solid rgba(20,40,60,.08);
  border-radius:var(--radius-lg);
  padding:2rem;
  box-shadow:var(--shadow-soft);
}

.cta-wide{
  max-width:var(--content);
  margin:2rem auto 0;
}

.cta-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:14px;
}


/* =========================================================
   17) App / Mobile Promo Sections
========================================================= */
.app-coming-soon{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
  align-items:center;
}

.app-image img{
  width:100%;
  max-width:650px;
  border-radius:18px;
}

.app-banner{
  background:#eef3f6;
  border-bottom:1px solid var(--line);
}

.app-banner-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
}

.app-banner-text{
  font-size:.95rem;
  color:var(--text);
}

.app-banner-text span{
  margin-left:8px;
  color:var(--muted);
}

.signup-title{
  font-size:2rem;
  font-weight:700;
  margin-bottom:12px;
}

.signup-sub{
  font-size:1.1rem;
  color:var(--muted);
  margin-bottom:16px;
}

.signup-benefits{
  font-size:.95rem;
  color:var(--muted);
  margin-bottom:20px;
}

.signup-proof{
  font-size:.9rem;
  color:var(--muted);
  margin-top:16px;
}

.signup-card{
  border:1px solid var(--line);
}


/* =========================================================
   18) Image Preview / Popup
========================================================= */
.app-preview{
  position:relative;
  display:inline-block;
}

.preview-thumb{
  width:100%;
  max-width:420px;
  border-radius:18px;
  cursor:pointer;
  transition:transform .25s ease;
}

.preview-thumb:hover{
  transform:scale(1.03);
}

.preview-popup{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) scale(.9);
  max-width:90vw;
  max-height:90vh;
  width:auto;
  height:auto;
  opacity:0;
  pointer-events:none;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  transition:all .25s ease;
  z-index:9999;
}

.app-preview:hover .preview-popup{
  opacity:1;
  transform:translate(-50%, -50%) scale(1);
}

.app-preview::after{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  transition:.25s;
  pointer-events:none;
}

.app-preview:hover::after{
  opacity:1;
}

@media (hover:hover) and (pointer:fine){
  .preview-popup{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%) scale(.9);
    max-width:90vw;
    max-height:90vh;
    width:auto;
    height:auto;
    opacity:0;
    pointer-events:none;
    border-radius:18px;
    box-shadow:0 30px 80px rgba(0,0,0,.45);
    transition:all .25s ease;
    z-index:9999;
  }

  .app-preview:hover .preview-popup{
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
  }
}


/* =========================================================
   19) MailerLite Embed
========================================================= */
.ml-embed{
  max-width:420px;
}

.ml-embed input{
  width:100%;
  padding:12px 14px;
  border-radius:8px;
  border:1px solid #D9E1E6;
  font-size:15px;
}

.ml-embed input:focus{
  outline:none;
  border-color:#4C6F7A;
}

.ml-embed button{
  width:100%;
  padding:14px;
  border-radius:10px;
  border:none;
  font-size:16px;
  font-weight:600;
  background:#2F4858;
  color:white;
  cursor:pointer;
  transition:all .2s ease;
}

.ml-embed button:hover{
  background:#3A5C6F;
  transform:translateY(-1px);
}


/* =========================================================
   20) Articles / Page Hero / Content
========================================================= */
.page-hero{
  padding:60px 20px 40px;
  border-bottom:1px solid var(--line);
}

.page-hero .container{
  max-width:var(--content);
}

.page-hero h1{
  margin-top:10px;
}

.page-hero .lead{
  font-size:1.15rem;
  color:var(--muted);
  max-width:720px;
}

.meta{
  margin-top:18px;
  font-size:.9rem;
  color:var(--muted);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.article{
  padding:2.5rem 0 4rem;
}

.article-body{
  max-width:var(--article);
  margin:0 auto;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:3rem;
  line-height:1.7;
}

.article-body h2{
  margin-top:2.2rem;
  margin-bottom:1rem;
}

.article-body p,
.article-body ul,
.article-body ol{
  margin-bottom:1.25rem;
}

.article-body ul,
.article-body ol{
  padding-left:1.25rem;
}

.section p{
  margin-bottom:1.2rem;
  line-height:1.7;
}

.section h2{
  margin-top:2rem;
  margin-bottom:.7rem;
  font-size:1.6rem;
}

.section h3{
  margin-top:1.6rem;
  margin-bottom:.4rem;
  font-size:1.2rem;
}

.section ul,
.section ol{
  margin:1rem 0 1.5rem 1.4rem;
}

.section li{
  margin-bottom:.4rem;
}

.callout{
  background:var(--card);
  border:1px solid var(--line);
  border-left:4px solid var(--secondary);
  padding:30px;
  border-radius:12px;
  margin:40px 0;
}

.callout h2{
  margin-top:0;
}

.callout h3{
  margin:0 0 6px;
  font-size:14px;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:var(--secondary);
}

.callout p{
  margin-bottom:1rem;
}

.callout-steel{
  background:#eaf1f6;
  border-left-color:var(--primary);
}

.related-list{
  margin:1rem 0 0;
  padding-left:1.2rem;
}

.related-list li{
  margin-bottom:.55rem;
}

/* =========================================================
   20A) Article Sidebar / TOC / Aside Cards
========================================================= */
.article-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:24px;
  align-items:start;
}

.article-body{
  min-width:0;
}

.article-aside{
  position:sticky;
  top:96px;
}

.aside-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow-soft);
  padding:18px 18px;
  margin-bottom:16px;
}

.aside-card h3{
  margin:0 0 10px;
  font-size:1rem;
  line-height:1.3;
}

.aside-note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.5;
}

.toc,
.linklist{
  margin:0;
  padding-left:1rem;
}

.toc li,
.linklist li{
  margin-bottom:.55rem;
}

.toc a,
.linklist a{
  color:var(--primary);
  text-decoration:none;
  font-weight:600;
}

.toc a:hover,
.linklist a:hover{
  text-decoration:underline;
}

/* =========================================================
   21) FAQ
========================================================= */
.faq-section{
  padding:56px 20px;
}

.faq-wrap{
  max-width:860px;
  margin:0 auto;
}

.faq-title{
  margin:0 0 22px;
}

.faq-item{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px 28px;
  margin-bottom:14px;
  box-shadow:none;
}

.faq-item:last-child{
  margin-bottom:0;
}

.faq-question{
  margin:0 0 8px;
  font-size:1.15rem;
  line-height:1.3;
}

.faq-answer{
  margin:0;
  font-size:1rem;
  line-height:1.6;
  color:var(--muted);
}


/* =========================================================
   22) Footer
========================================================= */
.site-footer{
  border-top:1px solid var(--line);
  padding:26px 0 18px;
  background:rgba(244,246,248,.9);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.footer-brand{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.footer-title{
  font-weight:900;
  letter-spacing:-0.02em;
}

.footer-sub{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  margin-top:2px;
}

.footer-right{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.footer-link{
  color:var(--muted);
  font-weight:800;
  text-decoration:none;
}

.footer-link:hover{
  color:var(--text);
  text-decoration:none;
}

.footer-bottom{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.footer-latest{
  margin:0 0 24px;
  padding:20px 24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card);
}

.footer-kicker{
  margin:0 0 8px;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:600;
  color:var(--secondary);
}

.footer-latest-title{
  margin:0 0 8px;
  font-size:1.15rem;
  line-height:1.3;
}

.footer-latest-title a{
  color:var(--text);
  text-decoration:none;
}

.footer-latest-title a:hover{
  text-decoration:underline;
}

.footer-latest-text{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.6;
}

.footer-latest-link{
  margin:0;
}

.footer-latest-link a{
  font-weight:600;
  text-decoration:none;
}

.footer-latest-link a:hover{
  text-decoration:underline;
}


/* =========================================================
   23) Responsive
========================================================= */
@media (min-width:600px){
  .form-actions .btn{
    width:auto;
  }
}

@media (max-width:980px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  h1{
    font-size:36px;
  }

  .grid-3{
    grid-template-columns:1fr;
  }

  .metric-row{
    grid-template-columns:1fr;
  }

  .nav{
    display:none;
  }

  .nav-toggle{
    display:inline-flex;
  }

  .footer-inner{
    flex-direction:column;
  }

  .article-body{
    padding:2rem;
  }

  .card-body{
    padding:1.75rem;
  }

  .article-grid{
    grid-template-columns:1fr;
  }

  .article-aside{
    position:static;
  }
}

@media (max-width:900px){
  .app-coming-soon{
    grid-template-columns:1fr;
  }

  .app-image{
    text-align:center;
  }
}

@media (max-width:700px){
  .page-hero{
    padding:40px 20px 30px;
  }

  .section{
    padding:35px 20px;
  }

  .section h2{
    font-size:1.4rem;
  }

  .cta-actions,
  .form-actions{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .cta-actions .btn,
  .form-actions .btn{
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .app-banner-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .faq-section{
    padding:40px 16px;
  }

  .faq-item{
    padding:18px 18px;
    border-radius:16px;
  }

  .faq-question{
    font-size:1.02rem;
  }

  .faq-answer{
    font-size:.96rem;
    line-height:1.5;
  }
}

@media (max-width:600px){
  .modal-dialog{
    width:calc(100% - 1.25rem);
    max-height:calc(100vh - 1.25rem);
    border-radius:14px;
  }
}