:root {
  --bg: #f7fff9;
  --surface: #ffffff;
  --surface-green: #ecfff2;
  --surface-mint: #dff9e9;
  --text: #122218;
  --muted: #617064;
  --line: #d7eadc;
  --brand: #22b45b;
  --brand-dark: #12813d;
  --brand-soft: #d7f8e2;
  --accent: #0e9f6e;
  --warning: #f59e0b;
  --danger: #e54865;
  --shadow: 0 24px 70px rgba(24, 91, 48, 0.14);
  /* Discount badge. Kept in step with SetupColors.discountBadge* in the app —
     the two ends must not drift apart in front of a paying user. */
  --discount-badge-from: #dcfae8;
  --discount-badge-to: #b7f0ce;
  --discount-badge-text: #0b6a32;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 180, 91, 0.18), transparent 34rem),
    linear-gradient(180deg, #f8fff9 0%, #ffffff 42%, #f2fbf5 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand img { width: 2.35rem; height: 2.35rem; border-radius: 0.7rem; object-fit: contain; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #26382b;
  font-size: 0.94rem;
  font-weight: 700;
}
.desktop-nav a, .nav-menu-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.6rem 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}
.desktop-nav a:hover, .nav-menu-button:hover { color: var(--brand-dark); }

.nav-dropdown { position: relative; }
.nav-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.7rem;
}
.nav-menu-button::after {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 160ms ease;
}
.nav-dropdown.open .nav-menu-button {
  color: var(--brand-dark);
  background: var(--surface-green);
}
.nav-dropdown.open .nav-menu-button::after { transform: translateY(0.12rem) rotate(225deg); }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  display: none;
  min-width: 15rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.nav-dropdown.open .dropdown-panel { display: grid; }
.dropdown-panel a {
  padding: 0.72rem 0.85rem;
  border-radius: 0.75rem;
  color: var(--muted);
}
.dropdown-panel a:hover { background: var(--surface-green); color: var(--brand-dark); }

.header-actions, .hero-actions, .inline-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.primary-button, .secondary-button, .ghost-button, .icon-button {
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.primary-button, .secondary-button, .ghost-button {
  padding: 0.78rem 1.08rem;
}
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 16px 34px rgba(34, 180, 91, 0.24);
}
.secondary-button {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #b6edc9;
}
.ghost-button {
  color: var(--brand-dark);
  background: rgba(34, 180, 91, 0.08);
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--brand-dark);
  background: rgba(34, 180, 91, 0.08);
  border: 1px solid rgba(17, 124, 62, 0.12);
}
.icon-button svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary-button:hover, .secondary-button:hover, .ghost-button:hover, .icon-button:hover { transform: translateY(-1px); }
.large { padding: 1rem 1.45rem; font-size: 1rem; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.52rem; }
.apple-mark { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Symbol", sans-serif; font-size: 1.25em; line-height: 0.8; }
.full-width { width: 100%; }
.hidden { display: none !important; }

.route-page { display: none; }
.route-page.active { display: block; }

.hero-section {
  min-height: min(74vh, 45rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4.4rem, 8vw, 7.2rem) clamp(1rem, 5vw, 5rem) clamp(3.4rem, 6vw, 5.2rem);
}
.hero-copy {
  max-width: 74rem;
  text-align: center;
}
.hero-copy h1 { margin-inline: auto; }
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 68rem;
  margin-bottom: 1.8rem;
  font-size: clamp(2.85rem, 5.35vw, 5.15rem);
  line-height: 1.08;
  letter-spacing: -0.068em;
}
h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
h3 { margin-bottom: 0.55rem; font-size: 1.18rem; }
.hero-lede, .section-heading p, .page-hero p, .content-page p, .download-section p, .contact-page p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
}
.hero-lede {
  max-width: 70rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: clamp(1.22rem, 1.75vw, 1.58rem);
  line-height: 1.72;
}
.hero-actions { justify-content: center; margin-top: 0.8rem; }

