:root {
  --ink: #17231f;
  --muted: #50635c;
  --paper: #fffdf8;
  --mist: #edf6f1;
  --mint: #bfe8d2;
  --leaf: #227253;
  --leaf-dark: #174f3c;
  --sun: #ffd76a;
  --coral: #ff8566;
  --blue: #9dd7ff;
  --line: rgba(23, 35, 31, 0.14);
  --shadow: 0 22px 50px rgba(24, 45, 37, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.section-band {
  padding: clamp(64px, 8vw, 112px) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(18px, calc((100vw - 1140px) / 2));
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 38px;
  flex: 0 0 42px;
}

.brand-bubble {
  position: absolute;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--blue);
}

.brand-bubble-one {
  width: 25px;
  height: 21px;
  left: 1px;
  top: 1px;
}

.brand-bubble-two {
  width: 22px;
  height: 19px;
  right: 1px;
  top: 7px;
  background: var(--sun);
}

.brand-cart {
  position: absolute;
  left: 9px;
  right: 4px;
  bottom: 2px;
  height: 17px;
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 2px 2px 7px 7px;
  background: var(--mint);
  box-shadow: 6px 7px 0 -4px var(--ink), 20px 7px 0 -4px var(--ink);
}

.brand-cart::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -7px;
  width: 12px;
  height: 2px;
  background: var(--ink);
  transform: rotate(18deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius);
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--mist);
}

.nav-cta {
  background: var(--ink);
  color: #fff;
}

.nav-links .nav-cta:hover {
  background: var(--leaf-dark);
}

.hero {
  padding-top: clamp(56px, 7vw, 92px);
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-lede,
.text-stack p,
.help-copy p,
.signup-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-lede {
  max-width: 680px;
}

.challenge-line {
  display: inline-block;
  max-width: 620px;
  margin: 2px 0 0;
  border-left: 5px solid var(--sun);
  padding-left: 14px;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--leaf);
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 114, 83, 0.22);
}

.button-primary:hover {
  background: var(--leaf-dark);
}

.button-primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
}

.price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.price-note strong {
  color: var(--ink);
  background: var(--sun);
  border: 1px solid rgba(23, 35, 31, 0.18);
  border-radius: var(--radius);
  padding: 5px 8px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(23, 35, 31, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(23, 35, 31, 0.05) 1px, transparent 1px),
    #f6fbf8;
  background-size: 34px 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.query-card {
  position: absolute;
  z-index: 2;
  width: min(270px, 72%);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: 17px;
  box-shadow: 8px 8px 0 rgba(23, 35, 31, 0.12);
}

.query-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
  line-height: 1.1;
}

.query-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-label {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--mist);
  padding: 4px 8px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-search {
  left: 30px;
  top: 34px;
}

.card-ai {
  right: 28px;
  top: 168px;
  background: #fff8dc;
}

.card-cart {
  left: 72px;
  bottom: 42px;
  background: #f0fff7;
}

.route-line {
  position: absolute;
  z-index: 1;
  height: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 16px, transparent 16px 28px);
  transform-origin: left center;
  opacity: 0.85;
}

.route-one {
  width: 280px;
  left: 160px;
  top: 170px;
  transform: rotate(20deg);
}

.route-two {
  width: 300px;
  left: 178px;
  top: 334px;
  transform: rotate(-26deg);
  background: repeating-linear-gradient(90deg, var(--leaf) 0 16px, transparent 16px 28px);
}

.small-ticket {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 72px;
  min-height: 40px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--blue);
  font-weight: 900;
  transform: rotate(-5deg);
}

.ticket-one {
  right: 40px;
  bottom: 112px;
}

.ticket-two {
  left: 36px;
  top: 230px;
  background: var(--sun);
  transform: rotate(7deg);
}

.ticket-three {
  right: 88px;
  top: 60px;
  background: var(--mint);
}

.story-strip {
  padding: 30px 0;
  background: var(--ink);
  color: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.story-grid p {
  margin-bottom: 0;
}

.story-kicker {
  color: var(--sun);
  font-weight: 900;
  text-transform: uppercase;
}

.split,
.help-layout,
.service-grid,
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.text-stack p:last-child,
.help-copy p:last-child,
.signup-copy p:last-child {
  margin-bottom: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.feature-card {
  min-height: 255px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--coral);
  font-weight: 900;
}

.feature-card p {
  color: var(--muted);
}

.help-band {
  background: var(--mist);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(23, 35, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  padding: 20px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.service-item strong {
  font-size: 18px;
}

.service-item span {
  color: var(--muted);
}

.signup-band {
  background: #f8f1e7;
}

.signup-form {
  display: grid;
  gap: 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 10px 10px 0 rgba(23, 35, 31, 0.1);
}

.signup-form label {
  display: grid;
  gap: 7px;
  font-size: 15px;
  font-weight: 800;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="url"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(23, 35, 31, 0.22);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

.signup-form input:focus {
  outline: 0;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(34, 114, 83, 0.16);
}

.checkbox-label {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.checkbox-label input {
  margin-top: 4px;
}

.signup-status {
  min-height: 20px;
  margin: 0;
  color: var(--leaf-dark);
  font-size: 14px;
}

.signup-status.is-error {
  color: #a6402c;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: var(--paper);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.footer-grid p {
  margin-bottom: 0;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .split,
  .help-layout,
  .service-grid,
  .signup-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1140px);
  }

  .brand-text {
    font-size: 16px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  h1 {
    font-size: 41px;
  }

  h2 {
    font-size: 32px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 520px;
  }

  .query-card {
    width: calc(100% - 38px);
  }

  .card-search {
    left: 19px;
    top: 24px;
  }

  .card-ai {
    left: 19px;
    right: auto;
    top: 178px;
  }

  .card-cart {
    left: 19px;
    bottom: 26px;
  }

  .route-line,
  .small-ticket {
    display: none;
  }

  .signup-form {
    box-shadow: 6px 6px 0 rgba(23, 35, 31, 0.1);
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
