/* ─────────────────────────────────────────────────────
   IMEX · Landing — hi-fi production styles
   ───────────────────────────────────────────────────── */

:root {
  /* — brand colors — */
  --ocean-blue:    #083A45;
  --ocean-2:       #0c4b58;     /* slightly lifted for hover */
  --ocean-deep:    #062d35;
  --regular-teal:  #097067;
  --teal-2:        #0a8478;
  --light-green:   #41AE7A;
  --punchy-yellow: #BCC94C;
  --white:         #FFFFFF;
  --off-white:     #F2F2F2;
  --paper:         #F7F6F2;     /* softer than spec off-white for hero */

  /* — neutrals derived — */
  --ink:           var(--ocean-blue);
  --ink-2:         #34555f;
  --ink-3:         #6e8389;
  --ink-4:         #9aa9ad;
  --rule:          #dadfe1;
  --rule-soft:     #ebeded;

  /* — gradients — */
  --brand-grad: linear-gradient(135deg, var(--punchy-yellow) 0%, var(--light-green) 40%, var(--regular-teal) 100%);
  --brand-grad-soft: linear-gradient(135deg, color-mix(in oklab, var(--punchy-yellow) 60%, white) 0%, color-mix(in oklab, var(--light-green) 60%, white) 50%, color-mix(in oklab, var(--regular-teal) 60%, white) 100%);
  --brand-grad-deep: linear-gradient(135deg, var(--regular-teal) 0%, var(--ocean-blue) 100%);

  /* — type — */
  --display: 'Poppins', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* — radii / shadows — */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-card: 0 4px 24px rgba(8, 58, 69, 0.06);
  --shadow-hi:   0 30px 80px rgba(8, 58, 69, 0.16);
  --shadow-cta:  0 8px 24px rgba(9, 112, 103, 0.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: 54px; line-height: 1.04; letter-spacing: -0.028em; }
h2 { font-size: 42px; line-height: 1.1;  letter-spacing: -0.022em; }
h3 { font-size: 22px; line-height: 1.2;  letter-spacing: -0.012em; }
h4 { font-size: 17px; line-height: 1.3;  font-weight: 600; }
p  { margin: 0; }

a { color: var(--regular-teal); text-decoration: none; }
a:hover { color: var(--teal-2); }

/* ────── LAYOUT ────── */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
  padding: 120px 0;
}
section.compact { padding: 72px 0; }

/* Dedicated pages (/faq, /pricing): white page bg, no hero, so we also
   tighten the first section's top padding. */
body.subpage { background: var(--white); }
body.subpage main > section { background: var(--white); }
body.subpage main > section:first-of-type { padding-top: 48px; }
body.subpage .eyebrow { display: none; }

/* Subtle separators between adjacent same-bg sections (all `--paper`).
   Trust-strip / final-cta / footer already break the bg so they skip the rule.
   Centered 50%-wide hairline rather than a full-bleed border. */
#how-it-works::before,
#product::before,
#audience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: var(--rule);
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--regular-teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: none; }

.section-title {
  margin-top: 16px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
  max-width: 600px;
}

/* ────── BUTTONS ────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  border: 0;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.18s;
  pointer-events: none;
}
.btn:hover::after { background: rgba(255, 255, 255, 0.12); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-grad);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(9, 112, 103, 0.36); }

.btn-dark {
  background: var(--ocean-blue);
  color: var(--white);
}
.btn-dark:hover { background: var(--ocean-2); }

.btn-ghost {
  background: transparent;
  color: var(--ocean-blue);
  border: 1.5px solid var(--ocean-blue);
}
.btn-ghost:hover { background: var(--ocean-blue); color: var(--white); }

.btn-soft {
  background: var(--white);
  color: var(--ocean-blue);
  border: 1px solid var(--rule);
}
.btn-soft:hover { border-color: var(--regular-teal); color: var(--regular-teal); }

.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ────── NAV ────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  background: rgba(247, 246, 242, 0.94);
  border-bottom-color: var(--rule-soft);
}
.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-inner .nav-cta { margin-left: auto; }
.nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}
.nav .logo-mark {
  height: 40px;
  width: auto;
  display: block;
}
.nav .logo-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
.nav .logo-text-ai {
  font-weight: 500;
  margin-left: 1px;
}
.nav-links {
  display: flex;
  gap: 56px;
  list-style: none;
  margin: 0 0 0 96px;
  padding: 0;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ocean-blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .signin {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.nav-cta .signin:hover { color: var(--ocean-blue); }

/* ────── HERO ────── */