.section { margin: 0 clamp(1rem, 5vw, 5rem); padding: 4.5rem 0; }
.short-section { padding: 3rem 0; }
.section-heading { max-width: 54rem; margin-bottom: 1.8rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.feature-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--muted);
  background: #fff;
  font-weight: 800;
}
.feature-tab.active { color: #fff; background: var(--brand); border-color: var(--brand); }
.feature-preview {
  max-width: 64rem;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: #eef7f1;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-media-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf4ed;
}
.feature-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(0.65%);
  transition: opacity 420ms ease, transform 480ms cubic-bezier(0.22, 0.7, 0.24, 1);
  pointer-events: none;
}
.feature-shot.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.feature-preview-meta {
  position: absolute;
  right: 0.85rem;
  bottom: 0.8rem;
  left: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
}
.feature-slide-label {
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 37, 23, 0.72);
  box-shadow: 0 4px 18px rgba(5, 24, 12, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 800;
}
.feature-dots {
  display: flex;
  gap: 0.38rem;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  background: rgba(16, 37, 23, 0.64);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.feature-dot {
  width: 0.48rem;
  height: 0.48rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  transition: width 180ms ease, background 180ms ease;
}
.feature-dot.active { width: 1.15rem; border-radius: 999px; background: #fff; }
.feature-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .feature-shot, .feature-dot { transition: none; }
}

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-card, .price-card, .panel-card, .content-page, .contact-page, .download-section {
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.info-card { padding: 1.3rem; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pill-grid span {
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  background: var(--surface-green);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.9rem;
}
.pill-grid.compact span { font-size: 0.84rem; padding: 0.45rem 0.62rem; }

.capability-card {
  position: relative;
  min-height: 34rem;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  background: linear-gradient(160deg, #ffffff 0%, #effcf3 100%);
  box-shadow: var(--shadow);
}
.capability-copy { position: relative; z-index: 2; }
.capability-copy .eyebrow { margin-bottom: 0.45rem; font-size: 0.68rem; }
.capability-copy h3 { margin-bottom: 0.52rem; font-size: 1.38rem; }
.capability-copy p:last-child { max-width: 24rem; color: var(--muted); line-height: 1.55; }
.platform-stage, .language-stage, .role-stage {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  left: 0.9rem;
  height: 20rem;
  overflow: hidden;
  border: 1px solid rgba(18, 129, 61, 0.09);
  border-radius: 1.3rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5fdf8 100%);
}

/* ---- Platform coverage: product logo centred, platforms on a dashed orbit ---- */
.platform-ring {
  position: absolute;
  inset: 0 0 3.4rem 0;
}
.platform-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12.4rem;
  height: 12.4rem;
  border: 1px dashed rgba(18, 129, 61, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.platform-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.7rem rgba(203, 243, 219, 0.5), 0 10px 26px rgba(17, 91, 48, 0.12);
  transform: translate(-50%, -50%);
}
.platform-center-logo img { width: 3.4rem; height: 3.4rem; object-fit: contain; }
/* Each node sits on the orbit: rotate out to the radius, then counter-rotate so
   the logo stays upright. Percentage offsets would trace an ellipse instead. */
.platform-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  --orbit-radius: 6.2rem;
  --orbit-angle: 0deg;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 91, 48, 0.13);
  transform:
    translate(-50%, -50%)
    rotate(var(--orbit-angle))
    translateY(calc(-1 * var(--orbit-radius)))
    rotate(calc(-1 * var(--orbit-angle)));
}
.platform-node img { width: 1.6rem; height: 1.6rem; object-fit: contain; }
.platform-node.lark img { width: 1.45rem; height: 1.45rem; }
.platform-node.coderpad { --orbit-angle: 0deg; }
.platform-node.hackerrank { --orbit-angle: 45deg; }
.platform-node.lark { --orbit-angle: 90deg; }
.platform-node.meet { --orbit-angle: 135deg; }
.platform-node.codesignal { --orbit-angle: 180deg; }
.platform-node.teams { --orbit-angle: 225deg; }
.platform-node.zoom { --orbit-angle: 270deg; }
.platform-node.leetcode { --orbit-angle: 315deg; }
.platform-coming-soon {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  left: 0.9rem;
  display: flex;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  border-radius: 0.8rem;
  background: #f1fbf4;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 600;
}
.platform-coming-soon svg { width: 1.15rem; height: 1.15rem; flex: none; }

/* ---- Multi-language: greetings floating over a world map ---- */
.language-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 0.8rem;
}
.language-map-wrap {
  position: relative;
  flex: none;
  /* align-items:center would shrink this to content width and collapse the img */
  align-self: stretch;
  height: 13.2rem;
}
.language-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.9;
}
.lang-bubble {
  position: absolute;
  padding: 0.32rem 0.62rem;
  transform: translate(-50%, -50%);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 5px 12px rgba(17, 91, 48, 0.15);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
/* small speech-bubble tail */
.lang-bubble::after {
  position: absolute;
  bottom: -0.28rem;
  left: 22%;
  width: 0.55rem;
  height: 0.55rem;
  background: #fff;
  content: "";
  transform: rotate(45deg);
  border-radius: 0.12rem;
}
.lang-bubble.b1 { top: 16%; left: 17%; }
.lang-bubble.b2 { top: 44%; left: 12%; }
.lang-bubble.b3 { top: 70%; left: 24%; }
.lang-bubble.b4 { top: 58%; left: 46%; }
.lang-bubble.b5 { top: 88%; left: 38%; }
.lang-bubble.b6 { top: 33%; left: 38%; }
.lang-bubble.b7 { top: 82%; left: 65%; }
.lang-bubble.b8 { top: 14%; left: 62%; }
.lang-bubble.b9 { top: 38%; left: 78%; }
.lang-bubble.b10 { top: 62%; left: 88%; }
.language-note {
  margin: 0;
  color: var(--brand-dark);
  font-size: 0.98rem;
  font-weight: 700;
}

/* ---- Role-based: two columns of soft cards, icon on the left ---- */
.role-stage { padding: 0.55rem 0.5rem; }
.role-grid {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 0.34rem;
  align-content: center;
}
.role-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(18, 129, 61, 0.10);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 4px 10px rgba(17, 91, 48, 0.05);
  overflow: hidden;
}
.role-item svg {
  width: 0.98rem;
  height: 0.98rem;
  flex: none;
  color: var(--brand);
}
.role-item em { display: block; }
.role-item.role-more {
  justify-content: center;
  border-style: dashed;
  border-color: rgba(18, 129, 61, 0.3);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.role-item em {
  color: #1b3d29;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.18;
}

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.benefit-grid article {
  padding: 1.2rem;
  border-radius: 1.3rem;
  background: linear-gradient(180deg, #ffffff, #effcf3);
  border: 1px solid var(--line);
}
.benefit-grid p { color: var(--muted); line-height: 1.6; }

.logo-marquee {
  overflow: hidden;
  padding: 1.9rem 0;
  background: transparent;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: max-content;
  animation: marquee 34s linear infinite;
}
.company-logo {
  display: grid;
  width: 8.25rem;
  height: 3.9rem;
  margin: 0;
  place-items: center;
  background: transparent;
}
.company-logo img { width: auto; max-width: 5.4rem; height: 2.2rem; }
.company-logo:nth-child(6n + 1) img { max-height: 2.45rem; }
.company-logo:nth-child(6n + 5) img { max-width: 6.3rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 0.625rem)); } }

