:root {
  --ink: #142443;
  --ink-soft: #45597d;
  --ink-muted: #66718a;
  --paper: #fff1d6;
  --cream: #fffcf2;
  --white: #ffffff;
  --orange: #ffa21a;
  --orange-hi: #ffc450;
  --sky: #38bdf2;
  --sky-hi: #8ee3fb;
  --peach: #ff796c;
  --lime: #98d947;
  --grape: #9b70e8;
  --yard: #ffdf7a;
  --belt: #45597d;
  --outline: 3px solid var(--ink);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow: 6px 7px 0 rgba(20, 36, 67, 0.18);
  --shadow-deep: 10px 12px 0 rgba(20, 36, 67, 0.18);
  --font-display: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 9%, rgba(255, 162, 26, 0.18) 0 12rem, transparent 12.2rem),
    radial-gradient(circle at 5% 68%, rgba(56, 189, 242, 0.14) 0 11rem, transparent 11.2rem),
    linear-gradient(180deg, #fff9e9 0%, var(--paper) 55%, #ffe8bf 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  pointer-events: none;
  background-image: radial-gradient(var(--ink) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ul { margin-top: 0; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border: var(--outline);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-weight: 900;
}
.skip-link:focus { top: 12px; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 242, 0.9);
  border-bottom: 2px solid rgba(20, 36, 67, 0.16);
  backdrop-filter: blur(14px);
}

.nav__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand img { width: 46px; height: 46px; }

.nav__links,
.footer__links {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.nav__links a:hover,
.nav__links a:focus-visible { background: var(--paper); color: var(--ink); }
.nav__links .nav__cta { background: var(--ink); color: var(--white); }
.nav__links .nav__cta:hover,
.nav__links .nav__cta:focus-visible { background: var(--orange); color: var(--ink); }

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow {
  padding: 7px 13px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--yard);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
}

.hero { padding: 78px 0 46px; overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 64px;
}
.hero h1 {
  margin: 20px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--orange); text-shadow: 3px 3px 0 var(--ink); }
.hero__body { max-width: 52ch; color: var(--ink-soft); font-size: clamp(1.06rem, 1.8vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin: 18px 0 0; color: var(--ink-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; }

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: 4px 5px 0 rgba(20, 36, 67, 0.18);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); box-shadow: 6px 7px 0 rgba(20, 36, 67, 0.2); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary span { color: var(--orange); }
.btn--secondary { background: var(--white); color: var(--ink); }

.phone-shot {
  position: relative;
  width: min(100%, 410px);
  margin: 0 auto;
  padding: 11px;
  border: 4px solid var(--ink);
  border-radius: 40px;
  background: var(--ink);
  box-shadow: var(--shadow-deep);
  transform: rotate(1.5deg);
}
.phone-shot::before {
  content: "";
  position: absolute;
  inset: -20px auto auto -28px;
  width: 72px;
  height: 72px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--orange) url("img/huehaul-logo.svg") center / 64px no-repeat;
  transform: rotate(-8deg);
  z-index: 2;
}
.phone-shot__screen {
  aspect-ratio: 672 / 1496;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 27px;
  background: var(--cream);
}
.phone-shot__screen img { width: 100%; height: auto; }
.phone-shot > figcaption {
  margin: 10px 4px 1px;
  color: rgba(255,255,255,.72);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 28px 0 0; }
