/* ============================================================
   Krewly — Visual Identity v1.0
   Palette ~70% blue family · 25% neutrals · 5% Spark Orange
   ============================================================ */
:root {
  --navy:   #1E3A8A;   /* Crew Navy — surfaces, headings, logo */
  --blue:   #2563EB;   /* Volt Blue — actions, links, accents */
  --spark:  #F97316;   /* Spark Orange — 24h, signal accent */
  --spark-deep: #EA580C; /* hover */
  /* Text NA oranžové: tmavý, ne bílý. Bílá dává jen 2,8:1, tmavá 6,4:1 (WCAG AA vyžaduje 4,5:1). */
  --on-spark: #0F172A;
  /* Oranžový text na světle oranžovém podkladu (#FFF1E6) — spark-deep dává jen 3,2:1. */
  --spark-text: #C2410C;
  --ink:    #0F172A;   /* text */
  /* Ztmaveno z #64748B: na šedých kartách (--mist) dávalo jen 4,34:1. Teď 5,1:1. */
  --slate:  #5B6980;   /* secondary text — na SVĚTLÉM podkladu */
  --slate-on-dark: #94A3B8; /* secondary text na TMAVÉM podkladu (7,0:1 na navy) */
  --mist:   #F1F5F9;   /* backgrounds */
  --line:   #E2E8F0;
  --white:  #FFFFFF;
  --r:      16px;
  --r-sm:   12px;
  --shadow: 0 18px 40px rgba(15,23,42,.10);
  --shadow-sm: 0 6px 18px rgba(15,23,42,.06);
  /* Motion — strong custom curves (the built-in CSS easings are too weak) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4, .logo-word, .b24, .step-num {
  font-family: "Space Grotesk", "Inter", sans-serif;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.1rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.lead { color: var(--slate); font-size: 1.08rem; max-width: 640px; }
.spark { color: var(--spark); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.center, h2.center, .center { text-align: center; }
.eyebrow.center { display: block; }

a { color: var(--blue); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600; font-size: .96rem; letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out), border-color .18s var(--ease-out);
  border: 2px solid transparent;
}
/* Press feedback — the interface confirms it heard the user */
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(30,58,138,.25); }
.btn-spark { background: var(--spark); color: var(--on-spark); box-shadow: 0 8px 20px rgba(249,115,22,.28); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-link { color: var(--blue); padding: 13px 6px; font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.btn-link .arrow { display: inline-block; transition: transform .18s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--blue); transform: translateY(-2px); }
  .btn-spark:hover { background: var(--spark-deep); transform: translateY(-2px); }
  .btn-outline:hover { border-color: var(--blue); color: var(--blue); }
  .btn-ghost:hover { background: rgba(255,255,255,.22); }
  .btn-link:hover { color: var(--navy); }
  .btn-link:hover .arrow { transform: translateX(3px); }
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: 999px;
}
.pill-spark { background: #FFF1E6; color: var(--spark-text); border: 1px solid #FCD9BD; }
.pill-spark.static, .pill-spark.sm { border: none; }
.pill-spark.sm { background: var(--spark); color: var(--on-spark); font-size: .76rem; padding: 6px 12px; }
.pill-navy { background: #EEF2FB; color: var(--navy); }
.pill .bolt { width: 14px; height: 14px; }

/* ---------- Bolt motif ---------- */
.bolt { width: 16px; height: 16px; color: var(--spark); flex-shrink: 0; }
.bolt.big { width: 30px; height: 30px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.mark { display: inline-flex; line-height: 0; }
.logo-word { font-size: 1.4rem; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { padding: 10px 20px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(170deg, #EEF3FC 0%, #fff 55%); padding: 72px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0; }
.hero-sub { color: var(--slate); font-size: 1.12rem; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats div { color: var(--slate); font-size: .92rem; }
.hero-stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; color: var(--navy); font-weight: 700; }

.hero-jobs { display: flex; flex-direction: column; gap: 14px; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
.job-card h3 { color: var(--navy); margin-bottom: 4px; }
.job-meta { color: var(--slate); font-size: .9rem; margin-bottom: 12px; }

/* ---------- Trust strip ---------- */
.logos-strip { border-bottom: 1px solid var(--line); background: #fff; }
.logos-strip p { text-align: center; color: var(--slate); font-size: .95rem; padding: 22px 0; }

/* ---------- Problem ---------- */
.problem { padding: 88px 0; }
.problem .lead { margin: 14px 0 34px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.problem-item { background: var(--mist); border-radius: var(--r); padding: 26px; }
.problem-item h3 { color: var(--ink); margin-bottom: 8px; }
.problem-item p { color: var(--slate); font-size: .96rem; }
.solution-banner {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--navy); color: #fff; padding: 26px 30px; border-radius: var(--r);
  font-size: 1.06rem;
}
.solution-banner .bolt { width: 24px; height: 24px; margin-top: 2px; }
.solution-banner strong { color: #93C5FD; }

/* ---------- How ---------- */
.how { padding: 88px 0; background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 38px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1.05rem;
  margin-bottom: 14px;
}
.step h3 { color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--slate); font-size: .9rem; }

/* ---------- 24h band ---------- */
.band-24h { padding: 70px 0; }
.band-inner { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.badge-24h {
  background: var(--navy); border-radius: 24px; padding: 40px 20px; text-align: center;
  box-shadow: var(--shadow);
}
.b24 { font-size: 4.2rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.b24 span { color: var(--spark); }
.b24-cap { color: #C7D2FE; font-size: .78rem; letter-spacing: .18em; margin-top: 8px; font-weight: 600; }
.band-text h2 { margin-bottom: 12px; }
.band-text p { color: var(--slate); font-size: 1.06rem; max-width: 620px; }

/* ---------- Audience ---------- */
.audience { padding: 88px 0; }
.audience.alt { background: var(--mist); }
.audience-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.audience-text .pill { margin-bottom: 16px; }
.audience-text h2 { margin-bottom: 14px; }
.audience-text .lead { margin-bottom: 22px; }
.audience-text .btn { margin-top: 26px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--ink); font-size: .98rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px;
  background: var(--spark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2 L6 13 H11 L10 22 L17.5 10 H12.5 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2 L6 13 H11 L10 22 L17.5 10 H12.5 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.feature-list strong { color: var(--navy); }

/* mock window */
.mock-window { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.mock-header { display: flex; gap: 8px; padding: 14px 16px; background: var(--mist); border-bottom: 1px solid var(--line); }
.mock-header span { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; }
.mock-header span:first-child { background: var(--spark); }
.mock-body { padding: 8px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 14px; border-bottom: 1px solid var(--mist); font-size: .92rem; font-weight: 500; }
.mock-row:last-child { border-bottom: none; }
.tag { font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.tag-green { background: #DCFCE7; color: #15803D; }
.tag-yellow { background: #FEF3C7; color: #B45309; }
.tag-blue { background: #DBEAFE; color: #1D4ED8; }
.tag-done { background: #EDE9FE; color: #6D28D9; }

/* ---- Formulářové prvky (sdílené napříč appkou, dashboardem, onboardingem) ---- */
.input {
  width: 100%;
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.input::placeholder { color: #94A3B8; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.input:disabled { background: var(--mist); color: var(--slate); cursor: not-allowed; }
select.input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
textarea.input { min-height: 92px; resize: vertical; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .input { transition: none; } }

/* ---- Hvězdičkové hodnocení (sdílené dashboard + app) ---- */
.rate { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; }
.rate-stars button {
  background: none; border: none; cursor: pointer; font-size: 1.5rem; line-height: 1;
  color: #D8DEE9; padding: 0 1px; font-family: inherit;
  transition: color .12s var(--ease-out), transform .12s var(--ease-out);
}
.rate-stars button:hover, .rate-stars button:hover ~ button { color: #FBBF24; }
.rate-stars button:active { transform: scale(.82); }
.rate-stars button.on { color: #FBBF24; }
.rate-stars.is-locked button { cursor: default; pointer-events: none; }
.rate-note { font-size: .82rem; color: var(--slate); font-weight: 600; }
.rate-note.done { color: #15803D; }
@media (prefers-reduced-motion: reduce) { .rate-stars button { transition: none; } }

/* ---- DPP dokument (sdílené dashboard + app) ---- */
.doc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: left; }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); margin-bottom: 18px; }
.doc-kicker { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.doc-head h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; color: var(--navy); margin-top: 2px; }
.doc-seal { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .12em; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 7px; padding: 5px 9px; opacity: .85; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.doc-parties > div { background: var(--mist); border-radius: 10px; padding: 12px 14px; }
.doc-parties span { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--slate); font-weight: 700; }
.doc-parties strong { display: block; color: var(--ink); font-size: .95rem; margin: 3px 0 2px; }
.doc-parties p { font-size: .78rem; color: var(--slate); }
.doc-terms { display: grid; gap: 0; margin-bottom: 16px; }
.doc-terms > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 2px; border-bottom: 1px solid var(--mist); }
.doc-terms > div:last-child { border-bottom: none; }
.doc-terms dt { font-size: .84rem; color: var(--slate); }
.doc-terms dd { font-size: .88rem; color: var(--ink); font-weight: 600; text-align: right; }
.doc-note { font-size: .76rem; color: var(--slate); line-height: 1.5; margin-bottom: 16px; }
.doc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; background: var(--mist); border-radius: 9px; margin-bottom: 16px; }
.doc-foot span { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--slate); font-weight: 700; }
.doc-foot code { font-family: "Space Grotesk", monospace; font-size: .82rem; color: var(--navy); letter-spacing: .05em; }
.doc-sign { border-radius: 10px; padding: 14px; text-align: center; }
.doc-sign.signed { background: #DCFCE7; }
.doc-sign-mark { font-weight: 700; color: #15803D; font-size: .95rem; }
.doc-sign-meta { font-size: .82rem; color: #15803D; margin-top: 3px; opacity: .85; }
.doc-sign.pending { background: #FEF3C7; color: #B45309; font-weight: 600; font-size: .88rem; }

/* phone mock */
.phone {
  width: 290px; margin: 0 auto; background: var(--navy);
  border-radius: 38px; padding: 12px; box-shadow: var(--shadow);
  position: relative;
}
.phone-notch { width: 120px; height: 22px; background: var(--navy); border-radius: 0 0 14px 14px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-screen { background: var(--mist); border-radius: 28px; padding: 40px 16px 22px; min-height: 480px; }
.phone-top { margin-bottom: 16px; }
.phone-logo { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.phone-bell { display: block; color: var(--slate); font-size: .82rem; margin-top: 4px; }
.phone-job { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.phone-job h4 { color: var(--navy); font-size: 1rem; margin-bottom: 3px; }
.phone-job p { color: var(--slate); font-size: .85rem; margin-bottom: 10px; }

/* ---------- Values ---------- */
.values { padding: 80px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.value .bolt.big { color: var(--spark); margin-bottom: 14px; }
.value h3 { color: var(--navy); margin-bottom: 8px; }
.value p { color: var(--slate); font-size: .96rem; }

/* ---------- Compare ---------- */
.compare { padding: 88px 0; background: var(--mist); }
.compare h2 { margin-bottom: 34px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
th { background: var(--navy); color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 600; }
td:first-child { font-weight: 600; color: var(--ink); }
.row-highlight td { background: #EEF3FC; color: var(--navy); }
.row-highlight td:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mini-mark { line-height: 0; }
tr:last-child td { border-bottom: none; }
.yes { color: #15803D; font-weight: 700; }
.no { color: var(--slate); }

/* ---------- Pricing ---------- */
.pricing { padding: 88px 0; }
.pricing h2 { margin-bottom: 44px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 28px 22px;
  display: flex; flex-direction: column; gap: 14px; background: #fff; position: relative;
}
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); transform: translateY(-8px); }
.price-flag {
  position: absolute; top: -13px; left: 22px;
  background: var(--spark); color: var(--on-spark); font-size: .72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { color: var(--navy); }
.price { font-family: "Space Grotesk", sans-serif; font-size: 2.1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price span { font-size: .9rem; font-weight: 500; color: var(--slate); font-family: "Inter", sans-serif; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.price-card li { color: var(--slate); font-size: .9rem; padding-left: 22px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; background: var(--spark); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2 L6 13 H11 L10 22 L17.5 10 H12.5 Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2 L6 13 H11 L10 22 L17.5 10 H12.5 Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.price-card .btn { justify-content: center; }

/* ---------- CTA ---------- */
.cta { padding: 84px 0; background: var(--navy); }
.cta-inner { text-align: center; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: #C7D2FE; font-size: 1.1rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #94A3B8; padding: 60px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid #1E293B; }
.footer-logo .logo-word { color: #fff; }
.motto { font-style: italic; color: var(--slate-on-dark); margin-top: 16px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: #94A3B8; font-size: .92rem; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-col .muted { color: var(--slate-on-dark); font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; color: var(--slate-on-dark); }
.footer-legal { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-legal a { color: var(--slate-on-dark); padding: 4px 8px; margin: -4px 0; min-height: 28px; display: inline-flex; align-items: center; }
.footer-legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner, .audience-inner, .band-inner, .footer-inner { grid-template-columns: 1fr; }
  .audience-inner.reverse { direction: ltr; }
  .audience.alt .audience-visual { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .values-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .nav-links { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .steps, .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

/* ============================================================
   POLISH — motion & micro-interactions (release pass)
   ============================================================ */

/* Navbar elevates once the page scrolls under it */
.navbar { transition: box-shadow .25s var(--ease-out), background-color .25s var(--ease-out); }
.navbar.is-scrolled { background: rgba(255,255,255,.92); box-shadow: 0 4px 22px rgba(15,23,42,.07); }

/* Card lift on hover-capable pointers only (no false fire on touch taps) */
@media (hover: hover) and (pointer: fine) {
  .price-card { transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
  .price-card:not(.featured):hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .price-card.featured:hover { transform: translateY(-11px); box-shadow: 0 26px 50px rgba(37,99,235,.18); }
  .value { transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
  .value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .problem-item { transition: transform .22s var(--ease-out); }
  .problem-item:hover { transform: translateY(-3px); }
  .nav-links a { transition: color .18s var(--ease-out); }
}

/* Subtle resting motion on the hero 24h spark pill */
.pill-spark .bolt { transform-origin: center; }

/* ---------- Scroll reveal ---------- *
   Elements start lifted + transparent and settle as they enter view.
   Only hidden when JS is active (.reveal-ready on <html>), so the page
   is fully visible if JS is disabled. */
.reveal-ready [data-reveal],
.reveal-ready [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-ready [data-reveal].is-in,
.reveal-ready [data-reveal-stagger] > .is-in {
  opacity: 1;
  transform: none;
}

/* Reduced motion: reveal instantly, no movement, no smooth scroll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal],
  .reveal-ready [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
