/* ─── TOKENS ─── */
:root {
  --teal:       #0B7E78;
  --teal-dark:  #096560;
  --teal-light: #E6F4F3;
  --navy:       #13274D;
  --white:      #FFFFFF;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-300:   #D1D5DB;
  --gray-400:   #9CA3AF;
  --gray-500:   #6B7280;
  --gray-600:   #4B5563;
  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --shadow-teal: 0 8px 32px rgba(11, 126, 120, 0.12);
}

/* ─── FONT ─── */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('fonts/CabinetGrotesk-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── LAYOUT ─── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { line-height: 1.1; font-weight: 900; }
h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.eyebrow--dark {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-white:hover { background: var(--navy); color: var(--white); }

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.nav__inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo img { height: 2.25rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.15s;
}
.nav__links a:hover, .nav__links a.active { color: var(--teal); }

.nav__cta { display: flex; align-items: center; }

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
}
.nav__hamburger:hover { background: var(--gray-100); }

.nav__mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 1.25rem 1.5rem;
}

.nav__mobile.open { display: block; }

.nav__mobile a {
  display: block;
  padding: 0.625rem 0;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-100);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--teal); }
.nav__mobile .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }

/* ─── HERO ─── */
.hero {
  padding-block: 5rem 6rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__img img {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(19,39,77,0.12);
}

/* ─── TRUST BAR ─── */
.trust-bar {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: rgba(249,250,251,0.6);
  padding-block: 1rem;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.trust-bar__item {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(19,39,77,0.5);
}

/* ─── SECTIONS ─── */
.section { padding-block: 5rem; }
.section--lg { padding-block: 7rem; }

.section--dark {
  background: var(--navy);
  padding-block: 5rem;
}

.section--gray {
  background: var(--gray-50);
  padding-block: 5rem;
}

.section__header {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section__header p {
  color: var(--gray-500);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.section__header--dark h2 { color: var(--white); }
.section__header--dark p { color: rgba(255,255,255,0.5); }

/* ─── CARDS ─── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.card__icon { font-size: 2rem; margin-bottom: 1.25rem; }
.card__title { margin-bottom: 0.75rem; }
.card__body { color: var(--gray-500); font-size: 0.925rem; line-height: 1.7; }

/* ─── HOW IT WORKS ─── */
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.step__number {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
}

.step h3 { color: var(--white); margin-bottom: 0.75rem; }
.step p { color: rgba(255,255,255,0.55); font-size: 0.925rem; line-height: 1.75; }

/* ─── USE CASE ─── */
.usecase-box {
  background: var(--gray-50);
  border-radius: 1.5rem;
  padding: 3.5rem;
}

.usecase-box img {
  max-width: 40rem;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(19,39,77,0.1);
  margin-bottom: 2.5rem;
}

.usecase-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 2.5rem;
}

.usecase-meta__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin-bottom: 0.625rem;
}

.usecase-meta p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.7; }

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(19,39,77,0.1);
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text .lead { font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.about-text p { color: var(--gray-500); font-size: 0.925rem; line-height: 1.75; margin-bottom: 1rem; }

.tiles-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

.tile {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.tile__icon { font-size: 1.25rem; margin-bottom: 0.5rem; }
.tile__title { font-weight: 700; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.25rem; }
.tile__body { font-size: 0.775rem; color: var(--gray-400); line-height: 1.6; }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.pricing-card--featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-teal);
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -0.875rem;
  right: 1.5rem;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
}

.pricing-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.pricing-card--featured .pricing-card__name { color: var(--teal); }
.pricing-card:not(.pricing-card--featured) .pricing-card__name { color: var(--gray-400); }

.pricing-card__desc {
  font-size: 0.825rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.pricing-card__price {
  margin-bottom: 0.25rem;
}

.pricing-card__price .amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
}

.pricing-card__price .period {
  font-size: 1rem;
  color: var(--gray-400);
  font-weight: 400;
}

.pricing-card__note {
  font-size: 0.725rem;
  color: var(--gray-400);
  margin-bottom: 1.75rem;
}

.pricing-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.pricing-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--gray-600);
  padding-block: 0.375rem;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ─── COMPARISON TABLE ─── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead tr { border-bottom: 1px solid var(--gray-100); }

th {
  padding: 1rem 1.5rem;
  font-weight: 700;
  text-align: center;
}
th:first-child { text-align: left; }
th.featured { color: var(--teal); }

td { padding: 0.875rem 1.5rem; color: var(--gray-500); text-align: center; }
td:first-child { text-align: left; color: var(--gray-600); }

tr:nth-child(even) td { background: rgba(249,250,251,0.5); }