.stat { padding: 20px 12px; border: var(--outline); border-radius: var(--radius-md); background: rgba(255,255,255,.88); box-shadow: var(--shadow); text-align: center; }
.stat__value { font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.stat:nth-child(1) .stat__value { color: var(--orange); }
.stat:nth-child(2) .stat__value { color: var(--sky); }
.stat:nth-child(3) .stat__value { color: var(--grape); }
.stat:nth-child(4) .stat__value { color: var(--lime); }
.stat__label { margin-top: 6px; color: var(--ink-muted); font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }

.screen-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.screen-card {
  margin: 0;
  padding: 9px 9px 22px;
  border: 4px solid var(--ink);
  border-radius: 32px;
  background: var(--ink);
  box-shadow: var(--shadow-deep);
}
.screen-card--lifted { transform: translateY(-18px); }
.screen-card .phone-shot__screen { border-radius: 21px; }
.screen-card figcaption { display: grid; gap: 3px; padding: 17px 10px 0; color: var(--white); }
.screen-card figcaption strong { color: var(--orange-hi); font-family: var(--font-display); font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; }
.screen-card figcaption span { color: rgba(255,255,255,.68); font-size: .8rem; line-height: 1.45; }
.build-note { margin: 26px 0 0; color: var(--ink-muted); font-size: .78rem; font-weight: 800; text-align: center; }

.section { padding: 108px 0 0; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head h2,
.safety-copy h2,
.cta h2 {
  margin: 9px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: .98;
  text-transform: uppercase;
}
.section__head p,
.safety-copy > p { color: var(--ink-soft); font-size: 1.06rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step,
.feature {
  position: relative;
  padding: 25px;
  border: var(--outline);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.step__num { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; }
.step:nth-child(2) .step__num { background: var(--sky); }
.step:nth-child(3) .step__num { background: var(--lime); }
.step h3,
.feature h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 900; text-transform: uppercase; }
.step p,
.feature p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature__icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 18px; border: 2px solid var(--ink); border-radius: 15px; background: var(--yard); font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; }
.feature:nth-child(2) .feature__icon { background: var(--sky); }
.feature:nth-child(3) .feature__icon { background: var(--peach); }
.feature:nth-child(4) .feature__icon { background: var(--grape); }
.feature:nth-child(5) .feature__icon { background: var(--lime); }
.feature:nth-child(6) .feature__icon { background: var(--orange); }

.safety {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 42px;
  align-items: center;
  padding: 46px;
  border: 4px solid var(--ink);
  border-radius: 32px;
  background: var(--cream);
  box-shadow: var(--shadow-deep);
}
.shield { position: relative; display: grid; min-height: 320px; place-items: center; border: 3px dashed rgba(20,36,67,.28); border-radius: 28px; background: radial-gradient(circle, rgba(152,217,71,.32), transparent 62%); }
.shield__shape { display: grid; width: 190px; height: 220px; place-items: center; clip-path: polygon(50% 0, 92% 17%, 86% 72%, 50% 100%, 14% 72%, 8% 17%); background: var(--ink); }
.shield__inner { display: grid; width: 166px; height: 194px; place-items: center; clip-path: inherit; background: var(--lime); }
.shield__inner img { width: 108px; }
.check-list { display: grid; gap: 11px; padding: 0; margin: 23px 0 0; list-style: none; }
.check-list li { display: flex; gap: 10px; color: var(--ink-soft); font-weight: 700; }
.check-list li::before { content: "✓"; display: grid; flex: 0 0 24px; height: 24px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 900; }

.cta { margin: 108px auto 0; padding: 58px 30px; border: 4px solid var(--ink); border-radius: 32px; background: linear-gradient(135deg, var(--orange), var(--orange-hi)); box-shadow: var(--shadow-deep); text-align: center; }
.cta p { max-width: 58ch; margin: 0 auto 26px; color: var(--ink-soft); font-size: 1.04rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.footer { margin-top: 100px; padding: 38px 0; border-top: 3px solid var(--ink); background: var(--ink); color: var(--white); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.footer .brand { color: var(--white); }
.footer__links { flex-wrap: wrap; justify-content: flex-end; }
.footer__links a { color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 800; text-decoration: none; }
.footer__links a:hover,
.footer__links a:focus-visible { color: var(--orange); }
.footer__copy { grid-column: 1 / -1; margin: 0; color: rgba(255,255,255,.52); font-size: .76rem; }

@media (prefers-reduced-motion: no-preference) {
  .phone-shot--hero { animation: float-card 5s ease-in-out infinite; }
  @keyframes float-card { 0%,100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(.2deg) translateY(-8px); } }
}

@media (max-width: 900px) {
  .nav__links li:nth-child(-n+2) { display: none; }
  .hero { padding-top: 54px; }
  .hero__inner { grid-template-columns: 1fr; gap: 54px; }
  .phone-shot { margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .safety { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .nav__inner { min-height: 66px; }
  .brand { font-size: .98rem; }
  .brand img { width: 40px; height: 40px; }
  .nav__links li:not(:last-child) { display: none; }
  .hero h1 { font-size: clamp(3rem, 18vw, 4.8rem); }
  .hero__actions .btn { width: 100%; }
  .block-grid { gap: 4px; padding: 10px; }
  .stats, .steps, .features { grid-template-columns: 1fr 1fr; }
  .screen-gallery { gap: 12px; }
  .screen-card { border-width: 3px; border-radius: 22px; padding: 6px 6px 16px; }
  .screen-card .phone-shot__screen { border-radius: 15px; }
  .screen-card figcaption { padding: 12px 5px 0; }
  .screen-card figcaption strong { font-size: .75rem; }
  .screen-card figcaption span { font-size: .68rem; }
  .steps .step:last-child { grid-column: 1 / -1; }
  .safety { padding: 24px 18px; }
  .shield { min-height: 250px; }
  .shield__shape { width: 150px; height: 176px; }
  .shield__inner { width: 132px; height: 154px; }
  .shield__inner img { width: 88px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .stats, .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps .step:last-child { grid-column: auto; }
  .screen-gallery { grid-template-columns: 1fr; gap: 24px; padding-inline: 16px; }
  .screen-card--lifted { transform: none; }
  .screen-card figcaption strong { font-size: .95rem; }
  .screen-card figcaption span { font-size: .78rem; }
}
