:root {
  --primary: #0369a1;
  --primary-hover: #075985;
  --primary-bright: #0ea5e9;
  --primary-soft: #e0f2fe;
  --heading: #172554;
  --ink: #0f172a;
  --muted: #52647a;
  --accent: #f59e0b;
  --accent-text: #92400e;
  --success: #15803d;
  --success-soft: #dcfce7;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-blue: #eef8ff;
  --border: #dbe5ee;
  --border-strong: #c6d5e1;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --maxw: 1180px;
  --shadow-sm: 0 12px 30px -24px rgba(15, 23, 42, 0.35);
  --shadow: 0 28px 70px -38px rgba(15, 23, 42, 0.42);
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hero-shift: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.container {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding-inline: 28px;
}

[hidden],
.utility-page [hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--heading);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, summary):focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

.eyebrow,
.hero-brandline,
.role-kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-gold,
.eyebrow.accent-text {
  color: var(--accent-text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--primary-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(198, 213, 225, 0.58);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px -28px rgba(15, 23, 42, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.7);
}

.brand-name {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--heading);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
  color: #405267;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a,
.footer-nav a,
.mobile-nav a {
  transition: color 0.16s ease;
}

.nav a:hover,
.footer-nav a:hover,
.mobile-nav a:hover {
  color: var(--primary);
}

.header-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 76px 0 auto;
  z-index: 90;
  display: none;
  max-height: calc(100svh - 76px);
  overflow-y: auto;
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 28px -18px rgba(3, 105, 161, 0.95);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 18px 34px -19px rgba(3, 105, 161, 0.88);
}

.btn-secondary,
.btn-quiet {
  border-color: var(--border-strong);
  color: var(--heading);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-quiet:hover {
  border-color: #9eb7ca;
  background: #f9fcff;
}

.btn-sm {
  min-height: 44px;
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 26px;
}

.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

/* Landing hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 76px);
  background:
    radial-gradient(circle at 87% 10%, rgba(14, 165, 233, 0.18), transparent 36%),
    radial-gradient(circle at 7% 17%, rgba(245, 158, 11, 0.14), transparent 31%),
    linear-gradient(145deg, #fffaf1 0%, #f8fcff 46%, #eaf7ff 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(3, 105, 161, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 105, 161, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
  min-height: calc(100svh - 76px);
  padding-block: 38px 52px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.hero-brandline {
  margin-bottom: 18px;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.15rem, 6.2vw, 5.65rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero-copy h1 span {
  color: var(--accent-text);
}

.hero-lead {
  max-width: 38ch;
  margin: 24px 0 0;
  color: #42556a;
  font-size: clamp(1.04rem, 1.5vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-media {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(100%, 620px);
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 16% 3% 5%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.2);
  filter: blur(52px);
}

.hero-media-inner {
  transform: translateY(var(--hero-shift));
  transition: transform 0.12s linear;
}

.hero-media img {
  width: 100%;
  max-height: calc(100svh - 138px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 36px 34px rgba(15, 23, 42, 0.22));
}

.hero-media figcaption {
  max-width: 36ch;
  margin: 10px auto 0;
  color: #40556b;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

/* Trust band */
.trust-band {
  border-block: 1px solid var(--border);
  background: #fff;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 24px;
}

.trust-list > div {
  min-width: 0;
  padding: 2px 24px;
  border-left: 1px solid var(--border);
}

.trust-list > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-list > div:last-child {
  padding-right: 0;
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 0.94rem;
}

.trust-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Shared landing sections */
.section {
  padding-block: clamp(76px, 9vw, 126px);
}

.section-intro {
  max-width: 720px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-intro h2,
.feature-copy h2,
.download-copy h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.2rem);
  font-weight: 800;
}

.section-intro > p:last-child,
.feature-copy > p,
.download-copy > p {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.section-intro-center {
  margin-inline: auto;
  text-align: center;
}

.section-intro-center > p:last-child {
  margin-inline: auto;
}

.product-panel {
  position: relative;
  margin: 0;
}

.product-panel img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.product-panel figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Workflow */
.workflow-section {
  overflow: clip;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.68fr);
  align-items: start;
  gap: clamp(44px, 7vw, 96px);
}

.workflow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 42px;
}

.workflow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 51px;
  bottom: 9px;
  left: 25px;
  width: 1px;
  background: linear-gradient(var(--primary-bright), var(--border));
}

