:root {
  color-scheme: dark;

  --bg: #070b0f;
  --bg-soft: #0b1117;
  --panel: rgba(15, 22, 29, .86);
  --panel-solid: #0f161d;
  --panel-raised: #121c24;

  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .15);

  --text: #f4f7f8;
  --muted: #909ca5;
  --muted-2: #68747d;

  --green: #63c7f2;
  --green-strong: #3faedd;
  --green-soft: rgba(99, 199, 242, .11);

  --blue: #79aaff;
  --violet: #a68cff;

  --danger: #ff7676;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;

  --shadow:
    0 24px 80px rgba(0, 0, 0, .34);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;

  color: var(--text);
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(63, 174, 221, .12),
      transparent 35rem
    ),
    radial-gradient(
      circle at 95% 20%,
      rgba(121, 170, 255, .06),
      transparent 30rem
    ),
    var(--bg);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}


/* HEADER */

.plans-header {
  position: sticky;
  top: 0;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);

  border-bottom: 1px solid var(--line);

  background:
    rgba(7, 11, 15, .80);

  backdrop-filter:
    blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  border: 1px solid
    rgba(99, 199, 242, .28);

  border-radius: 12px;

  color: var(--green);

  background:
    linear-gradient(
      145deg,
      rgba(99, 199, 242, .16),
      rgba(99, 199, 242, .03)
    );

  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  min-height: 36px;
  padding: 0 12px;

  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--muted);

  background:
    rgba(255, 255, 255, .025);

  font-size: 12px;
}

.account-badge.is-authenticated {
  color: #c8eaf9;

  border-color:
    rgba(99, 199, 242, .20);

  background:
    var(--green-soft);
}

.account-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--muted-2);
}

.account-badge.is-authenticated
.account-dot {
  background: var(--green);

  box-shadow:
    0 0 12px
    rgba(99, 199, 242, .65);
}

.back-link {
  min-height: 36px;
  padding: 8px 12px;

  display: inline-flex;
  align-items: center;

  border: 1px solid var(--line);
  border-radius: 10px;

  text-decoration: none;

  color: #d9e1e5;

  background:
    rgba(255, 255, 255, .025);
}


/* MAIN */

main {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
}


/* HERO */

.hero {
  padding:
    clamp(70px, 9vw, 122px)
    0
    52px;

  text-align: center;
}

.eyebrow {
  color: var(--green);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .20em;
}

.hero h1 {
  max-width: 920px;

  margin:
    18px auto
    20px;

  font-size:
    clamp(44px, 6.4vw, 88px);

  line-height: .98;

  letter-spacing: -.055em;
}

.hero h1 span {
  color: var(--green);
}

.hero-copy {
  max-width: 710px;

  margin:
    0 auto
    30px;

  color: var(--muted);

  font-size:
    clamp(15px, 1.4vw, 19px);

  line-height: 1.65;
}

.period-switch {
  display: inline-flex;
  align-items: center;

  padding: 4px;

  border: 1px solid var(--line);
  border-radius: 13px;

  background:
    rgba(255, 255, 255, .03);
}

.period-button {
  min-height: 40px;
  padding: 0 16px;

  border: 0;
  border-radius: 9px;

  cursor: pointer;

  color: var(--muted);

  background: transparent;

  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.period-button:hover {
  color: var(--text);
}

.period-button.is-active {
  color: #060d10;

  background:
    linear-gradient(
      135deg,
      var(--green),
      #8bdcff
    );

  font-weight: 800;
}

.period-button span {
  margin-left: 6px;

  font-size: 10px;
  opacity: .68;
}

.plans-message {
  min-height: 22px;

  margin-top: 17px;

  color: var(--muted);

  font-size: 13px;
}

.plans-message.is-error {
  color: #ff9c9c;
}

.plans-message.is-success {
  color: var(--green);
}


/* PLAN GRID */

.plans-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 14px;

  align-items: stretch;
}

