/* ==========================================================================
   FixIt — codebase for sale
   Light, warm, product-led. No build step.
   ========================================================================== */

:root {
  --bg: #f7f9fc;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f7fc;
  --surface-warm: #fffaf0;
  --line: rgba(16, 34, 59, 0.1);
  --line-strong: rgba(16, 34, 59, 0.16);
  --line-soft: rgba(16, 34, 59, 0.06);
  --text: #10223b;
  --text-strong: #0b1a2e;
  --muted: #5a6a80;
  --muted-2: #5f7086;
  --amber: #a86200;
  --amber-2: #f5a623;
  --amber-3: #ffc247;
  --amber-display: #c07800;
  --amber-tint: #fff4dd;
  --green: #0f7a54;
  --green-2: #2dd4a0;
  --red: #c8433a;
  --radius: 20px;
  --container: 1160px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(16, 34, 59, 0.04), 0 10px 26px -16px rgba(16, 34, 59, 0.18);
  --shadow-md: 0 22px 50px -28px rgba(16, 34, 59, 0.3);
  --shadow-lg: 0 40px 90px -44px rgba(16, 34, 59, 0.4);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 34, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 59, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 15%, transparent 76%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 15%, transparent 76%);
}

main,
.nav,
.footer,
.totop { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }

section[id] { scroll-margin-top: 88px; }
@media (max-width: 520px) { section[id] { scroll-margin-top: 80px; } }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

::selection { background: rgba(245, 166, 35, 0.3); color: #10223b; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--amber);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.container--narrow { width: min(820px, calc(100% - 48px)); }

code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 0.88em;
  background: #eef3f9;
  border: 1px solid #e1e9f2;
  padding: 2px 6px;
  border-radius: 6px;
  color: #22364e;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot-sep { color: #b0bccb; }
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(15, 122, 84, 0.4);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 122, 84, 0.4); }
  70% { box-shadow: 0 0 0 9px rgba(15, 122, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 122, 84, 0); }
}

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text-strong);
}

h1 em, h2 em, .closing em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--amber-display);
}

h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  line-height: 0.99;
}
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.25; }

