:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --primary: #4f46e5;
  --primary-strong: #4338ca;
  --border: #dce3f0;
  --soft-indigo: #e0e7ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 2.2rem 0 2.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--primary);
}

.brand-logo svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: #ffffff;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.02rem;
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--muted);
}

.header-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
  padding: 0.3rem 0;
}

.header-link:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 1.4rem;
  align-items: stretch;
  min-width: 0;
}

.hero-copy {
  padding: 1.4rem 1.2rem;
  align-self: center;
}

.kicker {
  margin: 0;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.74rem;
  display: inline-block;
  background: var(--soft-indigo);
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

h1 {
  margin: 0.75rem 0 0.8rem;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  line-height: 1.08;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  margin: 0;
  min-height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.btn {
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: 140ms ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: #b7c3da;
}

.section {
  margin-top: 3.75rem;
  padding-top: 2.15rem;
  padding-bottom: 0.8rem;
}

.section-head {
  margin-bottom: 1.1rem;
}

.section-head h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.accordion {
  margin-top: 1.35rem;
  display: grid;
  gap: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  overflow: visible;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.accordion-item:hover {
  background: rgba(79, 70, 229, 0.08);
  border-bottom-color: #c7d2fe;
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.accordion-item:hover summary {
  color: var(--primary-strong);
  transform: translateX(3px);
}

.accordion-item summary::marker,
.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  font-size: 1.1rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.accordion-item:hover summary::after {
  transform: scale(1.08);
  background: rgba(79, 70, 229, 0.18);
  color: var(--primary-strong);
}

.accordion-item[open] summary::after {
  content: "−";
}

.accordion-item p {
  margin: 0;
  color: var(--muted);
  padding: 0 0.9rem 1rem;
}

.accordion-item[open] p {
  animation: accordion-fade-in 180ms ease;
}

@keyframes accordion-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 32rem;
}

.plan {
  border-radius: 0.9rem;
  background: var(--primary);
  border: 1px solid var(--primary-strong);
  padding: 1.2rem 1.1rem 1.1rem;
}

.plan h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #eef2ff;
}

.plan-price {
  margin: 0.45rem 0 0;
  font-weight: 800;
  font-size: clamp(1.35rem, 5.3vw, 1.75rem);
  line-height: 1.1;
  color: #ffffff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.plan-price span {
  font-weight: 600;
  color: #c7d2fe;
  font-size: 0.95rem;
  margin-left: 0.15rem;
}

.plan-points {
  margin: 0.95rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.plan-points p {
  margin: 0;
  color: #e0e7ff;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(224, 231, 255, 0.28);
}

.plan-points p:first-child {
  border-top: 0;
  padding-top: 0;
}

.pricing-note {
  margin: 1.3rem 0 0;
  color: var(--muted);
}

.pricing-note a {
  color: var(--primary);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.access-card {
  max-width: 48rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 1rem 1.1rem;
}

.access-card p {
  margin: 0;
  color: var(--muted);
}

.access-card p + p {
  margin-top: 0.75rem;
}

.access-card a {
  color: var(--primary);
  font-weight: 600;
}

.access-card strong {
  color: var(--text);
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.footer-links a:hover {
  text-decoration: underline;
}

.policy-shell {
  width: min(900px, 92vw);
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.policy-main {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.3rem 0 0;
}

.policy-main h1 {
  margin-top: 0;
}

.policy-main h2 {
  margin: 1.15rem 0 0.4rem;
  font-size: 1.1rem;
}

.policy-main p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.policy-main .policy-subhead {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--text);
}

.policy-main ul {
  margin: 0.55rem 0 0;
  padding-left: 1.4rem;
  color: var(--muted);
}

.policy-main li + li {
  margin-top: 0.35rem;
}

.policy-main p {
  margin-top: 16px;
}

.policy-main a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.policy-main strong {
  color: var(--text);
}

.terms-main {
  border-top: 0;
  padding-top: 0.2rem;
}

.terms-main p {
  margin-top: 16px;
}

.legal-meta p {
  margin: 0.3rem 0 0;
}

.policy-section {
  border-top: 1px solid var(--border);
  padding-top: 1.35rem;
  margin-top: 1.5rem;
}

.policy-section h2 {
  margin-top: 0;
}

.policy-subsection + .policy-subsection {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 1.1rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(18rem, 42svh);
  }
}

@media (max-width: 760px) {
  .site-shell,
  .policy-shell {
    width: min(100%, 100vw);
    padding: 1.1rem 0.65rem 1.5rem;
  }

  .hero-copy,
  .section,
  .site-footer,
  .hero-media,
  .policy-main {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .hero {
    grid-template-rows: auto minmax(15rem, 38svh);
  }

  .hero-copy {
    padding: 1rem 0.35rem 0.75rem;
  }

  .hero-media {
    border-radius: 0.75rem;
    min-width: 0;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .section {
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    padding-bottom: 0.35rem;
  }

  .site-footer {
    margin-top: 2.25rem;
    padding-top: 1.2rem;
  }

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

  .header-link {
    font-size: 0.85rem;
  }

  .plan-price span {
    display: block;
    margin-left: 0;
    margin-top: 0.3rem;
  }
}
