/* ==========================================================================
   CourierPort — one-page website
   ========================================================================== */

:root {
  --ink: #1b2033;
  --body: #4a5068;
  --muted: #6b7186;
  --green: #2f6b2a;
  --green-app: #3a7b34;
  --green-deep: #17351a;
  --lime: #9fd39a;
  --mint: #eef5ec;
  --soft: #f6f8f4;
  --line: #e4e7e1;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --header-h: 60px;
  --header-gap: 16px;
  --container: 1200px;
  --gutter: 32px;

  --shadow-pill: 0 10px 30px -18px rgba(27, 32, 51, 0.35);
  --shadow-shot: 0 40px 80px -24px rgba(27, 32, 51, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
}

a:hover {
  color: var(--green-deep);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon {
  flex-shrink: 0;
}

:focus-visible {
  outline: 3px solid var(--green-app);
  outline-offset: 2px;
}

/* Sections land below the sticky header when linked */
section[id],
footer[id],
article[id] {
  scroll-margin-top: calc(var(--header-h) + var(--header-gap) * 2);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
}

.btn:active {
  transform: translateY(1px);
}

.btn--lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
}

.btn--pill {
  border-radius: 999px;
}

.btn--secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
}

.btn--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green-deep);
}

.btn--lime:hover {
  background: #b5e0b0;
  border-color: #b5e0b0;
  color: var(--green-deep);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Header (sticky floating pill)
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--header-gap);
  /* let the hero slide underneath the floating pill */
  margin-bottom: calc((var(--header-h) + var(--header-gap) * 2) * -1);
  pointer-events: none;
}

.site-header .container {
  pointer-events: auto;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-h);
  padding: 0 10px 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-pill);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px -16px rgba(27, 32, 51, 0.4);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--green-app);
}

.logo:hover {
  color: var(--ink);
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 28px;
}

.nav-links a,
.mobile-menu nav a {
  color: var(--body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-login {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: var(--mint);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-pill);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-size: 16px;
}

.mobile-menu nav a:hover {
  background: var(--soft);
}

.mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: calc(var(--header-h) + var(--header-gap) * 2 + 80px) 0 96px;
  background: linear-gradient(180deg, var(--mint) 0%, var(--white) 78%);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 36px;
  padding: 4px 16px 4px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  max-width: 940px;
  margin: 26px auto 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.accent {
  color: var(--green);
}

.hero-lead {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--body);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check {
  display: flex;
  color: var(--green);
}

.hero-shot {
  max-width: 1136px;
  margin: 64px auto 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-shot);
}

.hero-shot img {
  width: 100%;
  border-radius: 16px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 112px 0;
}

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

