:root {
  --ink: #0b1320;
  --ink-2: #141d2e;
  --ink-3: #1c283c;
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --cream: #faf7f1;
  --heat: #e0703a;
  --heat-2: #c45a28;
  --ice: #6ec4d4;
  --ice-2: #4aa8bb;
  --muted: #6f675c;
  --line: rgba(11, 19, 32, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(11, 19, 32, 0.18);
  --radius: 18px;
  --max: 1120px;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: background 0.25s, backdrop-filter 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(11, 19, 32, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo svg {
  display: block;
}

.logo-mark {
  width: 32px;
  height: 32px;
}

.logo > span {
  display: flex;
  flex-direction: column;
}

.logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav-links a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-heat {
  background: var(--heat);
  color: #fff;
  box-shadow: 0 8px 24px rgba(224, 112, 58, 0.28);
}

.btn-heat:hover {
  background: var(--heat-2);
}

.btn-ice {
  background: var(--ice);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-light);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 19, 32, 0.35) 0%, rgba(11, 19, 32, 0.15) 28%, rgba(11, 19, 32, 0.72) 70%, rgba(11, 19, 32, 0.94) 100%),
    linear-gradient(90deg, rgba(11, 19, 32, 0.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--heat);
  box-shadow: 0 0 0 6px rgba(224, 112, 58, 0.18);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 20px;
}

.hero-lead {
  max-width: 42ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 24px;
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
}

.hero-meta dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-meta dd {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 4px;
}

/* Towns */
.towns {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
}

.towns-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 96px 0;
}

.section-kicker {
  color: var(--heat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  max-width: 54ch;
}

/* Problem */
.problem {
  background: var(--paper);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

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

.problem-card + .problem-card {
  margin-top: 14px;
}

.problem-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

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

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--heat);
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Call demo */
.demo {
  background: var(--ink-2);
  color: #fff;
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}

.phone {
  width: min(340px, 100%);
  margin: 0 auto;
  background: #0a0f18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 18px 14px 22px;
  box-shadow: var(--shadow);
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 10px 12px;
}

.phone-head {
  text-align: center;
  padding: 8px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-head small {
  color: var(--ice);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.phone-head strong {
  display: block;
  margin-top: 4px;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 8px 8px;
  min-height: 340px;
}

.bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
}

.chat.is-on .bubble {
  animation: pop 0.4s ease forwards;
}

.chat.is-on .bubble:nth-child(1) { animation-delay: 0.1s; }
.chat.is-on .bubble:nth-child(2) { animation-delay: 0.7s; }
.chat.is-on .bubble:nth-child(3) { animation-delay: 1.4s; }
.chat.is-on .bubble:nth-child(4) { animation-delay: 2.1s; }
.chat.is-on .bubble:nth-child(5) { animation-delay: 2.8s; }
.chat.is-on .bubble:nth-child(6) { animation-delay: 3.5s; }

@keyframes pop {
  to { opacity: 1; transform: none; }
}

.bubble.them {
  align-self: flex-start;
  background: #243044;
}

.bubble.us {
  align-self: flex-end;
  background: #2a5d66;
}

.sms {
  margin-top: 16px;
  background: #172033;
  border-radius: 16px;
  padding: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.sms b {
  color: var(--heat);
}

.demo-copy li {
  list-style: none;
  padding-left: 28px;
  position: relative;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.8);
}

.demo-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ice);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper);
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* How */
.how {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

.step-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--heat);
  line-height: 1;
  margin-bottom: 16px;
}

/* Split seasons */
.seasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.season {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  color: #fff;
}

.season img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.season::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 19, 32, 0.82));
}

.season-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.season-copy span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ice);
}

.season-copy h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 8px 0 6px;
}

/* Compare */
.compare {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 36px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

th:last-child {
  color: var(--ice);
}

td:last-child {
  font-weight: 600;
}

/* Founding */
.founding {
  background: var(--ink);
  color: #fff;
}

.founding-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.founding .lede {
  color: rgba(255, 255, 255, 0.7);
}

.form {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 28px;
}

.form h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form p {
  color: var(--muted);
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--ice);
  border-color: transparent;
}

.form .btn {
  width: 100%;
  margin-top: 18px;
}

.form input:user-invalid,
.form textarea:user-invalid {
  outline: 2px solid var(--heat);
  background: #fff6f1;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.form-success {
  display: none;
  padding: 16px;
  background: #e8f6f4;
  border-radius: 12px;
  color: #155c55;
  margin-bottom: 12px;
}

.form-success.show {
  display: block;
}

.hp {
  position: absolute;
  left: -9999px;
}

.perks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.perk {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.perk b {
  color: var(--ice);
}

/* FAQ */
.faq-list {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  color: var(--muted);
  margin-top: 10px;
}

/* Footer */
footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 28px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
}

footer a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    background: var(--ink);
    border: 1px solid var(--line-light);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .hero-meta,
  .problem-grid,
  .demo-grid,
  .features-grid,
  .steps,
  .seasons,
  .founding-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  section {
    padding: 72px 0;
  }

  .nav .btn {
    display: none;
  }
}