.lead,
.section__lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--amber-3), var(--amber-2));
  color: #241a05;
  box-shadow: 0 12px 30px -12px rgba(224, 138, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(224, 138, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  background: #fff;
  border-color: rgba(16, 34, 59, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--small { padding: 11px 18px; font-size: 0.82rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.nav__logo { height: 27px; width: auto; }
.nav__tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a5a00;
  border: 1px solid rgba(245, 166, 35, 0.4);
  background: var(--amber-tint);
  padding: 4px 8px;
  border-radius: 999px;
  transform: translateY(-1px);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:hover { color: var(--text-strong); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--amber-2);
  transition: right 0.25s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__links a.is-active { color: var(--text-strong); }
.nav__links a.is-active::after { right: 0; background: var(--amber-2); }
.nav__cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Mobile nav CTA */
@media (max-width: 900px) {
  .nav__links a.nav__cta {
    display: flex;
    justify-content: center;
    margin: 8px 4px 2px;
    border-radius: 999px;
    padding: 12px 16px;
    color: #241a05;
    background: linear-gradient(135deg, var(--amber-3), var(--amber-2));
    font-weight: 800;
    box-shadow: 0 10px 24px -12px rgba(224, 138, 0, 0.55);
  }
  .nav__links a.nav__cta:hover {
    background: linear-gradient(135deg, var(--amber-3), var(--amber-2));
    color: #241a05;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 540px at 82% 4%, #fff2d4 0%, rgba(255, 242, 212, 0) 64%),
    radial-gradient(760px 520px at 4% 34%, #eef5ff 0%, rgba(238, 245, 255, 0) 66%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--amber {
  width: 560px;
  height: 560px;
  right: -120px;
  top: 0;
  background: rgba(245, 166, 35, 0.22);
}
.hero__glow--blue {
  width: 480px;
  height: 480px;
  left: -200px;
  top: 280px;
  background: rgba(45, 110, 245, 0.09);
}
.hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 56ch; margin: 0 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: baseline; gap: 6px; }
.hero__meta strong {
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Hero visual */

.hero__visual {
  position: relative;
  height: 600px;
  min-width: 0;
}
.halo {
  position: absolute;
  inset: 8% 2% 10%;
  background:
    radial-gradient(closest-side, rgba(245, 166, 35, 0.24), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(15, 122, 84, 0.09), transparent 70%);
  filter: blur(14px);
  border-radius: 50%;
}

.phone {
  position: absolute;
  width: 195px;
  will-change: transform;
  transition: transform 0.4s var(--ease);
}
.phone--a {
  left: -10px;
  top: 108px;
  transform: rotate(-6deg);
  z-index: 2;
}
.phone--b {
  left: 50%;
  top: 8px;
  width: 240px;
  transform: translateX(-50%);
  z-index: 3;
}
.phone--c {
  right: -10px;
  top: 128px;
  transform: rotate(6deg);
  z-index: 2;
}

/* Pointer parallax — --px / --py come from script.js (desktop, fine pointer). */
.phone--a {
  transform: rotate(-6deg) translate3d(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 9px), 0);
}
.phone--b {
  transform: translateX(-50%) translate3d(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 6px), 0);
}
.phone--c {
  transform: rotate(6deg) translate3d(calc(var(--px, 0) * -9px), calc(var(--py, 0) * -9px), 0);
}

.phone__body {
  position: relative;
  border-radius: 38px;
  padding: 6px;
  background: linear-gradient(170deg, #33425a, #0c1524 45%, #1d2c44);
  border: 1px solid rgba(16, 34, 59, 0.4);
  box-shadow:
    0 40px 70px -30px rgba(16, 34, 59, 0.45),
    0 0 0 1px rgba(16, 34, 59, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.phone__screen {
  position: relative;
  border-radius: 32px;
  background: #fff;
  overflow: hidden;
}

/* Real app screenshots */
.phone__screen--shot {
  display: block;
  padding: 0;
  height: auto;
  line-height: 0;
}
.phone__screen--shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating cards */

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px 9px 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 44px -22px rgba(16, 34, 59, 0.4);
  z-index: 5;
  animation: floaty 7s ease-in-out infinite;
}
.float strong { display: block; font-size: 9.5px; letter-spacing: -0.01em; color: var(--text-strong); }
.float span { display: block; font-size: 8px; color: var(--muted); }
.float--top { left: -6px; top: 42px; animation-delay: -1s; }
.float--right { right: -8px; top: 300px; animation-delay: -3.4s; }
.float--bottom { left: 14px; bottom: 40px; animation-delay: -2.2s; }
.float__icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f3f7fc;
  flex: 0 0 auto;
}
.float__icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.float__icon--amber { color: var(--amber); background: var(--amber-tint); }
.float__icon--green { color: var(--green); background: #eafaf3; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Stat bar */

.statbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statbar > div {
  padding: 22px 18px;
  border-left: 1px solid var(--line-soft);
}
.statbar > div:first-child { border-left: 0; padding-left: 0; }
.statbar strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}
.statbar span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: 24px 0 72px; }
.section--alt {
  background: linear-gradient(180deg, #fbfaf7, #fcfbf8);
  border-top: 1px solid #f0ece4;
  border-bottom: 1px solid #f0ece4;
}
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 { margin-bottom: 18px; }
.section__head .section__lead { margin: 0; max-width: 66ch; }

/* Cards */

.cards { display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 20% 0%, rgba(245, 166, 35, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }
.card__num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 34px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.card--tall { display: flex; flex-direction: column; min-height: 250px; }
.card__icon { font-size: 1.5rem; margin-bottom: 18px; }
.card--tall h3 { margin-bottom: 10px; }
.card__foot {
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- How it works ---------- */

.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-2), transparent);
}
.step__num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.step__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--amber-tint);
  border: 1px solid rgba(245, 166, 35, 0.28);
  margin: 16px 0 18px;
  color: var(--amber);
}
.step__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

.how__device {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 300px;
  justify-self: center;
}
.how__device::before {
  content: "";
  position: absolute;
  inset: 6% -14% 18%;
  background: radial-gradient(closest-side, rgba(245, 166, 35, 0.22), transparent 72%);
  filter: blur(26px);
  pointer-events: none;
}
.how__device figcaption {
  position: relative;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  text-align: center;
  max-width: 30ch;
}
.phone--how {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 255px;
  transform: none;
  z-index: 1;
}

/* ---------- Features ---------- */

.feature {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
}
.feature + .feature { border-top: 1px solid var(--line-soft); }
.feature--reverse .feature__copy { order: 2; }
.feature--reverse .feature__visual { order: 1; }
.feature__kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: 16px; }
.feature__copy > p:not(.feature__kicker) {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 52ch;
}

.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li, .crosses li {
  position: relative;
  padding-left: 26px;
  font-size: 0.88rem;
  color: #3d4e63;
  line-height: 1.55;
}
.ticks li::before,
.crosses li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 900;
}
.ticks li::before {
  content: "✓";
  color: var(--green);
  background: #eafaf3;
}
.crosses li::before {
  content: "×";
  color: var(--red);
  background: #fdeeed;
}
.ticks--tight { gap: 8px; }

