:root {
  --bg:     #F3F5FB;   /* light cool page (relates to the blue logo) */
  --bg-2:   #FFFFFF;   /* white cards / raised */
  --tint:   #EDF1FD;   /* faint blue tint for panels */
  --ink:    #14161D;   /* primary text */
  --muted:  #5C6373;   /* secondary text */
  --muted-2:#878D9C;   /* tertiary / captions */
  --line:   #E4E8F2;   /* hairline on light */
  --blue:   #4B76F9;   /* app START button */
  --blue-d: #3F63EA;
  --sky:    #72B8FF;   /* gradient bottom */
  --peri:   #859EFF;   /* periwinkle gauge fill */
  /* dark "device screen" tokens — the recreated app cards stay dark, true to the app */
  --d-screen: #17171C;
  --d-card:   #1F1F25;
  --d-line:   #2D2D35;
  --d-fg:     #F3F3F6;
  --d-muted:  #8B8E98;
  --d-track:  #34343C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: "Raleway", sans-serif; letter-spacing: -0.01em; }

/* Shared structural device: the app's gray uppercase micro-label */
.eyebrow {
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Nav ---------- */
nav.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,245,251,.78); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: "Raleway"; font-weight: 400; font-size: 21px; letter-spacing: .5px; color: var(--ink); text-decoration: none; }
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  object-fit: cover; display: block;
  box-shadow: 0 6px 16px rgba(75,118,249,.35);
}
.bar .spacer { flex: 1; }
.langpick { position: relative; display: flex; align-items: center; }
.langpick svg { position: absolute; left: 9px; width: 15px; height: 15px; color: var(--muted-2); pointer-events: none; }
.langpick select {
  appearance: none; -webkit-appearance: none;
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  font: 500 13px/1 "Inter", sans-serif; padding: 8px 30px 8px 28px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(20,30,80,.04);
}
.langpick .chev { left: auto; right: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: "Inter"; font-weight: 600; font-size: 14px;
  border-radius: 999px; padding: 11px 20px; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, filter .2s ease, background .2s ease;
}
.btn-primary { background: linear-gradient(180deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: 0 10px 26px rgba(75,118,249,.35); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { background: var(--bg-2); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: #D3DAEC; }
.bar .btn-primary { padding: 9px 18px; }
@media (max-width: 560px) { .bar .nav-cta { display: none; } }

/* ---------- App Store badge ---------- */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; border-radius: 12px;
  padding: 8px 16px 8px 14px; text-decoration: none;
  transition: transform .15s ease, filter .2s ease;
}
.appstore-badge:hover { transform: translateY(-1px); filter: brightness(1.18); }
.appstore-badge .apple { width: 22px; height: 22px; fill: #fff; flex: 0 0 auto; }
.appstore-badge .bt { display: flex; flex-direction: column; line-height: 1.06; text-align: left; }
.appstore-badge .bt small { font-size: 10px; font-weight: 500; letter-spacing: .01em; opacity: .92; text-transform: none; }
.appstore-badge .bt b { font-family: "Raleway", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: .2px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% 0 auto -10%; height: 680px;
  background: radial-gradient(900px 440px at 20% 0%, rgba(75,118,249,.14), transparent 60%),
              radial-gradient(720px 400px at 95% 6%, rgba(133,158,255,.16), transparent 62%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 {
  font-weight: 300; font-size: clamp(40px, 6.4vw, 70px); line-height: .98; margin: 18px 0 0; color: var(--ink);
}
.hero h1 .accent { font-weight: 700; background: linear-gradient(100deg, var(--blue), #6E8BFF); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; padding-bottom: .12em; margin-bottom: -.12em; }
.hero p.sub { margin: 22px 0 30px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 30em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { margin-top: 22px; display: flex; gap: 8px 18px; flex-wrap: wrap; }
.trust span { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* QR hint — desktop only */
.qr-hint { display: none; align-items: center; gap: 12px; margin-top: 24px; }
.qr-hint img { width: 86px; height: 86px; border-radius: 12px; background: #fff; padding: 7px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(30,45,110,.06); }
.qr-hint span { font-size: 13px; color: var(--muted); max-width: 150px; }
@media (min-width: 760px) { .qr-hint { display: inline-flex; } }

/* ---------- App data cards (the signature) — stay DARK like the app dashboard ---------- */
.deck { display: grid; gap: 14px; }
.hero-shot {
  display: block; width: 100%; height: auto;
  border-radius: 28px; border: 1px solid rgba(20,30,80,.06);
  box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 16px 34px -22px rgba(17,24,39,.28);
}
.stage {
  background: linear-gradient(180deg, #1C1C22, #141418);
  border: 1px solid #0E0E12; border-radius: 30px; padding: 16px;
  box-shadow: 0 30px 70px -24px rgba(40,55,120,.45), 0 2px 0 rgba(255,255,255,.6);
}
.dcard { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 20px; padding: 18px 18px 20px; color: var(--d-fg); }
.dcard + .dcard { margin-top: 12px; }
.dcard .lab { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dcard .lab .ico { width: 16px; height: 16px; color: var(--peri); }
.stage .eyebrow { color: var(--d-muted); }

/* weight card */
.wrow { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.wrow .k { font-size: 12px; color: var(--d-muted); letter-spacing: .04em; margin-bottom: 2px; }
.wrow .v { font-weight: 800; font-size: 30px; letter-spacing: -.02em; color: var(--d-fg); }
.wrow .v small { font-weight: 600; font-size: 14px; color: var(--d-muted); margin-left: 3px; }
.track { position: relative; height: 8px; border-radius: 999px; background: var(--d-track); overflow: visible; }
.track .fill { position: absolute; inset: 0 auto 0 0; width: 82%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.track .knob { position: absolute; top: 50%; left: 82%; width: 18px; height: 18px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); box-shadow: 0 3px 8px rgba(0,0,0,.5); }
.goal { margin-top: 14px; font-size: 13px; color: var(--d-muted); display: flex; align-items: center; gap: 7px; }
.goal .ring { width: 13px; height: 13px; border: 2px solid var(--peri); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--d-card); }

/* small tiles row */
.tiles { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.tile { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 20px; padding: 16px; color: var(--d-fg); }
.kcal-tile { display: flex; align-items: center; gap: 16px; }
.ring-wrap { width: 78px; height: 78px; flex: 0 0 auto; position: relative; }
.ring-wrap .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--d-fg); }
.kcal-tile .big { font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.kcal-tile .big small { font-weight: 600; font-size: 14px; color: var(--d-muted); }
.kcal-tile .sub { font-size: 12px; color: var(--d-muted); margin-top: 5px; }
.inj-tile .big { font-weight: 800; font-size: 40px; line-height: 1; margin-top: 6px; }
.inj-tile .unit { font-size: 13px; color: var(--d-muted); margin-top: 2px; }
.water-row { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.water-row .big { font-weight: 800; font-size: 26px; }
.water-row small { color: var(--d-muted); font-size: 13px; }

/* ---------- Section base ---------- */
section { padding: 64px 0; }
.head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.head h2 { font-weight: 300; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.04; margin: 14px 0 0; color: var(--ink); }
.head h2 b { font-weight: 700; }
.head .lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.head .eyebrow { display: inline-block; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px;
  box-shadow: 0 8px 26px rgba(30,45,110,.05);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feat:hover { border-color: #CBD6F2; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(30,45,110,.10); }
.feat .fico {
  width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(133,158,255,.20), rgba(75,118,249,.12)); margin-bottom: 18px;
}
.feat .fico svg { width: 22px; height: 22px; color: var(--blue); }
.feat h3 { font-family: "Inter"; font-weight: 700; font-size: 17px; letter-spacing: 0; margin-bottom: 7px; color: var(--ink); }
.feat p { color: var(--muted); font-size: 14.5px; }

/* ---------- Screens scroller ---------- */
.screens { padding-top: 8px; }
.scroller { display: flex; gap: 20px; overflow-x: auto; padding: 12px 22px 22px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller img {
  width: 232px; height: auto; flex: 0 0 auto; border-radius: 30px; scroll-snap-align: center;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 14px 30px -20px rgba(17,24,39,.25);
}

/* ---------- More (opt-in extras) ---------- */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.extra { display: flex; align-items: center; gap: 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 6px 20px rgba(30,45,110,.04); }
.extra .x { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, rgba(133,158,255,.18), rgba(75,118,249,.10)); }
.extra .x svg { width: 16px; height: 16px; color: var(--blue); }
.extra span { font-size: 14.5px; font-weight: 500; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 4px 20px; box-shadow: 0 6px 20px rgba(30,45,110,.04);
}
.faq-list summary {
  list-style: none; cursor: pointer; padding: 16px 28px 16px 0; position: relative;
  font-weight: 600; font-size: 16px; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
  transform: translateY(-65%) rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.faq-list details p { color: var(--muted); font-size: 15px; padding: 0 0 18px; margin: 0; }

/* ---------- Languages: white panel band ---------- */
.langs { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 720px; margin: 0 auto; }
.pills button {
  font: 500 14.5px/1 "Inter", sans-serif; cursor: pointer;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; transition: transform .15s ease, border-color .2s, background .2s;
}
.pills button:hover { transform: translateY(-2px); border-color: var(--blue); }
.pills button[aria-current="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Privacy: the one bold band, in the logo's blue ---------- */
.privacy { background: linear-gradient(155deg, #5B8CFF 0%, var(--blue) 52%, var(--blue-d) 100%); color: #fff; }
.privacy .wrap { text-align: center; }
.privacy .eyebrow { color: rgba(255,255,255,.75); }
.privacy h2 { font-weight: 300; font-size: clamp(28px, 5vw, 48px); line-height: 1.05; color: #fff; }
.privacy h2 b { font-weight: 700; color: #fff; }
.privacy p { color: rgba(255,255,255,.88); max-width: 600px; margin: 18px auto 0; font-size: 17px; }
.tags { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tags span { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; color: #fff; background: rgba(255,255,255,.12); }

/* ---------- CTA strip ---------- */
.final { text-align: center; padding-bottom: 24px; }
.final .wrap { display: flex; flex-direction: column; align-items: center; }
.final h2 { font-weight: 300; font-size: clamp(30px, 5vw, 52px); margin-bottom: 26px; color: var(--ink); }
.final h2 b { font-weight: 700; background: linear-gradient(100deg, var(--blue), #6E8BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer (multi-column) ---------- */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1.5fr 1.1fr; gap: 32px; }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; font-family: "Raleway"; font-weight: 400; font-size: 20px; letter-spacing: .5px; color: var(--ink); text-decoration: none; }
.foot-brand img { width: 24px; height: 24px; border-radius: 7px; display: block; }
.foot-tag { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-col h4 { font-family: "Inter"; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .15s ease; }
.foot-col a:hover { color: var(--blue); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.disclaimer { max-width: 760px; font-size: 12px; line-height: 1.6; color: var(--muted-2); }
.copy { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); }
@media (max-width: 760px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; gap: 26px; } }

/* blog language badge */
.blog-lang { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--blue); background: rgba(75,118,249,.12); border-radius: 5px; padding: 1px 6px; vertical-align: middle; }

/* ---------- Cookie consent ---------- */
.cc { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80; width: min(680px, calc(100% - 28px)); }
.cc[hidden] { display: none; }
.cc-inner { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 54px -14px rgba(30,45,110,.26); padding: 18px 20px; }
.cc-text { font-size: 14px; color: var(--muted); }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.cc-more { font-size: 13px; color: var(--blue); text-decoration: none; white-space: nowrap; }
.cc-more:hover { text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; }
.cc-btn { font: 600 14px/1 "Inter", sans-serif; cursor: pointer; border-radius: 999px; padding: 10px 18px; border: 1px solid transparent; transition: transform .15s ease, filter .2s, background .2s; }
.cc-accept { background: linear-gradient(180deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: 0 8px 20px rgba(75,118,249,.3); }
.cc-accept:hover { transform: translateY(-1px); filter: brightness(1.06); }
.cc-reject { background: var(--bg); color: var(--ink); border-color: var(--line); }
.cc-reject:hover { background: var(--tint); }
@media (max-width: 480px) {
  .cc-row { flex-direction: column; align-items: stretch; }
  .cc-actions { justify-content: stretch; }
  .cc-btn { flex: 1; }
}

/* ---------- Legal page (privacy) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 22px 80px; }
.legal h1 { font-weight: 400; font-size: clamp(26px, 4vw, 34px); margin-bottom: 6px; color: var(--ink); }
.legal h1 + .meta { margin-top: 8px; }
.legal h2 { font-weight: 600; font-size: 20px; margin-top: 36px; padding-bottom: 7px; border-bottom: 1px solid var(--line); color: var(--ink); }
.legal h3 { font-weight: 600; font-size: 16px; margin-top: 22px; color: var(--ink); }
.legal p { margin-top: 12px; color: #3A3F4C; }
.legal ul { margin-top: 12px; padding-left: 20px; color: #3A3F4C; }
.legal li { margin-top: 4px; }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal a { color: var(--blue); }
.legal code { background: var(--tint); padding: 1px 6px; border-radius: 5px; font-size: 90%; }
.legal .lang-divider { margin: 56px 0 0; border: none; border-top: 2px solid var(--line); }

/* ---------- Blog: listing ---------- */
.blog-index { padding: 56px 0 80px; }
.blog-index .head h1 { font-family: "Raleway"; font-weight: 300; font-size: clamp(30px, 5vw, 46px); color: var(--ink); margin: 14px 0 0; }
.blog-list { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.blog-card {
  display: block; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 20px; padding: 24px 26px; box-shadow: 0 8px 26px rgba(30,45,110,.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: #CBD6F2; box-shadow: 0 16px 36px rgba(30,45,110,.10); }
.blog-date { font-size: 13px; color: var(--muted-2); }
.blog-card h2 { font-family: "Inter"; font-weight: 700; font-size: 21px; color: var(--ink); margin: 6px 0 8px; letter-spacing: 0; }
.blog-card p { color: var(--muted); font-size: 15px; }
.blog-more { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; font-size: 14px; }

/* ---------- Blog: article ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 40px 22px 80px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-meta { font-size: 14px; color: var(--muted-2); }
.article h1 { font-family: "Raleway"; font-weight: 400; font-size: clamp(28px, 4.6vw, 40px); line-height: 1.12; color: var(--ink); margin: 8px 0 0; }
.article-hero { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); margin: 26px 0 8px; }
.article-body { margin-top: 26px; color: #2C313C; font-size: 17px; line-height: 1.7; }
.article-body h2 { font-family: "Raleway"; font-weight: 700; font-size: 24px; color: var(--ink); margin: 36px 0 0; letter-spacing: -.01em; }
.article-body h3 { font-family: "Inter"; font-weight: 700; font-size: 18px; color: var(--ink); margin: 26px 0 0; }
.article-body p { margin-top: 14px; }
.article-body ul, .article-body ol { margin: 14px 0 0; padding-left: 22px; }
.article-body li { margin-top: 6px; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body strong { color: var(--ink); }
.article-body blockquote { margin: 20px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--muted); font-style: italic; }
.article-body code { background: var(--tint); padding: 1px 6px; border-radius: 5px; font-size: 90%; }
.article-body em { color: var(--muted); }
.article-cta {
  margin-top: 48px; padding: 26px; border-radius: 20px; text-align: center;
  background: linear-gradient(150deg, rgba(133,158,255,.14), rgba(75,118,249,.08)); border: 1px solid var(--line);
}
.article-cta p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

/* "More posts" at the end of an article */
.article-more { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-more h2 { font-family: "Raleway"; font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 16px; }
.more-list { display: grid; gap: 10px; }
.more-card { display: flex; flex-direction: column; gap: 3px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.more-card:hover { border-color: #CBD6F2; transform: translateY(-2px); }
.more-date { font-size: 12.5px; color: var(--muted-2); }
.more-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.more-card:hover .more-title { color: var(--blue); }

/* nav blog link */
.bar .nav-link { font: 600 14px/1 "Inter", sans-serif; color: var(--ink); text-decoration: none; padding: 8px 6px; }
.bar .nav-link:hover { color: var(--blue); }
@media (max-width: 560px) { .bar .nav-link { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding-top: 44px; }
  .grid, .extras { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid, .extras, .tiles { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero h1 { font-size: clamp(38px, 12vw, 56px); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Load animation (one orchestrated moment) ---------- */
@keyframes growFill { from { width: 6%; } to { width: 82%; } }
@keyframes moveKnob { from { left: 6%; } to { left: 82%; } }
@keyframes drawRing { from { stroke-dashoffset: 245; } to { stroke-dashoffset: 196; } } /* C≈245, 20% filled */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.anim .track .fill { animation: growFill 1.1s cubic-bezier(.2,.8,.2,1) .25s both; }
.anim .track .knob { animation: moveKnob 1.1s cubic-bezier(.2,.8,.2,1) .25s both; }
.anim .ring-prog { stroke-dasharray: 245; animation: drawRing 1.2s cubic-bezier(.2,.8,.2,1) .35s both; }
.anim .rise { animation: rise .7s ease both; }
.anim .rise.d1 { animation-delay: .05s; } .anim .rise.d2 { animation-delay: .12s; } .anim .rise.d3 { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .anim .track .fill, .anim .track .knob, .anim .ring-prog, .anim .rise { animation: none !important; }
  .ring-prog { stroke-dashoffset: 196; }
}

/* Sekcja "Z bloga" na landingu (2026-07-08) */
.home-blog .wrap { text-align: center; }
.home-blog .blog-list { margin-top: 32px; text-align: left; }
.home-blog .blog-card h3 { font-family: "Inter"; font-weight: 700; font-size: 19px; color: var(--ink); margin: 6px 0 8px; letter-spacing: 0; }
.home-blog-all { margin-top: 26px; }
.home-blog-all a { color: var(--blue); font-weight: 700; text-decoration: none; }
.home-blog-all a:hover { text-decoration: underline; }

/* Box autora pod wpisem (E-E-A-T, 2026-07-08) */
.author-box { display: flex; gap: 14px; align-items: flex-start; max-width: 720px; margin: 40px auto 0;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line, #E3E8F4); border-radius: 16px; }
.author-box img { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.author-box .author-name { font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.author-box .author-bio { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
.author-box .author-bio a { color: var(--blue); font-weight: 600; }

/* Kalkulatory (2026-07-08) */
.tool .wrap { max-width: 720px; }
.tool h1 { font-size: clamp(30px, 5vw, 44px); margin: 12px 0 10px; }
.tool .lead { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.tool-form { background: #fff; border: 1px solid #E3E8F4; border-radius: 18px; padding: 22px; display: grid; gap: 16px; }
.tool-row { display: grid; gap: 6px; }
.tool-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.tool-unit { font-weight: 500; color: var(--muted-2); }
.tool-form input[type="number"], .tool-form select {
  font: inherit; padding: 11px 13px; border: 1.5px solid #C9D2EA; border-radius: 12px; width: 100%; box-sizing: border-box; background: #FAFBFF; }
.tool-form input:focus, .tool-form select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.tool-units { display: flex; gap: 18px; font-size: 14.5px; }
.tool-units label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.tool-ftin { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-form .btn-primary { border: 0; border-radius: 999px; padding: 13px 22px; font: inherit; font-weight: 700; cursor: pointer; margin-top: 4px; }
.tool-result { margin-top: 22px; background: linear-gradient(155deg, #5B8CFF 0%, var(--blue) 60%, var(--blue-d) 100%); color: #fff; border-radius: 18px; padding: 22px; text-align: center; }
.tool-res-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0 0 4px; }
.tool-res-value { font-size: 34px; font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
.tool-res-cat { margin: 6px 0 0; font-weight: 700; background: #fff; display: inline-block; border-radius: 999px; padding: 3px 14px; }
.tool-res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-res-grid .tool-res-value { font-size: 24px; }
@media (max-width: 560px) { .tool-res-grid { grid-template-columns: 1fr; } }
.tool-expl { margin-top: 30px; color: var(--muted); line-height: 1.65; }
.tool-expl p { margin: 0 0 14px; }
.tool-discl { font-size: 13px; color: var(--muted-2); }
.tool-faq { margin-top: 36px; }
.tool-faq h2 { font-size: 26px; margin: 0 0 16px; }
.tool-faq .faq-extra { opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; }
.tool-faq .faq-extra-visible { opacity: 1; transform: translateY(0); }
.tool-faq-more { display: block; margin: 16px auto 0; }
.tool .article-cta { margin-bottom: 56px; }

/* Help / support */
.helpdesk .wrap { padding-top: 48px; padding-bottom: 64px; }
.help-section { margin-top: 34px; }
.help-section h2 { font-size: 24px; margin: 0 0 14px; }
.help-section .faq-list { max-width: none; }
.help-section .faq-list a { color: var(--blue); text-decoration: underline; }
.help-contact { margin-bottom: 56px; }
.help-contact h2 { font-size: 24px; margin: 0 0 10px; }

/* Lista bloga: lazy reveal (2026-07-08) */
.blog-card-hidden { display: none; }
.blog-show-more { display: block; margin: 26px auto 0; font: inherit; font-weight: 700;
  color: var(--blue); background: #fff; border: 1.5px solid #C9D2EA; border-radius: 999px;
  padding: 11px 26px; cursor: pointer; }
.blog-show-more:hover { border-color: var(--blue); }

/* Pomoc: chipy kategorii (2026-07-08) */
.help-chips { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 0; margin: 6px 0 18px; background: var(--bg); }
.help-chip { font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted);
  background: #fff; border: 1.5px solid #C9D2EA; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.help-chip:hover { border-color: var(--blue); color: var(--blue); }
.help-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.help-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.help-section { margin-top: 26px; }
.help-section > h2 { font-size: 20px; margin-bottom: 12px; }
