:root {
  color-scheme: light;
  --ink: #281200;
  --muted: #6f5a43;
  --paper: #fff7df;
  --surface: #fffdf8;
  --surface-warm: #fff0bc;
  --line: #f0cf8a;
  --brand-yellow: #ffd600;
  --brand-amber: #ffb000;
  --brand-orange: #ff7600;
  --brand-deep: #7a2c00;
  --accent-blue: #156f88;
  --night: #241000;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(122, 44, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 214, 0, 0.16), rgba(255, 247, 223, 0) 460px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 249, 231, 0.9);
  border-bottom: 1px solid rgba(240, 207, 138, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: url("sunline-icon.svg") center / cover no-repeat;
  box-shadow: 0 9px 20px rgba(255, 118, 0, 0.28);
}

.main-nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.95rem;
  font-weight: 750;
}

.main-nav a,
.site-footer a,
.text-link {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand-deep);
}

.hero {
  position: relative;
  display: grid;
  min-height: 74svh;
  overflow: hidden;
  background: var(--brand-orange);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(66, 24, 0, 0.76), rgba(121, 45, 0, 0.42) 44%, rgba(255, 118, 0, 0.06)),
    linear-gradient(0deg, rgba(40, 18, 0, 0.08), rgba(40, 18, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 0 clamp(18px, 8vw, 112px);
  padding: 82px 0 44px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe9a5;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 11ch;
  font-size: 6.8rem;
  text-shadow: 0 16px 34px rgba(80, 29, 0, 0.24);
}

h2 {
  font-size: 3.15rem;
}

h3 {
  font-size: 1.1rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 52rem;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 880px;
  margin-top: 44px;
}

.hero-proof div {
  min-height: 112px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 1.05rem;
}

.hero-proof span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: var(--brand-deep);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px rgba(122, 44, 0, 0.18);
}

.button-primary:hover {
  color: #4b1d00;
  background: #fff8df;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.52);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.button-dark {
  color: var(--white);
  background: var(--night);
  box-shadow: 0 14px 28px rgba(122, 44, 0, 0.16);
}

.button-dark:hover {
  background: #3a1800;
}

.content-band,
.legal-band {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

.showcase-band {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(145deg, rgba(255, 214, 0, 0.28), rgba(255, 247, 223, 0) 44%),
    var(--paper);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.showcase-copy {
  max-width: 700px;
}

.showcase-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.phone-preview {
  position: relative;
  justify-self: center;
  width: min(350px, 100%);
  aspect-ratio: 9 / 18;
  padding: 12px;
  background: linear-gradient(145deg, #3a1800, #150900);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  box-shadow:
    0 34px 80px rgba(122, 44, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: rotate(2.5deg);
}

.phone-speaker {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 6px;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 38px 20px 22px;
  background:
    linear-gradient(160deg, rgba(255, 214, 0, 0.82), rgba(255, 118, 0, 0.88)),
    var(--brand-orange);
  border-radius: 32px;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 80px -70px auto auto;
  width: 220px;
  height: 220px;
  border: 20px solid rgba(255, 255, 255, 0.34);
  border-bottom-color: transparent;
  border-radius: 50%;
}

.preview-header,
.preview-card,
.preview-filters {
  position: relative;
  z-index: 1;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-weight: 900;
}

.preview-header strong {
  font-size: 2rem;
}

.preview-map {
  position: relative;
  z-index: 1;
  height: 240px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.1);
}

.map-route {
  position: absolute;
  inset: 42px 38px;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 42% 58% 45% 55%;
  transform: rotate(-20deg);
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--white);
  border: 4px solid var(--brand-deep);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(122, 44, 0, 0.2);
}

.pin-one {
  left: 34px;
  top: 58px;
}

.pin-two {
  right: 48px;
  top: 118px;
}

.pin-three {
  left: 112px;
  bottom: 42px;
}

.preview-card {
  margin-top: 14px;
  padding: 15px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(122, 44, 0, 0.16);
}

.preview-card span,
.preview-card strong {
  display: block;
}

.preview-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.preview-card strong {
  margin-top: 2px;
  font-size: 1.28rem;
}

.preview-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.preview-filters span {
  padding: 7px 10px;
  color: var(--white);
  background: rgba(36, 16, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.content-band {
  background: var(--paper);
}

.legal-band {
  background:
    linear-gradient(135deg, rgba(255, 214, 0, 0.42), rgba(255, 118, 0, 0.16)),
    #fff0bc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-band.plain {
  background: transparent;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.feature-card {
  min-height: 176px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-orange);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(122, 44, 0, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: linear-gradient(145deg, var(--brand-amber), var(--brand-orange));
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
}

.feature-card h3 {
  color: var(--brand-deep);
}

.feature-card p,
.copy-block p {
  margin: 12px 0 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.copy-block {
  font-size: 1.06rem;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand-deep);
  font-weight: 900;
}

.flow-band {
  padding: clamp(68px, 8vw, 112px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 118, 0, 0.54), rgba(36, 16, 0, 0.92)),
    var(--night);
}

.flow-band .eyebrow {
  color: #ffd86a;
}

.flow-band h2 {
  color: var(--white);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-steps li {
  position: relative;
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.flow-steps li::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  margin-bottom: 34px;
  color: #ffd86a;
  font-weight: 900;
}

.flow-steps span {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
}

.flow-steps p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.cta-band {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 214, 0, 0.95), rgba(255, 118, 0, 0.96) 58%, rgba(122, 44, 0, 0.96)),
    var(--brand-orange);
}

.cta-inner {
  max-width: 880px;
}

.cta-band .eyebrow {
  color: #fff3bd;
}

.cta-band h2 {
  color: var(--white);
}

.site-footer {
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: #fff2c4;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer span {
  margin-right: auto;
}

.page-main {
  padding: clamp(30px, 5vw, 64px) clamp(18px, 5vw, 64px) clamp(72px, 9vw, 120px);
  background:
    linear-gradient(160deg, rgba(255, 214, 0, 0.5), rgba(255, 118, 0, 0.12) 42%, rgba(255, 247, 223, 0) 70%),
    var(--paper);
}

.page-hero {
  width: min(980px, 100%);
  margin: 0 auto clamp(34px, 6vw, 68px);
  padding: clamp(46px, 8vw, 92px) 0 0;
}

.page-hero.compact {
  min-height: 52svh;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: 5.4rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.page-hero .button {
  margin-top: 28px;
}

.legal-copy {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-copy h2 {
  margin-top: 42px;
  padding-top: 10px;
  font-size: 2rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy h3 {
  margin-top: 26px;
  color: var(--brand-deep);
}

.legal-copy p,
.legal-copy li,
.legal-copy address {
  color: var(--muted);
}

.legal-copy address {
  font-style: normal;
}

.legal-copy a {
  color: var(--brand-deep);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-copy ul {
  padding-left: 1.3rem;
}

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

  .hero {
    min-height: 74svh;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(66, 24, 0, 0.82), rgba(121, 45, 0, 0.3));
  }

  .hero-content {
    width: min(100% - 36px, 620px);
    margin: 0 auto;
    padding: 70px 0;
  }

  h1,
  .page-hero h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-proof,
  .showcase-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .site-footer span {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1,
  .page-hero h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .legal-copy {
    padding: 22px 18px;
  }

  .hero-proof div,
  .feature-card,
  .flow-steps li {
    min-height: auto;
  }
}
