:root {
  --paper: #fff9ef;
  --paper-strong: #fff4df;
  --surface: #ffffff;
  --surface-soft: #f2f8f4;
  --ink: #18231f;
  --muted: #5e6f68;
  --line: #dbe7df;
  --teal: #007a78;
  --teal-dark: #005b59;
  --mint: #8fd8bd;
  --coral: #ff6d55;
  --coral-dark: #d64c38;
  --citrus: #f6c947;
  --berry: #7b4057;
  --shadow: 0 20px 55px rgba(24, 35, 31, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(255, 249, 239, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 231, 223, 0.85);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 122, 120, 0.22);
}

.brand-name {
  display: grid;
  line-height: 1.05;
  font-size: 0.92rem;
}

.brand-name span:last-child {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.93rem;
  padding: 0.65rem 0.82rem;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(24, 35, 31, 0.18);
}

.button.primary {
  background: var(--coral);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

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

.button.teal:hover {
  background: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(10, 24, 20, 0.82), rgba(10, 24, 20, 0.42) 44%, rgba(255, 249, 239, 0.04)),
    linear-gradient(0deg, rgba(24, 35, 31, 0.28), rgba(24, 35, 31, 0.02)),
    url("platform-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 7.2rem 0 5.6rem;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  color: #bdf3df;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.page-title {
  max-width: 16ch;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.18;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100% - 32px, var(--max));
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric {
  padding: 1.35rem 1.5rem;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.section {
  padding: 6rem 0;
}

.section.compact {
  padding: 4.5rem 0;
}

.section.band {
  background: var(--surface);
}

.section.tint {
  background: var(--surface-soft);
}

.section.warm {
  background: var(--paper-strong);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 10px 24px rgba(24, 35, 31, 0.06);
}

.card.tint-card {
  background: linear-gradient(180deg, #ffffff, #f7fbf7);
}

.card.accent-coral {
  border-top: 5px solid var(--coral);
}

.card.accent-teal {
  border-top: 5px solid var(--teal);
}

.card.accent-citrus {
  border-top: 5px solid var(--citrus);
}

.card.accent-berry {
  border-top: 5px solid var(--berry);
}

.card p,
.feature p,
.timeline p,
.price-card p {
  color: var(--muted);
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-strong);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.operations-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: #f9fcf8;
}

.panel-dots {
  display: flex;
  gap: 0.4rem;
}

.panel-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.panel-dots i:nth-child(1) {
  background: var(--coral);
}

.panel-dots i:nth-child(2) {
  background: var(--citrus);
}

.panel-dots i:nth-child(3) {
  background: var(--mint);
}

.panel-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 360px;
}

.queue {
  padding: 1rem;
  border-right: 1px solid var(--line);
  background: var(--surface-soft);
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem;
  margin-bottom: 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--citrus));
}

.queue-lines {
  flex: 1;
}

.queue-lines span {
  display: block;
  height: 8px;
  margin: 0.32rem 0;
  border-radius: 999px;
  background: #dde7e1;
}

.queue-lines span:first-child {
  width: 72%;
  background: #bfcfc6;
}

.flow {
  padding: 1.2rem;
  display: grid;
  align-content: center;
  gap: 0.8rem;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
}

.flow-node {
  width: min(280px, 100%);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.flow-node:nth-child(2) {
  margin-left: 15%;
  border-left-color: var(--coral);
}

.flow-node:nth-child(3) {
  margin-left: 30%;
  border-left-color: var(--citrus);
}

.flow-node:nth-child(4) {
  margin-left: 12%;
  border-left-color: var(--berry);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-strip span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.page-hero {
  padding: 6.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 201, 71, 0.28), transparent 24%),
    linear-gradient(135deg, #fff9ef 0%, #eef8f2 58%, #ffe9df 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  max-width: 780px;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
  font-weight: 650;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--coral);
}

.module {
  display: grid;
  grid-template-columns: 0.2fr 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.module:last-child {
  border-bottom: 0;
}

.module-number {
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-item::before {
  counter-increment: steps;
  content: counter(steps);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.pricing-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.pricing-toggle button {
  border: 0;
  padding: 0.65rem 0.95rem;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.pricing-toggle button.active {
  background: var(--teal);
  color: #fff;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1rem 0;
}

.price strong {
  font-size: 2.6rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 750;
}

.price-card .button {
  margin-top: auto;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--berry);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 2rem;
}

form {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.78rem 0.85rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 109, 85, 0.35);
  outline-offset: 2px;
}

.form-note {
  min-height: 1.4rem;
  color: var(--teal-dark);
  font-weight: 800;
}

.address-block {
  display: grid;
  gap: 0.9rem;
}

.address-block strong {
  font-size: 1.1rem;
}

.map-panel {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(90deg, rgba(0, 122, 120, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(0, 122, 120, 0.12) 1px, transparent 1px),
    #fff;
  background-size: 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.pin {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.legal {
  max-width: 900px;
}

.legal h2 {
  margin-top: 2.7rem;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

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

.legal ul {
  padding-left: 1.2rem;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(0, 122, 120, 0.95), rgba(123, 64, 87, 0.94)),
    var(--teal);
  color: #fff;
}

.cta-band .lead {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.site-footer a {
  display: block;
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: 76vh;
    background-position: center right 34%;
  }

  .hero-inner {
    padding: 5.5rem 0 4.5rem;
  }

  .hero-metrics,
  .section-head,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .proof-strip,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .panel-body {
    grid-template-columns: 1fr;
  }

  .queue {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .brand-name span:first-child {
    font-size: 0.8rem;
  }

  .brand-name span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .page-title {
    font-size: clamp(2.55rem, 14vw, 3.9rem);
  }

  .section {
    padding: 4.2rem 0;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .section-actions {
    width: 100%;
  }

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