/* ===========================================
   PETABYT — Landing page styles
   =========================================== */

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-eyebrow {
  margin-bottom: 32px;
}

.hero-title {
  max-width: 14ch;
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}
.hero-title .line {
  display: block;
}
.hero-title .mark-word {
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 56ch;
  color: var(--ink-2);
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.hero-decor {
  position: absolute;
  right: 0;
  top: 30%;
  width: 360px;
  max-width: 40vw;
  pointer-events: none;
  opacity: 0.85;
}
@media (max-width: 980px) { .hero-decor { display: none; } }

/* ===== Stats strip ===== */
.stats {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 64px 0;
}
.stats-title {
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 22ch;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.stat-item {
  padding: 28px 24px;
  border-left: 1px solid var(--line-soft);
}
.stat-item:first-child { border-left: 0; }
@media (max-width: 720px) {
  .stat-item { border-left: 0; border-top: 1px solid var(--line-soft); padding: 20px 0; }
  .stat-item:first-child { border-top: 0; }
}
.stat-value {
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 10px;
}
.stat-label {
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ===== Model (how it works) ===== */
.model-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 820px) { .model-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; } }

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .model-grid { grid-template-columns: 1fr; } }

.model-step {
  padding: 40px 32px;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.model-step:last-child { border-right: 0; }
@media (max-width: 820px) {
  .model-step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .model-step:last-child { border-bottom: 0; }
}
.model-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.model-step h3 {
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.model-step p { font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); }

/* ===== Pricing ===== */
.pricing-head { text-align: center; margin-bottom: 56px; }
.pricing-head .eyebrow { justify-content: center; }
.pricing-head h2 { margin: 16px 0 16px; }
.pricing-head p { color: var(--ink-mute); max-width: 56ch; margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; } }

.plan {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color .2s var(--ease);
}
.plan:hover { border-color: var(--line); }

.plan-popular {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.plan-popular .plan-name,
.plan-popular .plan-price,
.plan-popular .plan-tagline,
.plan-popular .plan-features li { color: var(--bg); }
.plan-popular .plan-features li::before { color: var(--accent); }
.plan-popular .plan-period { color: rgba(247,244,238,.6); }
.plan-popular .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan-popular .btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }

.plan-popular-tag {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-transform: uppercase;
}

.plan-name {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.plan-tagline {
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price {
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.plan-period { color: var(--ink-mute); font-size: 1rem; }

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 0.95rem;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-features li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--font-mono);
  margin-top: 1px;
  flex-shrink: 0;
}

.plan .btn { margin-top: auto; }

/* Addons strip */
.addons {
  margin-top: 64px;
  border-top: 1px solid var(--line-soft);
  padding-top: 40px;
}
.addons h3 {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--ink);
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .addons-grid { grid-template-columns: 1fr; } }
.addon {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.addon-name { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.addon-price { font-family: var(--font-mono); font-size: 0.92rem; color: var(--ink-2); }
.addon-note { font-size: 0.82rem; color: var(--ink-mute); margin-top: 4px; }

/* ===== Compare table ===== */
.compare-head { margin-bottom: 40px; max-width: 60ch; }
.compare-head h2 { margin: 16px 0; }
.compare-table-wrap {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th, .compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.compare-table th {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg-soft);
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td.num { font-family: var(--font-mono); }
.compare-table tr.us-row {
  background: var(--accent-soft);
}
.compare-table tr.us-row td { font-weight: 600; color: var(--accent-2); }
.compare-foot {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--ink-mute);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .15s var(--ease);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--accent); }
.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-mute);
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}
details[open] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-body {
  padding: 0 0 24px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}

/* ===== CTA strip ===== */
.cta-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0;
  margin-top: 60px;
}
.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  color: var(--bg);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw + 1rem, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 18ch;
  margin: 0;
}
.cta-strip .btn-accent { background: var(--accent); border-color: var(--accent); }
.cta-strip .btn-ghost { color: var(--bg); border-color: rgba(247,244,238,.2); }
.cta-strip .btn-ghost:hover { background: rgba(247,244,238,.08); border-color: rgba(247,244,238,.4); color: var(--bg); }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .nav-brand { margin-bottom: 12px; }
.footer-tagline {
  color: var(--ink-mute);
  font-size: 0.95rem;
  max-width: 28ch;
  margin-bottom: 16px;
}
.footer-meta { display: flex; align-items: center; gap: 8px; }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Decorative SVG (slot stack illustration) ===== */
.slot-stack { display: block; }
