:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2ec;
  --soft: #f5f8fc;
  --panel: #ffffff;
  --blue: #1d5cff;
  --blue-soft: #e9f1ff;
  --green: #087443;
  --amber: #b54708;
  --shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

[hidden] {
  display: none !important;
}

.account-page {
  min-height: 100vh;
}

.account-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 44px auto 80px;
}

.account-hero {
  max-width: 760px;
  margin-bottom: 24px;
}

.account-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.account-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.account-card {
  border: 1px solid rgba(29, 92, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.account-login,
.profile-card,
.checkout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.account-login h2,
.account-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 0;
}

.account-login p,
.muted-text,
.mini-note {
  color: var(--muted);
}

.account-panel {
  display: grid;
  gap: 20px;
}

.profile-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-picture {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.profile-fallback {
  background: linear-gradient(135deg, #eef5ff, #f7fbff);
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(29, 92, 255, 0.08);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: #344054;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.account-grid .account-card {
  padding: 28px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.usage-list {
  display: grid;
  gap: 12px;
}

.usage-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.usage-list div:last-child {
  border-bottom: 0;
}

.usage-list span {
  color: var(--muted);
}

.usage-list strong {
  color: var(--ink);
}

.checkout-card {
  align-items: flex-start;
}

.addon-card {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.addon-card h2 {
  max-width: 620px;
}

.addon-options,
.checkout-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
}

.checkout-options {
  min-width: min(100%, 560px);
}

.addon-choice,
.plan-choice {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(29, 92, 255, 0.18);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.addon-choice:hover,
.plan-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 92, 255, 0.5);
  box-shadow: 0 14px 34px rgba(29, 92, 255, 0.12);
}

.addon-choice:disabled,
.plan-choice:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.addon-choice span,
.plan-choice span {
  color: var(--muted);
  font-weight: 800;
}

.addon-choice strong,
.plan-choice strong {
  font-size: 18px;
}

.addon-choice small {
  color: var(--muted);
  line-height: 1.35;
}

.account-message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100% - 48px));
  padding: 14px 16px;
  border: 1px solid rgba(29, 92, 255, 0.2);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.account-message[data-tone="error"] {
  border-color: rgba(181, 71, 8, 0.35);
  color: var(--amber);
}

@media (max-width: 860px) {
  .account-login,
  .profile-card,
  .checkout-card {
    align-items: stretch;
    flex-direction: column;
  }

  .account-grid,
  .addon-options,
  .checkout-options {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7faff;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(29, 92, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.header-actions,
.hero-actions,
.trust-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: none;
}

.nav-links {
  gap: 22px;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-actions {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 8px;
  color: #334761;
  font-size: 14px;
  font-weight: 800;
}

.header-link:hover {
  color: var(--blue);
}

.locale-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #c9d7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 0 10px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.locale-control select {
  max-width: 152px;
  border: 0;
  background: transparent;
  color: #1f344d;
  font: inherit;
  outline: 0;
  cursor: pointer;
}

.header-cta,
.primary-cta,
.secondary-cta,
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.header-cta {
  padding: 0 18px;
  background: var(--blue);
  color: #ffffff;
}

.header-cta-account {
  border: 1px solid #c9d7eb;
  background: #ffffff;
  color: #1f344d;
}

.primary-cta,
.plan-cta {
  padding: 0 22px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(29, 92, 255, 0.16);
}

.secondary-cta,
.plan-cta.secondary {
  border: 1px solid #c9d7eb;
  background: #ffffff;
  color: #1f344d;
  box-shadow: none;
}

.header-cta:hover,
.primary-cta:hover,
.secondary-cta:hover,
.plan-cta:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 54px;
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto 0;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.split-section h2,
.paid-includes h2 {
  margin: 0;
  color: #071022;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: #52667f;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.trust-row {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-row span {
  border: 1px solid #d8e3f4;
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 12px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

.product-preview {
  min-width: 0;
}

.preview-window {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(29, 92, 255, 0.15);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  border-right: 1px solid #e8eef6;
  background: #f8fbff;
  padding: 18px 0;
}

.preview-sidebar span {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: #dbe6f5;
}

.preview-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
}

.preview-body {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.preview-header strong {
  display: block;
  color: #071022;
  font-size: 24px;
  line-height: 1.15;
}

.preview-header span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.preview-label {
  margin: 0 0 12px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-grid div {
  border: 1px solid #dce6f3;
  border-radius: 12px;
  padding: 14px 12px;
  background: #f8fbff;
}

.preview-grid small {
  display: block;
  min-height: 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.preview-grid strong {
  display: block;
  margin-top: 10px;
  color: #071022;
  font-size: 30px;
  line-height: 1;
}

.preview-events {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-events span {
  border: 1px solid #d8e3f4;
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 10px;
  color: #38526f;
  font-size: 13px;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 84px auto 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.split-section h2,
.paid-includes h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.story-section {
  margin-top: 78px;
  border-top: 1px solid #dce6f3;
  border-bottom: 1px solid #dce6f3;
  padding: 42px 0;
}

.steps-grid,
.pricing-grid,
.faq-grid,
.includes-grid {
  display: grid;
  gap: 18px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.steps-grid article,
.price-card,
.faq-grid details,
.split-section,
.paid-includes {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
}

.steps-grid article {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.steps-grid h3,
.price-card .plan-name {
  margin: 18px 0 8px;
  font-size: 20px;
}

.steps-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-section,
.paid-includes {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  padding: 32px;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list div,
.includes-grid span {
  border: 1px solid #dce6f3;
  border-radius: 12px;
  background: #f8fbff;
  padding: 14px 16px;
  color: #25364d;
  font-weight: 700;
}

.feature-list div {
  display: grid;
  gap: 6px;
}

.feature-list strong {
  color: #101828;
}

.feature-list span {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.pricing-section {
  padding-top: 12px;
}

.billing-cycle-row {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

.billing-cycle-toggle {
  display: inline-flex;
  gap: 4px;
  border: 1px solid #d8e3f4;
  border-radius: 999px;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.billing-cycle-toggle button {
  min-width: 92px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #52667f;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.billing-cycle-toggle button.active {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(29, 92, 255, 0.14);
}

.compact-toggle {
  margin-top: 0;
}

.compact-cycle-row {
  justify-content: flex-start;
  margin-top: 16px;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 560px;
  padding: 24px;
}

.price-card.compact {
  min-height: 520px;
}

.price-card.highlighted {
  border-color: #8bb8ff;
  box-shadow: 0 14px 34px rgba(29, 92, 255, 0.1);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  background: #ebf4ff;
  padding: 6px 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.plan-name {
  margin-top: 8px;
  color: #071022;
  font-weight: 900;
}

.plan-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price {
  margin: 8px 0 0;
  color: #071022;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.price .price-main {
  display: block;
}

.price-list-note {
  display: block;
  margin-bottom: 5px;
  color: #7a8ca3;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.price-list-note s {
  color: #8b9bb0;
  text-decoration-thickness: 2px;
}

.price-offer-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  border: 1px solid #b8d4ff;
  border-radius: 999px;
  background: #f2f7ff;
  padding: 5px 8px;
  color: #1552d4;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.approx-price {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.plan-choice .approx-price,
.addon-choice .approx-price {
  margin-top: 2px;
  font-size: 11px;
}

.plan-choice .price-list-note,
.plan-choice .price-offer-note {
  font-size: 10px;
}

.plan-choice .price-offer-note {
  margin-top: 5px;
  padding: 4px 7px;
}

.plan-choice .price-main,
.addon-choice .price-main {
  display: block;
}

.audience {
  min-height: 82px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.plan-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.plan-limits span {
  border: 1px solid #d8e3f4;
  border-radius: 999px;
  background: #f8fbff;
  padding: 7px 9px;
  color: #38526f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.price-card.highlighted .plan-limits span {
  border-color: #bdd7ff;
  background: var(--blue-soft);
  color: #174073;
}

.price-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.45;
}

.price-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.plan-cta {
  margin-top: auto;
  width: 100%;
}

.includes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  cursor: pointer;
  color: #101828;
  font-weight: 900;
}

.faq-grid p {
  margin-top: 12px;
}

.site-footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 78px auto 32px;
  border-top: 1px solid #dce6f3;
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--blue);
}

.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 76px auto 0;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 8px 0 0;
  color: #071022;
  font-size: 56px;
  line-height: 1.02;
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-updated {
  font-size: 14px !important;
  font-weight: 800;
}

.legal-card {
  margin-top: 18px;
  border: 1px solid #dce6f3;
  border-radius: 14px;
  background: #ffffff;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.04);
}

.legal-card h2 {
  margin: 0 0 12px;
  color: #071022;
  font-size: 24px;
  line-height: 1.2;
}

.legal-card h3 {
  margin: 22px 0 8px;
  color: #101828;
  font-size: 17px;
}

.legal-card p,
.legal-card li {
  color: #38526f;
  font-size: 15px;
  line-height: 1.7;
}

.legal-card p {
  margin: 10px 0 0;
}

.legal-card ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .hero,
  .split-section,
  .paid-includes {
    grid-template-columns: 1fr;
  }

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

  .price-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header-cta {
    width: 100%;
  }

  .header-link {
    width: 100%;
    min-height: 40px;
    border: 1px solid #c9d7eb;
    border-radius: 12px;
    background: #ffffff;
  }

  .header-actions,
  .locale-control {
    width: 100%;
  }

  .header-actions {
    flex-direction: column;
  }

  .locale-control {
    justify-content: space-between;
  }

  .locale-control select {
    max-width: none;
  }

  .hero {
    margin-top: 52px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .steps-grid,
  .pricing-grid,
  .faq-grid,
  .includes-grid {
    grid-template-columns: 1fr;
  }

  .preview-window,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .split-section,
  .paid-includes {
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-main {
    margin-top: 48px;
  }

  .legal-hero h1 {
    font-size: 42px;
  }

  .legal-card {
    padding: 22px;
  }
}
