: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 18px 45px rgba(16, 24, 40, 0.08);
}

[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;
}

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

.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;
}

.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);
}

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

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

.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,
  .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: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.trust-row,
.preview-topbar,
.metric-grid,
.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: 0 8px 18px rgba(29, 92, 255, 0.18);
}

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

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

.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 12px 28px rgba(29, 92, 255, 0.24);
}

.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.86fr);
  gap: 54px;
  width: min(1180px, calc(100% - 32px));
  margin: 82px 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, 76px);
  line-height: 0.96;
}

.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: 19px;
  line-height: 1.65;
}

.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 {
  overflow: hidden;
  border: 1px solid rgba(29, 92, 255, 0.15);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.preview-topbar {
  gap: 7px;
  height: 42px;
  border-bottom: 1px solid #e8eef6;
  padding: 0 18px;
  background: #f8fbff;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d0d9e8;
}

.preview-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  padding: 24px;
}

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

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

.event-pill {
  margin-bottom: 10px;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.event-pill.good {
  color: var(--green);
}

.event-pill.warn {
  color: var(--amber);
}

.metric-grid {
  gap: 10px;
  align-items: stretch;
}

.metric-grid div {
  flex: 1;
  min-width: 0;
  border: 1px solid #dce6f3;
  border-radius: 14px;
  padding: 14px 12px;
  background: #f8fbff;
}

.metric-grid strong {
  display: block;
  color: #071022;
  font-size: 28px;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.workspace-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid #bdd7ff;
  border-radius: 16px;
  background: var(--blue-soft);
  padding: 14px;
  color: #174073;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.workspace-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--blue);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 92px 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;
}

.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: 22px;
  background: var(--panel);
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.05);
}

.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: 34px;
}

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

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

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

.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: 660px;
  padding: 24px;
}

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

.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 span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.audience {
  min-height: 72px;
  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;
}

@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%;
  }

  .hero {
    margin-top: 52px;
  }

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

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

  .metric-grid {
    flex-direction: column;
  }

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

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