:root {
  color-scheme: light;
  --ink: #14263e;
  --muted: #485c73;
  --line: #dbe4ef;
  --blue: #094eb1;
  --navy: #08162a;
  --page: #f6f8fc;
  --white: #fff;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: var(--blue); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #ca5a00; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.036em; line-height: 1.12; }
p + p { margin-top: .85rem; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 4; padding: .65rem 1rem; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.subscribe-header { background: #fff; border-bottom: 1px solid var(--line); }
.subscribe-navigation { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subscribe-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; letter-spacing: -.025em; font-size: 1.08rem; }
.subscribe-brand img { width: 25px; height: 25px; object-fit: contain; }
.subscribe-navigation nav, .footer-links { display: flex; align-items: center; gap: clamp(12px, 3vw, 30px); }
.subscribe-navigation nav a, .footer-links a { color: var(--muted); font-weight: 650; text-decoration: none; font-size: .9rem; }
.subscribe-navigation nav a:hover, .footer-links a:hover { color: var(--blue); text-decoration: underline; }
.sub-hero { position: relative; background: var(--navy); color: #fff; isolation: isolate; overflow: clip; }
.sub-hero-media { position: absolute; z-index: -2; height: 100%; width: min(82%, 1160px); right: 0; object-fit: cover; object-position: right center; }
.sub-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #08162a 8%, #08162a 30%, #08162ae8 41%, #08162a60 61%, transparent 94%); }
.hero-content { padding-block: clamp(48px, 6.3vw, 89px); }
.hero-content h1 { font-size: clamp(2.55rem, 4.7vw, 4.1rem); max-width: 660px; }
.hero-content p { max-width: 433px; color: #d8e5f6; font-size: clamp(1rem, 1.8vw, 1.2rem); margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 1.65rem; }
.cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .68rem 1.05rem; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 750; font-size: .94rem; text-decoration: none; text-align: center; border: 1px solid transparent; }
.cta:hover { background: #073b88; }
.hero-actions .cta { background: #bceaff; color: #0b2640; }
.hero-actions .cta:hover { background: #d7f2ff; }
.hero-actions .hero-docs { color: #e2f0ff; font-weight: 700; padding: .62rem 0; }
.plan-section { padding-block: 56px; scroll-margin-top: 12px; }
.section-top { display: grid; gap: .55rem; margin-bottom: 1.65rem; }
.section-top h2, .api-section h2, .payment-section h2, .questions h2 { font-size: clamp(2rem, 3.3vw, 2.85rem); }
.section-top p, .payment-section > p { color: var(--muted); max-width: 73ch; }
.payment-methods { list-style: none; padding: 0; margin: .35rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.payment-methods li { padding: .24rem .6rem; border-radius: 5px; color: #234160; background: #e8f0fa; font-size: .8rem; font-weight: 720; }
.pricing-state { min-height: 1.5em; color: var(--muted); margin-bottom: .6rem; font-size: .91rem; }
.pricing-state button { font: inherit; color: var(--blue); background: #fff; border: 1px solid #9fb2c9; border-radius: 5px; padding: .16rem .45rem; cursor: pointer; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan-card { --accent: #3b72b7; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; padding: clamp(15px, 1.65vw, 23px); display: flex; flex-direction: column; min-width: 0; box-shadow: 0 5px 17px #17365c08; }
.plan-card[data-tier="pro"] { --accent: #237987; }
.plan-card[data-tier="max"] { --accent: #986819; }
.plan-card[data-tier="ultra"] { --accent: #685baa; }
.plan-card h3 { font-size: 1.52rem; }
.plan-description { color: var(--muted); font-size: .9rem; margin-top: .7rem; min-height: 5.35em; }
.plan-price { margin: .8rem 0 .65rem; line-height: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: .32rem; min-height: 41px; color: var(--ink); }
.plan-price strong { font-size: clamp(1.6rem, 3.1vw, 2.45rem); letter-spacing: -.055em; }
.plan-price small { font-size: .82rem; color: var(--muted); }
.plan-price [data-price-status] { color: var(--muted); line-height: 1.3; }
.plan-perks { border-top: 1px solid var(--line); display: grid; gap: .56rem; margin: .35rem 0 1.2rem; padding: .9rem 0 0; list-style: none; align-content: start; font-size: .86rem; }
.plan-perks li { position: relative; padding-left: 16px; }
.plan-perks li::before { content: ""; width: 6px; height: 6px; position: absolute; left: 0; top: .55em; border-radius: 50%; background: var(--accent); }
.plan-action { margin-top: auto; }
.plan-action a { width: 100%; }
.plan-action .sign-in { min-height: 38px; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: .18rem; font-weight: 700; font-size: .85rem; }
.plan-footnote { margin-top: 1.25rem; color: var(--muted); max-width: 86ch; font-size: .9rem; }
.api-section { background: #e9effa; border-block: 1px solid #dbe3f0; padding-block: 48px; }
.api-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 7vw, 100px); align-items: center; }
.api-copy p { color: var(--muted); max-width: 56ch; margin-top: .75rem; }
.api-copy .cta { margin-top: 1.15rem; }
.api-setup { margin: 0; padding: 0; display: grid; gap: .8rem; list-style: none; }
.api-setup li { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: .8rem 1rem; }
.api-setup strong { display: block; }
.api-setup p { color: var(--muted); font-size: .89rem; margin-top: .2rem; overflow-wrap: anywhere; }
.api-setup code { background: #edf3fb; padding: .08rem .27rem; border-radius: 3px; color: #133761; }
.payment-section, .questions { padding-block: 49px; }
.payment-section > p { margin-block: .65rem 1.2rem; }
.payment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.payment-grid article { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.payment-grid h3 { font-size: 1.25rem; }
.payment-grid p { color: var(--muted); margin-top: .45rem; }
.questions { padding-top: 0; }
.questions h2 { margin-bottom: 1rem; }
.questions details { border-bottom: 1px solid var(--line); padding-block: .78rem; }
.questions summary { cursor: pointer; font-weight: 720; }
.questions details p { margin-top: .65rem; color: var(--muted); max-width: 79ch; }
.subscribe-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-body { padding-block: 23px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 30px; justify-content: space-between; }
.footer-body > p { color: var(--muted); font-size: .86rem; margin: 0; }
.footer-links { flex-wrap: wrap; }
@media (max-width: 940px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-description { min-height: 3em; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .subscribe-navigation { min-height: 0; padding-block: 10px; gap: 7px; flex-wrap: wrap; }
  .subscribe-navigation nav { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
  .sub-hero-media { width: 100%; height: 55%; bottom: 0; object-position: 65% 58%; }
  .sub-hero::after { background: linear-gradient(#08162a 35%, #08162af4 49%, #08162a55 77%, #08162a18); }
  .hero-content { padding-block: 36px 165px; }
  .hero-content h1 { max-width: 420px; }
  .hero-content p { margin-top: 1rem; }
  .plan-section, .api-section, .payment-section, .questions { padding-block: 36px; }
  .questions { padding-top: 0; }
  .api-grid, .payment-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 450px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-description { min-height: 0; }
  .plan-price strong { font-size: 2.25rem; }
}