td.check { color: var(--teal); font-weight: 700; }
td.dash { color: var(--gray-300); }
td.price { font-weight: 700; color: var(--navy); }
td.featured-price { font-weight: 700; color: var(--teal); font-size: 1rem; }
td.featured-val { font-weight: 600; color: var(--navy); }

tfoot tr { border-top: 2px solid var(--gray-200); }
tfoot td { font-weight: 700; color: var(--navy); }

/* ─── FAQ ─── */
.faq { max-width: 48rem; margin-inline: auto; }
.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }

details {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }

.faq__icon {
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}

details[open] .faq__icon { transform: rotate(45deg); }

.faq__body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.75;
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}

/* ─── CTA FOOTER ─── */
.cta-section {
  background: var(--navy);
  padding-block: 5rem;
  text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section .sub { color: rgba(255,255,255,0.55); font-size: 1.05rem; margin-bottom: 0.5rem; }
.cta-section .note { color: rgba(255,255,255,0.35); font-size: 0.825rem; margin-bottom: 2.5rem; }

/* ─── DUAL CTA ─── */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.dual-cta__box { border-radius: var(--radius-lg); padding: 2.5rem; }
.dual-cta__box--light { background: var(--gray-50); }
.dual-cta__box--dark { background: var(--navy); }
.dual-cta__box h3 { margin-bottom: 0.75rem; font-size: 1.375rem; }
.dual-cta__box--light h3 { color: var(--navy); }
.dual-cta__box--dark h3 { color: var(--white); }
.dual-cta__box p { font-size: 0.875rem; line-height: 1.75; margin-bottom: 1.5rem; }
.dual-cta__box--light p { color: var(--gray-500); }
.dual-cta__box--dark p { color: rgba(255,255,255,0.55); }

/* ─── TAB TOGGLE COMPONENT ─── */
.tabs-section { padding-block: 5rem; }

.tabs-subline {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.tabs-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.tab-btn:hover { border-color: var(--teal); color: var(--teal); }
.tab-btn.active { background: var(--teal); border-color: var(--teal); color: var(--white); }

.tab-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* panels */
.tab-panel { display: none; animation: fadeIn 0.25s ease; }
.tab-panel.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 3-column layout: tiles | card | tiles */
.tabs-layout {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.tabs-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* individual benefit tile */
.tabs-tile__icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.625rem;
  color: var(--teal);
}
.tabs-tile__icon svg { width: 20px; height: 20px; }

.tabs-tile__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.tabs-tile__body {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* center card */
.tabs-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
}

.tabs-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.tabs-card__headline {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

/* responsive */
@media (max-width: 900px) {
  .tabs-layout {
    grid-template-columns: 1fr;
  }
  .tabs-col { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .tabs-col > div { flex: 1 1 45%; }
  .tabs-card { order: -1; }
}

@media (max-width: 600px) {
  .tabs-col > div { flex: 1 1 100%; }
  .tabs-card__headline { font-size: 1.5rem; }
}

/* ─── FOOTER ─── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding-block: 2rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__logo img { height: 2rem; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color 0.15s;
}
.footer__nav a:hover { color: var(--navy); }

.footer__copy { font-size: 0.75rem; color: var(--gray-300); }

/* ─── LEGAL PAGES ─── */
.legal-content {
  max-width: 42rem;
  margin-inline: auto;
  padding-block: 5rem;
}

.legal-content h1 { margin-bottom: 2.5rem; }
.legal-content h2 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; margin-top: 2rem; }
.legal-content p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.8; margin-bottom: 0.75rem; }
.legal-content .notice {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--gray-400);
}
.legal-content .back-link { color: var(--teal); font-weight: 600; font-size: 0.875rem; display: inline-block; margin-top: 3rem; }
.legal-content .back-link:hover { text-decoration: underline; }

/* ─── HELPERS ─── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-3 { gap: 0.75rem; }
.pricing-note { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--gray-400); }
.pricing-note a { color: var(--teal); font-weight: 700; }
.pricing-note a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__img { order: -1; }
  .hero__img img { max-width: 22rem; }

  .cards-3, .steps-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .dual-cta { grid-template-columns: 1fr; }
  .usecase-meta { grid-template-columns: 1fr; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: block; }
}

@media (max-width: 600px) {
  .tiles-2x2 { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
  .trust-bar__inner { flex-direction: column; align-items: center; }
  .usecase-box { padding: 1.5rem; }
  .section, .section--dark, .section--gray { padding-block: 3.5rem; }
  .hero { padding-block: 3rem 4rem; }
  .dual-cta__box { padding: 2rem 1.5rem; }
}
