/* GLOBAL / VARIABLES
   Shared colours, spacing, typography and reusable controls.
   Media queries stay near their sections to preserve cascade order. */
:root {
  color-scheme: light;
  --navy: #172e48;
  --muted: #576b80;
  --blue: #285cce;
  --teal: #087d79;
  --border: #dce6ef;
  --section-start: clamp(48px, 6.25vw, 80px);
  --section-end: clamp(64px, 7.5vw, 96px);
  --intro-gap: clamp(28px, 3.125vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
main[id], section[id] { scroll-margin-top: 24px; }
body {
  margin: 0;
  color: var(--navy);
  background: #fafcfe;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
/* HEADER */
.site-header { position: relative; z-index: 2; background: #ffffffd9; border-bottom: 1px solid #e6edf580; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.wordmark, .preview-brand { font-size: 29px; font-weight: 850; letter-spacing: -1.5px; }
.wordmark span, .preview-brand > span { color: #079c9b; }
.navigation { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.navigation a { min-height: 44px; padding: 10px 14px; border-radius: 10px; }
.navigation a[href]:hover { color: var(--blue); background: #edf4fc; }
.navigation [aria-disabled="true"] { color: var(--muted); cursor: default; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 13px; font-size: 14px; font-weight: 650; text-align: center; }
.contact-button { min-height: 44px; margin-left: 12px; padding: 10px 23px; color: var(--navy); background: linear-gradient(135deg, #f5faff, #e8f1f8); border-color: #d9e4ef; box-shadow: 0 3px 6px #233f5c05, inset 0 1px 0 white; cursor: default; opacity: 1; }
.menu-toggle { padding: 10px 14px; min-height: 44px; color: var(--navy); background: white; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.menu-toggle:hover { background: #edf4fc; border-color: #b7cce2; }
a.wordmark { display: inline-flex; align-items: center; min-height: 44px; border-radius: 5px; }
a.wordmark:hover { color: var(--blue); }
.menu-toggle span { margin-left: 10px; }
/* HERO */
.foundation { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 85% 34%, #d9f2f17a, transparent 49%), radial-gradient(ellipse at 42% 64%, #e1ecff91, transparent 60%); }
.foundation::before, .foundation::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(45px); }
.foundation::before { width: 360px; height: 360px; top: 100px; right: -160px; background: #c9f1ea66; }
.foundation::after { width: 460px; height: 220px; left: 35%; bottom: 10px; background: #d6e6ff66; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 5%; padding-block: clamp(72px, 8vw, 120px) 112px; min-height: min(780px, calc(100svh - 96px)); }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: #14756f; font-size: 10px; font-weight: 750; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow > span, .preview-footer > span { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #159b93; box-shadow: 0 0 0 4px #159b9310; }
h1 { margin: 0; font-size: clamp(38px, 4.2vw, 60px); font-weight: 750; line-height: 1.12; letter-spacing: -2.7px; text-wrap: balance; }
h1 > span { color: var(--blue); background: linear-gradient(105deg, #285cce 15%, #087d89); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 420px; margin: 26px 0 31px; font-size: 17px; line-height: 1.85; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-primary { color: white; background: linear-gradient(120deg, #316bdd, #2454c4); border-color: #2657c6; box-shadow: 0 8px 18px -6px #285cce66, inset 0 1px 0 #ffffff30; }
.button-primary:hover { background: linear-gradient(120deg, #245ac8, #1946ac); box-shadow: 0 10px 23px -6px #285cce80; }
.button-secondary { background: #ffffffcf; border-color: #d6e1ec; box-shadow: 0 3px 6px #17375404; }
.button-secondary:hover { background: #edf5fd; border-color: #b7cce2; }
.value-items { display: flex; flex-wrap: wrap; gap: 20px; margin: 35px 0 0; padding: 25px 0 0; border-top: 1px solid #dbe5ee; list-style: none; }
.value-items li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.value-items strong { color: #344c64; font-weight: 650; }
.value-icon { position: relative; display: block; flex-shrink: 0; width: 28px; height: 28px; color: #318a98; }
.solution-icon::before { content: ""; position: absolute; inset: 4px; border: 1.5px solid currentColor; border-radius: 7px; transform: rotate(-8deg); }
.solution-icon::after { content: ""; position: absolute; width: 8px; height: 5px; top: 9px; left: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.family-icon::before { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 3px; box-shadow: 12px 0 0 -1px #fafcfe, 12px 0 0 0 currentColor, 0 12px 0 -1px #fafcfe, 0 12px 0 0 currentColor, 12px 12px 0 -1px #fafcfe, 12px 12px 0 0 currentColor; }
.sun-icon { background: repeating-conic-gradient(from 0deg, currentColor 0deg 3deg, transparent 3deg 45deg); border: 3px solid transparent; background-clip: padding-box; border-radius: 50%; }
.sun-icon::before { content: ""; position: absolute; inset: 4px; border: 3px solid #f3f8fc; background: #f3f8fc; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.product-preview { position: relative; min-width: 0; padding: 6px; background: linear-gradient(140deg, #ffffffed, #dce7f0d9); border: 1px solid #fff; border-radius: 23px; box-shadow: 0 35px 60px -25px #294b7140, 0 10px 22px -10px #335c7926, 0 0 0 1px #dbe6ef; }
.preview-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 43px; padding: 8px 15px 12px; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 7px; height: 7px; background: #bccddc; border-radius: 50%; }
.preview-dots i:first-child { background: #adc7d8; }
.preview-dots i:last-child { background: #acd7d0; }
.preview-address { display: flex; align-items: center; justify-content: center; gap: 7px; width: 54%; padding: 3px 8px; border: 1px solid #e2eaf1; border-radius: 6px; background: #ffffffa6; color: var(--muted); font-size: 9px; }
.address-mark { width: 6px; height: 7px; border: 1px solid #6c8b9c; border-radius: 2px; }
.window-icon { width: 12px; height: 10px; border: 1px solid #9db2c4; border-radius: 2px; }
.preview-content { padding: 24px 22px 17px; border: 1px solid #dce7ef; border-radius: 16px; background: radial-gradient(ellipse at top right, #e5f5f0a6, transparent 60%), linear-gradient(135deg, #f8fbff, #edf3fa); }
.preview-intro { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; }
.preview-brand { font-size: 23px; line-height: 1.2; }
.preview-label { color: #57766f; font-size: 8px; font-weight: 700; letter-spacing: 1.25px; }
.product-preview h2 { margin: 0; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; letter-spacing: -.6px; font-weight: 700; }
.preview-description { margin: 5px 0 21px; color: var(--muted); font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 0; margin: 0; list-style: none; }
.product-card { --accent: #2e64ce; --tint: #edf3ff; min-width: 0; padding: 16px; border: 1px solid #dfe8f1; border-radius: 14px; background: linear-gradient(145deg, #fff, #ffffffd9); box-shadow: 0 4px 10px #1b416507, inset 0 1px 0 white; }
.myword { --accent: #7952b5; --tint: #f3edfc; }
.self-twoc { --accent: #147e79; --tint: #e7f5f0; }
.card-heading { display: flex; align-items: center; gap: 9px; }
.product-icon { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 31px; height: 31px; border: 1px solid color-mix(in srgb, var(--accent) 12%, white); border-radius: 9px; color: var(--accent); background: var(--tint); font-size: 25px; font-weight: 500; line-height: 1; }
.calendar-icon::before { content: ""; width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(to bottom, transparent 3px, currentColor 3px 4px, transparent 4px); }
.calendar-icon::after { content: "✓"; position: absolute; top: 12px; font-size: 11px; }
.book-icon::before { content: ""; width: 17px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px 3px 2px 2px; background: linear-gradient(to right, transparent 46%, currentColor 46% 54%, transparent 54%); }
.link-icon::before, .link-icon::after { content: ""; position: absolute; width: 12px; height: 7px; border: 1.5px solid currentColor; border-radius: 5px; transform: rotate(-40deg); }
.link-icon::before { top: 9px; left: 11px; }
.link-icon::after { top: 14px; left: 5px; }
.product-card h3 { margin: 0; font-size: 13px; letter-spacing: -.3px; }
.product-card .card-caption { margin: 10px 0 12px; color: var(--muted); font-size: 10px; }
.reminders { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0; }
.reminders li { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid #e7edf6; border-radius: 5px; background: #f7f9fd; color: #485e76; font-size: 10px; }
.reminder-check { flex-shrink: 0; width: 12px; height: 12px; border: 1px solid #bdcfe6; border-radius: 4px; }
.reminder-check.completed { display: grid; place-items: center; background: #e4edff; border-color: #c5d7fa; color: #2458bd; font-size: 9px; line-height: 1; }
blockquote { margin: 14px 0; padding-left: 10px; border-left: 2px solid #d5c3ee; font-family: Georgia, serif; color: #655080; font-size: 15px; line-height: 1.55; }
.preview-action { display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 5px 10px; border-radius: 6px; background: var(--tint); color: var(--accent); font-size: 10px; font-weight: 650; }
.mini-chart { display: flex; align-items: flex-end; gap: 7px; height: 66px; padding: 9px 4px 0; margin-top: 11px; border-bottom: 1px solid #dfece8; background: repeating-linear-gradient(to top, transparent 0 20px, #eaf2ef 20px 21px); }
.mini-chart span { flex: 1; height: 38%; border-radius: 3px 3px 0 0; background: linear-gradient(#69bfb1, #b7e0d4); }
.mini-chart span:nth-child(2) { height: 53%; }
.mini-chart span:nth-child(3) { height: 44%; }
.mini-chart span:nth-child(4) { height: 69%; }
.mini-chart span:nth-child(5) { height: 62%; }
.mini-chart span:nth-child(6) { height: 82%; }
.mini-chart span:nth-child(7) { height: 100%; background: linear-gradient(#218e82, #75bfad); }
.product-card .care-description { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.preview-input { display: block; margin: 16px 0 9px; padding: 9px 8px; background: #f8fafc; border: 1px solid #dfe7f0; border-radius: 6px; color: #617186; font-size: 10px; }
.download-action { display: flex; color: white; background: #3168cc; box-shadow: 0 2px 3px #285cce17; }
.preview-footer { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 17px 0 0; font-size: 9px; color: var(--muted); }
.preview-footer > span { width: 5px; height: 5px; }
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 1050px) {
  .container { width: calc(100% - 48px); }
  .hero { gap: 4%; padding-block: 80px; }
  h1 { font-size: clamp(36px, 4.5vw, 48px); letter-spacing: -1.8px; }
  .navigation { gap: 4px; }
  .navigation a { padding-inline: 11px; }
  .preview-content { padding: 20px 14px 16px; }
  .product-card { padding: 12px; }
  .product-grid { gap: 10px; }
  .value-items { gap: 16px; }
  .hero-actions .button { padding-inline: 18px; gap: 12px; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 58px 72px; }
  .hero-copy { width: 100%; max-width: 550px; margin-inline: auto; }
  h1 { font-size: clamp(38px, 7vw, 54px); }
  .hero-description { max-width: 440px; }
  .product-preview { width: 100%; max-width: 560px; justify-self: center; }
  .preview-content { padding: 25px 22px 18px; }
  .product-preview h2 { font-size: 21px; }
  .product-card { padding: 17px; }
  .product-grid { gap: 14px; }
  .value-items { justify-content: space-between; }
  .navigation a { padding-inline: 8px; }
  .contact-button { margin-left: 4px; padding-inline: 16px; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0 16px; padding-block: 16px; }
  .wordmark, .menu-toggle { flex-shrink: 0; }
  .navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-top: 16px; }
  .navigation a { padding: 10px 12px; min-height: 44px; }
  .contact-button { margin: 4px 0 0; }
  /* Without JavaScript, navigation stays visible and usable. */
  .navigation.is-collapsed { display: none; }
  .hero { padding-block: 46px 60px; gap: 48px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; gap: 8px; margin-bottom: 23px; }
  h1 { font-size: clamp(36px, 8.5vw, 48px); letter-spacing: -1.7px; }
  .hero-description { font-size: 16px; margin-block: 23px 27px; }
  .value-items { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 29px; padding-top: 23px; }
  .value-items li { font-size: 14px; gap: 12px; }
  .value-icon { width: 26px; height: 26px; }
  .preview-header { padding-inline: 10px; }
  .preview-content { padding: 21px 13px 16px; }
  .preview-intro { flex-wrap: wrap; }
  .preview-label { font-size: 10px; letter-spacing: .8px; }
  .preview-address { width: auto; flex: 1; max-width: 220px; font-size: 11px; }
  .preview-dots, .window-icon { flex-shrink: 0; }
  .preview-description, .preview-footer { font-size: 13px; }
  .product-preview h2 { font-size: 18px; }
  .product-card { padding: 17px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-heading { gap: 7px; }
  .product-card h3 { font-size: 16px; }
  .product-icon { width: 29px; height: 29px; }
  .product-card .card-caption, .product-card .care-description, .reminders li, .preview-input, .preview-action { font-size: 14px; }
  .reminders li { min-height: 40px; padding: 8px; }
  .preview-input, .preview-action { min-height: 44px; padding: 10px 12px; }
  blockquote { font-size: 17px; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .menu-toggle, a.wordmark, .footer-navigation a, .navigation a[href] { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (forced-colors: active) {
  h1 > span { background: none; -webkit-text-fill-color: currentColor; }
  .product-preview, .product-card, .preview-action, .preview-input { border: 1px solid CanvasText; }
}

/* PRODUCTS — full catalogue; separate from the hero preview */

.products-section { padding-block: var(--section-start) var(--section-end); border-top: 1px solid var(--border); background: #fafcfe; }
.products-intro { margin-bottom: var(--intro-gap); }
.products-intro .eyebrow { margin-bottom: 14px; }
.products-intro h2 { margin: 0; max-width: 700px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -1.2px; text-wrap: balance; }
.products-intro > p:last-child { max-width: 640px; margin: 18px 0 0; line-height: 1.8; color: var(--muted); font-size: 17px; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.tool-card { --tool-accent: #285cbd; --tool-tint: #eaf2ff; --tool-border: #d3e0f5; min-width: 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--tool-border); border-radius: 24px; background: linear-gradient(145deg, white, var(--tool-tint)); box-shadow: 0 12px 30px -20px #294b7138; }
.tool-word { --tool-accent: #70469e; --tool-tint: #f3edfb; --tool-border: #e3d8ef; }
.tool-care { --tool-accent: #096f65; --tool-tint: #e7f5ef; --tool-border: #cde7dc; }
.tool-save { --tool-accent: #086d91; --tool-tint: #e7f5fc; --tool-border: #cfe5ef; }
.tool-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.tool-card h3 { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: -.7px; }
.tool-category { max-width: 100%; overflow-wrap: anywhere; padding: 4px 12px; border: 1px solid var(--tool-border); border-radius: 100px; background: var(--tool-tint); color: var(--tool-accent); font-size: 12px; font-weight: 650; }
.tool-description { min-height: 3.2em; margin: 16px 0 24px; max-width: 360px; font-size: 17px; }
.tool-visual { display: grid; place-items: center; min-height: 288px; padding: 24px 18px; border: 1px solid var(--tool-border); border-radius: 18px; background: var(--tool-tint); color: var(--tool-accent); }
.tool-phone, .tool-scripture, .tool-feedback, .tool-download { width: 100%; max-width: 280px; padding: 22px; border: 1px solid var(--tool-border); border-radius: 16px; background: #ffffffed; box-shadow: 0 14px 24px -16px #294b7145; }
.tool-phone { max-width: 240px; padding: 14px; border-radius: 24px 24px 14px 14px; }
.phone-speaker { display: block; width: 36px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: var(--tool-border); }
.interface-title { margin: 0 0 14px; color: var(--navy); font-size: 15px; font-weight: 650; line-height: 1.5; }
.tool-routines { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tool-routines li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; background: var(--tool-tint); color: #405976; font-size: 13px; }
.tool-routines li > span { display: grid; place-items: center; flex: 0 0 15px; height: 15px; border: 1px solid #9bb5db; border-radius: 5px; color: var(--tool-accent); line-height: 1; }
.tool-scripture { text-align: center; }
.scripture-mark { display: block; height: 34px; font: 48px/1 Georgia, serif; }
.tool-scripture p { margin: 14px 0; font: 22px/1.5 Georgia, serif; }
.scripture-reference { font-size: 13px; font-weight: 600; }
.scripture-rule { display: block; width: 32px; height: 2px; margin: 20px auto 0; background: var(--tool-border); }
.feedback-faces { display: flex; justify-content: space-between; gap: 8px; margin-block: 18px; }
.feedback-face { position: relative; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--tool-accent); border-radius: 50%; background: var(--tool-tint); }
.feedback-face::before { content: ""; position: absolute; top: 10px; left: 9px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; box-shadow: 10px 0 currentColor; }
.feedback-face::after { content: ""; position: absolute; left: 10px; bottom: 7px; width: 12px; height: 6px; border: 1px solid currentColor; border-top: 0; border-radius: 0 0 12px 12px; }
.face-low::after { transform: rotate(180deg); }
.face-neutral::after { height: 1px; bottom: 10px; border-radius: 0; }
.face-selected { color: white; background: var(--tool-accent); }
.feedback-chart { display: flex; align-items: end; gap: 12px; height: 68px; border-bottom: 1px solid var(--tool-border); background: repeating-linear-gradient(to top, transparent 0 21px, var(--tool-tint) 21px 22px); }
.feedback-chart span { flex: 1; height: 32%; border-radius: 4px 4px 0 0; background: #77b7a5; }
.feedback-chart span:nth-child(2) { height: 50%; }
.feedback-chart span:nth-child(3) { height: 42%; }
.feedback-chart span:nth-child(4) { height: 72%; }
.feedback-chart span:nth-child(5) { height: 94%; background: var(--tool-accent); }
.save-symbol { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 22px; border-radius: 12px; background: var(--tool-tint); font-size: 26px; }
.tool-link-field { display: block; padding: 12px; border: 1px solid var(--tool-border); border-radius: 8px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.tool-download-button { display: flex; justify-content: center; gap: 18px; margin-top: 10px; padding: 10px; border-radius: 8px; background: var(--tool-accent); color: white; font-size: 14px; font-weight: 600; }
.tool-details { margin-top: 20px; }
.tool-details summary { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; border-radius: 5px; color: var(--tool-accent); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.tool-details summary::-webkit-details-marker { display: none; }
.tool-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.tool-details[open] .tool-arrow { transform: rotate(90deg); }
.tool-details p { margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--tool-border); color: var(--muted); font-size: 15px; }
.tool-card:focus-within { border-color: var(--tool-accent); }
/* RESPONSIVE / MEDIA QUERIES */
@media (hover: hover) {
  .tool-card:hover { border-color: var(--tool-accent); box-shadow: 0 18px 36px -22px #294b7155; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 640px) {
  .tools-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tool-description { min-height: 0; }
  .tool-visual { padding-inline: 12px; }
  .tool-feedback, .tool-download, .tool-scripture { padding: 16px; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (prefers-reduced-motion: no-preference) {
  .tool-card { transition: border-color .18s ease, box-shadow .18s ease; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (forced-colors: active) {
  .tool-card, .tool-visual, .tool-category, .tool-download-button, .feedback-face { border: 1px solid CanvasText; }
  .feedback-chart span, .feedback-face::before { background: CanvasText; }
}
/* WHY XYROD */

.why-section { padding-block: var(--section-start) var(--section-end); border-top: 1px solid var(--border); background: white; }
.why-intro { max-width: 700px; margin-bottom: var(--intro-gap); }
.why-intro .eyebrow { margin-bottom: 14px; }
.why-intro h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -1.2px; text-wrap: balance; }
.why-intro > p:last-child { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.why-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.why-value { --why-tint: #f7faff; --why-icon-tint: #edf3ff; --why-border: #dce6f5; --why-accent: var(--blue); min-width: 0; padding: 24px 20px; border: 1px solid var(--why-border); border-radius: 18px; background: linear-gradient(145deg, var(--why-tint), #fff); }
.why-value:nth-child(2) { --why-tint: #f4faf9; --why-icon-tint: #e6f5f2; --why-border: #d6eae5; --why-accent: var(--teal); }
.why-value:nth-child(3) { --why-tint: #f5fafc; --why-icon-tint: #e8f3f8; --why-border: #d9e8ef; --why-accent: #226c8c; }
.why-value:nth-child(4) { --why-tint: #f7f9ff; --why-icon-tint: #edf0fc; --why-border: #dfe4f4; --why-accent: #395db0; }
.why-value h3 { margin: 18px 0 10px; font-size: 20px; line-height: 1.35; letter-spacing: -.4px; overflow-wrap: anywhere; }
.why-value p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.why-icon { position: relative; display: block; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid var(--why-border); border-radius: 14px; color: var(--why-accent); background: var(--why-icon-tint); }
.why-icon::before, .why-icon::after { content: ""; position: absolute; }
.why-simple::before { inset: 10px 14px; background: currentColor; clip-path: polygon(55% 0, 0 58%, 43% 58%, 30% 100%, 100% 38%, 57% 38%, 72% 0); }
.why-accessible::before { width: 8px; height: 8px; top: 10px; left: 19px; border: 2px solid currentColor; border-radius: 50%; }
.why-accessible::after { width: 26px; height: 18px; top: 21px; left: 10px; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 12%, 59% 21%, 59% 46%, 80% 100%, 65% 100%, 50% 63%, 35% 100%, 20% 100%, 41% 46%, 41% 21%, 0 12%); }
.why-reliable::before { width: 22px; height: 26px; top: 9px; left: 12px; border: 2px solid currentColor; border-radius: 5px 5px 12px 12px; }
.why-reliable::after { width: 10px; height: 6px; top: 18px; left: 18px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.why-privacy::before { width: 14px; height: 14px; top: 9px; left: 16px; border: 2px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; }
.why-privacy::after { width: 22px; height: 17px; top: 20px; left: 12px; border: 2px solid currentColor; border-radius: 4px; background: linear-gradient(currentColor, currentColor) center / 2px 5px no-repeat; }
/* RESPONSIVE / MEDIA QUERIES */
@media (hover: hover) {
  .why-value:hover { border-color: var(--why-accent); }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 1050px) {
  .why-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 640px) {
  .why-values { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .why-value { padding: 20px; border-radius: 16px; }
  .why-value h3 { margin: 14px 0 8px; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (prefers-reduced-motion: no-preference) {
  .why-value { transition: border-color .18s ease; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (forced-colors: active) {
  .why-simple::before, .why-accessible::after { background: CanvasText; }
}

/* LABS */

.labs-section { padding-block: var(--section-start) var(--section-end); border-top: 1px solid var(--border); background: #fafcfe; }
.labs-intro { max-width: 700px; margin-bottom: var(--intro-gap); }
.labs-intro .eyebrow { margin-bottom: 14px; }
.labs-intro h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -1.2px; text-wrap: balance; }
.labs-intro > p:last-child { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.labs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.labs-card { --labs-accent: #176b60; --labs-tint: #edf8f3; --labs-border: #cfe5db; --labs-icon-tint: #dcefe5; min-width: 0; padding: 28px; border: 1px solid var(--labs-border); border-radius: 24px; background: linear-gradient(145deg, #fff, var(--labs-tint)); box-shadow: 0 10px 24px -20px #294b7130; }
.labs-lilac { --labs-accent: #694b88; --labs-tint: #f5f0fa; --labs-border: #e3d8ef; --labs-icon-tint: #eae0f4; }
.labs-cream { --labs-accent: #796020; --labs-tint: #fcf7e9; --labs-border: #eae0c4; --labs-icon-tint: #f3e9cc; }
.labs-status { display: inline-block; max-width: 100%; padding: 4px 12px; border: 1px solid var(--labs-border); border-radius: 100px; background: var(--labs-tint); color: var(--labs-accent); font-size: 12px; font-weight: 650; }
.labs-visual { display: grid; place-items: center; height: 148px; margin-block: 12px 20px; color: var(--labs-accent); }
.labs-symbol { position: relative; display: block; width: 88px; height: 88px; border: 1px solid var(--labs-border); border-radius: 26px; background: var(--labs-icon-tint); }
.labs-symbol::before, .labs-symbol::after { content: ""; position: absolute; }
.labs-spark::before { inset: 20px; background: currentColor; clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%); }
.labs-spark::after { width: 12px; height: 12px; top: 14px; right: 13px; background: currentColor; clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%); }
.labs-layers::before, .labs-layers::after { width: 36px; height: 36px; left: 25px; border: 2px solid currentColor; border-radius: 6px; transform: rotate(-30deg) skewX(30deg) scaleY(.86); }
.labs-layers::before { top: 32px; }
.labs-layers::after { top: 19px; background: var(--labs-icon-tint); }
.labs-bulb::before { width: 32px; height: 38px; top: 17px; left: 27px; border: 2px solid currentColor; border-radius: 50% 50% 35% 35%; background: linear-gradient(currentColor, currentColor) center bottom / 2px 12px no-repeat; }
.labs-bulb::after { width: 18px; height: 10px; top: 59px; left: 34px; border-top: 2px solid currentColor; border-bottom: 3px solid currentColor; border-radius: 0 0 5px 5px; }
.labs-card h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.3; letter-spacing: -.5px; overflow-wrap: anywhere; }
.labs-card > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
/* RESPONSIVE / MEDIA QUERIES */
@media (hover: hover) {
  .labs-card:hover { border-color: var(--labs-accent); box-shadow: 0 12px 28px -20px #294b7140; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (min-width: 641px) and (max-width: 900px) {
  .labs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .labs-card:last-child { grid-column: 1 / -1; width: calc((100% - 24px) / 2); justify-self: center; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 640px) {
  .labs-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .labs-card { padding: 24px; border-radius: 20px; }
  .labs-visual { height: 124px; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (prefers-reduced-motion: no-preference) {
  .labs-card { transition: border-color .18s ease, box-shadow .18s ease; }
}
/* ACCESSIBILITY / REDUCED MOTION — motion preferences and system colours */
@media (forced-colors: active) {
  .labs-card, .labs-status, .labs-symbol { border-color: CanvasText; }
  .labs-spark::before, .labs-spark::after { background: CanvasText; }
  .labs-bulb::before { background: none; }
}
/* ABOUT */

.about-section { padding-block: 0 var(--section-end); }
.about-panel { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(32px, 6vw, 80px); padding: clamp(28px, 5vw, 64px); border: 1px solid #d5e5e9; border-radius: 28px; background: radial-gradient(ellipse at 0 100%, #dcefeb, transparent 65%), linear-gradient(115deg, #eaf2fc, #f3f9fc 55%, #edf7f5); }
.about-brand .wordmark, .footer-brand .wordmark { display: inline-flex; flex-wrap: nowrap; flex-shrink: 0; white-space: nowrap; overflow-wrap: normal; }
.about-brand .wordmark > span, .footer-brand .wordmark > span { flex-shrink: 0; }
.about-brand .wordmark { font-size: clamp(44px, 5vw, 68px); line-height: 1.2; letter-spacing: -3px; }
.about-brand-rule { display: block; width: 48px; height: 3px; margin-block: 24px; background: var(--teal); border-radius: 3px; }
.about-brand p { margin: 0; color: var(--muted); font-size: 15px; }
.about-copy { min-width: 0; }
.about-copy .eyebrow { margin-bottom: 14px; }
.about-copy h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -1.2px; text-wrap: balance; }
.about-copy > p:not(.eyebrow) { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.about-copy > p.about-lead { color: var(--navy); font-size: 18px; }
/* FOOTER */
.site-footer { padding-block: 44px 24px; border-top: 1px solid var(--border); background: white; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 36px 64px; }
.footer-brand p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.footer-navigation { max-width: 620px; }
.footer-navigation ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-navigation a, .footer-placeholder { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 44px; padding-block: 8px; font-size: 13px; }
.footer-navigation a { color: var(--navy); font-weight: 600; text-decoration: none; border-radius: 3px; }
.footer-navigation a:hover, .footer-navigation a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.footer-placeholder { color: var(--muted); cursor: default; }
.footer-copyright { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 768px) {
  .about-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-brand { padding-bottom: 28px; border-bottom: 1px solid #c9dcdf; }
  .about-brand-rule { margin-block: 18px; }
  .footer-main { flex-direction: column; gap: 24px; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 640px) {
  .about-section { padding-bottom: 36px; }
  .about-panel { padding: 24px; gap: 24px; border-radius: 20px; }
  .about-brand { padding-bottom: 20px; }
  .about-brand-rule { margin-block: 14px; }
  .about-copy > p:not(.eyebrow) { margin-top: 16px; }
  .site-footer { padding-top: 28px; }
  .footer-main { gap: 16px; }
  .footer-brand { width: 100%; }
  .footer-brand p { margin-top: 6px; }
  .footer-navigation { width: 100%; }
  .footer-navigation ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 12px; }
  .footer-navigation li { min-width: 0; grid-column: span 3; }
  .footer-navigation li:nth-child(-n + 3) { grid-column: span 2; }
  .footer-navigation a, .footer-placeholder { display: flex; }
  .footer-copyright { margin-top: 24px; padding-top: 18px; }
}

/* RESPONSIVE / MEDIA QUERIES — final narrow-layout adjustments */
/* RESPONSIVE / MEDIA QUERIES */
@media (min-width: 769px) and (max-width: 1050px) {
  .card-heading { flex-wrap: wrap; gap: 6px; }
  .product-card h3 { overflow-wrap: anywhere; }
}
/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 640px) {
  .tool-card { border-radius: 20px; padding: 24px; }
  .preview-footer { flex-wrap: wrap; text-align: center; }
}
/* Allow long text and enlarged text to wrap inside nested flex/grid items. */
.hero-copy, .product-card, .tool-card, .labs-card, .about-copy, .footer-brand,
.footer-navigation { overflow-wrap: anywhere; }
.footer-main > * { min-width: 0; }


/* STAGE 0.6 — READINESS-LED PORTFOLIO */
.roadmap-card { display: flex; flex-direction: column; gap: 8px; }
.roadmap-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.roadmap-card strong { font-size: 14px; line-height: 1.3; }
.roadmap-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.roadmap-status { padding: 3px 8px; border: 1px solid var(--border); border-radius: 999px; background: white; color: var(--navy); font-size: 9px; font-weight: 700; line-height: 1.3; text-align: center; }
.roadmap-word { --accent: #70469e; --tint: #f3edfb; }
.roadmap-feedback { --accent: #087d79; --tint: #e7f5ef; }
.roadmap-cga { --accent: #285cce; --tint: #edf3ff; }
.roadmap-labs { --accent: #8a6a18; --tint: #fbf7e9; }
.roadmap-footer { max-width: 420px; margin-inline: auto; line-height: 1.5; }
.tool-cga { --tool-accent: #285cbd; --tool-tint: #eaf2ff; --tool-border: #d3e0f5; }
.labs-download-arrow { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid currentColor; border-radius: 18px; font-size: 32px; font-weight: 700; }
@media (min-width: 641px) {
  .portfolio-grid > .tool-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 24px) / 2); justify-self: center; }
}
@media (max-width: 640px) {
  .portfolio-grid > .tool-card:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
  .roadmap-card-heading { flex-direction: column; }
}
@media (forced-colors: active) {
  .roadmap-status, .labs-download-arrow { border: 1px solid CanvasText; }
}
/* END STAGE 0.6 — READINESS-LED PORTFOLIO */


/* STAGE 0.6 - FINAL UI REFINEMENT */

:root {
  --muted: #526b84;
}

.roadmap-preview .preview-label {
  font-size: 10px;
  letter-spacing: 1.15px;
}

.roadmap-preview .preview-description {
  font-size: 12px;
  line-height: 1.55;
}

.roadmap-card strong {
  font-size: 15px;
}

.roadmap-card p {
  font-size: 12px;
  line-height: 1.5;
}

.roadmap-status {
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
}

.roadmap-footer {
  font-size: 11px;
  line-height: 1.5;
}

.portfolio-grid .tool-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
}

.portfolio-grid .tool-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid var(--tool-border);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--tool-tint), #ffffff);
  box-shadow: inset 0 1px 0 #ffffff;
}

.portfolio-grid .tool-word::before {
  background:
    linear-gradient(90deg, transparent 47%, var(--tool-accent) 48% 52%, transparent 53%),
    linear-gradient(var(--tool-tint), #ffffff);
}

.portfolio-grid .tool-care::before {
  background:
    linear-gradient(to top, var(--tool-accent) 0 28%, transparent 28% 100%) 9px 11px / 5px 22px no-repeat,
    linear-gradient(to top, var(--tool-accent) 0 48%, transparent 48% 100%) 19px 11px / 5px 22px no-repeat,
    linear-gradient(to top, var(--tool-accent) 0 72%, transparent 72% 100%) 29px 11px / 5px 22px no-repeat,
    linear-gradient(var(--tool-tint), #ffffff);
}

.portfolio-grid .tool-cga::before {
  background:
    linear-gradient(var(--tool-accent), var(--tool-accent)) 12px 13px / 5px 5px no-repeat,
    linear-gradient(var(--tool-accent), var(--tool-accent)) 12px 23px / 5px 5px no-repeat,
    linear-gradient(var(--tool-accent), var(--tool-accent)) 21px 14px / 13px 2px no-repeat,
    linear-gradient(var(--tool-accent), var(--tool-accent)) 21px 24px / 13px 2px no-repeat,
    linear-gradient(var(--tool-tint), #ffffff);
}

.portfolio-grid .tool-category {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.portfolio-grid .tool-description {
  max-width: none;
  line-height: 1.65;
}

.portfolio-grid .tool-details {
  margin-top: auto;
}

@media (min-width: 1050px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-grid > .tool-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }
}

@media (min-width: 641px) and (max-width: 1049px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid > .tool-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 24px) / 2);
    justify-self: center;
  }
}

.labs-symbol {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid currentColor;
  border-radius: 18px;
  background: #ffffff70;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.labs-card:first-child .labs-symbol {
  font-size: 28px;
}

.labs-card:last-child .labs-symbol {
  font-size: 34px;
}

.labs-download-arrow {
  width: 64px;
  height: 64px;
  font-size: 32px;
}

.navigation [aria-disabled="true"],
.contact-button[aria-disabled="true"],
.footer-placeholder[aria-disabled="true"] {
  opacity: .62;
  cursor: default;
  text-decoration: none;
}

.navigation [aria-disabled="true"]:hover,
.contact-button[aria-disabled="true"]:hover,
.footer-placeholder[aria-disabled="true"]:hover {
  color: var(--muted);
  background: transparent;
  text-decoration: none;
}

@media (min-width: 1050px) {
  .products-section,
  .why-section,
  .labs-section {
    --section-start: clamp(44px, 5.4vw, 70px);
    --section-end: clamp(58px, 6.5vw, 84px);
  }
}

@media (max-width: 640px) {
  .portfolio-grid .tool-card {
    min-height: 0;
  }

  .roadmap-card strong {
    font-size: 14px;
  }

  .roadmap-status {
    font-size: 10px;
  }
}

@media (forced-colors: active) {
  .portfolio-grid .tool-card::before,
  .labs-symbol {
    border: 1px solid CanvasText;
  }
}

/* END STAGE 0.6 - FINAL UI REFINEMENT */


/* STAGE 0.6 - BRAND DISCIPLINE PASS */

/* Tighter vertical rhythm. */
@media (min-width: 769px) {
  .products-section,
  .why-section,
  .labs-section {
    padding-top: 56px;
    padding-bottom: 68px;
  }

  .about-section {
    padding-bottom: 68px;
  }

  .about-panel {
    padding: clamp(30px, 4vw, 50px);
  }

  .about-brand .wordmark {
    font-size: clamp(40px, 4.4vw, 60px);
  }
}

/* Hero hierarchy: headline remains primary; roadmap becomes secondary. */
@media (min-width: 1050px) {
  h1 {
    font-size: clamp(48px, 4.2vw, 52px);
  }

  .roadmap-preview {
    width: 92%;
    max-width: 560px;
    justify-self: end;
  }

  .roadmap-preview .preview-content {
    padding: 24px 22px 18px;
  }

  .roadmap-grid {
    gap: 10px;
  }

  .roadmap-card {
    padding: 12px 14px;
  }

  .roadmap-card p {
    display: none;
  }

  .roadmap-footer {
    margin-top: 12px;
  }
}

/* Product cards: equal height and fixed status placement. */
.portfolio-grid {
  align-items: stretch;
}

.portfolio-grid .tool-card {
  height: 100%;
  min-height: 282px;
  border-radius: 18px;
  padding: 30px;
}

.portfolio-grid .tool-card-heading {
  display: block;
  padding-right: 132px;
}

.portfolio-grid .tool-card h3 {
  font-size: 24px;
  line-height: 1.25;
}

.portfolio-grid .tool-category {
  position: absolute;
  top: 30px;
  right: 30px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}

.portfolio-grid .tool-description {
  margin-top: 14px;
}

.portfolio-grid .tool-details {
  padding-top: 18px;
}

/* Consistent icon containers. */
.portfolio-grid .tool-card::before,
.why-icon,
.labs-symbol {
  border-width: 2px;
  border-radius: 14px;
}

.portfolio-grid .tool-card::before {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
}

/* Labs is deliberately secondary. */
.labs-grid {
  align-items: stretch;
  gap: 18px;
}

.labs-card {
  min-height: 0;
  padding: 22px;
  border-radius: 18px;
  box-shadow: none;
}

.labs-visual {
  height: 84px;
  margin-block: 14px 16px;
}

.labs-symbol,
.labs-download-arrow {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 24px;
}

.labs-card h3 {
  margin-bottom: 8px;
}

.labs-card > p {
  font-size: 15px;
  line-height: 1.65;
}

.about-panel {
  border-radius: 24px;
}

/* XYROD active-state motif. */
.navigation a[href][aria-current="location"] {
  position: relative;
  color: var(--navy);
}

.navigation a[href][aria-current="location"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

/* Disabled items remain visibly unavailable. */
.navigation [aria-disabled="true"],
.contact-button[aria-disabled="true"],
.footer-placeholder[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
}

/* Restrained microinteraction. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .portfolio-grid .tool-card {
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  }

  .portfolio-grid .tool-card:hover {
    transform: translateY(-2px);
    border-color: var(--tool-accent);
    box-shadow: 0 12px 30px #17324f0f;
  }

  .portfolio-grid .tool-details summary .tool-arrow {
    transition: transform .16s ease;
  }

  .portfolio-grid .tool-details summary:hover .tool-arrow {
    transform: translateX(2px);
  }
}

@media (min-width: 641px) and (max-width: 1049px) {
  .portfolio-grid .tool-card {
    padding: 26px;
  }

  .portfolio-grid .tool-category {
    top: 26px;
    right: 26px;
  }

  .portfolio-grid .tool-card-heading {
    padding-right: 128px;
  }
}

@media (max-width: 640px) {
  .portfolio-grid .tool-card {
    padding: 24px;
    border-radius: 18px;
  }

  .portfolio-grid .tool-card-heading {
    padding-right: 0;
  }

  .portfolio-grid .tool-category {
    position: static;
    margin-top: 10px;
  }

  .roadmap-card p {
    display: block;
  }

  .labs-card {
    padding: 20px;
  }
}

@media (forced-colors: active) {
  .navigation a[href][aria-current="location"]::after {
    background: CanvasText;
  }
}

/* END STAGE 0.6 - BRAND DISCIPLINE PASS */


/* STAGE 0.7A - PUBLIC TRUST PAGES */
.trust-page {
  min-height: 100vh;
  background: #f8fbfd;
}

.trust-header-inner {
  min-height: 84px;
}

.trust-hero {
  padding: clamp(54px, 8vw, 96px) 0 clamp(72px, 9vw, 112px);
}

.trust-container {
  max-width: 900px;
}

.trust-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -2.4px;
}

.trust-copy {
  max-width: 760px;
  margin-top: 34px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 36px #17324f0a;
}

.trust-copy h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.5px;
}

.trust-copy h2:first-of-type {
  margin-top: 28px;
}

.trust-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.trust-copy .trust-lead {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.7;
}

.trust-note {
  margin-top: 34px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px !important;
}

.trust-footer {
  background: white;
}

@media (max-width: 768px) {
  .trust-header-inner {
    min-height: 78px;
  }

  .trust-navigation {
    width: 100%;
  }

  .trust-copy {
    padding: 24px;
    border-radius: 20px;
  }

  .trust-hero h1 {
    letter-spacing: -1.6px;
  }
}
/* END STAGE 0.7A - PUBLIC TRUST PAGES */


/* STAGE 0.7B - PRODUCTION WEB ESSENTIALS */
.not-found-section {
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  padding: 64px 0 96px;
}

.not-found-container {
  max-width: 760px;
}

.not-found-container h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -3px;
}

.not-found-container > p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .not-found-container h1 {
    letter-spacing: -2px;
  }
}
/* END STAGE 0.7B - PRODUCTION WEB ESSENTIALS */