.section--dark {
  padding: 104px 0;
  background: var(--green-deep);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-head--left {
  margin: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow--light {
  color: var(--lime);
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section--dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}

.section-head a {
  font-weight: 700;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--green);
}

.icon-tile--sm {
  width: 42px;
  height: 42px;
}

.icon-tile--lg {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
}

/* Feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.card h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

/* Partner network */
.split {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 72px;
  align-items: center;
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

.ticks strong {
  color: var(--ink);
}

.tick {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
}

.network-diagram {
  position: relative;
  height: 420px;
  border-radius: var(--radius-xl);
  background: var(--mint);
  overflow: hidden;
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-lines path {
  fill: none;
  stroke: var(--green-app);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.node {
  position: absolute;
  width: 168px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px -12px rgba(27, 32, 51, 0.25);
}

.node strong {
  display: block;
  font-size: 15px;
}

.node span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.node--main {
  left: 6.3%;
  top: 41.9%;
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.node--main span {
  color: rgba(255, 255, 255, 0.8);
}

.node--a {
  left: 65.2%;
  top: 17.1%;
}

.node--b {
  left: 65.2%;
  top: 67.6%;
}

.flow-tag {
  position: absolute;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.flow-tag--out {
  left: 43.7%;
  top: 30.5%;
}

.flow-tag--in {
  left: 42.2%;
  top: 64.3%;
}

/* How it works */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.steps::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 32px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 8px, transparent 8px 16px);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--green);
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
}

.step p {
  max-width: 190px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* Branding + integrations */
.duo {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  margin-top: 56px;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--soft);
}

.panel h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.panel p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}

.brand-mock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.brand-mock-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand-mock-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mock-logo span {
  color: var(--green-app);
}

.brand-mock-domain {
  font-size: 13px;
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.swatch.is-active {
  border: 2px solid var(--ink);
}

.brand-mock-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--muted);
}

.integ-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.integ {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.integ strong {
  display: block;
  font-size: 16px;
}

.integ small {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.calc {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 40px -28px rgba(27, 32, 51, 0.3);
}

.calc-slider {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}

.calc-label strong {
  color: var(--green);
  white-space: nowrap;
}

.calc-slider input[type='range'] {
  width: 100%;
  accent-color: var(--green);
}

.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.calc-result {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--mint);
}

.calc-result-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.calc-total {
  margin-top: 6px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.calc-note {
  font-size: 13px;
  color: var(--body);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  display: none;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

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

.tier-bookings {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tier-currency {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.tier-price {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tier-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.tier-btn:hover {
  background: var(--soft);
  color: var(--ink);
}

.tier.is-match {
  border-color: var(--green-deep);
  background: var(--green-deep);
  box-shadow: 0 24px 48px -24px rgba(23, 53, 26, 0.6);
  color: var(--white);
}

.tier.is-match .tier-badge {
  display: inline-flex;
}

.tier.is-match .tier-sub,
.tier.is-match .tier-currency {
  color: rgba(255, 255, 255, 0.72);
}

.tier.is-match .tier-currency {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.tier.is-match .tier-btn {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--green-deep);
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.note p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}

.note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--ink);
}

.pricing-more {
  margin-top: 24px;
  text-align: center;
  font-size: 15px;
  color: var(--body);
}

.pricing-more a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: inherit;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--mint);
  color: var(--green);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--white);
}

.faq-a p {
  margin-top: -8px;
  padding: 0 56px 24px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   CTA + footer
   -------------------------------------------------------------------------- */

.cta-wrap {
  padding: 0 0 112px;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 72px 64px;
  border-radius: 28px;
  background: var(--green-deep);
}

.cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
}

.cta p {
  max-width: 560px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  font-size: 25px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

.footer h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--body);
}

.footer ul a {
  color: var(--body);
  text-decoration: none;
}

.footer ul a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .nav-pill {
    gap: 24px;
  }

  .nav-links {
    gap: 20px;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .network-diagram {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1080px) {
  /* collapse the menu into the toggle */
  .nav-links,
  .nav-login,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-pill {
    padding: 0 8px 0 20px;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps::before {
    left: 31px;
    right: auto;
    top: 32px;
    bottom: 32px;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0 8px, transparent 8px 16px);
  }

  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      'icon num'
      'icon title'
      'icon text';
    column-gap: 20px;
    row-gap: 2px;
    align-items: start;
    text-align: left;
  }

  .step-icon {
    grid-area: icon;
  }

  .step-num {
    grid-area: num;
  }

  .step h3 {
    grid-area: title;
  }

  .step p {
    grid-area: text;
    max-width: none;
  }

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

  .calc {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .cta {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
    --header-h: 56px;
    --header-gap: 12px;
  }

  .section {
    padding: 80px 0;
  }

  .section--dark {
    padding: 80px 0;
  }

  .hero {
    padding-bottom: 72px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    flex-direction: column;
    align-items: center;
  }

  .hero-shot {
    margin-top: 40px;
    padding: 4px;
    border-radius: 14px;
  }

  .hero-shot img {
    border-radius: 10px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .network-diagram {
    height: 360px;
  }

  .node {
    width: 136px;
    padding: 10px 12px;
  }

  .node--a,
  .node--b {
    left: auto;
    right: 4%;
  }

  .flow-tag {
    display: none;
  }

  .panel {
    padding: 24px;
  }

  .integ-list {
    grid-template-columns: 1fr;
  }

  .calc {
    padding: 22px;
  }

  .calc-label {
    flex-direction: column;
    gap: 4px;
  }

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

  .note {
    flex-direction: column;
    padding: 22px;
  }

  .faq-q {
    font-size: 16px;
  }

  .faq-a p {
    padding-right: 0;
  }

  .cta-wrap {
    padding-bottom: 80px;
  }

  .cta {
    padding: 36px 22px;
    border-radius: 22px;
  }

  .cta-actions .btn {
    width: 100%;
  }

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

/* --------------------------------------------------------------------------
   Free month banner
   -------------------------------------------------------------------------- */

.free-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding: 18px 18px 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.8);
}

.free-banner p {
  flex: 1;
  font-size: 16px;
  line-height: 1.55;
}

.free-banner strong {
  color: var(--white);
}

.free-banner .btn {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--green-deep);
}

.icon-tile--lime {
  background: rgba(159, 211, 154, 0.18);
  color: var(--lime);
}

.free-banner + .calc {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Social links
   -------------------------------------------------------------------------- */

.footer .social {
  flex-direction: row;
  gap: 10px;
  margin-top: 20px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}

.social a:hover {
  border-color: var(--green);
  color: var(--green);
}

@media (max-width: 560px) {
  .free-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .free-banner .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Multi-page additions
   -------------------------------------------------------------------------- */

.nav-links a[aria-current='page'],
.mobile-menu nav a[aria-current='page'] {
  color: var(--green);
}

.nav-links a[aria-current='page'] {
  position: relative;
}

.nav-links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--green);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + var(--header-gap) * 2 + 56px) 0 72px;
  background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%);
}