.workflow-list li > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #fff;
  background: var(--primary);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.workflow-list li:last-child > span {
  color: #fff;
  background: var(--accent-text);
}

.workflow-list h3 {
  margin-top: 2px;
  font-size: 1.35rem;
}

.workflow-list p {
  max-width: 50ch;
  margin: 8px 0 0;
  color: var(--muted);
}

.workflow-panel {
  position: sticky;
  top: 112px;
  width: min(100%, 420px);
  justify-self: end;
}

/* Parent and kid stories */
.family-section {
  background: var(--bg-soft);
}

.role-stack {
  display: grid;
  gap: clamp(72px, 10vw, 132px);
}

.role-story {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(330px, 0.62fr);
  align-items: center;
  gap: clamp(42px, 8vw, 112px);
}

.role-story-reverse .role-copy {
  order: 2;
}

.role-story-reverse .product-panel {
  order: 1;
  justify-self: start;
}

.role-copy {
  max-width: 610px;
}

.role-copy h3 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.role-copy > p:not(.role-kicker) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.role-story .product-panel {
  width: min(100%, 390px);
  justify-self: end;
}

.clean-list,
.privacy-list,
.plan-includes {
  list-style: none;
  padding: 0;
}

.clean-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
}

.clean-list li {
  position: relative;
  padding-left: 30px;
  color: #293d52;
  font-weight: 650;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 16px;
  height: 10px;
  border-bottom: 3px solid var(--success);
  border-left: 3px solid var(--success);
  transform: rotate(-45deg);
}

/* AI and reward feature sections */
.ai-section {
  background:
    radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.1), transparent 28%),
    var(--bg-blue);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(330px, 0.68fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.feature-split-reverse .feature-media {
  order: 2;
  justify-self: end;
}

.feature-split-reverse .feature-copy {
  order: 1;
}

.feature-media {
  width: min(100%, 410px);
}

.feature-copy {
  max-width: 640px;
}

.privacy-list {
  display: grid;
  gap: 0;
  margin: 30px 0 24px;
  border-block: 1px solid var(--border-strong);
}

.privacy-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-strong);
  color: #31485e;
}

.privacy-list li:last-child {
  border-bottom: 0;
}

.privacy-list strong {
  color: var(--heading);
}

.feature-facts {
  margin: 30px 0 0;
}

.feature-facts > div {
  display: grid;
  grid-template-columns: minmax(135px, 0.38fr) 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.feature-facts dt {
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
}

.feature-facts dd {
  margin: 0;
  color: var(--muted);
}

/* Plans */
.plans-section {
  background: var(--bg-soft);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 840px;
  margin-inline: auto;
}

.plan-choice {
  position: relative;
  padding: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.plan-choice-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #f4fbff, #fff 70%);
  box-shadow: 0 30px 70px -42px rgba(3, 105, 161, 0.7);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  margin: 0 0 20px;
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.plan-price strong {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.plan-price span,
.plan-equivalent {
  color: var(--muted);
}

.plan-equivalent {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.plan-trial {
  display: inline-block;
  margin: 26px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--success);
  background: var(--success-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.plan-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  max-width: 980px;
  margin: 34px auto 0;
}

.plan-includes li {
  position: relative;
  padding-left: 22px;
  color: #31485e;
  font-size: 0.9rem;
  font-weight: 650;
}

.plan-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.plan-action {
  max-width: 690px;
  margin: 34px auto 0;
  text-align: center;
}

.plan-action p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* FAQ preview */
.faq-preview-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(50px, 8vw, 116px);
}

.faq-preview .section-intro {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.faq-preview .text-link {
  margin-top: 14px;
}

.faq-accordion {
  border-top: 1px solid var(--border-strong);
}

.faq-accordion details {
  border-bottom: 1px solid var(--border-strong);
}

.faq-accordion summary {
  position: relative;
  display: block;
  min-height: 70px;
  padding: 22px 52px 22px 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.faq-accordion summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-family: var(--font-body);
  font-size: 1.25rem;
}

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

.faq-accordion details p {
  max-width: 62ch;
  margin: -5px 48px 24px 0;
  color: var(--muted);
}

/* Download */
.download-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 112px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(56, 189, 248, 0.35), transparent 28%),
    linear-gradient(135deg, #082f49, #075985 56%, #0369a1);
}

.download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.download-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(46px, 8vw, 106px);
}

.download-copy h2,
.download-copy .eyebrow {
  color: #fff;
}

.download-copy > p {
  color: rgba(255, 255, 255, 0.82);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  border-radius: 9px;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.store-badge-art {
  margin-top: 28px;
  background: transparent;
}

.store-badge-art img {
  width: 182px;
  height: auto;
}

.download-options {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.download-qr-wrap,
.ios-coming-soon {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.75);
}

.download-qr-wrap {
  padding: 16px;
  text-align: center;
}

.download-qr {
  width: 158px;
  height: 158px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}

.download-qr-wrap p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

.ios-coming-soon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
}

.apple-mark,
.ios-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--heading);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.ios-coming-soon strong {
  display: block;
  font-family: var(--font-display);
  line-height: 1.2;
}

.ios-coming-soon p {
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.ios-coming-soon a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Footer */
.site-footer {
  padding-block: 42px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.copyright {
  width: 100%;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Forms and utility pages */
.reset-card,
.utility-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 520px);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.reset-label {
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 800;
}

.reset-input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
}

.reset-input:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(14, 165, 233, 0.25);
  outline-offset: 1px;
}

.reset-input:disabled {
  color: var(--muted);
  background: #f1f5f9;
}

.reset-message,
.utility-status {
  min-height: 24px;
  margin: 0;
  padding: 13px 14px;
  border-radius: 12px;
  color: #354a5e;
  background: var(--bg-soft);
  font-weight: 650;
}

.utility-status[data-tone="success"] {
  color: #166534;
  background: var(--success-soft);
}

.utility-status[data-tone="error"] {
  color: var(--danger);
  background: var(--danger-soft);
}

.utility-noscript {
  padding: 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: var(--danger);
  background: var(--danger-soft);
  font-weight: 650;
}

.utility-noscript a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.invite-summary,
.utility-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  background: #f0f9ff;
}

