/* LetUsUp landing (letusup.com). System fonts only; nothing is loaded from third parties. */

:root {
  --primary: #2f45b0;
  --primary-deep: #26358f;
  --sky: #4fb6ee;
  --bg: #f6f7fb;
  --card: #ffffff;
  --ink: #141a38;
  --text: #2e3552;
  --muted: #5b6384;
  --line: #e3e6f1;
  --tint: #eef1fc;
  --sky-tint: #e8f5fd;
  --amber-bg: #fff3d1;
  --amber-ink: #6a4b00;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 56, 0.06);
  --shadow: 0 1px 2px rgba(20, 26, 56, 0.05), 0 16px 40px -18px rgba(38, 53, 143, 0.28);
  --shadow-lg: 0 2px 6px rgba(20, 26, 56, 0.05), 0 28px 60px -24px rgba(38, 53, 143, 0.36);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1080px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft brand glow behind the top of every page (decorative). */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 900px;
  background:
    radial-gradient(38% 42% at 84% 26%, rgba(79, 182, 238, 0.22), transparent 70%),
    radial-gradient(34% 38% at 6% 6%, rgba(47, 69, 176, 0.09), transparent 70%);
  pointer-events: none;
}

main {
  flex: 1 0 auto;
}

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

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-deep);
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

strong {
  font-weight: 650;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ---------- Header & footer ---------- */

.site-header {
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--primary-deep);
}

.brand img {
  width: 36px;
  height: 36px;
}

.header-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: var(--tint);
  color: var(--primary);
}

.site-footer {
  margin-top: auto;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--card);
  font-size: 0.925rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-tagline {
  margin-left: 4px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--primary);
  text-decoration: underline;
}

.footer-note {
  width: 100%;
  margin: 0;
  color: var(--muted);
}

/* ---------- Buttons & call to action ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(47, 69, 176, 0.6);
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--card);
  border-color: var(--line);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #c7cdef;
  color: var(--primary-deep);
}

.btn-quiet {
  background: var(--tint);
  color: var(--primary);
}

.btn-quiet:hover {
  background: #e2e7fb;
  color: var(--primary-deep);
}

.btn-small {
  min-height: 36px;
  padding: 6px 16px;
  font-size: 0.9rem;
}

.btn-store {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 230px;
  padding: 12px 24px;
  border-radius: 16px;
}

.btn-label {
  font-weight: 700;
}

.btn-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.88;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-help {
  margin: 0;
  font-size: 0.925rem;
}

.beta-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 460px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 0.975rem;
  line-height: 1.5;
  text-align: left;
}

.beta-notice strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.beta-notice-icon {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

/* ---------- Home: hero ---------- */

.hero {
  overflow: hidden;
  padding: clamp(16px, 4vw, 48px) 0 clamp(8px, 2vw, 24px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 22px rgba(38, 53, 143, 0.22));
}