.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 .em {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.12em;
  line-height: 1.15;
  vertical-align: top;
}
.hero-sub {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
}
.hero-sub-sub {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.hero-checks {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
}
.hero-checks > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-checks > span::before {
  content: '✓︎';
  font-family: var(--body);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
}

/* — hero brand pattern (decorative) — */
.hero-blob {
  position: absolute;
  top: -200px;
  right: 160px;
  width: 600px;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.7;
  transform: scaleX(-1) rotate(270deg);
}
.hero-blob.l {
  top: auto;
  right: auto;
  bottom: 0;
  left: -380px;
  width: 720px;
  transform: scaleX(-1);
  opacity: 0.35;
}

/* — chat preview window — */
.chat-window {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-hi);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--off-white);
  border-bottom: 1px solid var(--rule-soft);
}
.chat-bar .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--rule);
}
.chat-bar .url {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.chat-body {
  padding: 32px 32px 24px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.chat-bubble-user {
  align-self: flex-end;
  background: var(--ocean-blue);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 22px;
  border-bottom-right-radius: 6px;
  max-width: 80%;
  font-size: 16px;
  line-height: 1.4;
  animation: bubble-in 0.25s ease-out;
}
.chat-bubble-ai {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  animation: bubble-in 0.35s 0.1s ease-out backwards;
}
.chat-bubble-ai .mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  margin-top: 4px;
}
.chat-bubble-ai .mark img { width: 100%; display: block; }
.chat-bubble-ai .body {
  color: var(--ocean-blue);
  font-size: 16px;
  line-height: 1.55;
  flex: 1;
  min-width: 0;
}
.chat-bubble-ai .body p { margin: 0; }
.chat-bubble-ai .body p + p { margin-top: 12px; }
.chat-bubble-ai .typing {
  display: inline-flex; gap: 4px; padding: 6px 0;
}
.chat-bubble-ai .typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
  animation: typing 1.2s infinite;
}
.chat-bubble-ai .typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble-ai .typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%           { transform: translateY(-4px); opacity: 1; }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sources-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 4px 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--regular-teal);
  cursor: pointer;
}
.sources-link .arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--regular-teal);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 11px;
}

.composer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 14px 22px;
  background: var(--off-white);
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: border-color 0.15s;
}
.composer:focus-within {
  border-color: var(--regular-teal);
  background: var(--white);
}
.composer input {
  flex: 1;
  border: 0; outline: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
}
.composer input::placeholder { color: var(--ink-3); }
.composer .send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ocean-blue);
  color: var(--white);
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s, transform 0.15s;
}
.composer .send:hover { background: var(--ocean-2); }
.composer .send:active { transform: scale(0.95); }
.composer .send:disabled { background: var(--ink-4); cursor: not-allowed; }

/* hint chips below composer */
.hint-chips {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.hint-chip {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.hint-chip:hover {
  border-color: var(--regular-teal);
  color: var(--regular-teal);
}

/* ────── HOW IT WORKS — three clean steps ────── */

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

.steps-grid {
  margin: 64px auto 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 20px;
  align-items: stretch;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}

.step-icon {
  color: var(--regular-teal);
  margin-bottom: 8px;
}

.step-num {
  color: var(--ink-4);
  margin-right: 6px;
  font-weight: inherit;
}

.step-card h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0;
}

.step-card > p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  font-size: 22px;
  font-weight: 300;
  user-select: none;
}

@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
}

/* ────── TRUST STRIP ────── */

.trust-strip {
  background: var(--white);
  padding: 56px 0;
}
.trust-strip .label {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 28px;
}
.trust-intro {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-3);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
/* Mirrors customsclear.net /clients grid: 5 cols desktop, 3 md, 2 mobile.
   gap-x-2 gap-y-8, items-center, hover:scale-105. No grayscale. */
.trust-logos {
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 8px;
  row-gap: 32px;
  align-items: center;
  justify-items: center;
}
@media (max-width: 1024px) {
  .trust-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .trust-logos { grid-template-columns: repeat(2, 1fr); }
}
.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.trust-logo:hover { transform: scale(1.05); }
.trust-logo img {
  width: auto;
  max-width: 192px;
  object-fit: contain;
  display: block;
}
.trust-metrics {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.trust-metrics span {
  display: inline-flex; gap: 8px; align-items: center;
}
.trust-metrics span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--light-green);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(65, 174, 122, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(65, 174, 122, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(65, 174, 122, 0); }
}

/* ────── PRODUCT IN ACTION ────── */