.invite-summary-label {
  display: block;
  margin-bottom: 2px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.invite-summary strong {
  color: var(--heading);
}

.invite-fields,
.utility-fields,
.utility-form {
  display: grid;
  gap: 14px;
}

.utility-actions,
.utility-recovery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.utility-helper {
  margin: -7px 0 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.utility-privacy-note {
  margin-top: 2px;
}

.utility-page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  background: var(--bg-soft);
}

.utility-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.utility-header-action {
  margin-left: auto;
}

.utility-hero {
  padding-block: 72px 42px;
}

.utility-content {
  flex: 1;
  padding-block: 44px 80px;
}

.utility-container {
  width: min(100%, 820px);
}

.utility-content .utility-container {
  display: flex;
  justify-content: flex-start;
}

.utility-hero-not-found {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 520px;
}

.utility-hero-not-found h1 {
  max-width: 10ch;
}

.utility-footer {
  margin-top: auto;
}

/* Legal, FAQ, and support pages */
.legal-page {
  background: #fff;
}

.legal-hero {
  padding-block: 76px 48px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 84% 0%, rgba(14, 165, 233, 0.14), transparent 30%),
    linear-gradient(180deg, #f7fbfe, #fff);
}

.legal-container {
  max-width: 840px;
}

.legal-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal-updated {
  max-width: 64ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.legal-content {
  padding-block: 56px 86px;
}

.legal-content h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.legal-content p,
.legal-content li {
  color: #334a60;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 9px;
}

.legal-content a:not(.btn) {
  color: var(--primary);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.support-container {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 44px;
  max-width: 1060px;
}

.support-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.support-sidebar h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.support-sidebar a {
  padding: 7px 0;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none !important;
}

.support-main {
  display: grid;
  gap: 64px;
  min-width: 0;
}

.help-section {
  scroll-margin-top: 102px;
}

.help-section > h2,
.faq-group > h2 {
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.help-card,
.faq-item {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.help-card {
  margin-top: 16px;
}

.help-card h3,
.faq-item h3 {
  margin: 0 0 11px;
  font-size: 1.1rem;
}

.help-note {
  margin: 16px 0 0 !important;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--accent-text) !important;
  background: #fff7ed;
  font-weight: 750;
}

.help-contact {
  background: linear-gradient(145deg, #f4fbff, #fff);
}

.faq-content {
  background:
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.08), transparent 26%),
    #fff;
}

.faq-group {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
}

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

/* Progressive enhancement: visible by default; animate only after app.js is ready. */
.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.68s ease, transform 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .nav {
    gap: 16px;
    font-size: 0.86rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(370px, 1.1fr);
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 6.5vw, 4.8rem);
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    padding-inline: 24px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  html.js .mobile-nav:not([hidden]),
  html:not(.js) .mobile-nav {
    display: grid;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  html:not(.js) .mobile-nav {
    position: static;
    max-height: none;
    padding-inline: 24px;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding-block: 62px 54px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-lead {
    max-width: 48ch;
  }

  .hero-media {
    align-self: auto;
    width: min(100%, 590px);
  }

  .hero-media img {
    max-height: none;
  }


  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .trust-list > div {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
  }

  .trust-list > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .trust-list > div:nth-child(even) {
    padding-right: 0;
  }

  .trust-list > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .workflow-layout,
  .role-story,
  .feature-split,
  .feature-split-reverse,
  .faq-preview-layout,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .workflow-panel,
  .faq-preview .section-intro {
    position: static;
  }

  .workflow-panel,
  .role-story .product-panel,
  .role-story-reverse .product-panel,
  .feature-media,
  .feature-split-reverse .feature-media {
    justify-self: center;
  }

  .role-story-reverse .role-copy,
  .role-story-reverse .product-panel,
  .feature-split-reverse .feature-copy,
  .feature-split-reverse .feature-media {
    order: initial;
  }

  .role-story-reverse .product-panel,
  .feature-split-reverse .feature-media {
    order: 2;
  }

  .role-story-reverse .role-copy,
  .feature-split-reverse .feature-copy {
    order: 1;
  }

  .faq-preview .section-intro {
    margin-bottom: 8px;
  }

  .download-layout {
    gap: 48px;
  }

  .download-options {
    max-width: 560px;
  }

  .support-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .support-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    padding-inline: 20px;
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 14px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
  }

  .mobile-nav {
    inset: 68px 0 auto;
    max-height: calc(100svh - 68px);
  }

  .hero-layout {
    gap: 18px;
    padding-block: 48px 46px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    width: min(100%, 480px);
  }

  .hero-media figcaption {
    max-width: none;
    margin: 10px auto 0;
    text-align: center;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list > div,
  .trust-list > div:nth-child(n) {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-list > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 72px;
  }

  .section-intro h2,
  .feature-copy h2,
  .download-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section-intro {
    margin-bottom: 40px;
  }

  .workflow-list li {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 34px;
  }

  .workflow-list li > span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .workflow-list li:not(:last-child)::after {
    top: 44px;
    left: 21px;
  }

  .role-stack {
    gap: 76px;
  }

  .feature-facts > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .plan-choice {
    padding: 28px;
  }

  .plan-includes {
    align-items: flex-start;
    flex-direction: column;
    max-width: 420px;
  }

  .faq-accordion summary {
    padding-right: 46px;
  }

  .faq-accordion details p {
    margin-right: 0;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .download-qr-wrap {
    display: none;
  }

  .ios-coming-soon {
    max-width: 430px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    margin-left: 0;
  }

  .utility-hero,
  .legal-hero {
    padding-block: 58px 38px;
  }

  .utility-content,
  .legal-content {
    padding-block: 40px 68px;
  }

  .utility-actions,
  .utility-recovery {
    flex-direction: column;
  }

  .utility-actions .btn,
  .utility-recovery .btn {
    width: 100%;
  }

  .utility-hero-not-found {
    min-height: 430px;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 16px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .header-cta {
    min-width: 0;
    padding-inline: 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .menu-toggle {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 13.5vw, 3.25rem);
  }

  .plan-badge {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal,
  .motion-ready .reveal.in {
    opacity: 1;
    transform: none;
  }

  .hero-media-inner {
    transform: none;
  }
}

/* Search resources, guides, and planning tools */
.resource-page {
  background: #fff;
}

.resource-page main {
  overflow: clip;
}

.narrow-container {
  max-width: 850px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--primary);
}

.resource-hero {
  padding-block: 126px 72px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 82% 0%, rgba(14, 165, 233, 0.15), transparent 30%),
    linear-gradient(180deg, #f7fbfe 0%, #fff 82%);
}

.resource-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: clamp(42px, 8vw, 106px);
}

.resource-hero-copy {
  padding-block: 22px;
}

.resource-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  letter-spacing: -0.06em;
}

.article-hero h1,
.tool-hero h1,
.trust-hero h1,
.hub-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
}

.resource-deck {
  max-width: 68ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  line-height: 1.72;
}

.resource-product {
  position: relative;
  width: min(100%, 360px);
  justify-self: end;
  padding: 14px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 38px;
  background: linear-gradient(160deg, #fff, #eaf7ff);
  box-shadow: 0 42px 86px -52px rgba(3, 105, 161, 0.74);
}

.resource-product::before {
  content: "";
  position: absolute;
  inset: 12% -14% auto auto;
  z-index: -1;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  filter: blur(4px);
}

.resource-product img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.resource-proof {
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.resource-proof .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.resource-proof span {
  flex: 1 1 220px;
  padding: 22px 28px;
  border-left: 1px solid var(--border);
  color: var(--heading);
  font-weight: 800;
  text-align: center;
}

.resource-proof span:last-child {
  border-right: 1px solid var(--border);
}

.resource-body {
  padding-block: 82px 110px;
}

.commercial-body {
  max-width: 1040px;
}

.story-section {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 34px;
  max-width: 860px;
  padding-block: 60px;
  border-top: 1px solid var(--border-strong);
}

.story-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.story-section:nth-child(even) {
  margin-left: auto;
}

.story-index {
  color: var(--primary-bright);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.story-section h2,
.starter-plan h2,
.related-reading h2,
.resource-cta h2,
.hub-heading h2,
.hub-feature h2,
.tool-method h2,
.trust-content h2 {
  font-size: clamp(1.8rem, 3.7vw, 3rem);
}

.story-section p,
.tool-method p,
.trust-content p,
.trust-content li {
  color: #334a60;
  font-size: 1.02rem;
  line-height: 1.78;
}

.story-section p + p {
  margin-top: 16px;
}

.starter-plan {
  margin-block: 64px 88px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.32), transparent 30%),
    linear-gradient(135deg, #082f49, #075985 62%, #0369a1);
}

.starter-plan .eyebrow,
.starter-plan h2 {
  color: #fff;
}

.starter-plan ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 34px 0 0;
  padding: 0;
  counter-reset: plan;
  list-style: none;
}

.starter-plan li {
  min-height: 84px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.86);
  counter-increment: plan;
}

.starter-plan li::before {
  content: counter(plan, decimal-leading-zero);
  display: inline-block;
  width: 38px;
  color: #7dd3fc;
  font-family: var(--font-display);
  font-weight: 800;
}

.related-reading {
  margin-block: 64px;
}

.link-rows {
  margin-top: 28px;
  border-top: 1px solid var(--border-strong);
}

.link-rows a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--border-strong);
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 750;
}

.link-rows a > span:last-child {
  color: var(--primary);
  font-size: 1.25rem;
}

.link-rows a:hover {
  color: var(--primary);
}

.resource-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  margin-block: 88px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid #bae6fd;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 0%, rgba(245, 158, 11, 0.14), transparent 34%),
    #f0f9ff;
}

