/* iCay, in the manner of Apple's product pages: system type (SF on Apple devices), #1d1d1f ink, #f5f5f7 grey
   sections, black feature sections, Apple blue for actions, very large imagery, short centred statements. */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --grey: #f5f5f7;
  --blue: #0071e3;
  --link: #0066cc;
  --link-dark: #2997ff;
  --radius: 28px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --w: min(980px, 100% - 44px);
  --wide: min(1260px, 100% - 44px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }
:root { --nav: 68px; }
@media (max-width: 600px) { :root { --nav: 56px; } }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); background: #fff;
  font-size: 17px; line-height: 1.47; letter-spacing: -.022em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Nav (Syam's reference): name left, sections centred, a black pill right, no rule underneath ---------- */
.localnav { position: sticky; top: 0; z-index: 50; height: var(--nav); background: rgba(251,251,253,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.ln-inner { width: min(1160px, 100% - 44px); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ln-title { justify-self: start; display: flex; align-items: center; min-height: 44px; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.ln-title:hover { text-decoration: none; }
.ln-title img { width: 34px; height: 34px; border-radius: 9px; }
.ln-links { display: flex; align-items: center; gap: 45px; font-size: 15px; letter-spacing: -.01em; }
.ln-links a { color: var(--ink); opacity: .85; }
.ln-links a:hover { opacity: 1; text-decoration: none; }
.ln-cta { justify-self: end; display: inline-flex; align-items: center; height: 37px; padding: 0 19px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 600px) {
  .ln-title { font-size: 19px; gap: 8px; }
  .ln-title img { width: 28px; height: 28px; border-radius: 7px; }
  .ln-cta { height: 32px; padding: 0 14px; font-size: 14px; }
}

/* ---------- Shared type ---------- */
.eyebrow { font-size: 21px; font-weight: 600; letter-spacing: .011em; }
h1 { font-size: clamp(44px, min(7.4vw, 10.5vh), 96px); line-height: 1.05; font-weight: 700; letter-spacing: -.015em; } /* a little smaller on short windows */
.big { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.06; font-weight: 700; letter-spacing: -.015em; }
.section-head { width: var(--wide); margin: 0 auto; font-size: clamp(32px, 4vw, 56px); font-weight: 700; letter-spacing: -.005em; line-height: 1.07; }
.lede { max-width: 680px; margin: 22px auto 0; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.38; letter-spacing: .011em; color: var(--ink-2); font-weight: 400; }
.pill { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 980px; font-size: 17px; }
.pill.blue { background: var(--blue); color: #fff; }
.link { display: inline-block; font-size: 17px; padding: 10px 0; margin: -10px 0; } /* a 44px tap, same line */
.link::after { content: " \203A"; }

/* ---------- Hero ---------- */
.hero, .feature, .closing { padding-left: 22px !important; padding-right: 22px !important; }
/* Built to Syam's reference (2026-11-18): an off-white first screen with soft silk waves, a grey name badge, a tight
   two-tone headline ("notch." in a grey that darkens to the right, "wide awake." black with a soft sheen), a medium
   grey line, a black pill with the Apple mark and an outline "Learn more →", then the shut Mac and four features. */
.hero { position: relative; text-align: center; padding: clamp(24px, min(3vw, 4.6vh), 44px) 0 0; }
.hero > .hero-waves { position: absolute; z-index: 0; left: 0; top: 0; width: 100%; height: calc(100svh - var(--nav)); pointer-events: none;
  /* fade into the page's white at the bottom, so no edge shows behind the pinned Mac */
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 21px 0 18px; border-radius: 980px; background: #f0f0f3; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.hero-badge svg { width: 26px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.hero h1 { margin-top: clamp(14px, 2.2vh, 22px); font-size: clamp(44px, min(5.6vw, 10.6vh), 100px); line-height: .9; letter-spacing: -.035em; color: #1d1d21; }
.h-soft, .h-deep { -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-soft { background-image: linear-gradient(90deg, #6a6a6e, #3a3a3d); }
.h-deep { background-image: linear-gradient(90deg, #1b1b1d 0%, #2b2b2e 30%, #4a4a4e 56%, #232325 86%); }
.hero-sub { margin: clamp(14px, 2.4vh, 24px) auto 0; font-size: clamp(19px, 1.5vw, 26px); line-height: 1.28; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); }
.hero-cta { margin-top: clamp(20px, 3.6vh, 36px); display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 980px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.btn svg { width: 19px; height: 19px; fill: currentColor; margin-top: -3px; }
.btn.dark { background: var(--blue); color: #fff; transition: background .2s; } /* Apple blue, as Syam asked ("i need this color") */
.btn.dark:hover { background: #0077ed; }
.btn.ghost { background: #fff; color: var(--link); border: 1px solid #d9d9de; padding: 0 25px; transition: border-color .2s; }
.btn.ghost:hover { text-decoration: none; border-color: #a9a9b0; }

/* The four features sit along the bottom of the first screen (100px up from it), over the waves, and fade with the
   first 80px of scroll so they're gone before the Mac pins and opens. Phones and the still page put them in the flow
   after the Mac instead. */
.hero > .hero-feats { position: absolute; z-index: 1; left: 50%; top: calc(100svh - var(--nav) - 100px); transform: translateX(-50%);
  width: min(1160px, 100% - 44px); list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; }
.hero-feats li { display: flex; align-items: center; gap: 20px; padding: 2px 0 2px 28px; border-left: 1px solid #e6e6eb; min-width: 0; }
.hero-feats li:first-child { border-left: 0; padding-left: 0; }
.feat-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #f2f2f4; }
.feat-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.hero-feats p { font-size: 14px; line-height: 1.35; color: var(--ink-2); letter-spacing: -.01em; }
.hero-feats b { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.mac-scroll.done + .hero-feats { position: relative; left: auto; top: auto; transform: none; margin: 48px auto 0; }
@media (max-width: 900px) {
  .hero > .hero-feats, .mac-scroll.done + .hero-feats { position: relative; left: auto; top: auto; transform: none; margin: 40px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; opacity: 1 !important; visibility: visible !important; }
  .hero-feats li, .hero-feats li:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) { .hero > .hero-feats { grid-template-columns: 1fr; } }
/* Short windows: the features go after the Mac too, so the shut Mac keeps its size on the first screen. */
@media (min-width: 901px) and (max-height: 760px) {
  .hero > .hero-feats { position: relative; left: auto; top: auto; transform: none; margin: 48px auto 0; opacity: 1 !important; visibility: visible !important; }
}
@media (max-width: 600px) { .hero-sub br { display: none; } }
/* The MacBook opening, rendered frames on the page's white, driven by the scroll. The shut Mac sits in the bottom
   half of each frame, so the frames start half a Mac higher, under the hero's words (which stay on top; the frames'
   top half is plain white until the lid rises, and it rises behind words already leaving). The Mac pins in the
   middle of the screen (below the 52px nav) while the .mac-pin spacer scrolls past under it, and the lid opens over
   that distance. Fully open, a sharper still (2800 px) fades in over the frames. Reduced motion and screenshots get
   only the still, no overlap and no pin. The edges are masked softly so the frames' white can never show as a box. */
.hero > :is(.hero-badge, h1, .hero-sub, .hero-cta) { position: relative; z-index: 1; }
/* As wide as fits, and never taller than the screen under the nav, so a short laptop window still shows the whole Mac
   while it pins. */
/* On load the shut Mac (54.3% to 80.1% of the frame's height) sits 28px under the buttons and must end above the
   fold: --hero-end is where the buttons end on the page (set by main.js), so the width is also held to what that
   leaves of the first screen. */
/* --feat-room keeps the shut Mac clear of the features row along the bottom of the first screen (desktop only). */
.mac-scroll { --feat-room: 135px;
  /* Fit the shut Mac on the first screen where there's room; on a short screen (a phone on its side) that would
     shrink it to a sliver, so it keeps at least 520px (still under the screen height) and starts below the fold. */
  --mac-w: min(1200px, 100vw - 44px, (100vh - var(--nav) - 20px) * 1.5, max((100vh - var(--feat-room) - var(--hero-end, 540px)) / .258 * 1.5, 520px));
  --mac-h: calc(var(--mac-w) * .667);
  margin-top: calc(32px - var(--mac-h) * .543); }
@media (max-width: 900px), (max-height: 760px) { .mac-scroll { --feat-room: 40px; } }
.mac-pin { height: 110vh; }
.mac-video { position: sticky; top: max(calc(var(--nav) + 12px), calc((100vh + var(--nav) - var(--mac-h)) / 2));
  width: min(var(--mac-w), 100%); aspect-ratio: 2000 / 1334; margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(0deg, transparent, #000 2.5%, #000 97.5%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(0deg, transparent, #000 2.5%, #000 97.5%, transparent);
  mask-composite: intersect;
  /* The frames' white is exactly the page's white, so multiplying lets the hero's words show through it even where a
     browser composites the sticky, masked Mac over them (Syam's Chrome did, and the frame's white hid the headline). */
  mix-blend-mode: multiply; }
.mac-video canvas, .mac-video img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mac-video .mv-end { opacity: 0; transition: opacity .45s ease; }
.mac-video.ended .mv-end, .mac-video.done .mv-end { opacity: 1; }
.mac-video.done canvas, .mac-video.done .mv-start { display: none; }
.mac-video.done .mv-end { transition: none; }
.mac-scroll.done { margin-top: clamp(16px, 3vw, 36px); }
.mac-scroll.done .mac-video { position: relative; top: auto; }
.mac-scroll.done .mac-pin { display: none; }
@media (max-width: 600px) { .mac-pin { height: 60svh; } }

/* ---------- The essentials: four facts, icon above, bold lead-in ---------- */
.know { padding: clamp(88px, 12vw, 150px) 22px 0; }
.section-head.center { text-align: center; }
.facts { width: min(980px, 100%); margin: clamp(36px, 5vw, 56px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.fact .ic { width: 30px; height: 30px; }
.fact p { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-2); letter-spacing: -.01em; }
.fact b { color: var(--ink); font-weight: 600; }
.ic, .fic, .note-ic { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Highlights: cards play on their own, 6 s each ---------- */
.hl-wrap { padding: clamp(88px, 12vw, 150px) 0 clamp(80px, 10vw, 120px); }
.hl-track { margin-top: 40px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none;
  padding: 0 max(22px, calc((100vw - 1060px) / 2)); scroll-padding: 0 max(22px, calc((100vw - 1060px) / 2)); }
.hl-track::-webkit-scrollbar { display: none; }
.hl-card { flex: 0 0 min(1060px, 100vw - 44px); scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, .64fr);
  align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(28px, 3.5vw, 48px); border-radius: var(--radius); background: var(--grey); }
.hl-copy p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; font-weight: 600; letter-spacing: .004em; color: var(--ink-2); }
.hl-copy b { color: var(--ink); font-weight: 600; }
.hl-card:not(.cur) .hl-copy { opacity: .35; transition: opacity .6s var(--ease); }
.hl-card.cur .hl-copy { opacity: 1; transition: opacity .6s var(--ease); }
.hl-media img { width: 100%; border-radius: 16px; mix-blend-mode: multiply; } /* the studio white turns card grey */
.hl-ctl { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 14px; }
/* Each dot is a 32px-wide, bar-tall button (a comfortable tap) that draws its 8px dot in the middle. */
.hl-dots { display: flex; align-items: center; gap: 0; height: 56px; padding: 0 10px; border-radius: 999px; background: #e8e8ed; }
.hl-dots button { all: unset; position: relative; width: 32px; height: 56px; cursor: pointer; transition: width .4s var(--ease); }
.hl-dots button::before, .hl-dots button i { content: ""; position: absolute; left: 12px; top: 24px; height: 8px; border-radius: 99px; }
.hl-dots button::before { right: 12px; background: #aeaeb2; transition: background .3s; }
.hl-dots button[aria-current="true"] { width: 72px; }
.hl-dots button[aria-current="true"]::before { background: #c7c7cc; }
.hl-dots button:focus-visible { outline: none; }
.hl-dots button:focus-visible::before { outline: 2px solid var(--blue); outline-offset: 3px; }
.hl-dots button i { width: 0; background: var(--ink); }
.hl-dots button[aria-current="true"] i { animation: hlfill 6s linear forwards; animation-play-state: paused; }
.hl-wrap.playing .hl-dots button[aria-current="true"] i { animation-play-state: running; }
.hl-wrap:not(.playing) .hl-dots button[aria-current="true"] i { width: calc(100% - 24px); animation: none; }
@keyframes hlfill { to { width: calc(100% - 24px); } }
.hl-play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #e8e8ed; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.hl-play:hover { background: #dcdce1; }
.hl-play svg { width: 12px; height: 14px; fill: currentColor; }
.hl-play .ico-play, .hl-play.paused .ico-pause { display: none; }
.hl-play.paused .ico-play { display: block; }

/* ---------- Feature sections ---------- */
.feature { text-align: center; padding: clamp(88px, 12vw, 160px) 0 clamp(80px, 11vw, 140px); }
.feature .eyebrow { color: var(--ink-2); }
.feature .big { margin-top: 8px; }
.feature.dark { background: #000; color: #f5f5f7; }
.feature.dark .eyebrow, .feature.dark .lede { color: #86868b; }
/* Portal on black: the stage first, then the words; bold phrases light up white inside the grey lede. */
.portal .stage { display: block; width: min(1260px, 100%); margin: 0 auto clamp(12px, 2.5vw, 32px); }
.feature.dark .lede b { color: #f5f5f7; font-weight: 600; }
.specs { width: min(980px, 100%); margin: clamp(48px, 6vw, 72px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); text-align: left; }
.spec .ic { width: 30px; height: 30px; color: #f5f5f7; }
.spec p { margin-top: 14px; font-size: 15px; line-height: 1.45; color: #86868b; }
.spec b { color: #f5f5f7; font-weight: 600; }
/* Everything iCay does: a pill that opens three columns of features. */
.more { margin-top: clamp(48px, 6vw, 72px); }
.more-toggle { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 8px 0 24px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1);
  color: #f5f5f7; font: inherit; font-size: 17px; cursor: pointer; transition: background .3s; }
.more-toggle:hover { background: rgba(255,255,255,.16); }
.more-toggle i { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); transition: transform .45s var(--ease); }
.more-toggle i::before, .more-toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 2.2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); }
.more-toggle i::after { transform: translate(-50%, -50%) rotate(90deg); }
.more-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.more-list { overflow: hidden; transition: height .6s var(--ease); }
.more-inner { width: min(980px, 100%); margin: 0 auto; padding-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); text-align: left; }
.more-group h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #86868b; margin-bottom: 14px; }
.more-group ul { list-style: none; padding: 0; }
.more-group li { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.12); }
.more-group li b { display: block; font-size: 16px; font-weight: 600; color: #f5f5f7; }
.more-group li span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: #86868b; }

/* ---------- Face ID: a three-line statement, cards that open with +, and the honest note ---------- */
.faceid { background: #000; color: #f5f5f7; padding: clamp(40px, 6vw, 80px) 22px clamp(100px, 13vw, 160px); }
.fid-in { width: min(1060px, 100%); margin: 0 auto; }
.fid-head { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.fid-head span { color: #6e6e73; }
.fid-cards { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fid-card { position: relative; min-height: 250px; padding: 30px 30px 76px; border-radius: 26px; background: #1c1c1e; overflow: hidden; }
.fic { width: 40px; height: 40px; color: var(--link-dark); stroke-width: 1.6; }
.fid-card h3 { margin-top: 22px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--link-dark); }
.fid-card .fid-face p { margin-top: 4px; font-size: 17px; line-height: 1.35; font-weight: 600; color: #f5f5f7; }
.fid-more { position: absolute; inset: 0; padding: 30px 30px 76px; font-size: 16px; line-height: 1.5; font-weight: 500; color: #a1a1a6; background: #1c1c1e;
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.fid-card.open .fid-more { opacity: 1; transform: none; }
.fid-plus { position: absolute; right: 22px; bottom: 22px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #d2d2d7; cursor: pointer; z-index: 1; transition: transform .45s var(--ease), background .3s; }
.fid-plus:hover { background: #fff; }
.fid-plus i::before, .fid-plus i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2.2px; border-radius: 2px; background: #1d1d1f; transform: translate(-50%, -50%); }
.fid-plus i::after { transform: translate(-50%, -50%) rotate(90deg); }
.fid-card.open .fid-plus { transform: rotate(45deg); }
.fid-note { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 3.5vw, 40px) clamp(26px, 4vw, 48px); border-radius: 26px; background: var(--blue); color: #fff; }
.note-ic { width: 44px; height: 44px; stroke-width: 1.6; }
.note-head { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.note-body { font-size: 17px; line-height: 1.4; font-weight: 500; color: rgba(255,255,255,.82); }

/* ---------- Closing ---------- */
.closing { text-align: center; padding: clamp(80px, 11vw, 140px) 0 clamp(80px, 10vw, 120px); }
.app-icon { margin: 0 auto 22px; border-radius: 22%; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.req { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* ---------- Footer: fine print, then the name, huge and faded, running off the bottom ---------- */
footer { background: var(--grey); padding: 18px 0 0; overflow: hidden; }
.f-inner { width: var(--w); margin: 0 auto; font-size: 12px; line-height: 1.33; letter-spacing: -.01em; color: var(--ink-2); }
.fine { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.fine + .fine { border-bottom: 0; }
.f-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.1); }
.wordmark { margin: clamp(28px, 5vw, 56px) auto -.24em; width: max-content; font-size: clamp(120px, 24vw, 360px); line-height: 1; font-weight: 800; letter-spacing: -.055em;
  background: linear-gradient(#e3e3e8, rgba(245,245,247,0) 82%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.still .reveal { opacity: 1; transform: none; transition: none; }

.still .hl-card .hl-copy, .still .fid-more, .still .more-list { transition: none !important; }

/* ---------- Smaller screens ---------- */
@media (max-width: 900px) {
  .ln-links a { display: none; }
  .facts, .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .hl-card { grid-template-columns: 1fr; align-items: start; }
  .fid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fid-note { grid-template-columns: auto minmax(0, 1fr); }
  .note-body { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .more-inner { grid-template-columns: 1fr; }
  .fid-cards { grid-template-columns: 1fr; }
  .fid-card { min-height: 200px; }
  .hl-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Line the highlights' heading up with its cards, and start the Portal band close to its stage. */
.hl-wrap .section-head { width: min(1060px, 100% - 44px); }
.feature.portal { padding-top: clamp(48px, 7vw, 96px); }