.plan-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  padding: 24px;

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .035),
      rgba(255, 255, 255, .015)
    ),
    var(--panel);

  box-shadow:
    0 14px 40px
    rgba(0, 0, 0, .14);

  transition:
    transform .20s ease,
    border-color .20s ease,
    background .20s ease;
}

.plan-card:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(255, 255, 255, .17);
}

.plan-card.featured {
  border-color:
    rgba(99, 199, 242, .34);

  background:
    linear-gradient(
      180deg,
      rgba(99, 199, 242, .085),
      rgba(255, 255, 255, .018) 34%
    ),
    var(--panel-solid);

  box-shadow:
    0 20px 70px
    rgba(28, 90, 117, .12);
}

.popular-badge {
  position: absolute;

  top: 0;
  left: 50%;

  transform:
    translate(-50%, -50%);

  padding: 6px 10px;

  border-radius: 999px;

  color: #060d10;
  background: var(--green);

  font-size: 9px;
  font-weight: 900;

  letter-spacing: .12em;
}

.plan-card-top {
  min-height: 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;
}

.plan-name {
  color: var(--muted);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .14em;
}

.current-badge {
  padding: 5px 7px;

  border: 1px solid
    rgba(99, 199, 242, .24);

  border-radius: 999px;

  color: var(--green);

  background:
    var(--green-soft);

  font-size: 9px;
  font-weight: 900;

  letter-spacing: .10em;
}

.plan-card h2 {
  margin:
    20px 0
    8px;

  font-size: 25px;

  letter-spacing: -.035em;
}

.plan-description {
  min-height: 66px;

  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.55;
}

