:root {
  --bg: #f6f4ef;
  --panel: #ffffff;
  --text: #172121;
  --muted: #5f6f6f;
  --teal: #183d3d;
  --teal-soft: #305c5c;
  --gold: #d7c28a;
  --gold-dark: #8a7430;
  --border: #e2e0d9;
  --cream: #f1e7cf;
  --blue-soft: #e6efef;
  --blue-border: #c9dede;
  --shadow: 0 18px 40px rgba(24, 61, 61, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--teal-soft);
  font-weight: 800;
}

p {
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  color: var(--text);
  margin-top: 0;
}

h1 {
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

h3 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 6px;
}

/* Header */

.site-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(24, 61, 61, 0.18);
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--teal);
}

/* Mobile menu */

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  left: 20px;
  right: 20px;
  top: calc(100% - 10px);
  z-index: 10;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  color: var(--teal);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
}

/* Base layout */

.site-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.hero,
.page-header {
  padding: 56px 0 34px;
  max-width: 820px;
}

.eyebrow {
  color: var(--teal-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  max-width: 760px;
}

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

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

.button.primary {
  background: var(--teal);
  color: white;
}

.button.secondary {
  background: var(--cream);
  color: #5b4218;
}

.grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

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

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

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  margin: 0 0 18px;
}

.panel.muted {
  background: var(--blue-soft);
  border-color: var(--blue-border);
}

.check-list {
  padding-left: 22px;
  margin: 14px 0 0;
}

.check-list li {
  margin-bottom: 8px;
  font-weight: 700;
  color: #405252;
}

/* Footer */

.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  color: #7b8585;
  font-size: 13px;
  font-weight: 800;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Homepage hero */

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 34px;
  align-items: center;
  padding: 54px 0 42px;
}

.home-hero-copy {
  max-width: 760px;
}

.home-hero h1 {
  max-width: 820px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.hero-note span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 194, 138, 0.22);
}

/* Homepage app preview */

.home-preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 22px;
  background:
    radial-gradient(circle at 86% 8%, rgba(215, 194, 138, 0.34), transparent 28%),
    linear-gradient(145deg, var(--teal), #244f4f);
  color: white;
  border: 1px solid #102e2e;
  box-shadow: 0 22px 48px rgba(24, 61, 61, 0.18);
}

.preview-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(246, 244, 239, 0.44);
}

.preview-header {
  margin-bottom: 20px;
}

.preview-header p {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-header strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.preview-progress {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 14px;
}

.preview-progress div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 900;
}

.preview-progress span {
  color: #e6efef;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(246, 244, 239, 0.22);
}

.progress-fill {
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.preview-task {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 15px;
  margin-top: 12px;
}

.preview-task.active {
  background: rgba(246, 244, 239, 0.95);
  color: var(--teal);
}

.preview-task span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.preview-task.active span {
  color: var(--gold-dark);
}

.preview-task strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.preview-task p {
  color: #e6efef;
  font-size: 13px;
  margin: 0;
}

.preview-task.active p {
  color: #405252;
}

/* Homepage trust strip */

.home-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.home-strip div {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}

.home-strip strong {
  display: block;
  color: var(--teal);
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.home-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* Homepage process section */

.home-process {
  display: block;
}

.process-copy {
  max-width: 680px;
  margin-bottom: 24px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.process-item span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--cream);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.process-item strong {
  display: block;
  color: var(--teal);
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 4px;
}

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

/* Homepage secondary panels */

.small-panel h2 {
  font-size: 20px;
}

.home-cta {
  padding: 30px;
}

.home-cta .hero-actions {
  margin-top: 20px;
}

/* App page */

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 46px 0 38px;
}

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

.app-map-figure {
  margin: 0;
}

.app-map-image {
  display: block;
  width: 100%;
  background: #f1f1f1;
  border-radius: 30px;
  border: 1px solid #d9d9d9;
  box-shadow: var(--shadow);
}

.app-map-figure figcaption {
  color: #6c7777;
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
  text-align: center;
}

/* Responsive */

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

  .mobile-nav {
    display: block;
  }

  .site-header {
    align-items: center;
  }

  .home-hero,
  .app-hero {
    grid-template-columns: 1fr;
  }

  .home-preview-card {
    max-width: 560px;
  }

  .home-strip,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 18px 16px;
  }

  .site-main {
    padding: 18px 16px 40px;
  }

  .hero,
  .page-header,
  .home-hero,
  .app-hero {
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .lead {
    font-size: 18px;
  }

  .panel {
    padding: 20px;
    border-radius: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 560px) {
  .brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 10px;
  }

  .home-preview-card {
    border-radius: 24px;
    padding: 18px;
  }

  .preview-header strong {
    font-size: 24px;
  }

  .process-item {
    padding: 16px;
  }

  .process-item span {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .app-map-image {
    border-radius: 22px;
  }

  .button {
    width: 100%;
  }
}

/* Timeline page */

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.timeline-marker::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(215, 194, 138, 0.2);
}

.timeline-item.current .timeline-marker {
  background: var(--teal);
  border-color: var(--teal);
}

.timeline-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}

.timeline-card h2 {
  margin-bottom: 10px;
}

.timeline-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-marker {
    width: 38px;
    height: 38px;
  }

  .timeline-card {
    padding: 20px;
    border-radius: 20px;
  }
}