/* Stackful website. System fonts, no external requests, no animation beyond subtle hover states. */

:root {
  color-scheme: dark light;

  --bg: #0f0d1e;
  --bg-glow: rgba(111, 92, 240, 0.26);
  --surface: #1a1731;
  --surface-strong: #221e3f;
  --border: #332d59;
  --text: #f4f2fb;
  --text-muted: #c4bfdd;
  --accent: #b9adff;
  --accent-soft: rgba(143, 124, 255, 0.16);
  --focus: #dcd4ff;
  --hero-start: #2c2368;
  --hero-end: #151133;
  --hero-border: rgba(185, 173, 255, 0.24);
  --hero-text: #ffffff;
  --hero-muted: #dcd7f5;
  --hero-accent: #cfc6ff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 12px;
  --max: 68rem;
  --prose: 46rem;
  --page-gutter: clamp(1.25rem, 4vw, 2.5rem);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f4fc;
    --bg-glow: rgba(111, 92, 240, 0.13);
    --surface: #ffffff;
    --surface-strong: #f0edfb;
    --border: #e0dbf1;
    --text: #17142c;
    --text-muted: #4a4566;
    --accent: #5440d2;
    --accent-soft: #ece8fd;
    --focus: #5440d2;
    --shadow: 0 16px 36px rgba(38, 28, 92, 0.1);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(64rem 32rem at 50% -12rem, var(--bg-glow), transparent 70%);
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  padding-block: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
}

/* Home */

.hero {
  padding-block: 1rem 2.5rem;
}

.hero-card {
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-radius: var(--radius-l);
  background: linear-gradient(145deg, var(--hero-start), var(--hero-end));
  border: 1px solid var(--hero-border);
  box-shadow: var(--shadow);
  color: var(--hero-text);
}

.hero-card h1 {
  max-width: 18ch;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hero-accent);
}

.lead {
  max-width: 40rem;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--hero-muted);
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.5rem 0 0;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--hero-text);
  font-weight: 600;
}

.privacy-note svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
}

.section {
  padding-block: 2rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.pricing {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--border);
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  color: var(--text-muted);
}

.plan-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.plan-plus {
  border-color: var(--accent);
}

.note {
  margin-top: 1rem;
  color: var(--text-muted);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}

.statement {
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 650;
  color: var(--text) !important;
}

.purpose {
  padding-block: 1rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Documents */

.doc {
  max-width: var(--prose);
  padding-block: 1.5rem 3rem;
}

.doc header {
  margin-bottom: 2rem;
}

.doc .meta {
  color: var(--text-muted);
}

.doc h2 {
  font-size: 1.4rem;
  margin-top: 2.25rem;
}

.doc h3 {
  margin-top: 1.5rem;
}

.doc ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.doc li {
  margin-bottom: 0.35rem;
}

.doc li::marker {
  color: var(--accent);
}

.callout {
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--border);
}

.callout p:last-child {
  margin-bottom: 0;
}

.email {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.faq h3 {
  font-size: 1.1rem;
}

.faq p {
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

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

@media (prefers-reduced-motion: no-preference) {
  .nav-links a,
  a {
    transition: background-color 150ms ease, text-decoration-thickness 150ms ease;
  }
}

@media (forced-colors: active) {
  .hero-card,
  .card,
  .callout {
    border: 1px solid CanvasText;
  }
}