/* Panels inside features */

.feature__visual { position: relative; }
.feature__visual::before {
  content: "";
  position: absolute;
  inset: 8% 0;
  background: radial-gradient(closest-side, rgba(245, 166, 35, 0.18), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}
.panel {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 11px;
}
.panel__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #f8fafc;
}
.panel__dots { display: inline-flex; gap: 5px; }
.panel__dots i { width: 7px; height: 7px; border-radius: 50%; background: #dbe3ed; }
.panel__dots i:first-child { background: #f3b0aa; }
.panel__dots i:nth-child(2) { background: #f8cf8a; }
.panel__dots i:nth-child(3) { background: #9fe1c8; }
.panel__title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; color: var(--muted); }
.panel__pill {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
  color: #8a5a00;
  background: var(--amber-tint);
  border: 1px solid rgba(245, 166, 35, 0.25);
}
.panel__pill--green { color: var(--green); background: #eafaf3; border-color: rgba(15, 122, 84, 0.2); }
.panel__body { padding: 18px; }
.panel__body--split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 16px; }

/* Diagnosis panel */

.diag__image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(16, 34, 59, 0.16);
  margin-bottom: 12px;
  background: #0e1a2b;
}
.diag__image svg { width: 100%; height: auto; display: block; }
.diag__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #241a05;
  background: var(--amber-2);
  padding: 3px 7px;
  border-radius: 5px;
}
.diag__rows { display: grid; gap: 7px; }
.diag__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.66rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.diag__rows span { color: var(--muted); }
.diag__rows strong { font-weight: 700; color: var(--text-strong); }
.t-amber { color: var(--amber) !important; }

.quote {
  background: var(--surface-warm);
  border: 1px solid rgba(245, 166, 35, 0.24);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.quote__label {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.quote__value {
  margin: 5px 0 2px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-strong);
}
.quote__value span { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.quote__note { margin: 0; font-size: 0.6rem; color: var(--muted-2); }
.quote__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 74px;
  margin: 14px 0;
}
.quote__bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.9), rgba(245, 166, 35, 0.2));
}
.quote__chips { display: flex; gap: 5px; margin-top: auto; }
.quote__chips span {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 7px;
  background: #fff;
}

