:root {
  --green: #22c55e;
  --green-700: #15803d;
  --green-900: #09351f;
  --mint: #e9fbf1;
  --mint-2: #f5fff9;
  --ink: #102015;
  --muted: #587263;
  --line: #c9efd9;
  --amber: #f4a51c;
  --rose: #f05a6b;
  --sky: #38bdf8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(10, 77, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 197, 94, 0.1), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(56, 189, 248, 0.09), transparent 26rem),
    linear-gradient(180deg, #fbfffd 0%, #f2fbf6 45%, #ffffff 100%);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(201, 239, 217, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(11, 90, 44, 0.09);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--green-900);
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--green-700);
  background: var(--mint);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-700));
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.28);
}

.secondary-button {
  color: var(--green-900);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 58px 0 72px;
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 7.4vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin-top: 34px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-shell,
.preview-phone {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 393 / 852;
  padding: 10px;
  border: 1px solid rgba(245, 255, 249, 0.24);
  border-radius: 58px;
  background:
    linear-gradient(145deg, #2c3630 0%, #0a1710 18%, #040806 52%, #1b2a21 78%, #718279 100%),
    #0a120d;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 0 7px rgba(0, 0, 0, 0.86),
    0 34px 80px rgba(7, 43, 24, 0.22);
}

.phone-shell::before,
.preview-phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 5;
  width: 126px;
  height: 38px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 78% 50%, #151a17 0 5px, #020403 6px 10px, transparent 11px),
    linear-gradient(180deg, #050806, #000000);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translateX(-50%);
}

.phone-shell::after,
.preview-phone::after {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 52px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 20px 34px rgba(255, 255, 255, 0.04);
}

.phone-button {
  position: absolute;
  display: block;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6c7a72, #111b15 55%, #46554c);
  box-shadow: inset 1px 0 1px rgba(255, 255, 255, 0.2);
}

.phone-action {
  top: 112px;
  left: -3px;
  height: 34px;
}

.phone-volume {
  left: -4px;
  height: 74px;
}

.volume-top {
  top: 182px;
}

.volume-bottom {
  top: 272px;
}

.phone-power {
  top: 224px;
  right: -4px;
  height: 112px;
}

.phone-map {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 48px;
  background:
    linear-gradient(72deg, transparent 0 40%, rgba(37, 99, 235, 0.14) 40% 43%, transparent 43%),
    linear-gradient(145deg, transparent 0 55%, rgba(34, 197, 94, 0.2) 55% 63%, transparent 63%),
    #f4f8f6;
}

.iphone-status {
  position: absolute;
  top: 24px;
  right: 28px;
  left: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  color: #102015;
  font-size: 14px;
  font-weight: 850;
  pointer-events: none;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.signal-bars {
  display: inline-block;
  width: 19px;
  height: 13px;
  background:
    linear-gradient(to top, #102015 0 4px, transparent 4px) 0 100% / 3px 13px no-repeat,
    linear-gradient(to top, #102015 0 7px, transparent 7px) 5px 100% / 3px 13px no-repeat,
    linear-gradient(to top, #102015 0 10px, transparent 10px) 10px 100% / 3px 13px no-repeat,
    linear-gradient(to top, #102015 0 13px, transparent 13px) 15px 100% / 3px 13px no-repeat;
}

.wifi-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 14px;
}

.wifi-icon::before,
.wifi-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid #102015;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.wifi-icon::before {
  top: 1px;
  width: 18px;
  height: 10px;
}

.wifi-icon::after {
  top: 6px;
  width: 10px;
  height: 6px;
}

.battery-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 26px;
  height: 13px;
  padding: 2px;
  border: 1.8px solid #102015;
  border-radius: 4px;
}

.battery-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  width: 2px;
  height: 6px;
  border-radius: 0 2px 2px 0;
  background: #102015;
}

.battery-icon b {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: 2px;
  background: #102015;
}

.map-road,
.map-river {
  position: absolute;
  border-radius: 999px;
}

.road-one {
  inset: 18% auto auto 18%;
  width: 72%;
  height: 14px;
  background: #b8c7d5;
  transform: rotate(-18deg);
}

.road-two {
  inset: 8% auto auto 52%;
  width: 12px;
  height: 80%;
  background: #a7bcd0;
  transform: rotate(9deg);
}

.map-river {
  inset: 24% 16% auto auto;
  width: 42px;
  height: 68%;
  background: rgba(56, 189, 248, 0.34);
  transform: rotate(12deg);
}

.search-pill {
  position: absolute;
  top: 88px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 22px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 15px 30px rgba(9, 53, 31, 0.13);
}

.search-icon {
  width: 18px;
  height: 18px;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  display: block;
  width: 9px;
  height: 3px;
  margin: 12px 0 0 13px;
  border-radius: 999px;
  background: var(--green);
  transform: rotate(45deg);
}

.marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 5px solid var(--white);
  border-radius: 50% 50% 50% 12px;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(21, 128, 61, 0.28);
  transform: rotate(-45deg);
}

.marker span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
}

.marker-main {
  left: 44%;
  top: 43%;
}

.marker-small {
  right: 14%;
  bottom: 23%;
  width: 42px;
  height: 42px;
  background: var(--amber);
}

.promo-sheet {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -16px 44px rgba(9, 53, 31, 0.16);
}

.ad-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green-700);
  background: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.promo-sheet h2 {
  margin-top: 16px;
  font-size: 28px;
}