.resource-cta h2 {
  max-width: 18ch;
}

.resource-cta p:not(.eyebrow) {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
}

/* Editorial guides */
.article-hero-inner {
  max-width: 1000px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.article-meta span + span {
  position: relative;
}

.article-meta span + span::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: -15px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-bright);
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 730px);
  align-items: start;
  justify-content: center;
  gap: clamp(48px, 8vw, 100px);
  padding-block: 78px 24px;
}

.article-sidebar {
  position: sticky;
  top: 106px;
  padding-top: 4px;
}

.article-sidebar > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.article-sidebar nav {
  display: grid;
  border-top: 1px solid var(--border);
}

.article-sidebar nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.article-sidebar nav a:hover {
  color: var(--primary);
}

.sidebar-tool-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.article-content {
  min-width: 0;
}

.article-content > section:not(.key-takeaways):not(.related-reading) {
  scroll-margin-top: 100px;
  margin-top: 60px;
  padding-top: 4px;
  border-top: 1px solid var(--border-strong);
}

.article-content h2 {
  margin: 34px 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article-content p,
.article-content li,
.article-content td,
.article-content th {
  color: #334a60;
  font-size: 1rem;
  line-height: 1.78;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 11px;
}

.article-content a:not(.btn) {
  color: var(--primary);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.key-takeaways {
  padding: 28px 30px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: #fffaf0;
}

.key-takeaways ul {
  margin: 14px 0 0;
}

.key-takeaways li {
  color: #60481c;
  font-weight: 700;
}

.source-notes {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-soft);
}

.source-notes h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.comparison-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.comparison-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-wrap th,
.comparison-wrap td {
  min-width: 120px;
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  text-align: left;
}

.comparison-wrap thead th {
  color: var(--heading);
  background: var(--primary-soft);
}

/* Resource hub */
.hub-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: 60px;
}

