:root {
  --ink: #15100d;
  --muted: #74665c;
  --paper: #fffaf2;
  --paper-2: #f7ecdf;
  --line: rgba(21, 16, 13, 0.14);
  --soft: rgba(255, 255, 255, 0.72);
  --orange: #f3732f;
  --orange-dark: #bd4b20;
  --gold: #e6ae34;
  --blue: #2d6fd3;
  --teal: #169d8f;
  --green: #3c9a56;
  --purple: #7a5be8;
  --shadow: 0 28px 80px rgba(55, 36, 22, 0.16);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(243, 115, 47, 0.18), transparent 31rem),
    radial-gradient(circle at 92% 4%, rgba(45, 111, 211, 0.13), transparent 28rem),
    linear-gradient(180deg, #fffaf2 0%, #f8efe4 48%, #fffaf2 100%);
}

a { color: inherit; }
p { color: var(--muted); line-height: 1.7; font-size: 1.03rem; }
h1, h2, h3 { margin: 0; letter-spacing: -0.04em; line-height: 0.96; }
h1 { font-size: clamp(3rem, 8vw, 6.7rem); max-width: 11ch; }
h2 { font-size: clamp(2.15rem, 5vw, 4.35rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.75rem); }

.section-pad { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; padding: clamp(3.2rem, 8vw, 7rem) 0; }
.section-intro { max-width: 820px; margin-bottom: 2rem; }
.section-intro.narrow { max-width: 690px; text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  width: fit-content;
  color: var(--orange-dark);
  border: 1px solid rgba(243, 115, 47, 0.28);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.48rem 0.74rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0.9rem max(1.5rem, calc((100% - 1440px) / 2));
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 242, 0.82);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.72rem; text-decoration: none; }
.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 12px 35px rgba(243, 115, 47, 0.28);
}
.brand small { display: block; color: var(--muted); font-size: 0.76rem; margin-top: 0.08rem; }
.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.6rem); }
.nav a { text-decoration: none; color: var(--muted); font-weight: 800; font-size: 0.92rem; }
.nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: auto;
  padding-top: clamp(2rem, 4.2vw, 4.2rem);
  padding-bottom: clamp(3.4rem, 7vw, 6rem);
}
.hero-copy { min-width: 0; }
.hero-lede { max-width: 720px; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1.1rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}
.button.primary { color: #fff; background: var(--ink); box-shadow: 0 14px 34px rgba(21, 16, 13, 0.22); }
.button.primary:hover { transform: translateY(-1px); }
.button.secondary { background: rgba(255,255,255,.7); border-color: var(--line); color: var(--ink); }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.65rem; padding: 0; margin: 0; list-style: none; }
.hero-points li { border: 1px solid var(--line); background: rgba(255,255,255,.62); border-radius: 999px; padding: 0.52rem 0.72rem; color: var(--muted); font-weight: 800; font-size: 0.9rem; }