.hero-title {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(2.6rem, 6.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero-tagline {
  width: fit-content;
  margin: 6px 0 0;
  color: var(--primary);
  font-size: clamp(1.8rem, 4.3vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-tagline {
    background: linear-gradient(90deg, var(--primary-deep), var(--primary) 50%, #3a86d6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

@media (forced-colors: active) {
  .hero-tagline {
    background: none;
    color: CanvasText;
  }
}

.hero-lead {
  max-width: 38ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    text-align: center;
  }

  .hero-logo,
  .hero-tagline,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .cta {
    align-items: center;
  }

  .hero-copy .cta-buttons {
    justify-content: center;
  }
}

/* ---------- Home: illustrated habit card (HTML/CSS, not a screenshot) ---------- */

.mock {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 28px 72px;
  text-align: left;
}

.mock-glow {
  position: absolute;
  inset: 6% 0 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 182, 238, 0.32), rgba(79, 182, 238, 0));
}

.mock-card {
  position: relative;
  z-index: 1;
  padding: 22px 22px 20px;
  border: 1px solid rgba(227, 230, 241, 0.9);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.mock-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-emoji {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--sky-tint);
  font-size: 22px;
  line-height: 1;
}

.mock-name {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.mock-title {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.mock-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.mock-pill {
  flex: none;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.mock-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.mock-week li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mock-week .dot {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 30px;
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 50%;
}

.mock-week .day {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.mock-week .is-done .dot {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), #3a7bd5);
}

.mock-week .is-done .dot::after {
  content: "";
  width: 36%;
  height: 20%;
  border: solid #fff;
  border-width: 0 0 2.5px 2.5px;
  transform: translateY(-15%) rotate(-45deg);
}

.mock-week .is-rest .dot {
  border-color: #eff1f7;
  background: #eff1f7;
}

.mock-week .is-today .dot {
  box-shadow: 0 0 0 3px var(--card), 0 0 0 5px rgba(79, 182, 238, 0.65);
}

.mock-week .is-today .day {
  color: var(--primary);
}

.mock-week .is-next .dot {
  border-style: dashed;
  border-color: #d3d8e8;
}

.mock-checked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 650;
}

.mock-coach {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: -14px -12px 0 36px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.mock-coach-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--primary));
  color: #fff;
}

.mock-coach p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mock-coach strong {
  display: block;
  margin-bottom: 2px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock-cheer {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.85rem;
  white-space: nowrap;
}

.mock-cheer strong {
  margin-right: 4px;
  color: var(--ink);
}

.mock-cheer-emoji {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky-tint);
  font-size: 15px;
  line-height: 1;
}

.mock-cheer-a {
  top: 4px;
  right: 4px;
  transform: rotate(2.5deg);
}

.mock-cheer-b {
  bottom: 18px;
  left: 6px;
  transform: rotate(-2deg);
}

@media (max-width: 400px) {
  .mock {
    padding: 40px 10px 72px;
  }

  .mock-card {
    padding: 18px 16px 16px;
  }

  .mock-coach {
    margin: -14px 0 0 20px;
  }
}

/* ---------- Home: sections ---------- */

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.section-title {
  max-width: 24ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

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

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.values li {
  padding-left: 18px;
  border-left: 3px solid var(--sky);
}

.values h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

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

@media (max-width: 860px) {
  .steps,
  .values {
    grid-template-columns: minmax(0, 1fr);
  }

  .values {
    gap: 22px;
  }
}

.join-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff 0%, #f1f4ff 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.join-card > p {
  max-width: 46ch;
  margin: 14px auto 0;
  color: var(--muted);
}

.join-card .cta {
  align-items: center;
}

.join-card .cta-buttons {
  justify-content: center;
}

/* Screenshots (section is commented out in pages/index.html until real screenshots exist). */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.screens-grid img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 720px) {
  .screens-grid {
    grid-template-columns: repeat(3, 72%);
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .screens-grid li {
    scroll-snap-align: center;
  }
}

/* ---------- Invite ---------- */

.invite {
  padding: clamp(12px, 3vw, 32px) 0 clamp(48px, 8vw, 88px);
}

.invite-container {
  max-width: calc(620px + 2 * var(--gutter));
}

.invite-card {
  padding: clamp(28px, 6vw, 48px) clamp(20px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.invite-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.invite-title {
  max-width: 20ch;
  margin: 0 auto;
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.invite-lead {
  max-width: 42ch;
  margin: 14px auto 0;
  color: var(--muted);
}

.code-panel {
  max-width: 440px;
  margin: 28px auto 0;
  padding: 20px;
  border: 1px solid #dfe5f7;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f3f6ff, #eaf6fd);
}

.code-label {
  margin: 0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin: 8px 0 12px;
}

.code-value {
  padding-left: 0.16em;
  color: var(--primary-deep);
  font-family: var(--mono);
  font-size: clamp(1.6rem, 6.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  -webkit-user-select: all;
  user-select: all;
}

.code-help {
  margin: 0;
  color: var(--text);
  font-size: 0.975rem;
}

.code-help strong {
  color: var(--ink);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.invite-card > .beta-notice {
  margin: 24px auto 0;
}

.invite-card noscript .code-help {
  margin-top: 20px;
}

.invite-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.invite-subtitle {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.invite-section .cta {
  align-items: center;
  margin-top: 12px;
}

.invite-section .cta-buttons {
  justify-content: center;
}

.invite-section .btn-secondary {
  margin-top: 12px;
}

.invite-next {
  margin: 28px auto 0;
}

.invite-next .invite-subtitle {
  margin-bottom: 12px;
  text-align: center;
}

.next-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.next-steps li {
  position: relative;
  padding: 14px 16px 14px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  counter-increment: step;
}

.next-steps li::before {
  content: counter(step);
  position: absolute;
  top: 13px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

.next-steps strong {
  color: var(--ink);
}

/* ---------- Documents (privacy, terms, support, imprint) ---------- */

.doc {
  padding: clamp(12px, 3vw, 32px) 0 clamp(48px, 8vw, 88px);
}

.doc-container {
  max-width: calc(780px + 2 * var(--gutter));
}

.doc-card {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.doc-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.doc-h1-note {
  color: var(--muted);
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0;
}

.doc-meta {
  margin: 8px 0 28px;
  color: var(--muted);
  font-size: 0.925rem;
}

.doc-lead {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 1.15rem;
}

.doc-card h2 {
  margin: 40px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  scroll-margin-top: 16px;
}

.doc-card h3 {
  margin: 28px 0 8px;
  font-size: 1.075rem;
  line-height: 1.35;
  scroll-margin-top: 16px;
}

.doc-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.doc-card p {
  margin: 0 0 14px;
}

.doc-card ul,
.doc-card ol {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.doc-card li {
  margin: 6px 0;
}

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

.doc-note {
  color: var(--muted);
  font-size: 0.925rem;
}

.address {
  line-height: 1.8;
}

.draft-banner {
  margin: 0 0 28px;
  padding: 12px 16px;
  border: 1px solid #f1d98f;
  border-radius: var(--radius);
  background: var(--amber-bg);
  color: var(--amber-ink);
  font-size: 0.925rem;
  line-height: 1.5;
}

.draft-banner strong {
  color: #4a3400;
}

.placeholder {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--amber-bg);
  color: var(--amber-ink);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.draft-banner .placeholder {
  background: #ffe6a0;
}

.doc-card .providers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.providers li {
  margin: 0;
  padding: 16px 18px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.doc-card .providers h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.providers p {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.provider-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .doc-card .providers {
    grid-template-columns: minmax(0, 1fr);
  }
}

.doc-card .numbered {
  padding-left: 0;
  list-style: none;
  counter-reset: n;
}

.numbered li {
  position: relative;
  margin: 10px 0;
  padding-left: 38px;
  counter-increment: n;
}

.numbered li::before {
  content: counter(n);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.doc-card .checklist {
  padding-left: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 32px;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.28em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tint);
}

.checklist li::after {
  content: "";
  position: absolute;
  top: calc(0.28em + 6px);
  left: 6px;
  width: 8px;
  height: 5px;
  border: solid var(--primary);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--tint);
}

.contact-label {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-email {
  color: var(--primary-deep);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  text-decoration: underline;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 12px 0 8px;
}

.install-card {
  padding: 18px 20px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfcfe;
}

@media (max-width: 720px) {
  .install-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.doc-card .cta {
  margin: 8px 0 12px;
}

/* ---------- 404 ---------- */

.not-found {
  padding: clamp(40px, 9vw, 112px) 0;
  text-align: center;
}

.not-found-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.not-found-logo {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.not-found-lead {
  max-width: 44ch;
  margin: 12px auto 0;
  color: var(--muted);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .skip-link,
  .header-nav,
  .site-footer nav,
  .cta {
    display: none !important;
  }

  .doc-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

/* FAQ ------------------------------------------------------------------- */
.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid rgba(47, 69, 176, 0.14); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.faq-item summary:focus-visible { outline: 2px solid #2f45b0; outline-offset: 4px; border-radius: 4px; }
.faq-item p { margin: 10px 0 0; color: inherit; opacity: 0.9; }