.site-footer {
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
  background: #f4fcf6;
}
.footer-shell { max-width: 76rem; margin: 0 auto; padding: 2.25rem clamp(1rem, 5vw, 4rem) 1.35rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-social { display: flex; align-items: center; gap: 0.55rem; }
.footer-social a {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid #cdebd5;
  border-radius: 0.72rem;
  color: var(--brand-dark);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 950;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.footer-social a:hover { color: #fff; background: var(--brand); transform: translateY(-2px); }
.footer-rule { height: 1px; margin: 1.65rem 0; background: var(--line); }
.footer-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-column { display: grid; align-content: start; gap: 0.68rem; }
.footer-column h3 { margin: 0 0 0.12rem; color: var(--text); font-size: 0.86rem; }
.footer-column a, .footer-column button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: left;
}
.footer-column a:hover, .footer-column button:hover { color: var(--brand-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #dcefe1; color: var(--muted); font-size: 0.8rem; }
.footer-legal { display: flex; align-items: center; justify-content: flex-end; gap: 0.55rem; color: var(--muted); font-weight: 650; }
.footer-legal-label { color: var(--text); font-weight: 850; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--brand-dark); }

.legal-page-body { min-height: 100vh; background: #f7fcf8; color: var(--text); }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}
.legal-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1.1rem;
  border: 1px solid #cdebd5;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 850;
}
.legal-document {
  width: min(58rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.5rem) 0 5rem;
}
.legal-document h1 {
  margin: 0.3rem 0 0.8rem;
  color: var(--text);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}
.legal-updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-weight: 750;
}
.legal-document section {
  margin-top: 2rem;
  padding-top: 1.45rem;
  border-top: 1px solid #dcefe1;
}
.legal-document h2 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: -0.025em;
}
.legal-document h3 {
  margin: 1.25rem 0 0.45rem;
  color: var(--text);
  font-size: 1rem;
}
.legal-document p,
.legal-document li {
  color: #4f5f55;
  font-size: 1rem;
  line-height: 1.75;
}
.legal-document p { margin: 0.7rem 0; }
.legal-document ul { margin: 0.55rem 0 0.9rem 1.25rem; padding: 0; }
.legal-document a { color: var(--brand-dark); font-weight: 750; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.page-hero { padding: 4rem clamp(1rem, 5vw, 5rem) 2rem; }
.page-hero.compact h1 { max-width: 56rem; margin-left: auto; margin-right: auto; font-size: clamp(2.4rem, 5vw, 4.4rem); }
/* The questions title should read on one line: smaller than the marketing hero,
   tighter vertical rhythm, and left-aligned with the filter row below it. */
.questions-hero { padding: 3rem clamp(1rem, 5vw, 5rem) 1.25rem; text-align: left; }
.questions-hero .eyebrow { margin-bottom: 0.35rem; }
/* Must out-specify .page-hero.compact h1, which otherwise forces the large
   marketing size and clips the title. */
.page-hero.compact.questions-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .page-hero.compact.questions-hero h1 { white-space: normal; font-size: clamp(1.6rem, 6vw, 2rem); }
}
.page-hero.center p:not(.eyebrow) {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}
.content-page, .download-section, .contact-page {
  max-width: 62rem;
  margin: 4rem auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.contact-page {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 2rem;
  max-width: 72rem;
}
.contact-form { display: grid; gap: 1rem; align-content: start; }
.contact-form .primary-button { justify-self: start; margin-top: 0.35rem; }
.contact-form #feedback-status:empty { display: none; }

.question-browser { margin: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: var(--shadow);
}
label { display: grid; gap: 0.45rem; color: var(--text); font-weight: 800; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.82rem 0.92rem;
  color: var(--text);
  background: #fff;
  outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34,180,91,0.15);
}
.question-meta { margin: 1rem 0; color: var(--muted); font-weight: 800; }
.question-list { display: grid; gap: 0.75rem; }
.question-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}
.question-item p { margin-bottom: 0.5rem; line-height: 1.55; }
.question-tags .question-freq {
  color: var(--brand-dark);
  font-weight: 800;
}
.question-load-more { display: flex; justify-content: center; margin-top: 1.5rem; }
.question-pagination {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.question-pagination button {
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.question-pagination button:hover:not(:disabled) { border-color: var(--brand); background: var(--surface-green); }
.question-pagination button.current {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: default;
}
.question-pagination button:disabled { opacity: 0.4; cursor: default; }
.question-pagination .page-ellipsis { padding: 0 0.3rem; color: var(--muted); }
.question-lock {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  background: var(--surface-green);
  text-align: center;
}
.question-lock-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.question-lock-title { margin: 0 0 0.35rem; font-weight: 800; }
.question-lock-copy { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.92rem; }
.question-tags { display: flex; flex-wrap: wrap; gap: 0; color: var(--muted); font-size: 0.85rem; }
.question-tags span + span::before {
  content: "|";
  margin: 0 0.45rem;
  color: #9aaba0;
}

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.price-card {
  display: flex;
  min-height: 31rem;
  padding: 1.6rem;
  flex-direction: column;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  background: linear-gradient(180deg, #ffffff, #e8fff0);
  box-shadow: 0 22px 50px rgba(18, 130, 57, 0.13);
}
.price-card:hover .secondary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 16px 34px rgba(34, 180, 91, 0.24);
}
.price-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.popular-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}
/* The price a plan used to be, kept quiet so the current one stays the focus,
   with the saving beside it on the same line rather than in its own block. */
.price-was {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  /* The old price and the current one were all but touching — 1.2px between the
     glyphs. This lets the discount line breathe without separating it from the
     price it belongs to. */
  margin: 0.6rem 0 0.22rem;
  font-size: 0.95rem;
  font-weight: 750;
}
.price-was s {
  color: var(--muted);
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(97, 112, 100, 0.55);
}
/* A light green wash with dark green text, the same treatment the Most Popular
   badge already uses. White on saturated green only reached 2.7:1 — under the
   4.5:1 needed at this size — and going lighter with white text would have made
   that worse, not better. These values are shared with the app's badge. */
.discount-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  color: var(--discount-badge-text);
  background: linear-gradient(135deg, var(--discount-badge-from), var(--discount-badge-to));
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.price { margin: 0.15rem 0 1rem; font-size: 2.3rem; font-weight: 950; letter-spacing: -0.04em; }
.price span { color: var(--muted); font-size: 1rem; }
.billing-note {
  margin: -0.45rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}
.price-card ul {
  display: grid;
  gap: 0.72rem;
  margin: 0 0 1.35rem;
  padding: 0;
  color: var(--text);
  line-height: 1.55;
  list-style: none;
}
.price-card li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.95rem;
}
.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--brand);
  content: "✓";
  font-weight: 950;
}
.price-card .primary-button,
.price-card .secondary-button {
  margin-top: auto;
  justify-content: center;
}

