:root {
  --ink: #202020;
  --muted: #626262;
  --line: #e6e6e3;
  --accent: #F7A35C;
  --accent-ink: #8a3b0e;
  --accent-soft: #fff3e8;
  --dusk: #0d1b36;
  --green: #328866;
  --font: Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; scrollbar-gutter: stable; }
/* Scrollbars like shadcn's ScrollArea: a slim rounded thumb in the border colour on a clear track.
   Chrome and Safari use the -webkit- rules; Firefox, which has no such selector, gets thin bars. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: #d9dcde padding-box; border: 2px solid transparent; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background-color: #b4bbc0; }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: #d9dcde transparent; }
}
/* The page stays put behind an open dialog; the gutter keeps it from shifting sideways. */
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: absolute; z-index: -1; inset: 0 32px; border-inline: 1px solid #efefef; pointer-events: none; min-height: 100%; }
a { color: inherit; text-decoration: none; }
button, select { color: inherit; font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { border-radius: 4px; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(1800px, calc(100% - 112px)); margin-inline: auto; }
.mono { font: 14px var(--font); letter-spacing: .025em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: #202020; color: white; padding: 12px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 22px; border: 1px solid var(--line); padding: 0 17px; border-radius: 3px; font: 13px var(--font); white-space: nowrap; transition: background .18s, border-color .18s, color .18s; }
.button-light { background: white; }
.button-light:hover { border-color: #a6a6a6; background: #fafafa; }
.button-dark { color: #3d1f0a; background: var(--accent); border-color: var(--accent); }
.button-dark:hover { background: #f59446; border-color: #f59446; }
.keycap { font: 14px var(--font); background: #eee; color: #666; display: inline-grid; place-items: center; width: 19px; height: 20px; border-radius: 3px; }
.button-dark .keycap { background: #ffffff60; color: #5a2d0e; }
.announcement-bar { min-height: 30px; margin-top: 8px; padding: 6px 12px; display: flex; justify-content: center; align-items: center; background: var(--accent-soft); color: #7a3510; font-size: 12px; border-radius: 2px; }
.announcement-bar span { margin-left: 5px; text-decoration: underline; text-underline-offset: 3px; }
.nav { min-height: 72px; padding-block: 14px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { font-size: 32px; font-weight: 800; letter-spacing: -1.7px; display: inline-flex; align-items: center; line-height: 1; }
.brand b { font-weight: 300; }
.brand-mark { width: .9em; height: .9em; margin-right: .3em; flex: none; border-radius: 50%; background: repeating-linear-gradient(150deg, currentColor 0 .1em, transparent .1em .17em); }
.nav-links { display: flex; margin-left: auto; gap: 30px; font: 14px var(--font); color: #5c6064; align-items: center; }
.nav-links a { transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"], .mobile-menu a[aria-current="page"] { color: var(--accent-ink); }
.nav-links a>span { margin-left: 5px; }
.nav-cta { min-height: 42px; font-size: 13px; }
.nav-login { min-height: 42px; font-size: 13px; margin-right: -16px; }
.menu-toggle, .mobile-menu { display: none; }
.hero { position: relative; padding-top: 26px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: #64686c; font-size: 12px; letter-spacing: .08em; }
.hero-kicker-mark { width: 7px; height: 7px; background: var(--accent); }
.hero-composition { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; padding-block: 20px 26px; }
h1, .hero-title { font-size: clamp(34px, 3.2vw, 48px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; margin: 0; }
.hero-content { min-width: 0; padding: 0; }
.hero-subtitle { margin: 13px 0 0; font-size: 28px; font-weight: 400; line-height: 1.25; letter-spacing: -.03em; color: #686b6e; }
.hero-subtitle>span { color: var(--accent-ink); background: linear-gradient(transparent 76%,var(--accent) 76%); }
.hero-description { font-size: 16px; line-height: 1.65; color: #62676b; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.hero-secondary { display: flex; gap: 10px; align-items: center; color: #62676b; font: 12px var(--font); min-height: 42px; }
.hero-secondary:hover { color: var(--ink); }
.hero-secondary span, .inline-link span, .footer-invitation a span { transition: transform .18s; }
.hero-secondary:hover span, .inline-link:hover span, .footer-invitation a:hover span { transform: translate(2px,-2px); }
.hero-baseline { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 14px; border-top: 1px solid var(--line); font-size: 10px; color: #747a7f; }
.hero-baseline>span { display: flex; align-items: center; gap: 12px; color: #40474c; }
.section-tick { color: var(--accent-ink); font-size: 17px; line-height: 1; }
.hero-baseline a { display: flex; align-items: center; gap: 22px; }
.hero-baseline a:hover { color: var(--ink); }

/* Screenshots of the dashboard app (dashboard/, photographed by screenshots.mjs), on a dusk stage. */
.platform-section { scroll-margin-top: 16px; }
.platform-row { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 18px; align-items: start; }
/* Dusk over the sky photograph: navy overhead, a sodium glow at street level. */
.product-stage { position: relative; isolation: isolate; background: linear-gradient(#0d1b36e6,#2a3d6bb3 55%,#fb631b80), #1d2b4f url('./assets/sky.webp') center 63% / cover; border: 1px solid #2a3d6b; border-radius: 2px; padding: 72px 20px 44px; }
.stage-caption { position: absolute; left: 20px; top: 18px; color: white; display: flex; align-items: baseline; gap: 20px; }
.stage-title { font-size: 24px; letter-spacing: -.7px; font-weight: 450; }
.stage-subtitle { font-size: 10px; letter-spacing: .05em; opacity: .8; }
.stage-corner { position: absolute; top: 20px; right: 20px; color: #ffffffcf; font-size: 9px; line-height: 1.7; text-align: right; }
.stage-bottom { position: absolute; bottom: 12px; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 12px; color: #1d2b4f; font-size: 9px; letter-spacing: .03em; }
.stage-bottom>span { background: #ffffffb8; padding: 5px 8px; border-radius: 2px; }
.shot-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.shot-tabs::-webkit-scrollbar { display: none; }
.shot-tabs>button { flex-shrink: 0; min-height: 34px; padding: 0 12px; border: 1px solid #ffffff3d; border-radius: 3px; background: #0d1b3659; color: #e4e9f3; font-size: 12px; transition: background .18s, border-color .18s, color .18s; }
.shot-tabs>button:hover { border-color: #ffffff8c; }
.shot-tabs>button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.shot-tabs>button:focus-visible { outline-color: #fff; }
.shot { margin: 0; border: 1px solid #fff; background: #fff; border-radius: 6px; box-shadow: 0 22px 54px -22px #050c1ad0, 0 0 0 3px #ffffff24; overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 12px; border-bottom: 1px solid var(--line); background: #f7f8f9; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcdfe2; }
.shot-bar span { margin-left: 10px; font-size: 11px; color: #7a858d; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; background: #f7f8f9; }
.eyebrow { font: 13px var(--font); color: #5d5d5d; }
.platform-footnote { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; gap: 20px; color: #626b72; font-size: 12px; }
.platform-footnote .mono { font-size: 10px; }

.platform-copy { min-width: 0; padding: 5px 18px 12px; border-inline: 1px solid var(--line); }
.platform-copy .eyebrow { color: #788187; font-size: 10px; letter-spacing: .04em; }
.platform-copy h2 { font-size: 25px; font-weight: 500; line-height: 1.2; letter-spacing: -.7px; margin: 15px 0 13px; }
.platform-copy-intro>p { color: #69747c; font-size: 14px; line-height: 1.75; margin: 0 0 20px; }
.platform-copy .button { min-height: 36px; font-size: 11px; padding-inline: 12px; gap: 14px; }
.platform-copy-nav { margin-top: 30px; border-top: 1px solid var(--line); }
.platform-copy-nav a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 17px; border-bottom: 1px solid var(--line); }
.platform-copy-nav strong { font-size: 13px; font-weight: 500; color: #38434b; }
.platform-copy-nav small { display: block; font-size: 12px; line-height: 1.6; color: #77838b; margin-top: 5px; }
.platform-copy-nav a>span:last-child { color: #9aa4ab; font-size: 15px; }
.platform-copy-nav a:hover strong, .platform-copy-nav a:hover>span:last-child { color: var(--accent-ink); }

h2 { font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -.8px; margin: 16px 0 0; }
.how-copy>p { color: #69747c; font-size: 14px; line-height: 1.75; margin: 16px 0 20px; }
.faq { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 36px; padding-block: 48px; }
.faq>div:first-child { border-inline: 1px solid var(--line); padding: 5px 18px; }
.faq .eyebrow { margin-top: 0; font-size: 11px; color: #67727a; letter-spacing: .04em; }
.faq>div>p:last-child { font-size: 14px; color: #69747c; line-height: 1.7; margin-top: 16px; }
.faq-list p a, .upkeep-summary p a, .ai-section-summary p a { text-decoration: underline; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line); counter-reset: question; }
details { border-bottom: 1px solid var(--line); counter-increment: question; }
summary { display: flex; align-items: center; gap: 20px; list-style: none; cursor: pointer; padding: 18px 0; font-size: 16px; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary .question-number { min-width: 24px; color: #8a959d; font-size: 11px; }
.question-number::before { content: counter(question, decimal-leading-zero); }
summary>span:last-child { font: 21px var(--font); color: #78858f; margin-left: auto; transition: transform .18s; }
details[open] summary>span:last-child { transform: rotate(45deg); }
details>p { color: #64717a; font-size: 15px; line-height: 1.9; margin: 0; padding: 0 42px 26px 44px; }

/* Quiet columns and generous white space, following the footer reference. */
.site-footer { padding-top: 28px; border-top: 1px solid #eee; background: #fff; }
.footer-frame { border-inline: 1px solid #ddd; }
.footer-topline { display: flex; align-items: center; gap: 24px; padding: 0 24px; }
.footer-topline .brand { font-size: 32px; }
.footer-topline>.mono { margin-left: auto; color: #66737c; font-size: 11px; }
.footer-topline .button { font-size: 11px; min-height: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; padding-top: 36px; min-height: 390px; }
.footer-identity { padding: 0 24px; }
.footer-mark { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; transform: rotate(-20deg); }
.footer-mark i { display: block; height: 2px; flex-shrink: 0; background: #353535; }
.footer-intro { font-size: 25px; line-height: 1.4; letter-spacing: -.8px; font-weight: 450; margin: 29px 0 36px; }
.footer-label, .footer-column h3 { font: 12px var(--font); color: #363632; margin: 0 0 14px; font-weight: 400; }
.footer-invitation { font: 13px/1.9 var(--font); color: #66737c; }
.footer-invitation p { margin: 10px 0 17px; }
.footer-invitation a { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #f6f6f4; color: #66665f; max-width: 310px; padding: 11px 13px; border-radius: 3px; font-size: 12px; }
.footer-column { padding: 0 24px; border-left: 1px solid #e7e7e4; min-width: 0; }
.footer-column nav+nav, .footer-detail { margin-top: 38px; }
.footer-column a { display: block; width: fit-content; color: #66737c; font: 14px/1.7 var(--font); margin-bottom: 9px; transition: color .15s; }
.footer-column a:hover, .footer-invitation a:hover { color: var(--accent-ink); }
.footer-detail p { color: #66737c; font: 12px/1.9 var(--font); margin: 0; }
.footer-legal { display: flex; align-items: center; gap: 28px; min-height: 80px; padding: 18px 24px; color: #66737c; font: 12px/1.7 var(--font); }
.footer-preview { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.footer-legal a[href="#main"] { margin-left: auto; }
.footer-legal a:hover { color: #222; }
/* Outlined wordmark, as on the OpenSCADA footer. On hover a soft circle of lamp light follows the cursor (app.js sets --x and --y). */
@property --glow { syntax: '<length>'; inherits: true; initial-value: 0px; }
.footer-wordmark { font-size: clamp(64px, 15.5vw, 236px); font-weight: 800; letter-spacing: -.065em; line-height: .8; padding: 56px 24px .2em; width: fit-content; color: transparent; -webkit-text-stroke: 1px #c4c4bf; white-space: nowrap; overflow: hidden; user-select: none; transition: --glow 1.2s cubic-bezier(.22, 1, .36, 1); }
.footer-wordmark span { --x: 50%; --y: 50%; --tone: var(--accent); background: radial-gradient(circle var(--glow) at var(--x) var(--y), var(--tone) 0, color-mix(in srgb, var(--tone) 60%, transparent) 45%, transparent 100%) no-repeat; -webkit-background-clip: text; background-clip: text; }
.footer-wordmark span:first-child { --tone: var(--ink); -webkit-text-stroke-color: #a8a8a2; }
.footer-wordmark:hover { --glow: .8em; }
@media (prefers-reduced-motion: reduce) { .footer-wordmark { transition: none; } }

/* The site's textures (as in ai.css): a fine grain, a gradient, and sodium-amber stripes in a
   stepped block. Lightest to richest: dawn, a sodium glow, a dark street, moonlight, dusk.
   --texture-muted is the colour for secondary text on each. */
.texture { --texture-muted: #69747c; position: relative; isolation: isolate; overflow: hidden; }
.texture::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: 46%; height: 78%; pointer-events: none; background: repeating-linear-gradient(90deg,#f7a35c3d 0 4px,transparent 4px 15px); clip-path: polygon(40% 0,100% 0,100% 100%,0 100%,0 65%,13% 65%,13% 40%,27% 40%,27% 19%,40% 19%); }
.texture-dawn { background: radial-gradient(#8a3b0e1c .6px,transparent .8px) 0 0/3px 3px, linear-gradient(135deg,#fffaf4,#ffeedd); }
.texture-sodium { --texture-muted: #4a2410; background: radial-gradient(#ffffff44 .6px,transparent .8px) 0 0/3px 3px, linear-gradient(135deg,#f9c590,#ec9655); }
.texture-sodium::after { background: repeating-linear-gradient(0deg,#8a3b0e40 0 4px,transparent 4px 19px); }
.texture-street { --texture-muted: #c9d3e6; color: #fff; background: radial-gradient(#ffffff26 .6px,transparent .8px) 0 0/3px 3px, linear-gradient(135deg,#2a3242,#10151f); }
.texture-street::after { background: repeating-linear-gradient(45deg,#f7a35c2e 0 3px,transparent 3px 21px); }
.texture-moon { --texture-muted: #dbe4f5; color: #fff; background: radial-gradient(#ffffff2e .6px,transparent .8px) 0 0/3px 3px, linear-gradient(150deg,#2a3d6b,#5d78b3); }
.texture-moon::after { background: repeating-linear-gradient(0deg,#f7a35c38 0 3px,transparent 3px 17px); }
.texture-dusk { --texture-muted: #dfe5f0; color: #fff; background: radial-gradient(#ffffff26 .6px,transparent .8px) 0 0/3px 3px, linear-gradient(160deg,#0d1b36 25%,#2a3d6b 62%,#fb631b); }

@media (max-width: 1200px) {
  .platform-row { grid-template-columns: minmax(0,1fr); }
  .platform-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 16px; padding-block: 18px; border-inline: 0; border-block: 1px solid var(--line); }
  .platform-copy-nav { margin-top: 0; }
  .hero-composition { gap: 28px; }
  .faq { grid-template-columns: 240px minmax(0,1fr); gap: 28px; }
  .container { width: calc(100% - 88px); }
  body::before { inset-inline: 24px; }
  .nav-links { font-size: 13px; gap: 20px; }
  .stage-subtitle { display: none; }
  .footer-grid { grid-template-columns: 1.45fr 1fr 1fr 1fr; }
  .footer-column { padding-inline: 18px; }
  .footer-column a { font-size: 13px; }
  .footer-topline>.mono { display: none; }
  .footer-topline .button { margin-left: auto; }
}
@media (max-width: 800px) {
  .nav { gap: 18px; }
  .hero-composition { grid-template-columns: 1fr; gap: 20px; }
  h1, .hero-title { font-size: 42px; }
  .hero-content { display: flex; gap: 25px; align-items: center; justify-content: space-between; }
  .hero-description { font-size: 15px; }
  .hero-actions { margin-top: 0; gap: 12px; }
  .hero-actions .button { font-size: 11px; gap: 12px; }
  .hero-secondary { font-size: 11px; }
  .stage-subtitle { display: none; }
  .how-copy>p { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .faq { grid-template-columns: 1fr; padding-block: 36px; gap: 24px; }
  .faq>div:first-child { border: 0; padding: 0; }
  .container { width: calc(100% - 56px); }
  body::before { inset-inline: 14px; }
  .nav-links { gap: 16px; font-size: 12px; }
  .brand { font-size: 36px; }
  .nav-cta { font-size: 12px; gap: 10px; padding-inline: 12px; }
  .nav-login { font-size: 12px; padding-inline: 12px; }
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 40px; min-height: 0; row-gap: 45px; }
  .footer-identity { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0 30px; }
  .footer-intro { grid-column: 1; margin: 20px 0 0; font-size: 24px; }
  .footer-invitation { grid-column: 2; grid-row: 1 / span 2; }
  .footer-column { padding-bottom: 35px; }
  .footer-column:nth-child(2) { border-left: 0; padding-left: 24px; }
  .footer-legal { flex-wrap: wrap; min-height: 115px; column-gap: 20px; font-size: 11px; }
  .footer-preview { width: 100%; }
  .footer-legal>span:last-child { margin-left: auto; }
}
/* Four links, Log in and Apply no longer fit: the links and Log in move into the menu. */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; min-height: 36px; font-size: 11px; }
  .nav-cta .keycap { display: none; }
  .nav-login { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; border: 0; background: transparent; min-width: 44px; min-height: 44px; padding: 0; }
  .menu-toggle span { height: 1px; width: 18px; background: #222; }
  .mobile-menu a { font: 14px var(--font); color: #444; padding: 14px 0; }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; margin-inline: 28px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .nav { min-height: 70px; padding-block: 12px; gap: 15px; }
  .hero { padding-top: 22px; }
  .hero-kicker { font-size: 11px; letter-spacing: .02em; }
  .hero-composition { padding-block: 17px 22px; gap: 18px; }
  h1, .hero-title { font-size: clamp(32px,7.8vw,40px); }
  .hero-subtitle { font-size: 25px; margin-top: 11px; }
  .hero-subtitle>span { display: inline; }
  .hero-content { display: block; }
  .hero-description { font-size: 15px; }
  .hero-description br { display: none; }
  .hero-actions { margin-top: 18px; gap: 18px; }
  .hero-actions .button { min-height: 42px; font-size: 11px; padding-inline: 12px; }
  .hero-baseline { font-size: 9px; padding-block: 12px; }
  .hero-baseline a { font-size: 0; gap: 0; }
  .hero-baseline a span { font-size: 15px; }
  .product-stage { padding: 67px 10px 65px; }
  .stage-caption { top: 18px; left: 12px; }
  .stage-title { font-size: 23px; }
  .stage-corner { top: 18px; right: 12px; font-size: 8px; }
  .stage-bottom { left: 10px; right: 10px; bottom: 11px; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 8px; }
  .platform-copy { grid-template-columns: 1fr; padding-inline: 12px; gap: 22px; }
  .platform-copy h2 { font-size: 24px; }
  .platform-copy-nav { margin: 0; }
  .how-copy>p { margin: 14px 0 18px; }
  .faq h2 { font-size: 28px; }
  summary { padding-block: 16px; gap: 12px; font-size: 15px; }
  .container { width: calc(100% - 40px); }
  body::before { inset-inline: 9px; }
  .announcement-bar { margin-top: 9px; padding: 6px 8px; font-size: 11px; text-align: center; line-height: 1.7; }
  .nav .brand { font-size: 34px; }
  .mobile-menu:not([hidden]) { margin-inline: 20px; }
  .shot-tabs { margin-inline: -10px; padding-inline: 10px; }
  .shot-tabs>button { min-height: 32px; font-size: 11px; }
  .platform-footnote { display: none; }
  summary .question-number { min-width: 20px; font-size: 10px; }
  details>p { font-size: 15px; padding-left: 32px; padding-right: 10px; }
  .footer-topline { padding-inline: 16px; gap: 15px; }
  .footer-topline .brand { font-size: 30px; }
  .footer-topline .button { font-size: 9px; padding-inline: 10px; gap: 9px; }
  .footer-topline .keycap { width: 15px; height: 17px; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-identity { padding-inline: 16px; grid-template-columns: 1fr; gap: 0; }
  .footer-intro { font-size: 27px; margin: 24px 0 28px; }
  .footer-invitation { grid-column: 1; grid-row: auto; }
  .footer-invitation a { max-width: none; }
  .footer-column { padding: 0 16px 25px; }
  .footer-column:nth-child(2) { padding-left: 16px; }
  .footer-column:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e7e7e4; padding-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-detail { margin-top: 0; }
  .footer-column a { font-size: 13px; padding-block: 6px; margin-bottom: 4px; }
  .footer-column h3, .footer-label { font-size: 11px; }
  .footer-detail p { font-size: 12px; }
  .footer-legal { padding: 24px 16px; font-size: 10px; border-top: 1px solid #e7e7e4; row-gap: 20px; }
  .footer-wordmark { padding-inline: 16px; }
}
/* Narrow phones (up to 413px): the logo, beta button, and menu button fit on one line. */
@media (max-width: 413px) {
  .nav { gap: 8px; }
  .nav .brand { font-size: 26px; }
  .nav-cta { padding-inline: 9px; font-size: 10px; }
  .menu-toggle { min-width: 32px; }
  .footer-topline { flex-wrap: wrap; }
}
@media (max-width: 340px) {
  .nav .brand { font-size: 24px; }
}

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