:root {
  --ink: #10221d;
  --muted: #5d6f68;
  --paper: #f6efe3;
  --paper-strong: #fffaf0;
  --forest: #123c32;
  --forest-2: #1b5b49;
  --lime: #c9f36a;
  --amber: #ffb84d;
  --clay: #d96f32;
  --line: rgba(16, 34, 29, 0.14);
  --shadow: 0 24px 70px rgba(18, 60, 50, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-display: "Space Grotesk", "Instrument Sans", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(201, 243, 106, 0.28), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(255, 184, 77, 0.28), transparent 30rem),
    linear-gradient(145deg, #fbf5ea 0%, #efe2cd 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 40px rgba(16, 34, 29, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: var(--forest);
  background: linear-gradient(135deg, var(--lime), #fff2bd);
  box-shadow: inset 0 -8px 18px rgba(18, 60, 50, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: #28443b;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.nav-cta {
  background: var(--forest);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  padding: 92px 0 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.88;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.split-card p,
.feature-card p,
.security-card p,
.site-footer p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 650px;
  margin: 1.4rem 0 0;
  font-size: 1.18rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 16px 34px rgba(18, 60, 50, 0.24);
}

.button.primary.light {
  color: var(--forest);
  background: var(--lime);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.trust-row span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #38564b;
  background: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.hero-panel {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(18, 60, 50, 0.92), rgba(27, 91, 73, 0.92)),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255, 255, 255, 0.07) 20px 22px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.88;
}

.phone-card {
  position: absolute;
  inset: 54px 34px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  background: rgba(255, 250, 240, 0.14);
  backdrop-filter: blur(16px);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
}

.phone-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(201, 243, 106, 0.15);
}

.chat-bubble {
  max-width: 88%;
  padding: 16px 18px;
  border-radius: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.chat-bubble.inbound {
  align-self: flex-start;
  background: #fff;
}

.chat-bubble.outbound {
  align-self: flex-end;
  color: #09231c;
  background: var(--lime);
}

.order-card {
  margin-top: auto;
  padding: 22px;
  border-radius: 24px;
  background: var(--paper-strong);
}

.order-card p {
  margin: 0 0 8px;
  color: var(--clay);
  font-weight: 800;
}

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

.order-card strong {
  font-size: 1.35rem;
}

.order-card span {
  margin-top: 8px;
  color: var(--muted);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card,
.security-card,
.split-card,
.timeline,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.66);
  box-shadow: 0 20px 45px rgba(16, 34, 29, 0.08);
}

.feature-card,
.security-card {
  padding: 28px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 30px;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: var(--forest);
  background: var(--lime);
  font-family: var(--font-display);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
}

.split-card,
.timeline {
  padding: 34px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #344e45;
  font-weight: 700;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: inset 0 0 0 5px var(--lime);
}

.timeline {
  display: grid;
  gap: 14px;
  background: var(--forest);
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.timeline-item span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--amber);
  font-family: var(--font-display);
  font-weight: 800;
}

.timeline-item p {
  margin: 0;
  color: #f7f2e8;
  line-height: 1.55;
}

.security-section {
  padding-top: 60px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 70px;
  padding: 42px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 90% 18%, rgba(201, 243, 106, 0.35), transparent 22rem),
    var(--forest);
}

.cta-section .eyebrow,
.cta-section h2 {
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 32px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-links a,
.site-footer.minimal a,
.legal-card a {
  color: var(--forest-2);
  font-weight: 800;
}

.fine-print {
  grid-column: 1 / -1;
  font-size: 0.9rem !important;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 54px auto 90px;
}

.legal-card {
  padding: clamp(28px, 6vw, 64px);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.4rem;
}

.site-footer.minimal {
  display: flex;
  justify-content: space-between;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.not-found-card {
  width: min(560px, calc(100% - 32px));
  padding: 44px;
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.not-found-card h1 {
  margin: 30px 0 12px;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav:not(.always-open) {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

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

  .site-nav.always-open {
    gap: 0;
  }

  .site-nav.always-open a {
    padding: 0.55rem 0.65rem;
    font-size: 0.86rem;
  }

  .hero,
  .split-section,
  .feature-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: 520px;
  }

  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .hero-panel {
    min-height: 470px;
  }

  .phone-card {
    inset: 20px 14px;
    padding: 18px;
  }

  .section,
  .split-section,
  .cta-section {
    padding: 62px 0;
  }

  .split-card,
  .timeline,
  .legal-card,
  .cta-section {
    padding: 24px;
  }
}