.page-hero h1 {
  max-width: 860px;
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.page-lead {
  max-width: 720px;
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--body);
}

.page-hero--center {
  text-align: center;
}

.page-hero--center h1,
.page-hero--center .page-lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions--left {
  justify-content: flex-start;
  margin-top: 32px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--line);
}

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

.breadcrumb a:hover,
.breadcrumb a[aria-current='page'] {
  color: var(--ink);
}

/* Section spacing variants */
.section--compact {
  padding: 64px 0 112px;
}

.section--flush-top {
  padding-top: 8px;
}

.section--soft.section--flush-top {
  padding-top: 56px;
}

/* "Learn more" links */
.more-link {
  margin-top: 36px;
  text-align: center;
}

.more-link--left {
  margin-top: auto;
  text-align: left;
}

.ticks + .more-link {
  margin-top: 28px;
  text-align: left;
}

.more-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.more-link a:hover .icon {
  transform: translateX(3px);
}

.more-link .icon {
  transition: transform 0.15s ease;
}

/* Jump links (features + FAQ) */
.jump-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump-links a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.jump-links a:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Feature groups */
.feature-group {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + var(--header-gap) * 2);
}

.feature-group:first-of-type {
  border-top: none;
  padding-top: 0;
}

.feature-group-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
}

.feature-group-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-group-head p {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.feature-item h3 {
  font-size: 17px;
  font-weight: 700;
}

.feature-item p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.feature-item .tick {
  margin-top: 0;
}

/* Grids & panels */
.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.duo--even {
  grid-template-columns: 1fr 1fr;
}

.split--even {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.split > div > .section-head + .ticks {
  margin-top: 28px;
}

/* Pricing page */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.included-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 16px;
  font-weight: 600;
}

.num-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.num-step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.num-step-n {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--green);
}

.num-step h3 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
}

.num-step p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

/* Comparison tables */
.table-wrap {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.compare th,
.compare td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  background: var(--soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}

.compare tbody th {
  width: 22%;
  font-weight: 700;
  color: var(--ink);
}

.compare td {
  color: var(--body);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}

/* FAQ page */
.faq-page .jump-links {
  margin-bottom: 8px;
}

.faq-group {
  margin-top: 56px;
  scroll-margin-top: calc(var(--header-h) + var(--header-gap) * 2);
}

.faq-group h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.note--center {
  align-items: center;
  margin-top: 64px;
}

.note a {
  font-weight: 700;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

a.contact-card:hover {
  border-color: var(--green);
  color: var(--ink);
}

.contact-card strong {
  display: block;
  font-size: 16px;
}

.contact-card small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  word-break: break-word;
}

.contact-card--plain {
  background: var(--mint);
  border-color: var(--mint);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 20px 40px -28px rgba(27, 32, 51, 0.3);
}

.contact-form h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field em {
  font-style: normal;
  color: #b42318;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(27, 32, 51, 0.2);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 107, 42, 0.18);
  outline-offset: 0;
}

.field [aria-invalid='true'] {
  border-color: #b42318;
}

.form-error {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fdecea;
  color: #8e2b22;
  font-size: 14px;
  font-weight: 600;
}

.contact-form .btn {
  align-self: flex-start;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

/* About page */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prose p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.link-cards .contact-card {
  height: 100%;
}

@media (max-width: 1100px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .num-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split--even,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .feature-list,
  .card-grid--3,
  .duo--even {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding-bottom: 56px;
  }

  .hero-actions--left .btn {
    width: 100%;
  }

  .included-grid,
  .num-steps,
  .link-cards,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-group {
    margin-top: 40px;
    padding-top: 40px;
  }

  .feature-group-head {
    flex-direction: column;
    gap: 14px;
  }

  .contact-form {
    padding: 22px;
  }

  .contact-form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