/* Flow / chat panel */

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flow__step {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--muted);
  background: #f6f9fd;
  border: 1px solid var(--line);
}
.flow__step.done {
  color: var(--green);
  background: #eefbf5;
  border-color: rgba(15, 122, 84, 0.22);
}
.flow__step.now {
  color: #241a05;
  background: var(--amber-2);
  border-color: var(--amber-2);
  font-weight: 800;
}
.flow__arrow { color: #aab6c5; font-size: 0.6rem; }

.chatmock {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
}
.chatmock__head { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.chatmock__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #241a05;
  background: linear-gradient(135deg, var(--amber-3), var(--amber-2));
}
.chatmock__head strong { display: block; font-size: 0.72rem; color: var(--text-strong); }
.chatmock__head span { display: block; font-size: 0.6rem; color: var(--muted); }
.chatmock__badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--green);
  background: #eafaf3;
  border: 1px solid rgba(15, 122, 84, 0.2);
  padding: 3px 7px;
  border-radius: 999px;
}
.chatmock__bubble {
  max-width: 88%;
  font-size: 0.7rem;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 10px;
  margin-top: 9px;
}
.chatmock__bubble.them {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: #33445c;
}
.chatmock__bubble.me {
  margin-left: auto;
  background: var(--amber-tint);
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-bottom-right-radius: 4px;
  color: #5b3d05;
}
.chatmock__offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f1fbf6;
  border: 1px solid rgba(15, 122, 84, 0.22);
}
.chatmock__offer span { display: block; font-size: 0.6rem; color: var(--muted); }
.chatmock__offer strong { font-size: 1.05rem; letter-spacing: -0.03em; color: var(--text-strong); }
.chatmock__accept {
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff !important;
  background: var(--green);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Passport panel */

.passport { display: grid; gap: 16px; }
.passport__score { display: flex; align-items: center; gap: 14px; }
.ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: conic-gradient(var(--amber-2) 0 82%, #eef2f7 82% 100%);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}
.ring span { position: relative; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text-strong); }
.passport__score strong { display: block; font-size: 0.8rem; color: var(--text-strong); }
.passport__score span { display: block; font-size: 0.62rem; color: var(--muted); }
.passport__timeline { display: grid; gap: 0; }
.passport__item {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.passport__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-2);
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.5);
  margin-left: 3px;
}
.passport__dot--muted { background: #b8c3d1; box-shadow: none; }
.passport__item strong { display: block; font-size: 0.7rem; color: var(--text-strong); }
.passport__item span { display: block; font-size: 0.6rem; color: var(--muted); }
.passport__tag {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: #eafaf3;
  border: 1px solid rgba(15, 122, 84, 0.18);
  padding: 3px 6px;
  border-radius: 4px;
}
.passport__tag--amber { color: #8a5a00; background: var(--amber-tint); border-color: rgba(245, 166, 35, 0.24); }

/* ---------- Tech ---------- */

.tech {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.tech__item {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.tech__item:hover {
  border-color: rgba(245, 166, 35, 0.45);
  background: #fffdf7;
  transform: translateY(-2px);
}
.tech__name { display: block; font-size: 0.88rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text-strong); }
.tech__role { display: block; font-size: 0.66rem; color: var(--muted-2); margin-top: 3px; }
.tech__note {
  margin: 22px 0 0;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ---------- Package ---------- */

.package {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.package__col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.package__col h3 { margin-bottom: 20px; font-size: 1rem; }
.badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}
.badge--green { color: var(--green); background: #eafaf3; border: 1px solid rgba(15, 122, 84, 0.2); }
.badge--red { color: var(--red); background: #fdeeed; border: 1px solid rgba(200, 67, 58, 0.2); }

.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(245, 166, 35, 0.32);
  background: #fff8e8;
}
.callout__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: #241a05;
  background: var(--amber-2);
  margin-top: 2px;
}
.callout strong { display: block; margin-bottom: 4px; font-size: 0.9rem; color: var(--text-strong); }
.callout p { margin: 0; font-size: 0.84rem; line-height: 1.65; color: #6a5325; }

/* ---------- Metrics ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric { padding: 26px 18px; border-left: 1px solid var(--line-soft); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--amber);
}
.metric strong span { font-size: 0.95rem; color: var(--muted-2); font-weight: 600; }
.metric p {
  margin: 4px 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.45;
}
.metrics__note {
  margin: 18px 0 0;
  font-size: 0.72rem;
  color: var(--muted-2);
  text-align: center;
}

/* ---------- Price ---------- */

.price { padding-top: 24px; }
.price__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
  border: 1px solid rgba(245, 166, 35, 0.32);
  background:
    linear-gradient(140deg, #fff4d9, #fffdf8 44%, #eefaf5);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.price__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -180px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.28);
  filter: blur(90px);
  pointer-events: none;
}
.price__copy { position: relative; }
.price__copy h2 { margin-bottom: 16px; }
.price__copy .section__lead { margin: 0 0 24px; max-width: 46ch; }
.price__card {
  position: relative;
  align-self: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.price__label {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.price__amount {
  margin: 0;
  font-size: clamp(2.6rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--amber);
}
.price__amount span { font-size: 0.8rem; color: var(--muted-2); font-weight: 700; margin-left: 8px; letter-spacing: 0.08em; }
.price__sub { margin: 8px 0 20px; font-size: 0.78rem; color: var(--muted); }
.price__link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: #8a5a00;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(178, 106, 0, 0.4);
}
.price__link:hover { color: var(--amber); }
.price__fine { margin: 16px 0 0; font-size: 0.66rem; color: var(--muted-2); line-height: 1.5; text-align: center; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-strong);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--amber);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--ease);
  flex: 0 0 auto;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  margin: -4px 0 22px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Closing ---------- */

.closing {
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid #f0ece4;
  background:
    radial-gradient(70% 120% at 50% 100%, rgba(245, 166, 35, 0.16), transparent 70%),
    #fbfaf7;
}
.closing__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.closing__logo { height: 38px; width: auto; margin: 0 auto 26px; }
.closing h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.closing p { color: var(--muted); margin: 0 auto 28px; max-width: 46ch; }
.closing__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 34px;
  background: #fff;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 24px 40px;
  align-items: start;
}
.footer__logo { height: 24px; width: auto; margin-bottom: 12px; }
.footer__brand p { margin: 0; font-size: 0.78rem; color: var(--muted-2); max-width: 36ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__nav a { font-size: 0.78rem; color: var(--muted); }
.footer__nav a:hover { color: var(--text-strong); }
.footer__legal {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.68rem;
  color: var(--muted-2);
  line-height: 1.6;
}

/* ---------- To top ---------- */

.totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-strong);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
  z-index: 40;
}
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { box-shadow: var(--shadow-md); }
.totop svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero__visual { height: 570px; }
  .phone { width: 185px; }
  .phone--b { width: 228px; }
  .phone--a { top: 100px; }
  .phone--c { top: 120px; }
  .float--top { left: -8px; top: 36px; }
  .float--right { right: -6px; top: 286px; }
}

@media (max-width: 1080px) {
  .hero { padding-top: 128px; }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__copy { max-width: 720px; }
  .hero__visual { height: 600px; margin-top: 8px; }
  .phone { width: 224px; }
  .phone--b { width: 258px; }
  .phone--a { left: 8%; top: 80px; }
  .phone--c { right: 8%; top: 100px; }
  .phone--b { top: 0; }
  .float--top { left: 2%; }
  .float--right { right: 1%; top: 318px; }
  .float--bottom { left: 8%; bottom: 18px; }

  .how__grid { grid-template-columns: 1fr; gap: 54px; }
  .how__device { order: 2; }
}

@media (max-width: 1020px) {
  .tech { grid-template-columns: repeat(4, 1fr); }
  .price__panel { grid-template-columns: 1fr; }
  .price__card { max-width: 440px; }
  .statbar { grid-template-columns: repeat(3, 1fr); }
  .statbar > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .statbar > div:nth-child(n + 4) { border-top: 1px solid var(--line-soft); }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(4) { border-left: 0; padding-left: 0; }
  .metric:nth-child(n + 4) { border-top: 1px solid var(--line-soft); }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 74px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(16, 34, 59, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
    margin-left: 0;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; }
  .nav__links a:not(.nav__cta):hover { background: #f5f8fc; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: block; }
  .nav__actions .btn { display: none; }

  .cards--3 { grid-template-columns: 1fr; }
  .card__num { margin-bottom: 22px; }
  .steps { gap: 26px 24px; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature--reverse .feature__copy { order: 0; }
  .feature--reverse .feature__visual { order: 0; }
  .feature__copy > p:not(.feature__kicker) { max-width: none; }
  .tech { grid-template-columns: repeat(3, 1fr); }
  .package { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container, .container--narrow { width: calc(100% - 36px); }
  .hero { padding-top: 118px; }
  .hero__visual { height: 570px; margin-top: 4px; }
  .phone--a, .phone--c { display: none; }
  .phone--b { width: min(276px, 78vw); }
  .float { display: none; }

  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar > div { border-left: 0; padding-left: 0; }
  .statbar > div:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 18px; }
  .statbar > div:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }

  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { border-left: 0; padding-left: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 18px; }
  .metric:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .metric:nth-child(4) { border-left: 0; padding-left: 0; }

  .panel__body--split { grid-template-columns: 1fr; }
  .flow__arrow { display: none; }
  .flow { gap: 6px; row-gap: 7px; }
  .quote__bars { height: 56px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { gap: 14px; }
  .closing__cta .btn { width: 100%; }
  .phone--how { width: 235px; }
}

@media (max-width: 520px) {
  .nav__inner { height: 66px; }
  .nav__links { top: 66px; }
  .nav__logo { height: 23px; }
  .nav__tag { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero__meta { gap: 8px 16px; }
  .hero__copy .btn { flex: 1 1 auto; }
  .hero__visual { height: 520px; }
  .phone--b { width: min(250px, 76vw); }
  .steps { grid-template-columns: 1fr; }
  .tech { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .price__card { padding: 22px; }
  .float { padding: 8px 10px 8px 8px; }
  .float strong { font-size: 8.5px; }
}

@media (max-width: 400px) {
  .eyebrow { font-size: 10px; letter-spacing: 0.14em; gap: 7px; }
  .eyebrow__year { display: none; }
}

/* ---------- Offer dialog ---------- */

.offer {
  position: relative;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(26px, 4.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.offer[open] { animation: offerIn 0.24s var(--ease); }
@keyframes offerIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
}
.offer::backdrop {
  background: rgba(11, 26, 46, 0.48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.offer .eyebrow { margin-bottom: 10px; }
.offer h2 {
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  margin-bottom: 12px;
}
.offer__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.offer__mail {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(0.95rem, 3.6vw, 1.12rem);
  font-weight: 800;
  color: var(--amber);
  overflow-wrap: anywhere;
  border-bottom: 2px solid rgba(168, 98, 0, 0.28);
  padding-bottom: 2px;
}
.offer__mail:hover { border-color: var(--amber); }
.offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.offer__actions .btn { flex: 1 1 150px; }
.offer__hint {
  margin: 16px 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted-2);
}
.offer__hint a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.offer__status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
}
.offer__close-form {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}
.offer__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.offer__close:hover {
  color: var(--text-strong);
  border-color: var(--line-strong);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
