:root {
  color-scheme: light;
  --ink: #122326;
  --muted: #596c6d;
  --paper: #ffffff;
  --canvas: #f6faf8;
  --mist: #eaf5f0;
  --line: #d8e5df;
  --teal: #0c9b8d;
  --teal-soft: #d9f4ed;
  --coral: #e94d3f;
  --amber: #f4b740;
  --graphite: #17252b;
  --shadow: 0 18px 48px rgba(18, 35, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 13px clamp(18px, 4vw, 58px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(18, 35, 38, 0.1);
  backdrop-filter: blur(16px);
}

.brand,
.main-nav,
.hero-actions,
.hero-stats,
.final-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(18, 35, 38, 0.14));
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-title {
  font-size: 1.02rem;
}

.brand-subtitle {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  color: #4f6464;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--coral);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  color: #ffffff;
  background: var(--graphite);
}

.button {
  border: 1px solid rgba(18, 35, 38, 0.13);
  background: var(--paper);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 35, 38, 0.18);
}

.button.primary {
  color: #ffffff;
  border-color: var(--coral);
  background: var(--coral);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--graphite);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 37, 43, 0.96) 0%, rgba(23, 37, 43, 0.72) 34%, rgba(23, 37, 43, 0.12) 68%),
    linear-gradient(0deg, rgba(23, 37, 43, 0.5), rgba(23, 37, 43, 0));
}

.hero-content {
  position: relative;
  width: min(690px, calc(100% - 36px));
  margin-left: clamp(18px, 5vw, 74px);
  padding: 94px 0 88px;
}

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

.hero .eyebrow,
.final-cta .eyebrow {
  color: var(--amber);
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

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

.hero-stats {
  flex-wrap: wrap;
  gap: 0;
  width: min(640px, 100%);
  margin: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats div {
  flex: 1 1 170px;
  padding: 16px 18px 16px 0;
}

.hero-stats dt {
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.route-strip a {
  display: grid;
  gap: 4px;
  padding: 22px;
  background: var(--paper);
}

.route-strip span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.route-strip strong {
  font-size: 1.04rem;
  line-height: 1.25;
}

.route-strip small {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section h2,
.final-cta h2 {
  font-size: clamp(2rem, 3.4vw, 3.28rem);
}

.section-heading p:not(.eyebrow),
.split-section > div > p,
.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  background: transparent;
}

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

.feature .icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature h3,
.plan h3,
.use-case-list h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.feature p,
.plan p,
.plan li,
.use-case-list p,
.faq p {
  color: var(--muted);
}

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

.pricing-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.plan {
  display: grid;
  grid-template-columns: 0.8fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, #ffffff, #f8fcfa);
  box-shadow: 0 10px 26px rgba(18, 35, 38, 0.05);
}

.featured-plan {
  border-color: rgba(233, 77, 63, 0.42);
  background: linear-gradient(90deg, #ffffff, #fff7f2);
  box-shadow: var(--shadow);
}

.plan-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--graphite) !important;
  background: var(--teal-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-plan .plan-label {
  background: rgba(244, 183, 64, 0.26);
}

.plan-copy {
  margin: 0;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.plan-button {
  min-width: 210px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 74px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.use-case-list article {
  padding: 22px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(18, 35, 38, 0.05);
}

.comparison {
  background: var(--mist);
}

.table-wrap {
  width: min(1000px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--ink);
  background: #f3faf7;
  font-size: 0.92rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 12px 0 0;
}

.final-cta {
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 72px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(23, 37, 43, 0.96), rgba(23, 37, 43, 0.84)),
    linear-gradient(90deg, var(--teal), var(--coral));
}

.final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: #dbe7e4;
  background: var(--graphite);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .route-strip,
  .feature-grid,
  .split-section,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .plan {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .plan-button {
    width: 100%;
    min-width: 0;
  }
}

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

  .brand-copy {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: 57% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(23, 37, 43, 0.98), rgba(23, 37, 43, 0.54));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 2.38rem;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-stats div {
    width: 100%;
    padding-right: 0;
  }

  .route-strip {
    margin-top: -28px;
  }

  .route-strip a {
    padding: 18px;
  }

  .section {
    padding: 58px 16px;
  }

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

  .final-cta,
  .site-footer {
    flex-direction: column;
  }

  .final-cta {
    align-items: stretch;
    margin-bottom: 44px;
  }
}