.price {
  margin-top: 28px;

  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.price strong {
  font-size:
    clamp(30px, 3vw, 43px);

  line-height: 1;

  letter-spacing: -.045em;
}

.price span {
  padding-bottom: 4px;

  color: var(--muted);

  font-size: 12px;
}

.price-note {
  min-height: 36px;

  margin-top: 8px;

  color: var(--muted-2);

  font-size: 11px;
  line-height: 1.4;
}

.capacity {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 18px;
  padding: 13px;

  border: 1px solid var(--line);
  border-radius: 13px;

  background:
    rgba(255, 255, 255, .025);
}

.capacity strong {
  color: var(--green);

  font-size: 26px;
  line-height: 1;
}

.capacity span {
  color: #bac4ca;

  font-size: 12px;
}

.features {
  flex: 1;

  list-style: none;

  margin:
    21px 0
    24px;

  padding: 0;
}

.features li {
  position: relative;

  padding:
    8px 0
    8px 22px;

  color: #c3ccd1;

  font-size: 12px;
  line-height: 1.45;
}

.features li::before {
  content: "";

  position: absolute;

  left: 1px;
  top: 14px;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 10px
    rgba(99, 199, 242, .35);
}

.plan-action {
  width: 100%;
  min-height: 46px;

  border: 0;
  border-radius: 12px;

  cursor: pointer;

  color: #060d10;

  background:
    linear-gradient(
      135deg,
      var(--green),
      #89dcff
    );

  font-weight: 850;

  transition:
    transform .18s ease,
    filter .18s ease,
    opacity .18s ease;
}

.plan-action:hover:not(:disabled) {
  transform:
    translateY(-1px);

  filter:
    brightness(1.05);
}

.plan-action.secondary {
  color: #e3e9ec;

  border:
    1px solid var(--line-strong);

  background:
    rgba(255, 255, 255, .045);
}

.plan-action:disabled {
  cursor: default;
  opacity: .56;
}


/* COMPARISON */

.comparison {
  padding:
    110px 0
    40px;
}

.section-heading {
  max-width: 690px;

  margin-bottom: 30px;
}

.section-heading h2 {
  margin:
    12px 0
    10px;

  font-size:
    clamp(30px, 4vw, 48px);

  letter-spacing: -.045em;
}

.section-heading p {
  margin: 0;

  color: var(--muted);

  line-height: 1.6;
}

.comparison-table-wrap {
  overflow-x: auto;

  border:
    1px solid var(--line);

  border-radius:
    var(--radius-xl);

  background:
    rgba(255, 255, 255, .018);
}

.comparison-table {
  width: 100%;
  min-width: 760px;

  border-collapse:
    collapse;
}

.comparison-table th,
.comparison-table td {
  padding:
    18px 20px;

  border-bottom:
    1px solid var(--line);

  text-align: center;

  font-size: 13px;
}

.comparison-table thead th {
  color: var(--text);

  background:
    rgba(255, 255, 255, .025);

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table tbody th {
  color: #cbd4d8;
  font-weight: 600;
}

.comparison-table td {
  color: var(--muted);
}

.comparison-table .pro-column {
  background:
    rgba(99, 199, 242, .04);
}

.comparison-table tbody tr:last-child
th,
.comparison-table tbody tr:last-child
td {
  border-bottom: 0;
}


/* FAQ */

.faq {
  padding:
    90px 0
    70px;
}

.faq-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.faq details {
  border:
    1px solid var(--line);

  border-radius:
    var(--radius-lg);

  background:
    rgba(255, 255, 255, .02);
}

.faq summary {
  position: relative;

  padding:
    20px 50px
    20px 20px;

  cursor: pointer;

  list-style: none;

  font-size: 14px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";

  position: absolute;

  right: 20px;
  top: 50%;

  transform:
    translateY(-50%);

  color: var(--green);

  font-size: 22px;
  font-weight: 400;
}

.faq details[open]
summary::after {
  content: "-";
}

.faq details p {
  margin:
    -4px 20px
    20px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.65;
}


/* BOTTOM CTA */

.bottom-cta {
  margin:
    30px 0
    80px;

  padding:
    clamp(28px, 5vw, 54px);

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  border:
    1px solid
    rgba(99, 199, 242, .19);

  border-radius:
    28px;

  background:
    radial-gradient(
      circle at 0 100%,
      rgba(99, 199, 242, .12),
      transparent 28rem
    ),
    var(--panel-solid);

  box-shadow:
    var(--shadow);
}

.bottom-cta h2 {
  margin:
    14px 0 0;

  font-size:
    clamp(34px, 5vw, 60px);

  line-height: 1;

  letter-spacing: -.05em;
}

.bottom-cta-action {
  min-height: 46px;

  padding:
    0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  color: #060d10;
  background: var(--green);

  text-decoration: none;
  font-weight: 850;

  white-space: nowrap;
}


/* FOOTER */

footer {
  width:
    min(1440px, calc(100% - 36px));

  margin: 0 auto;

  padding:
    24px 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border-top:
    1px solid var(--line);

  color: var(--muted-2);

  font-size: 11px;
}

footer strong {
  color: #b6c1c7;
}


/* RESPONSIVE */

@media (max-width: 1080px) {

  .plans-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px;
  }

  .plan-card.featured {
    order: -1;
  }
}

@media (max-width: 720px) {

  main {
    width:
      min(100% - 24px, 1440px);
  }

  .plans-header {
    min-height: 62px;

    padding:
      9px 12px;
  }

  .brand-copy {
    display: none;
  }

  .account-badge {
    display: none;
  }

  .hero {
    padding:
      56px 0
      38px;
  }

  .hero h1 {
    font-size:
      clamp(40px, 14vw, 64px);
  }

  .hero-copy {
    font-size: 14px;
  }

  .period-switch {
    width: 100%;
  }

  .period-button {
    flex: 1;
  }

  .period-button span {
    display: block;

    margin:
      1px 0 0;

    font-size: 8px;
  }

  .plans-grid {
    grid-template-columns:
      1fr;
  }

  .plan-description {
    min-height: auto;
  }

  .faq-grid {
    grid-template-columns:
      1fr;
  }

  .bottom-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .bottom-cta-action {
    width: 100%;
  }

  footer {
    width:
      calc(100% - 24px);

    align-items: flex-start;
    flex-direction: column;
  }
}