:root {
  --paper: #fbf7ef;
  --paper-2: #fffdf8;
  --ink: #13201f;
  --muted: #6c7775;
  --teal: #0f817b;
  --teal-dark: #0b5656;
  --mint: #dcefe8;
  --orange: #f26a3d;
  --gold: #f0bb45;
  --line: rgba(19, 32, 31, 0.13);
  --shadow: 0 24px 80px rgba(19, 32, 31, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: relative;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15, 129, 123, 0.24);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #354340;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.header-button,
.button.primary {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 14px 30px rgba(242, 106, 61, 0.28);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.86) 36%, rgba(251, 247, 239, 0.14) 74%),
    linear-gradient(180deg, rgba(251, 247, 239, 0.2) 0%, rgba(251, 247, 239, 0.94) 100%);
}

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

.hero-copy {
  width: min(720px, calc(100% - 40px));
  padding: clamp(76px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
  margin-left: clamp(20px, 6vw, 88px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
a,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(46px, 8.2vw, 96px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title span,
.company-title span {
  display: block;
}

.company-title {
  max-width: 760px;
  font-size: clamp(42px, 7.2vw, 86px);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lead,
.section p,
.beta-lead {
  color: #34413f;
  font-size: clamp(16px, 1.7vw, 20px);
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-weight: 700;
}

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

.microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.split,
.problem,
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.intro {
  background: var(--paper-2);
}

.phone-card {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.phone-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.phone {
  width: min(320px, 100%);
  padding: 12px;
  background: #111;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 88px;
  height: 22px;
  margin: 0 auto 8px;
  background: #050505;
  border-radius: 999px;
}

.phone-screen {
  min-height: 560px;
  padding: 24px;
  background: #fffdf8;
  border-radius: 26px;
}

.app-label {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.phone-screen strong {
  display: block;
  margin: 18px 0;
  font-size: 48px;
  line-height: 1;
}

.phone-screen small {
  color: var(--muted);
  font-size: 20px;
}

.map-surface {
  position: relative;
  height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(15, 129, 123, 0.22), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(242, 106, 61, 0.2), transparent 28%),
    linear-gradient(135deg, #dcefe8, #f8ecd5);
  border-radius: 20px;
}

.route-line {
  position: absolute;
  inset: 42px 84px 52px 96px;
  border: 8px solid #fff;
  border-left-color: var(--orange);
  border-bottom-color: var(--teal);
  border-radius: 48% 58% 42% 62%;
  transform: rotate(-12deg);
}

.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 6px solid var(--orange);
  border-radius: 999px;
}

.pin-a { left: 76px; top: 78px; }
.pin-b { right: 64px; top: 150px; border-color: var(--teal); }
.pin-c { left: 126px; bottom: 72px; border-color: var(--gold); }

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.tabbar span {
  height: 38px;
  background: #edf3ef;
  border-radius: 14px;
}

.features {
  background: #eef5ef;
}

.features h2 {
  max-width: 920px;
}

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

.feature-grid article,
.cost-board div,
.doc-block,
.faq-grid details {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid article {
  min-height: 238px;
  padding: 24px;
}

.chip {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 12px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

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

.problem-copy p {
  max-width: 700px;
}

.cost-board {
  display: grid;
  gap: 14px;
}

.cost-board div {
  padding: 26px;
}

.cost-board span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cost-board strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.2;
}

.story {
  background: var(--paper-2);
}

.story-art img {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.story-list li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.beta {
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 106, 61, 0.16), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(15, 129, 123, 0.14), transparent 30%),
    var(--paper);
}

.beta h2,
.beta-lead {
  max-width: 860px;
}

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

.faq-grid details {
  min-height: 210px;
  padding: 22px;
}

.faq-grid summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-grid p {
  color: var(--muted);
}

.final-cta {
  padding: clamp(70px, 12vw, 140px) 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-dark), #153634 58%, var(--orange));
}

.final-cta h2 {
  margin-inline: auto;
}

.final-cta p {
  margin: 16px auto 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #fffdf8;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.doc-main {
  width: min(880px, calc(100% - 40px));
  padding: 70px 0 100px;
  margin: 0 auto;
}

.doc-main h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
}

.doc-block {
  margin-top: 18px;
  padding: 24px;
}

.doc-block h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.doc-block p,
.doc-block li {
  color: var(--muted);
}

.doc-block a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.vision-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vision-panel span {
  display: grid;
  min-height: 92px;
  place-items: center;
  color: var(--teal-dark);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-feature h3 {
  font-size: clamp(26px, 3.2vw, 42px);
}

.product-feature img {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-section {
  background: var(--paper-2);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.company-grid dl,
.company-card {
  margin: 0;
  padding: 24px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.company-grid dl {
  display: grid;
  gap: 16px;
}

.company-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-grid dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

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

  .feature-grid,
  .product-feature,
  .company-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(251, 247, 239, 0.96) 0%, rgba(251, 247, 239, 0.72) 44%, rgba(251, 247, 239, 0.98) 100%);
  }

  .hero-copy {
    margin-inline: 20px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .header-button {
    display: none;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .phone-screen {
    min-height: 480px;
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