.account-page {
  padding: 2.5rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(180deg, #f2fff6 0%, #ffffff 48%, #f7fff9 100%);
}
.account-card-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
}
.account-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 9rem;
  padding: 1rem 0 1.6rem;
}
.account-hero h1 {
  margin: 0 0 0.28rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}
.account-hero p { margin: 0; color: var(--muted); }
.avatar-circle {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border-radius: 999px;
  color: var(--brand-dark);
  background: linear-gradient(135deg, #e3faea, #ffffff);
  border: 1px solid var(--line);
  font-weight: 950;
}
.account-tabs {
  display: flex;
  gap: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.account-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 850;
}
.account-tab.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand);
}
.account-panel {
  display: none;
  padding-top: 1.35rem;
}
.account-panel.active {
  display: grid;
  gap: 1.1rem;
}
.account-info-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 42px rgba(24, 91, 48, 0.08);
}
.account-info-card h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.card-title-row, .danger-zone, .plan-summary-row, .plan-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.small-button { padding: 0.62rem 0.85rem; font-size: 0.85rem; }
.profile-list {
  margin: 1rem 0 0;
}
.profile-list div {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.profile-list dt { color: var(--muted); }
.profile-list dd { margin: 0; color: var(--text); }
.verified-dot { color: var(--brand-dark); font-weight: 950; }
.danger-zone {
  color: #a4162d;
}
.danger-zone p { margin: 0.45rem 0 0; color: #8e4a56; }
.danger-button {
  border: 1px solid #f4a7b6;
  border-radius: 0.7rem;
  padding: 0.75rem 1rem;
  color: #d21f3c;
  background: #fff;
  font-weight: 850;
}
.plan-summary-row {
  justify-content: flex-start;
  margin-top: 1rem;
}
.plan-icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border-radius: 0.75rem;
  color: var(--brand-dark);
  background: var(--surface-green);
  font-size: 2rem;
}
.plan-summary-row h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.plan-summary-row p { margin: 0.2rem 0; color: var(--muted); }
.status-pill {
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 850;
}
.plan-stats {
  display: grid;
  /* Status / Next Billing Date / Billing Cycle, evenly spread across the row. */
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.plan-stats div { display: grid; gap: 0.25rem; }
.plan-stats span { color: var(--muted); font-size: 0.82rem; }
.plan-stats strong { font-size: 0.92rem; }
.included-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.3rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.included-list li::before {
  content: "✓";
  margin-right: 0.65rem;
  color: var(--brand-dark);
  font-weight: 950;
}
.plan-actions {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.account-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.app-shell {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  min-height: 44rem;
  margin: 4rem clamp(1rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.app-sidebar { padding: 1rem; border-right: 1px solid var(--line); background: var(--surface-green); }
.sidebar-title { margin: 0.5rem 0 1rem; color: var(--brand-dark); font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-tab {
  width: 100%;
  margin-bottom: 0.4rem;
  padding: 0.85rem 0.9rem;
  border: 0;
  border-radius: 0.85rem;
  color: var(--muted);
  text-align: left;
  background: transparent;
  font-weight: 800;
}
.nav-tab.active, .nav-tab:hover { color: var(--brand-dark); background: #fff; }
.app-content { padding: 1.35rem; }
.app-topbar { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.account-pill { border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 0.8rem; color: var(--muted); background: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; gap: 1rem; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel-card { padding: 1.25rem; }
.form-card { display: grid; gap: 1rem; }
.list-stack { display: grid; gap: 0.8rem; }
.list-item { padding: 0.9rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-green); }
.list-item-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.delete-button { border: 0; color: var(--danger); background: transparent; }
.mock-question { min-height: 13rem; padding: 1rem; border-radius: 1rem; color: var(--text); line-height: 1.7; background: var(--surface-green); }
.muted { color: var(--muted); line-height: 1.6; }
.plan-name { font-size: 2rem; font-weight: 950; }

.faq-list { display: grid; gap: 0.8rem; }
details { padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-green); }
summary { cursor: pointer; font-weight: 900; }

.auth-dialog { width: min(92vw, 38rem); padding: 0; border: 0; background: transparent; }
.auth-dialog::backdrop { background: rgba(18,34,24,0.42); backdrop-filter: blur(8px); }
.auth-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #f4fbf6;
  font-size: 1.25rem;
}
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 0.65rem; font-size: 1.55rem; font-weight: 950; }
.auth-brand img { width: 2.2rem; height: 2.2rem; border-radius: 0.6rem; }
.auth-card h2 { margin: 0; text-align: center; font-size: clamp(1.85rem, 5vw, 2.35rem); }
.auth-subtitle { max-width: 29rem; margin: 0 auto; text-align: center; }
.auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; color: var(--muted); }
.auth-divider::before, .auth-divider::after { height: 1px; background: var(--line); content: ""; }
.google-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  background: #fff;
  font-weight: 900;
}
.google-button span { color: #4285f4; margin-right: 0.6rem; }
.auth-switch { margin: 0.4rem 0 0; color: var(--muted); text-align: center; }
.auth-switch button { border: 0; color: var(--brand-dark); background: transparent; font-weight: 900; }
.small { font-size: 0.85rem; }
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 28rem;
  transform: translateY(160%);
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}
.toast.show { transform: translateY(0); }

@media (max-width: 1040px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .desktop-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 0.2rem 0 0.25rem;
  }
  .capability-grid, .benefit-grid, .pricing-grid, .contact-page, .app-shell, .panel-grid { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; }
  .filter-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header { display: flex; }
  .desktop-nav { order: initial; }
  .header-actions { width: 100%; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .hero-actions button, .hero-actions a { width: 100%; text-align: center; }
  h1 { font-size: clamp(2.2rem, 13vw, 3.6rem); letter-spacing: -0.055em; }
  .hero-section { padding-top: 2.5rem; }
  .filter-row { grid-template-columns: 1fr; }
  .feature-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.1rem 0.05rem 0.45rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .feature-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .feature-preview { border-radius: 1rem; }
  .feature-preview-meta { right: 0.5rem; bottom: 0.45rem; left: 0.5rem; }
  .feature-slide-label { padding: 0.3rem 0.5rem; font-size: 0.66rem; }
  .feature-dots { padding: 0.32rem 0.4rem; }
  .capability-card { min-height: 25rem; }
  .app-sidebar { display: flex; gap: 0.5rem; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-title { display: none; }
  .nav-tab { width: auto; white-space: nowrap; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-navigation { grid-template-columns: 1fr 1fr; gap: 1.7rem 1rem; }
  .account-hero, .danger-zone, .plan-summary-row, .plan-actions, .account-footer { align-items: flex-start; flex-direction: column; }
  .profile-list div, .plan-stats { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------------------------
   Page hero headings
   ---------------------------------------------------------------------------
   The global h1 is a marketing hero: up to 5.15rem, letter-spacing -0.068em and
   line-height 1.08. At that size the negative tracking closes the word gaps as
   well as the letter gaps, so a multi-word title reads as one long run — which
   is what made these pages look cramped rather than confident.

   The interior pages get their own scale. Still a hero, but sized for a page
   somebody navigated to rather than a landing page: smaller, tracking eased to
   the point where words separate again, and a line-height that survives a wrap.
   The home hero is deliberately untouched.
   --------------------------------------------------------------------------- */
.page-hero.compact h1,
.content-page h1,
.download-section h1 {
  max-width: 30ch;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 700;
  /* Enough to keep the display look, far short of closing the word spaces. */
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.page-hero.compact.center h1,
.content-page.center h1 { margin-inline: auto; }

@media (max-width: 700px) {
  .page-hero.compact h1,
  .content-page h1,
  .download-section h1 {
    font-size: clamp(1.65rem, 6.4vw, 2.1rem);
    line-height: 1.22;
  }
}

/* ---------------------------------------------------------------------------
   Desktop App download
   --------------------------------------------------------------------------- */
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.download-cta { position: relative; display: inline-block; }

/* Both buttons are quieter than the gradient that used to sit here, and the
   order between them still reads: the coloured one is the download that exists,
   the grey one is the one that does not yet. Both carry a 1px border so they
   measure the same — without it the bordered one stands two pixels shorter. */
.download-actions .primary-button {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #b6edc9;
  box-shadow: none;
}
.download-actions .secondary-button {
  color: var(--muted);
  background: rgba(18, 34, 24, 0.05);
  border: 1px solid rgba(18, 34, 24, 0.08);
}

.windows-mark { display: inline-flex; align-items: center; }
.windows-mark svg { width: 0.95em; height: 0.95em; fill: currentColor; }

/* The line under a button. Absolute, so showing it never moves the buttons; and
   pointer-events: none, so it is information rather than a target — a note that
   could be hovered would hold itself open under the cursor.
   Selected through .download-cta because `.download-section p` sets the page's
   body size and would otherwise win on specificity — the note rendered at
   17px, which is not a quiet aside. */
.download-cta .download-note {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  width: max-content;
  max-width: min(24rem, 78vw);
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  transform: translateX(-50%) translateY(-3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.22, 0.7, 0.24, 1),
              visibility 0s linear 180ms;
  z-index: 5;
}
.download-cta:hover .download-note,
.download-cta:focus-within .download-note {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.22, 0.7, 0.24, 1),
              visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .download-note { transition-duration: 1ms; }
}

/* ---------------------------------------------------------------------------
   Tutorial → Documentation
   --------------------------------------------------------------------------- */
.documentation-page {
  max-width: 82rem;
  margin: 3rem auto 5rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.documentation-hero {
  max-width: 58rem;
  margin-bottom: 2rem;
}
.documentation-hero h1 {
  max-width: 24ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.documentation-hero > p:last-child {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.documentation-shell {
  display: grid;
  grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.documentation-nav {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(24, 91, 48, 0.09);
}
.documentation-nav-label {
  margin: 0.35rem 0.55rem 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.documentation-nav-item {
  width: 100%;
  padding: 0.72rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  color: #405045;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: left;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
.documentation-nav-item:hover { color: var(--brand-dark); background: var(--surface-green); }
.documentation-nav-item.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #b6edc9;
}
.documentation-nav-item:focus-visible { outline: 3px solid rgba(34, 180, 91, 0.28); outline-offset: 2px; }
.documentation-content {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.documentation-panel { padding: clamp(1.5rem, 4vw, 3rem); }
.documentation-panel[hidden] { display: none; }
.documentation-panel h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  letter-spacing: -0.03em;
}
.documentation-panel p,
.documentation-panel li {
  color: var(--muted);
  line-height: 1.68;
}
.documentation-panel strong { color: var(--text); }
.documentation-panel em { color: var(--text); font-style: normal; font-weight: 700; }
.doc-kicker {
  margin: 0 0 0.4rem;
  color: var(--brand-dark) !important;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.doc-lede { max-width: 55rem; margin-bottom: 1.8rem; font-size: 1.08rem; }
.doc-steps { display: grid; gap: 0.85rem; margin: 0; padding-left: 1.35rem; }
.doc-steps.compact { gap: 0.55rem; }
.doc-steps li { padding-left: 0.35rem; }
.doc-callout {
  display: grid;
  grid-template-columns: minmax(8rem, 0.3fr) 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid #c4ecd0;
  border-radius: 1rem;
  background: var(--surface-green);
  line-height: 1.55;
}
.doc-callout span { color: #536258; }
.doc-card-grid,
.doc-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.doc-card-grid.two-column,
.doc-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-card,
.doc-plan-card,
.doc-permission-list section {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fbfffc;
}
.doc-card h3,
.doc-plan-card h3,
.doc-permission-list h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.doc-card p,
.doc-permission-list p { margin: 0; font-size: 0.94rem; }
.doc-subheading { margin: 2rem 0 0.7rem; }
.doc-plan-card { padding: 1.25rem; }
.doc-plan-card.featured { border-color: #aae8bd; background: linear-gradient(145deg, #fafffb, #edfff3); }
.doc-plan-card ul { display: grid; gap: 0.7rem; margin: 0.8rem 0 0; padding-left: 1.15rem; }
.doc-plan-card li { font-size: 0.94rem; }
.doc-plan-badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.doc-pricing-link { display: inline-flex; margin-top: 1rem; }
.doc-permission-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.shortcut-section + .shortcut-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.shortcut-section > h3 { font-size: 1.25rem; }
.shortcut-guide { margin: 1rem 0 0; }
.shortcut-guide dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.shortcut-guide dt:first-child { margin-top: 0; }
.shortcut-guide dd {
  margin: 0.35rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.6;
}
/* A key looks like a key. Monospaced so ⌥J and ⌥N line up down the list. */
.documentation-panel kbd {
  display: inline-block;
  padding: 0.1rem 0.42rem;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface-green);
  color: var(--brand-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  font-weight: 600;
}

@media (max-width: 900px) {
  .documentation-page { margin-top: 2rem; }
  .documentation-shell { grid-template-columns: 1fr; }
  .documentation-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 0.55rem;
  }
  .documentation-nav-label { display: none; }
  .documentation-nav-item { flex: 0 0 auto; width: auto; white-space: nowrap; }
}

@media (max-width: 640px) {
  .documentation-page { margin: 1.5rem auto 3rem; padding-inline: 0.75rem; }
  .documentation-hero { padding-inline: 0.35rem; }
  .documentation-hero h1 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .documentation-content { border-radius: 1.15rem; }
  .documentation-panel { padding: 1.25rem; }
  .doc-card-grid,
  .doc-card-grid.two-column,
  .doc-plan-grid,
  .doc-permission-list { grid-template-columns: 1fr; }
  .doc-callout { grid-template-columns: 1fr; gap: 0.3rem; }
  .shortcut-guide dt { align-items: center; }
}