.pia {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-hi);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  margin-top: 56px;
  border: 1px solid var(--rule-soft);
}
.pia-side .side-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pia-side {
  display: flex;
  flex-direction: column;
}
.pia-questions {
  display: flex; flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.pia-q {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1.5;
  border-bottom: 1px solid var(--rule-soft);
}
.pia-questions .pia-q:last-child { border-bottom: 0; }
.pia-q:hover {
  color: var(--regular-teal);
}
.pia-q.active {
  color: var(--ocean-blue);
  font-weight: 600;
}

.pia-answer {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 540px;
  display: flex; flex-direction: column;
  gap: 18px;
}

.pia-answer .meta-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 13px;
  color: var(--ink-3);
}
.answered-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.answered-by svg { flex-shrink: 0; }
.answered-by .ab-name {
  color: var(--ink);
  font-weight: 600;
}

.pia-question {
  background: var(--ocean-blue);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  font-size: 16px;
  align-self: flex-end;
  max-width: 90%;
}

.pia-response {
  display: flex; gap: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ocean-blue);
}
.pia-response .mark { width: 30px; height: 30px; flex-shrink: 0; margin-top: 2px; }
.pia-response .mark img { width: 100%; }
.pia-response .body p { margin: 0; }
.pia-response .body p + p { margin-top: 12px; }

.pia-sources {
  margin-top: -6px;
  padding-left: 46px; /* align with .pia-response .body (mark 30 + gap 16) */
}
.pia-sources-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-3);
}
.pia-sources-toggle:hover { color: var(--ocean-blue); }
.pia-sources-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  color: currentColor;
}
.pia-sources-toggle.is-open .pia-sources-chev { transform: rotate(90deg); }
.pia-sources-list {
  margin: 12px 0 0;
  padding-left: 22px;
  list-style: disc;
  color: var(--ink-3);
}
.pia-sources-list li {
  font-size: 13px;
  line-height: 1.55;
  padding-left: 4px;
}
.pia-sources-list li + li { margin-top: 4px; }
.pia-source-link {
  color: var(--regular-teal);
  cursor: pointer;
  font-weight: 600;
}
.pia-source-link:hover { text-decoration: underline; }
.pia-source-detail { color: var(--ink-3); }
/* ────── AUDIENCE ────── */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.2s;
}
.audience-card:hover {
  border-color: var(--regular-teal);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(8, 58, 69, 0.08);
}
.audience-card .role-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--regular-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.audience-card h3 { font-size: 19px; }
.audience-card .quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ocean-blue);
  padding: 12px 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  line-height: 1.4;
}
.audience-card .use { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.audience-card .use b { color: var(--ink); display: block; font-family: var(--display); font-size: 12px; margin-bottom: 4px; font-weight: 600; }

/* ────── USP ────── */

.usp-section {
  background: var(--white);
}
.usp-trust-row {
  display: flex; justify-content: center; gap: 14px;
  margin: 28px 0 56px;
  flex-wrap: wrap;
}
.usp-trust-row .chip {
  background: color-mix(in oklab, var(--regular-teal) 8%, white);
  color: var(--regular-teal);
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; gap: 8px; align-items: center;
}
.usp-trust-row .chip::before {
  content: '●';
  color: var(--light-green);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.usp-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg);
  padding: 28px;
}
.usp-metric {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.025em;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.usp-card h4 { margin-bottom: 6px; }
.usp-card p { color: var(--ink-3); font-size: 13px; line-height: 1.55; }

/* ────── PRICING ────── */

.pricing-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 5px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 28px;
}
.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.18s;
}
.pricing-toggle button.on {
  background: var(--ocean-blue);
  color: var(--white);
}
.pricing-toggle .save-badge {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--light-green);
  background: color-mix(in oklab, var(--light-green) 20%, white);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pricing-toggle button.on .save-badge {
  background: rgba(255,255,255,0.18);
  color: var(--punchy-yellow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.2s;
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hi);
}
.price-card.featured {
  border: 2px solid var(--ocean-blue);
  background: var(--white);
  box-shadow: 0 30px 60px rgba(8, 58, 69, 0.12);
}
.price-card .ribbon {
  position: absolute;
  top: -14px; left: 36px;
  background: var(--ocean-blue);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card .tier {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ocean-blue);
}
.price-card .price {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.028em;
  display: flex; align-items: baseline; gap: 6px;
  color: var(--ocean-blue);
}
.price-card .price small {
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
}
.price-card .billed {
  font-size: 12px;
  color: var(--regular-teal);
  font-family: var(--mono);
  font-weight: 500;
}
.price-card .pitch {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.price-card .features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule-soft);
  padding-top: 18px;
}
.price-card .features li {
  display: flex; gap: 10px;
  align-items: flex-start;
}
.price-card .features li::before {
  content: '✓';
  color: var(--regular-teal);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card .features li.section {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
  margin-top: 4px;
  font-weight: 600;
}
.price-card .features li.section::before { content: ''; }
.price-card .best {
  margin-top: auto;
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
}
.price-card .best b {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ────── FINAL CTA ────── */

.final-cta {
  background: var(--ocean-blue);
  color: var(--white);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  color: var(--white);
  font-size: 52px;
  letter-spacing: -0.028em;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta p {
  color: color-mix(in oklab, var(--white) 78%, var(--ocean-blue));
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.55;
}
.final-cta .eyebrow {
  color: var(--punchy-yellow);
}
.final-cta .eyebrow::before {
  background: var(--punchy-yellow);
}
.final-cta .actions {
  display: flex; gap: 14px; justify-content: center;
  position: relative; z-index: 2;
}
.final-cta .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.final-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.final-cta .blob-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
}
.final-cta .blob-decoration.l {
  width: 420px; height: 420px;
  left: -160px; bottom: -160px;
}
.final-cta .blob-decoration.r {
  width: 480px; height: 480px;
  right: -200px; top: -180px;
  transform: scaleX(-1);
}

/* ────── FAQ ────── */

.faq-list {
  margin: 48px auto 0;
  max-width: 780px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ocean-blue);
  user-select: none;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--paper); }