.promo-sheet p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.promo-sheet button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--green-700);
  background: var(--mint-2);
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro-band,
.outcomes,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.intro-band p:last-child,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.section-heading {
  min-width: 0;
  max-width: 790px;
  margin-bottom: 34px;
}

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

.format-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) 1fr;
  gap: 22px;
  align-items: center;
  min-height: 278px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 40px rgba(10, 77, 38, 0.08);
}

.format-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--mint);
}

.format-number {
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
}

.format-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.preview-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(120deg, rgba(34, 197, 94, 0.1), rgba(56, 189, 248, 0.07)),
    #f7fffa;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.builder {
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.builder label,
.builder legend {
  color: var(--green-900);
  font-size: 14px;
  font-weight: 850;
}

.builder input {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: var(--white);
}

.builder input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.builder fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint-2);
}

.segmented button {
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.segmented button.active {
  color: var(--white);
  background: var(--green-700);
}

.preview-phone {
  justify-self: center;
}

.app-screen {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 48px;
  background: #f4f8f6;
}

.screen-map {
  position: relative;
  height: 100%;
  padding: 88px 18px 18px;
  background:
    linear-gradient(68deg, transparent 0 42%, rgba(99, 116, 139, 0.18) 42% 44%, transparent 44%),
    linear-gradient(160deg, transparent 0 52%, rgba(56, 189, 248, 0.28) 52% 59%, transparent 59%),
    #f3f7f5;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 22px;
  color: var(--green-900);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(9, 53, 31, 0.12);
}

.result-stack {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.result-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
}

.result-row:first-child {
  border-top: 0;
}

.result-row strong,
.news-card h3,
.bottom-sheet h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.distance {
  color: var(--muted);
  font-size: 14px;
}

.placeholder-chip {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--green-700);
  background: var(--mint);
  font-weight: 750;
  line-height: 1.35;
}

.bottom-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 22px 22px;
  border-radius: 30px 30px 0 0;
  background: var(--white);
  box-shadow: 0 -18px 42px rgba(9, 53, 31, 0.18);
}

.bottom-sheet p,
.news-card p {
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.screen-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--green-700);
  background: var(--mint-2);
  font-weight: 850;
}

.screen-news {
  position: relative;
  height: 100%;
  padding: 88px 18px 18px;
  background: var(--mint);
}

.news-title {
  color: var(--green-900);
  font-size: 30px;
  font-weight: 850;
}

.news-card {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(9, 53, 31, 0.12);
}

.news-art {
  display: grid;
  place-items: center;
  height: 150px;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 22%, rgba(244, 165, 28, 0.9), transparent 34px),
    linear-gradient(135deg, var(--green), var(--green-900));
  font-size: 54px;
  font-weight: 900;
}

.news-body {
  padding: 18px;
}

.outcome-list {
  display: grid;
  gap: 14px;
}

.outcome-list div {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.outcome-list strong {
  font-size: 20px;
}

.outcome-list span {
  color: var(--muted);
  line-height: 1.5;
}

.contact {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  padding: 44px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 53, 31, 0.94), rgba(21, 128, 61, 0.93)),
    var(--green-900);
}

.contact > div {
  min-width: 0;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
}

.lead-form label,
.lead-form legend {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 850;
}

.lead-form input[type="text"],
.lead-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  resize: vertical;
}

.lead-form input[type="text"] {
  min-height: 52px;
}

.lead-form textarea {
  min-height: 128px;
  line-height: 1.5;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.lead-form input[type="text"]:focus,
.lead-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.lead-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ad-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.check-card {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.check-card input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}

.check-card span {
  min-width: 0;
  line-height: 1.25;
}

.check-card:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(34, 197, 94, 0.22);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact .primary-button,
.form-submit {
  color: var(--green-900);
  background: var(--white);
  box-shadow: none;
}

.form-note {
  margin: -6px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 24px;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .intro-band,
  .outcomes,
  .contact,
  .preview-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  .hero-visual {
    align-items: center;
  }

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

  .ad-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(calc(100% - 20px), 370px);
    margin: 10px 0 0 10px;
    gap: 10px;
  }

  .brand span {
    font-size: 14px;
  }

  .nav {
    grid-column: 1 / -1;
    order: initial;
  }

  .header-cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero,
  .section,
  .preview-section,
  .contact {
    width: min(100%, 390px);
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding-bottom: 54px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .format-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-phone {
    width: min(100%, 360px);
  }

  .promo-sheet h2 {
    font-size: 24px;
  }

  .contact {
    margin-bottom: 16px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
}
