/* ─── SECTION SHELL ─── */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.section-eyebrow { color: var(--accent); margin-bottom: 24px; display: inline-flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: ""; width: 24px; height: 0.5px; background: var(--accent); }
.section-h {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 24px;
}
.section-sub { color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); max-width: 60ch; }
.section-sub strong { color: var(--ink); font-weight: 500; }

/* ─── HOW IT WORKS ─── */
.how { background: var(--paper); border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  position: relative;
}
.how-grid::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 36px;
  height: 0.5px; background: var(--rule-2);
  z-index: 0;
}
@media (max-width: 880px) { .how-grid { grid-template-columns: 1fr; } .how-grid::before { display: none; } }
.how-step { position: relative; z-index: 1; background: var(--paper); padding-right: clamp(8px, 1vw, 16px); }
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  font-family: var(--display); font-size: 36px; font-weight: 500;
  color: var(--ink); background: var(--bg);
  border: 0.5px solid var(--rule-2); border-radius: 50%;
  margin-bottom: 28px; letter-spacing: -0.02em;
}
.how-step h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.15;
  margin-bottom: 12px; letter-spacing: -0.02em;
}
.how-step h3 em { color: var(--accent); }
.how-step p { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ─── AGENT LIBRARY ─── */
.library-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
}
.library-grid > .agent-card {
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: clamp(28px, 3vw, 40px);
  transition: background 240ms var(--ease);
  cursor: default;
  position: relative;
}
.library-grid > .agent-card:hover { background: var(--paper); }
.library-grid > .agent-card .icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0.5px solid var(--ink); border-radius: 10px;
  margin-bottom: 28px;
  font-family: var(--mono); font-size: 16px; font-weight: 500;
}
.library-grid > .agent-card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 22px; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.02em;
}
.library-grid > .agent-card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
.library-grid > .agent-card .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2);
}
.library-grid > .agent-card .tag .dash { color: var(--accent); margin-right: 6px; }
@media (max-width: 880px) { .library-grid { grid-template-columns: 1fr; } }

/* ─── PRODUCT CLOSE-UPS ─── */
.closeup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 0.5px solid var(--rule);
}
.closeup.flip { direction: rtl; }
.closeup.flip > * { direction: ltr; }
.closeup-mono { color: var(--accent); margin-bottom: 20px; }
.closeup h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 20px; text-wrap: balance;
}
.closeup h3 em { color: var(--accent); }
.closeup p { color: var(--muted); font-size: 17px; line-height: 1.55; margin-bottom: 16px; }
.closeup .visual {
  background: var(--ink); border-radius: 14px; padding: 28px;
  font-family: var(--mono); color: #fff; font-size: 13px; line-height: 1.7;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.3);
  position: relative; overflow: hidden;
}
.closeup .visual.paper {
  background: var(--paper); color: var(--ink);
  border: 0.5px solid var(--rule-2);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.12);
}
.closeup .visual .vlabel {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.closeup .visual.paper .vlabel { color: var(--muted); }
.closeup .visual .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 0.5px dashed rgba(255,255,255,0.1); }
.closeup .visual.paper .row { border-bottom: 0.5px dashed var(--rule); }
.closeup .visual .row:last-child { border-bottom: 0; }
.closeup .visual .row .v { color: var(--accent); }
.closeup .visual.paper .row .v { color: var(--accent); }
@media (max-width: 880px) {
  .closeup, .closeup.flip { grid-template-columns: 1fr; direction: ltr; }
}