.hero-panel { min-width: 0; }
.road-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(21,16,13,.93), rgba(48,34,27,.92)),
    radial-gradient(circle at 30% 0%, rgba(243, 115, 47, .4), transparent 16rem);
  color: #fff;
  box-shadow: var(--shadow);
}
.road-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(255,255,255,.08) 45% 48%, transparent 48% 100%),
    repeating-linear-gradient(90deg, transparent 0 3rem, rgba(255,255,255,.035) 3rem 3.08rem);
  opacity: .8;
}
.road-label { position: relative; z-index: 1; color: #f6c88b; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 950; }
.ramp-steps { position: relative; z-index: 1; display: grid; gap: .85rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.ramp-steps li { display: grid; grid-template-columns: 3.1rem 1fr; gap: .4rem .9rem; align-items: center; background: rgba(255,255,255,.095); border: 1px solid rgba(255,255,255,.14); border-radius: 1.2rem; padding: .95rem; }
.ramp-steps span { grid-row: span 2; width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center; font-weight: 950; background: rgba(243,115,47,.22); color: #ffd8b7; }
.ramp-steps strong { font-size: 1.35rem; letter-spacing: -0.03em; }
.ramp-steps small { color: rgba(255,255,255,.72); }

.problem { border-top: 1px solid var(--line); }
.problem-grid, .path-grid, .module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.problem-grid article, .path-card, .module-grid article, .build-card, .demo-card, .lead-form {
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  background: rgba(255,255,255,.67);
  box-shadow: 0 12px 38px rgba(55, 36, 22, 0.08);
}
.problem-grid article { padding: 1.25rem; }
.chip { display: inline-flex; padding: .38rem .58rem; border-radius: 999px; font-size: .72rem; font-weight: 950; margin-bottom: 1rem; }
.chip-blue { background: rgba(45,111,211,.12); color: var(--blue); }
.chip-orange { background: rgba(243,115,47,.14); color: var(--orange-dark); }
.chip-green { background: rgba(60,154,86,.13); color: var(--green); }
.chip-gold { background: rgba(230,174,52,.18); color: #966612; }

.path { position: relative; }
.path-grid { counter-reset: path; }
.path-card { padding: 1.35rem; position: relative; overflow: hidden; }
.path-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: .38rem; background: var(--orange); }
.path-card > span { display: inline-flex; width: 2.8rem; height: 2.8rem; border-radius: .9rem; align-items: center; justify-content: center; color: #fff; background: var(--ink); font-weight: 950; margin-bottom: 1.1rem; }
.tone-site::before { background: var(--orange); }
.tone-found::before { background: var(--blue); }
.tone-contact::before { background: var(--gold); }
.tone-system::before { background: var(--green); }

.builds { border-top: 1px solid var(--line); }
.build-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; align-items: stretch; }
.build-card { padding: clamp(1.25rem, 3vw, 1.8rem); }
.build-card.featured { color: #fff; background: linear-gradient(145deg, var(--ink), #39261c); border-color: rgba(255,255,255,.12); }
.build-card.featured p, .build-card.featured li { color: rgba(255,255,255,.76); }
.build-kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 950; color: var(--orange-dark); margin: 0 0 1rem; }
.build-card.featured .build-kicker { color: #f6c88b; }
.build-card ul { padding: 0; margin: 1.2rem 0 0; list-style: none; display: grid; gap: .65rem; }
.build-card li { color: var(--muted); line-height: 1.45; padding-left: 1.45rem; position: relative; }
.build-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 950; }
.build-card.featured li::before { color: #8ee3a2; }

.modules { background: rgba(255,255,255,.24); border-block: 1px solid rgba(21,16,13,.08); width: 100%; max-width: none; padding-inline: max(1rem, calc((100% - 1180px) / 2)); }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.module-grid article { padding: 1.25rem; }
.module-icon { width: 3.05rem; height: 3.05rem; border-radius: 1rem; display: grid; place-items: center; color: #fff; font-weight: 950; font-size: 1.25rem; margin-bottom: 1rem; }
.module-icon.tone-found { background: var(--blue); }
.module-icon.tone-contact { background: var(--orange); }
.module-icon.tone-system { background: var(--gold); color: #3d2a05; }
.module-icon.tone-book { background: var(--teal); }
.module-icon.tone-pay { background: var(--green); }
.module-icon.tone-review { background: var(--purple); }

.demos { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr); gap: 1.2rem; align-items: stretch; }
.demo-card { display: flex; flex-direction: column; min-height: 24rem; padding: 1.5rem; text-decoration: none; color: #fff; background: linear-gradient(145deg, #1d1713, #4b2d1e); position: relative; overflow: hidden; }
.demo-card::after { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 17rem; height: 17rem; border-radius: 50%; background: rgba(243,115,47,.22); }
.demo-card h3, .demo-card p, .demo-card span { position: relative; z-index: 1; }
.demo-tag { align-self: flex-start; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: .44rem .7rem; font-size: .75rem; font-weight: 950; color: #f6c88b; text-transform: uppercase; letter-spacing: .12em; }
.demo-card h3 { margin-top: auto; font-size: clamp(2rem, 5vw, 3.5rem); }
.demo-card p { color: rgba(255,255,255,.74); }
.demo-link { color: #fff; font-weight: 950; }

.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, .75fr); gap: 1.3rem; align-items: start; border-top: 1px solid var(--line); }
.lead-form { padding: 1.25rem; display: grid; gap: .9rem; }
label { display: grid; gap: .42rem; color: var(--ink); font-weight: 850; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.76);
  color: var(--ink);
  padding: .9rem 1rem;
  font: inherit;
}
textarea { resize: vertical; }
.form-status { min-height: 1.4rem; margin: 0; font-weight: 850; color: var(--green); }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: 1.4rem clamp(1rem, 4vw, 2rem); }
.site-footer p { margin: 0; font-size: .92rem; }

@media (max-width: 920px) {
  .nav { display: none; }
  .hero, .demos, .contact, .build-grid { grid-template-columns: 1fr; }
  .problem-grid, .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-grid { grid-template-columns: 1fr 1fr; }
  h1 { max-width: 12ch; }
}

@media (max-width: 620px) {
  .section-pad { width: min(100% - 1rem, 1180px); padding-block: 3.3rem; }
  .site-header { align-items: flex-start; }
  .brand small { display: none; }
  h1 { font-size: clamp(2.45rem, 12.2vw, 3.35rem); line-height: 1; }
  h2 { font-size: clamp(1.85rem, 9.2vw, 2.75rem); }
  .eyebrow { font-size: .68rem; letter-spacing: .1em; }
  .hero-lede { font-size: 1rem; }
  .hero { min-height: auto; gap: 1.4rem; padding-top: 2.2rem; }
  .hero-actions .button, .lead-form .button { width: 100%; }
  .problem-grid, .path-grid, .module-grid { grid-template-columns: 1fr; }
  .road-card, .demo-card { border-radius: 1.35rem; }
  .ramp-steps li { grid-template-columns: 2.6rem 1fr; padding: .78rem; }
  .ramp-steps span { width: 2.55rem; height: 2.55rem; }
  .site-footer { display: block; }
  .site-footer p + p { margin-top: .5rem; }
}
