/* Content Builder — long-form sales page. Builds on /auth/site.css tokens. */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}
.section-sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-2);
}
.narrow {
  max-width: 820px;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(47, 91, 234, 0.12), transparent 70%),
    radial-gradient(700px 380px at 10% 90%, rgba(109, 93, 240, 0.08), transparent 70%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 560px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.proof-row {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-1);
  max-width: 560px;
}
.proof-row li {
  padding: 14px 16px;
  display: grid;
  gap: 2px;
}
.proof-row li + li {
  border-left: 1px solid var(--line);
}
.proof-row strong {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.proof-row span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.hero-shot {
  position: relative;
  margin: 0;
}
.frame {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.frame-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: var(--sunken);
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--sunken);
}
.hero-shot .frame {
  transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg);
  transform-origin: left center;
}
.float-card {
  position: absolute;
  left: -28px;
  bottom: -26px;
  max-width: 300px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}
.fc-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fc-text {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
}

/* Cards & grids */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 24px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  font-size: 15px;
}
.card-muted {
  background: var(--panel-2);
  box-shadow: none;
}
.card-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
}
.feat {
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.feat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.ico {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
}
.ico::after {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.85;
}
.ico-1 {
  background: #e8eefe;
  color: #2f5bea;
}
.ico-2 {
  background: #fdeee4;
  color: #d4621c;
}
.ico-3 {
  background: #e6f4ec;
  color: #1f8a4c;
}
.ico-4 {
  background: #f1ebfd;
  color: #6d4bd8;
}
.ico-5 {
  background: #fdf3dc;
  color: #a87400;
}
.ico-6 {
  background: #fbeaf0;
  color: #c23a6b;
}
.ico-7 {
  background: #e4f4f6;
  color: #10808d;
}
.ico-8 {
  background: #eceae6;
  color: #3b3b40;
}
.ico-2::after {
  border-radius: 50%;
}
.ico-4::after {
  inset: 10px 9px;
  border-radius: 2px;
}
.ico-5::after {
  inset: 12px 8px;
}
.ico-6::after {
  clip-path: polygon(20% 0, 100% 50%, 20% 100%);
  border-radius: 0;
}
.ico-7::after {
  border-radius: 50% 50% 3px 50%;
}
.ico-8::after {
  transform: rotate(45deg);
  inset: 12px;
}

.wide-shot {
  margin: 48px 0 0;
}
.wide-shot figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* How it works */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.flow li {
  padding: 28px 24px;
  position: relative;
}
.flow li + li {
  border-left: 1px solid var(--line);
}
.flow-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px -6px rgba(47, 91, 234, 0.8);
}
.flow h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.flow p {
  font-size: 15px;
  color: var(--ink-2);
}

/* Split feature rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.split-rev {
  grid-template-columns: 1.15fr 1fr;
}
.ticks,
.crosses {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li,
.crosses li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}
.ticks li::before,
.crosses li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--ok-soft);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.crosses li::before {
  background: var(--sunken);
}
.crosses li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 10px;
  height: 2px;
  background: var(--muted);
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  background: var(--panel);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 15px;
}
.compare th,
.compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  background: var(--panel-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.compare td:nth-child(2) {
  color: var(--muted);
}
.compare td:last-child {
  font-weight: 600;
  color: var(--ink);
  background: rgba(47, 91, 234, 0.04);
}

/* Offer */
.section-offer {
  background: linear-gradient(180deg, var(--bg), #e9edfa);
  border-top: 1px solid var(--line);
}
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
}
.offer-box {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow-3);
  padding: 32px;
  display: grid;
  gap: 14px;
}
.offer-name {
  font-weight: 700;
  font-size: 17px;
}
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.offer-price s {
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.offer-note {
  color: var(--muted);
  font-size: 14px;
}
.offer-box .notice {
  margin: 0;
}
.after-pay {
  margin: 6px 0 0;
  padding: 16px 0 0 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  display: grid;
  gap: 4px;
}

/* FAQ */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.faq h3 {
  margin: 0;
  font-size: 17px;
}
.faq h3 + div + h3,
.faq h3:not(:first-child) {
  border-top: 1px solid var(--line);
}
.faq button {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 650;
}
.faq button:focus-visible {
  outline: 3px solid rgba(47, 91, 234, 0.45);
  outline-offset: -3px;
}
.faq button::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.faq button[aria-expanded='true']::after {
  transform: rotate(-135deg);
}
.faq div {
  padding: 0 22px 20px;
  color: var(--ink-2);
}

/* Final CTA */
.final-cta {
  background: #17171a;
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}
.final-cta p {
  margin-top: 14px;
  color: #c9c8cf;
  font-size: 18px;
}
.final-cta .hero-cta {
  justify-content: center;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split-rev,
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-rev > .frame {
    order: 2;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow li:nth-child(3) {
    border-left: 0;
  }
  .flow li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .hero-shot .frame {
    transform: none;
  }
  .float-card {
    left: 12px;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 44px 0 72px;
  }
  .grid-2,
  .grid-4,
  .flow {
    grid-template-columns: 1fr;
  }
  .flow li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .proof-row {
    grid-template-columns: 1fr;
  }
  .proof-row li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .float-card {
    position: static;
    margin-top: 14px;
    max-width: none;
  }
  .offer-box {
    padding: 24px 20px;
  }
  .offer-price {
    font-size: 44px;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
}