/* ─── MOAT / OWN IT ─── */
.own { background: var(--paper); border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.own-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
@media (max-width: 880px) { .own-grid { grid-template-columns: 1fr; } }
.own-pillar .lbl { color: var(--accent); margin-bottom: 16px; }
.own-pillar h4 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.own-pillar p { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ─── IS THIS FOR YOU ─── */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
@media (max-width: 880px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-card { background: var(--bg); border: 0.5px solid var(--rule-2); border-radius: 14px; padding: clamp(28px, 3vw, 40px); }
.fit-card.no { background: var(--dim); }
.fit-card h3 {
  font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em;
  margin-bottom: 24px; display: inline-flex; align-items: center; gap: 12px;
}
.fit-card h3 .mark {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
}
.fit-card.yes h3 .mark { background: var(--accent); color: #fff; }
.fit-card.no h3 .mark { background: var(--ink); color: #fff; opacity: 0.7; }
.fit-card ul { list-style: none; }
.fit-card li {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 0.5px solid var(--rule);
  font-size: 16px; line-height: 1.5; color: var(--ink);
}
.fit-card li:last-child { border-bottom: 0; }
.fit-card li::before { flex-shrink: 0; font-family: var(--mono); font-weight: 500; width: 20px; }
.fit-card.yes li::before { content: ", "; color: var(--accent); }
.fit-card.no li::before { content: "×"; color: var(--muted-2); }
.fit-card.no li { color: var(--muted); }
.fit-foot { margin-top: 32px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.fit-foot a { color: var(--ink); border-bottom: 0.5px solid var(--ink); }

/* ─── COMPARE ─── */
.compare {
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  background: var(--paper);
}
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--bg); border: 0.5px solid var(--rule-2);
  border-radius: 14px; overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 18px 24px; text-align: left; font-size: 15px;
  border-bottom: 0.5px solid var(--rule); vertical-align: top;
}
.compare-table th { font-family: var(--display); font-weight: 500; font-size: 17px; background: var(--paper); }
.compare-table thead th { background: var(--paper); padding: 24px; vertical-align: bottom; }
.compare-table thead th:nth-child(2) { border-right: 0.5px solid var(--rule); }
.compare-table thead th:first-child { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.compare-table thead .col-tag { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--muted); width: 32%; }
.compare-table td:nth-child(2) { border-right: 0.5px solid var(--rule); }
.compare-table .check { color: var(--accent); font-weight: 500; }
.compare-table .x { color: var(--muted-2); }
@media (max-width: 780px) {
  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 14px; }
  .compare-table thead th { padding: 18px 16px; }
}

/* ─── PRICING (dark Resend-style) ─── */
.pricing {
  background: var(--ink); color: #fff;
  padding-top: clamp(96px, 12vh, 160px);
  padding-bottom: clamp(96px, 12vh, 160px);
  position: relative; overflow: hidden;
}
.pricing::before {
  content: ""; position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(255,98,0,0.18), transparent 60%);
  pointer-events: none;
}
.pricing .container { position: relative; z-index: 1; }
.pricing .section-eyebrow { color: var(--accent); }
.pricing .section-h { color: #fff; }
.pricing .section-sub { color: rgba(255,255,255,0.6); }
.pricing .section-sub strong { color: #fff; }
.tier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: clamp(40px, 5vw, 64px);
}
@media (max-width: 880px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 36px);
  display: flex; flex-direction: column; position: relative;
}
.tier.featured { background: rgba(255,98,0,0.06); border-color: rgba(255,98,0,0.5); }
.tier .badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; font-weight: 500;
}
.tier h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tier .desc { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.5; margin-bottom: 28px; min-height: 42px; }
.tier .price { font-family: var(--display); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px; }
.tier .price .cur { font-size: 22px; vertical-align: super; margin-right: 4px; opacity: 0.7; }
.tier .price .per { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-left: 6px; text-transform: uppercase; font-weight: 400; }
.tier .setup {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding-bottom: 24px; border-bottom: 0.5px solid rgba(255,255,255,0.1); margin-bottom: 24px;
}
.tier ul { list-style: none; flex: 1; margin-bottom: 28px; }
.tier li { padding: 10px 0; font-size: 14px; line-height: 1.5; display: flex; gap: 12px; color: rgba(255,255,255,0.85); }
.tier li::before { content: ", "; color: var(--accent); font-family: var(--mono); font-weight: 500; flex-shrink: 0; width: 16px; }
.tier .tier-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--display); font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,0.08); color: #fff;
  border: 0.5px solid rgba(255,255,255,0.15);
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.tier .tier-cta:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.tier.featured .tier-cta { background: var(--accent); border-color: var(--accent); }
.tier.featured .tier-cta:hover { background: #FF7A22; }
.pricing .footnote { margin-top: 32px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); }

/* ─── FAQ ─── */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 0.5px solid var(--rule); padding: 28px 0; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-family: var(--display); font-weight: 500;
  font-size: 19px; line-height: 1.35; letter-spacing: -0.015em;
  color: var(--ink); transition: color 200ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary .plus { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform 200ms var(--ease); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; }
.faq-item summary .plus::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.faq-item summary .plus::after { width: 1px; height: 14px; transform: translate(-50%, -50%); transition: transform 200ms var(--ease); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item p { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 70ch; }

/* ─── FINAL CTA ─── */
.final-cta {
  text-align: center;
  padding-top: clamp(96px, 12vh, 160px);
  padding-bottom: clamp(96px, 12vh, 160px);
  border-top: 0.5px solid var(--rule);
}
.final-cta .section-eyebrow { justify-content: center; }
.final-cta .section-eyebrow::before { display: none; }
.final-cta h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 5vw, 80px); line-height: 1.02; letter-spacing: -0.035em;
  text-wrap: balance; margin: 0 auto 24px; max-width: 22ch;
}
.final-cta h2 em { color: var(--accent); }
.final-cta p { color: var(--muted); font-size: 18px; max-width: 56ch; margin: 0 auto 40px; }
.final-cta .cta-buttons { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
