/* Page hero */
.page-hero {
  padding: 64px 0 48px;
}
.page-hero h1 {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent-text);
}
.page-hero .lede {
  font-size: 20px;
  line-height: 1.45;
  max-width: 640px;
  color: var(--text-2);
}

/* Currency switch */
.currency-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  margin-top: 24px;
}
.currency-switch button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard);
}
.currency-switch button:hover {
  color: var(--text-1);
}
.currency-switch button.on {
  background: var(--accent);
  color: var(--pine);
}
.currency-switch button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Plans grid */
.plans-section {
  padding-top: 32px;
  padding-bottom: 16px;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 64px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--accent);
  border-width: 2px;
}
.plan .ribbon {
  position: absolute;
  top: -14px;
  left: 36px;
  background: var(--accent);
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.plan .sub {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.plan .rate {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.plan .rate em {
  font-style: normal;
  color: var(--accent-text);
}
.plan .rate-line {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 6px;
}
.plan .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.plan li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-2);
}
.plan li:last-child {
  border: 0;
}
.plan li strong {
  color: var(--text-1);
  font-weight: 600;
}
.plan li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003F34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.plan .cta {
  margin-top: 28px;
  align-self: flex-start;
}

/* Floors */
.floors {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}
.floors-table {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 32px;
}
.floors-table table {
  width: 100%;
  border-collapse: collapse;
}
.floors-table th,
.floors-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.floors-table th {
  background: var(--surface-2);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.floors-table tr:last-child td {
  border: 0;
}
.floors-table .amt {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-1);
}
.floors-table .why {
  color: var(--text-3);
  font-size: 13px;
}
.pill-inline {
  margin-left: 8px;
}
.floors-note {
  margin-top: 16px;
}

/* Examples */
.examples {
  padding: 64px 0;
}
.examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.example {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
}
.example .ttl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.example .case {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.example dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.example dt {
  color: var(--text-3);
}
.example dd {
  margin: 0;
  color: var(--text-1);
  font-weight: 700;
  text-align: right;
}
.example .net {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.example .net .l {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.example .net .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent-text);
}

/* Comparison */
.compare {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}
.compare-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
}
.compare table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
}
.compare th,
.compare td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.compare tr:last-child td {
  border: 0;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-1);
}
.compare th {
  background: var(--surface-2);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.compare .pingou {
  background: rgba(46, 219, 143, 0.06);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.compare .yes {
  color: var(--success-text);
  font-family: var(--font-mono);
  font-size: 16px;
}
.compare .no {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 16px;
}
.compare .meh {
  color: var(--warning-text);
  font-family: var(--font-mono);
  font-size: 12px;
}
.compare-note {
  margin-top: 16px;
}

/* FAQ */
.pricing-faq {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}
.pricing-faq .faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}
.pricing-faq .faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.pricing-faq .faq-item summary::-webkit-details-marker {
  display: none;
}
.pricing-faq .faq-item summary::after {
  content: "+";
  color: var(--text-3);
  font-size: 24px;
  transition: transform var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard);
}
.pricing-faq .faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.pricing-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.pricing-faq .faq-item p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 720px;
}

@media (max-width: 1024px) {
  .plans,
  .examples-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 48px 0 32px;
  }
  .page-hero h1 {
    font-size: 40px;
  }
  .floors,
  .examples,
  .compare,
  .pricing-faq {
    padding: 48px 0;
  }
}