.hub-jump {
  display: grid;
  border-top: 1px solid var(--border-strong);
}

.hub-jump a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-strong);
  color: var(--heading);
  font-weight: 800;
}

.hub-jump a::after {
  content: "↓";
  color: var(--primary);
}

.hub-feature {
  padding-block: 90px;
  background: var(--bg-blue);
}

.hub-feature .feature-split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
}

.hub-feature p:not(.eyebrow) {
  max-width: 62ch;
  margin: 20px 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.compact-product {
  width: min(100%, 320px);
}

.hub-section {
  padding-block: 94px;
  scroll-margin-top: 80px;
}

.hub-section + .hub-section {
  border-top: 1px solid var(--border);
}

.hub-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}

.hub-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.hub-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.directory-list {
  border-top: 1px solid var(--border-strong);
}

.directory-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-strong);
}

.directory-number {
  color: var(--primary-bright);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.directory-row strong,
.tool-row strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.directory-row small,
.tool-row small {
  display: block;
  max-width: 76ch;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.directory-row > span:last-child {
  color: var(--primary);
  font-size: 1.2rem;
}

.directory-row:hover strong,
.tool-row:hover strong {
  color: var(--primary);
}

.tools-directory {
  background: var(--bg-soft);
}

.tool-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.tool-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 130px;
  padding: 26px 0;
  border-top: 1px solid var(--border-strong);
}

.free-label {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--success);
  background: var(--success-soft);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.wide-link-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

/* Interactive planning tools */
.tool-hero-inner {
  max-width: 980px;
}

.privacy-inline {
  display: inline-flex;
  margin: 26px 0 0;
  padding: 9px 12px;
  border-radius: 999px;
  color: #166534;
  background: var(--success-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  align-items: start;
  gap: clamp(46px, 8vw, 90px);
  padding-block: 80px;
}

.tool-workspace {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 32px 70px -52px rgba(15, 23, 42, 0.55);
}

.tool-form {
  display: grid;
  gap: 22px;
}

.tool-form label,
.tool-form legend {
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.tool-form input:not([type="checkbox"]),
.tool-form select {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.tool-form input:focus,
.tool-form select:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(14, 165, 233, 0.2);
}

.tool-form fieldset {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.tool-form legend {
  padding-inline: 6px;
}

.field-pair,
.repeat-fields,
.routine-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.repeat-fields {
  gap: 14px;
}

.routine-fields {
  display: grid;
  gap: 16px;
}

.routine-field {
  grid-template-columns: minmax(0, 1fr) minmax(100px, 0.35fr);
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.check-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.check-row-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-output {
  margin-top: 30px;
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-blue);
}

.tool-output:empty {
  display: none;
}

.tool-output h2 {
  font-size: 1.6rem;
}

.tool-output p {
  color: #334a60;
}

.result-label {
  margin: 0;
  color: var(--primary) !important;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-number {
  display: block;
  margin-block: 8px 14px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.result-detail,
.chart-note,
.chart-footer,
.safety-note,
.routine-cue {
  margin-top: 16px;
  font-size: 0.83rem;
  font-weight: 700;
}

.printable-chart th,
.printable-chart td {
  min-width: 48px;
  text-align: center;
}

.printable-chart th:first-child {
  min-width: 160px;
  text-align: left;
}

.printable-chart td {
  font-size: 1.35rem;
}

.generated-list,
.routine-preview {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.generated-list li,
.routine-preview li {
  padding: 13px 0;
  border-top: 1px solid var(--border-strong);
  color: var(--heading);
  font-weight: 700;
}

.print-check {
  margin-right: 10px;
  color: var(--primary);
}

.routine-preview {
  counter-reset: routine;
}

.routine-preview li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  counter-increment: routine;
}

.routine-preview li span::before {
  content: counter(routine, decimal-leading-zero) "  ";
  color: var(--primary);
  font-family: var(--font-display);
}

.routine-preview small {
  color: var(--muted);
}

.tool-method {
  position: sticky;
  top: 106px;
}

.tool-method > h2:first-child {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.tool-method .related-reading {
  margin-top: 48px;
}

.tool-method .related-reading h2 {
  font-size: 1.55rem;
}

.tool-disclaimer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-strong);
  font-size: 0.82rem !important;
}

/* About, standards, and updates */
.trust-content {
  padding-block: 72px 110px;
}

.trust-content > section {
  margin-top: 64px;
  padding-top: 14px;
  border-top: 1px solid var(--border-strong);
}

.trust-content > section:first-child {
  margin-top: 0;
  border-top: 0;
}

.trust-content a {
  color: var(--primary);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.principle-list {
  margin-top: 30px;
  border-top: 1px solid var(--border-strong);
}

.principle-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--border-strong);
}

.principle-list article > span {
  color: var(--primary-bright);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
}

.principle-list h3 {
  margin: 0;
}

.principle-list p {
  margin: 8px 0 0;
}

.updates-list article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0 34px;
  padding-block: 38px;
  border-top: 1px solid var(--border-strong);
}

.updates-list time {
  grid-row: 1 / 3;
  padding-top: 7px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.updates-list h2 {
  margin: 0;
  font-size: 1.55rem;
}

.updates-list p {
  margin: 12px 0 0;
}

@media (max-width: 900px) {
  .resource-hero-layout,
  .article-layout,
  .tool-layout,
  .hub-hero-layout,
  .hub-feature .feature-split {
    grid-template-columns: 1fr;
  }

  .resource-product,
  .compact-product {
    justify-self: center;
  }

  .article-layout {
    gap: 38px;
  }

  .article-sidebar,
  .tool-method {
    position: static;
  }

  .article-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .resource-cta {
    grid-template-columns: 1fr;
  }

  .hub-jump {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .resource-hero {
    padding-block: 104px 54px;
  }

  .resource-hero h1,
  .article-hero h1,
  .tool-hero h1,
  .trust-hero h1,
  .hub-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.6rem);
  }

  .resource-hero-copy {
    padding-block: 0;
  }

  .resource-proof .container {
    display: grid;
  }

  .resource-proof span,
  .resource-proof span:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    border-left: 0;
  }

  .resource-proof span:last-child {
    border-bottom: 0;
  }

  .resource-body,
  .article-layout,
  .tool-layout,
  .trust-content {
    padding-block: 58px;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 44px;
  }

  .starter-plan ol,
  .tool-rows,
  .wide-link-rows,
  .field-pair,
  .repeat-fields,
  .check-row-wide {
    grid-template-columns: 1fr;
  }

  .resource-cta {
    margin-block: 58px;
  }

  .article-meta {
    display: grid;
  }

  .article-meta span + span::before {
    display: none;
  }

  .article-sidebar nav {
    grid-template-columns: 1fr;
  }

  .hub-section,
  .hub-feature {
    padding-block: 68px;
  }

  .hub-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hub-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .directory-row {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .tool-row {
    flex-direction: column;
  }

  .routine-field {
    grid-template-columns: 1fr;
  }

  .tool-workspace,
  .tool-output {
    padding: 22px;
  }

  .privacy-inline {
    border-radius: 12px;
  }

  .updates-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .updates-list time {
    grid-row: auto;
  }
}

@media print {
  body.printing-tool {
    color: #000;
    background: #fff;
  }

  .printing-tool .site-header,
  .printing-tool .resource-hero,
  .printing-tool .tool-form,
  .printing-tool .tool-method,
  .printing-tool .resource-cta,
  .printing-tool .site-footer {
    display: none !important;
  }

  .printing-tool main,
  .printing-tool .tool-layout,
  .printing-tool .tool-workspace {
    display: block;
    overflow: visible;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .printing-tool .tool-output {
    display: block !important;
    margin: 0;
    padding: 0;
    color: #000;
    background: #fff;
  }

  .printing-tool .comparison-wrap {
    overflow: visible;
  }

  .printing-tool .printable-chart th,
  .printing-tool .printable-chart td {
    color: #000;
    border-color: #777;
  }
}