.faq-item summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 28px;
  color: var(--regular-teal);
  font-weight: 400;
  margin-left: 12px;
  transition: transform 0.2s;
}
.faq-item[open] summary { background: var(--paper); }
.faq-item[open] summary::after {
  content: '−';
}
.faq-item .answer {
  padding: 0 28px 26px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  animation: fade-in 0.2s ease-out;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ────── FOOTER ────── */

.footer {
  background: var(--off-white);
  padding: 72px 0 68px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a {
  color: var(--ink-2);
  font-weight: 400;
  cursor: pointer;
  transition: color 0.15s;
}
.footer ul a:hover { color: var(--ocean-blue); }
.footer-meta {
  display: flex; justify-content: space-between;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.newsletter {
  display: flex;
  margin-top: 8px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--white);
}
.newsletter input {
  border: 0; outline: 0;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 13px;
  flex: 1;
  background: transparent;
}
.newsletter button {
  border: 0;
  background: var(--ocean-blue);
  color: var(--white);
  padding: 0 18px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.newsletter button:hover { background: var(--ocean-2); }
.footer-desc {
  color: var(--ink-3);
  max-width: 300px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.footer .legal-line {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 18px;
  line-height: 1.55;
  display: flex; gap: 10px; align-items: flex-start;
}
.footer .legal-icon { flex-shrink: 0; margin-top: 2px; color: var(--ink-3); }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo .logo-mark { height: 40px; width: auto; display: block; }
.footer-logo .logo-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
.footer-logo .logo-text-ai { font-weight: 500; margin-left: 1px; }

/* ────── FLOATING CHAT WIDGET ────── */
.chat-widget {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(9, 112, 103, 0.4);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 90;
  transition: transform 0.2s;
}
.chat-widget:hover { transform: scale(1.05); }
.chat-widget img { width: 100%; height: 100%; display: block; }
.chat-widget::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--punchy-yellow);
  border: 2px solid var(--paper);
}

/* ────── UTILITY ────── */

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

/* ────── ASSISTANTS — clean three-column layout ────── */

.assistants-lite {
  background: var(--paper);
  padding: 120px 0;
}

.al-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  max-width: 1080px;
  margin: 64px auto 0;
}

.al-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
.al-card .al-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.al-card h3 {
  font-size: 22px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.al-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 320px;
  text-wrap: pretty;
}

.al-chat {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, transform 0.18s, background 0.18s;
}
.al-chat span { transition: transform 0.18s; }
.al-chat:hover {
  border-color: currentColor;
}
.al-chat:hover span { transform: translateX(4px); }

.al-soon {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}

/* Per-assistant icon colors, mirrored from customsclear.net/imex selector. */
.al-card.a-sanctions .al-icon { color: #dc2626; } /* red-600 */
.al-card.a-taric     .al-icon { color: #059669; } /* emerald-600 */
.al-card.a-classify  .al-icon { color: #2563eb; } /* blue-600 */
.al-chat:hover { color: var(--regular-teal); }

.al-card.is-soon { opacity: 0.55; }
.al-card.is-soon h3,
.al-card.is-soon p { color: var(--ink-3); }
.al-card.is-soon .al-icon { color: var(--ink-3); }

@media (max-width: 880px) {
  .al-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
  }
  .al-head h2 { font-size: 30px; }
  .al-head p { font-size: 16px; }
}
