/* Office Butler 24 – one stylesheet for the home pages, blog, legal pages and 404. */
@font-face { font-family: Jakarta; src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  color-scheme: light;
  --blue: #0b5cff; --blue-dark: #0846c7; --ink: #121a33; --muted: #4d5973; --line: #dde6f5; --tint: #eef4ff;
  --shadow: 0 10px 30px rgb(20 60 140 / 8%), 0 1px 3px rgb(20 60 140 / 6%);
  --bar-height: 68px;
  font: 100% Jakarta, system-ui, sans-serif; color: var(--ink); background: white;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bar-height) + 1px); scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
html:has(#mobile-menu[open]) { overflow: hidden; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.035em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.08rem; line-height: 1.3; }
em { color: var(--blue); font-style: normal; }
p, li { line-height: 1.6; color: var(--muted); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.i { flex: none; width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 88%); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(92%, 96rem); min-height: var(--bar-height); margin: auto; padding-block: .55rem; }
.brand { flex: none; display: inline-flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; text-decoration: none; }
.brand img { display: block; width: 4.6rem; height: auto; }
.brand span { width: 4.9em; }
.bar nav { display: flex; align-items: center; gap: .2rem; font-size: .9rem; font-weight: 600; }
.bar nav a { padding: .45rem .85rem; border-radius: 2rem; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.bar nav a:hover { background: var(--tint); }
.bar nav a[aria-current] { color: white; background: var(--blue); }
.lang-switch { display: flex; flex: none; padding: .2rem; border: 1px solid var(--line); border-radius: 2rem; background: white; font-size: .8rem; font-weight: 700; }
.lang-switch a { padding: .3rem .6rem; border-radius: 2rem; text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current] { color: white; background: var(--blue); }
.button, .header-cta, .cookie-banner button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.35rem; border: 1.5px solid transparent; border-radius: .8rem;
  background: linear-gradient(120deg, var(--blue-dark), var(--blue) 60%, #3b8cff); color: white; font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 8px 20px rgb(11 92 255 / 28%); transition: transform .15s, box-shadow .15s;
}
.button:hover, .header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgb(11 92 255 / 38%); }
.button.ghost, .cookie-banner .secondary { border-color: var(--line); background: white; color: var(--ink); box-shadow: var(--shadow); }
.header-cta { padding: .65rem 1.1rem; font-size: .9rem; }
.secondary { color: var(--blue); font-weight: 700; text-decoration: none; }
.secondary:hover { text-decoration: underline; }

/* Menu drawer (small screens; navigation.js fills it) */
.menu-trigger { display: none; }
#mobile-menu { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(22rem, 88vw); height: 100dvh; max-height: none; max-width: none; padding: 1.4rem; border: 0; border-left: 1px solid var(--line); background: white; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
#mobile-menu::backdrop { background: rgb(18 26 51 / 55%); }
.menu-heading { display: flex; align-items: center; justify-content: space-between; font-size: 1.3rem; }
.menu-heading button, .menu-trigger { -webkit-tap-highlight-color: transparent; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--blue); width: 44px; height: 44px; cursor: pointer; }
.menu-heading button { font-size: 1.7rem; }
#mobile-menu nav { display: grid; margin: 1.25rem 0; }
#mobile-menu nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
#mobile-menu .header-cta { width: 100%; }
@media (max-width: 1520px) {
  .has-menu { --bar-height: 60px; }
  .has-menu .bar nav, .has-menu .bar .header-cta { display: none; }
  .has-menu .lang-switch { margin-left: auto; }
  .has-menu .menu-trigger { display: grid; align-content: center; justify-items: center; gap: 5px; }
  .menu-trigger span { display: block; height: 2px; width: 21px; background: currentColor; }
  .menu-trigger span:last-child { width: 15px; margin-left: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  #mobile-menu[open] { animation: menu-in .2s ease-out; }
  @keyframes menu-in { from { transform: translateX(100%); } }
}

/* Sections */
main > section { padding: clamp(3rem, 6vw, 6rem) max(4%, calc((100% - 82rem) / 2)); background: linear-gradient(180deg, #f6f9ff, white 55%); }
main > section:nth-of-type(even) { background: linear-gradient(180deg, white, #f3f7ff); }
.intro { max-width: 52rem; margin: 0 auto clamp(1.6rem, 3vw, 2.8rem); text-align: center; }
.intro.left { margin-inline: 0; text-align: left; }
.intro p { margin-top: 1rem; font-size: 1.1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ''; width: 2.6rem; height: 2px; border-radius: 2px; background: var(--blue); }
.intro.left .eyebrow::before, .hero .eyebrow::before { display: none; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cards article, .questions details, .note, .glance, .blog-grid article { border: 1px solid var(--line); border-radius: 1.25rem; background: white; box-shadow: var(--shadow); }
.cards article { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: .25rem 1rem; padding: 1.25rem; }
.cards article > .i { grid-row: span 2; width: 3.1rem; height: 3.1rem; padding: .75rem; border-radius: .9rem; background: var(--tint); color: var(--blue); }
.cards article > :not(.i) { grid-column: 2; }
.cards p, .cards li { font-size: .95rem; line-height: 1.5; }
.cards.tall article { grid-template-columns: 1fr; gap: .5rem; padding: 1.6rem; }
.cards.tall article > .i { width: 3.8rem; height: 3.8rem; padding: .9rem; margin-bottom: .6rem; }
.cards.tall article > :not(.i) { grid-column: 1; }
.cards.tall h3 { font-size: 1.25rem; }
.cards.compact article { padding: 1rem; }
.cards.compact p { font-size: .9rem; }
.cards.groups { margin-top: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards.groups article { grid-column: span 2; }
.cards.groups article:nth-child(n+4) { grid-column: span 3; }
.cards.groups h3 { align-self: center; font-size: 1.25rem; }
.cards.groups article > .i { grid-row: auto; }
.cards.groups ul { grid-column: 1 / -1; margin: .6rem 0 0; padding-left: 1.2rem; }
.cards.groups li + li { margin-top: .35rem; }
.cards strong { color: var(--ink); }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split.media-left { grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); }
#portal .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.split figure img, .cta figure img, .terminal-features figure img { display: block; width: 100%; border-radius: 1.75rem; }
figure.sticky { position: sticky; top: calc(var(--bar-height) + 1.5rem); align-self: start; }
.note { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; padding: 1rem 1.25rem; font-size: .95rem; }
.note .i { color: var(--blue); }
.note strong { color: var(--ink); white-space: nowrap; }

/* The product sections share the cool light and illustrated cards of the boards. */
#start {
  --ink: #111b2d; --blue: #005cef; --line: #d8e5f3;
  --shadow: 0 10px 28px -12px rgb(47 100 165 / 28%), 0 1px 3px rgb(47 100 165 / 6%);
}
/* Wave at the foot of every section; even sections get the mirrored wave */
#start > section:not(.hero) {
  padding-bottom: clamp(5.5rem, 9vw, 9rem);
  background: url('img/wave.webp') center bottom / 100% clamp(3rem, 6vw, 6rem) no-repeat, radial-gradient(ellipse at 95% 0%, #e3effc 0%, transparent 40%), linear-gradient(145deg, white, #f3f8fe);
}
#start > section:nth-of-type(even) {
  background-image: url('img/wave-flip.webp'), radial-gradient(ellipse at 95% 0%, #e3effc 0%, transparent 40%), linear-gradient(145deg, white, #f3f8fe);
}
#start > #vorteile {
  background-image: url('img/wave-flip.webp'), radial-gradient(ellipse at 50% 0%, white, #f3f8fe), none;
}
#start .cards article, #start .questions details {
  border-color: rgb(255 255 255 / 95%); background: linear-gradient(145deg, white, #f5f8fc);
  box-shadow: var(--shadow), inset 0 0 0 1px rgb(218 231 247 / 50%);
}
#start .cards article > .i, #start .questions summary .i {
  background: linear-gradient(145deg, white 35%, #e8f2ff); box-shadow: 0 5px 10px rgb(49 116 191 / 10%); stroke-width: 1.6;
}
.cards .illustration { display: block; align-self: center; mix-blend-mode: multiply; mask-image: linear-gradient(transparent, black 6% 94%, transparent), linear-gradient(90deg, transparent, black 6% 94%, transparent); mask-composite: intersect; }
#vorteile .illustration { width: 100%; max-width: 19rem; margin: 0 auto .45rem; mask-image: radial-gradient(ellipse 58% 62%, black 76%, transparent); mask-composite: add; }
#vorteile .cards article { text-align: center; }
@media (min-width: 641px) { #vorteile .cards h3 { min-height: 2lh; align-content: center; } }
#services .split { gap: clamp(1.2rem, 2.5vw, 3rem); }
#services .cards article { grid-template-columns: clamp(3.8rem, 6vw, 6rem) minmax(0, 1fr); }
#services .illustration { grid-area: 1 / 1 / 3; width: 100%; }
#start figure img { mix-blend-mode: multiply; }
#start .button { border-radius: 1rem; }
#start .button:not(.ghost) { background: linear-gradient(#0084f7, #004ed6); box-shadow: 0 5px 16px rgb(21 97 202 / 19%); }
.module-gallery { gap: clamp(1rem, 2.5vw, 2rem); }
.module-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.75rem; }
.module-gallery figcaption { margin-top: .8rem; text-align: center; color: var(--muted); }
.terminal-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.terminal-features figure { grid-column: 1 / -1; max-width: 44rem; margin: auto; }
@media (min-width: 1101px) {
  .terminal-features { grid-template-columns: 1fr 1.65fr 1fr; align-items: center; }
  .terminal-features figure { grid-area: 1 / 2 / 4; }
  .terminal-features article:nth-of-type(odd) { grid-column: 1; }
  .terminal-features article:nth-of-type(even) { grid-column: 3; }
}

/* Hero */
main > .hero {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(2.8rem, 5vw, 5.5rem) clamp(3.8rem, 6vw, 6.5rem);
  background: #f7faff url('img/wave.webp') center bottom / 100% clamp(3rem, 6vw, 6rem) no-repeat;
}
.hero-photo { position: absolute; inset: 0 0 clamp(5.4rem, 10vw, 10rem); z-index: -1; overflow: hidden; mask-image: linear-gradient(black 83%, transparent); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fbfcff 2%, rgb(250 252 255 / 94%) 24%, rgb(250 252 255 / 78%) 36%, transparent 52%); }
.hero-copy { width: min(46%, 37rem); }
.hero h1 { font-size: clamp(2.8rem, 4.8vw, 5rem); line-height: 1.02; letter-spacing: -.05em; }
.hero h1 span { display: block; }
.hero p { max-width: 48ch; margin-top: 1.25rem; font-size: clamp(1rem, 1.25vw, 1.22rem); line-height: 1.55; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.glance { display: grid; grid-template-columns: 1.05fr 5fr; align-items: center; padding: clamp(1.2rem, 2vw, 2rem); background: rgb(255 255 255 / 96%); }
.glance h2 { font-size: clamp(1.15rem, 1.6vw, 1.55rem); }
.glance h2::after { content: ''; display: block; width: 2.8rem; height: 2px; margin-top: .8rem; background: var(--blue); }
.glance ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.glance li { display: grid; align-content: start; justify-items: center; gap: .65rem; padding-inline: .7rem; text-align: center; text-wrap: balance; font-weight: 600; line-height: 1.35; color: var(--ink); border-left: 1px solid var(--line); }
.glance .i { width: 2.5rem; height: 2.5rem; color: var(--blue); stroke-width: 1.45; }

/* Questions */
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.questions details { padding: 1.1rem 1.3rem; }
.questions summary { display: flex; align-items: center; gap: .9rem; font-weight: 700; list-style: none; cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; margin-left: auto; color: var(--blue); font-size: 1.3rem; }
.questions details[open] summary::after { content: '−'; }
.questions summary .i { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: .8rem; background: var(--tint); color: var(--blue); }
.questions p { margin: .7rem 0 0 3.5rem; }

/* Closing call to action */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: 2rem; background: linear-gradient(135deg, white, #e6efff); box-shadow: var(--shadow); }
.cta p { margin-top: 1rem; font-size: 1.15rem; }
.reach { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-weight: 700; }
.reach a { color: var(--blue); text-decoration: none; }

/* Blog: teaser row on the home page, index and posts */
.blog-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.blog-controls button, .blog-pager button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--blue); font: inherit; font-size: 1.2rem; cursor: pointer; }
.blog-controls button:first-of-type { margin-left: auto; }
.blog-controls button:disabled, .blog-pager button:disabled { opacity: .4; cursor: default; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.2rem; }
.blog-grid article { display: flex; flex-direction: column; overflow: hidden; }
.blog-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-grid article > div { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1.2rem; }
.blog-grid :is(h2, h3) { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.03em; }
.blog-grid :is(h2, h3) a { text-decoration: none; }
.blog-grid :is(h2, h3) a:hover { color: var(--blue); }
.blog-grid .secondary { margin-top: auto; }
.post time, .blog-grid time { color: var(--muted); font-size: .9rem; }
.blog-pager { display: none; }
@media (min-width: 48.01rem) {
  #blog .blog-grid {
    --visible: 4; --gap: 1.2rem;
    grid-template-columns: none; grid-auto-flow: column; gap: var(--gap); grid-auto-columns: calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: -.6rem; padding: .6rem .6rem 1.8rem; scroll-padding-inline: .6rem; /* room for the card shadows */
  }
  #blog .blog-grid::-webkit-scrollbar { display: none; }
  #blog .blog-grid article { scroll-snap-align: start; }
}
@media (min-width: 48.01rem) and (max-width: 1100px) { #blog .blog-grid { --visible: 2; } }
@media (min-width: 48.01rem) and (prefers-reduced-motion: no-preference) { #blog .blog-grid { scroll-behavior: smooth; } }
@media (max-width: 48rem) {
  .blog-controls button { display: none; }
  #blog .blog-grid, .blog-index .blog-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .blog-grid::-webkit-scrollbar { display: none; }
  .blog-grid article { min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .blog-pager { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: .85rem; }
  .blog-pager span { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
}
.blog-index .intro > .secondary { display: inline-block; margin-bottom: 1rem; }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--tint); }
.banner strong { font-size: clamp(1.15rem, 2vw, 1.5rem); }

/* Legal pages and blog posts */
.legal, article.post { width: min(92%, 48rem); margin: auto; padding: clamp(2rem, 5vw, 4.5rem) 0; }
.legal h1, .post h1 { margin: .6rem 0; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; }
.legal h2, .post h2 { margin: 2.2rem 0 .7rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.legal h3, .post h3, .post h4 { margin: 1.6rem 0 .5rem; }
.legal p, .post p, .post ul, .post ol { margin: .8rem 0; }
.legal a, .post a:not(.button) { color: var(--blue); overflow-wrap: anywhere; }
.post figure { margin: 1.5rem 0; }
.post img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 1rem; }
.post figcaption { margin-top: .4rem; font-size: .85rem; color: var(--muted); }
.post blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--blue); }

/* Footer */
footer { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem clamp(1.5rem, 4vw, 4rem); padding: clamp(2.5rem, 5vw, 4rem) max(4%, calc((100% - 82rem) / 2)) 1.5rem; background: #0d1530; color: #ffffffd9; font-size: .92rem; }
footer .brand { color: white; }
footer .brand img { filter: brightness(0) invert(1); }
.footer-brand p { max-width: 34ch; margin-top: .9rem; color: inherit; }
footer strong { display: block; margin-bottom: .55rem; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: #ffffff99; }
footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.footer-contact { font-style: normal; line-height: 1.6; }
footer a, .cookie-settings { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline transparent; transition: text-decoration-color .15s; }
footer a:hover, .cookie-settings:hover, .legal-links a[aria-current] { color: white; text-decoration-color: currentColor; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.2rem; border-top: 1px solid #ffffff26; color: #ffffff99; }

/* Cookie banner (consent.js) and overlay scrollbar (scrollbar.js) */
.cookie-banner { position: fixed; z-index: 30; left: 50%; bottom: 1rem; translate: -50% 0; width: min(92%, 44rem); display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: 1rem 1.2rem; background: white; border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: 0 12px 40px rgb(18 26 51 / 22%); }
.cookie-banner p { flex: 1 1 16rem; font-size: .9rem; line-height: 1.45; }
.cookie-banner a { color: var(--blue); }
.cookie-banner div { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner button { padding: .6rem 1.1rem; }
html.overlay-scroll { scrollbar-width: none; }
html.overlay-scroll::-webkit-scrollbar { display: none; }
.scroll-thumb { position: fixed; z-index: 40; top: 0; right: 3px; width: 6px; border-radius: 6px; background: var(--blue); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scroll-thumb.visible { opacity: .8; }

/* Smaller screens */
@media (max-width: 1100px) {
  .cards.four, .cards.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.groups article, .cards.groups article:nth-child(n+4) { grid-column: span 3; }
  .glance { grid-template-columns: 1fr; gap: 1.25rem; }
  .glance li:first-child { border-left: 0; }
}
@media (max-width: 900px) {
  .split, .split.media-left, #portal .split, .cta { grid-template-columns: 1fr; }
  main > .hero { gap: 0; padding-top: 2.5rem; }
  .hero-copy { width: min(100%, 42rem); }
  .hero-photo { position: relative; inset: auto; z-index: 0; height: clamp(13rem, 48vw, 24rem); margin: 1.5rem calc(-4vw) -1rem; mask-image: linear-gradient(transparent, black 12% 94%, transparent); }
  .hero-photo::after { display: none; }
  .hero-photo img { object-position: 75% 45%; }
  .glance { position: relative; }
  .split figure, .cta figure { max-width: 30rem; margin-inline: auto; }
  .split:not(.media-left) figure { order: -1; }
  figure.sticky { position: static; }
  footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cards.two, .cards.four, .cards.five, .questions, .terminal-features { grid-template-columns: 1fr; }
  .cards.groups article, .cards.groups article:nth-child(n+4) { grid-column: 1 / -1; }
  .hero .eyebrow { font-size: .7rem; }
  .glance ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0; }
  .glance li { font-size: .88rem; }
  .glance li:nth-child(odd) { border: 0; }
  .glance li:last-child { grid-column: 1 / -1; }
  .glance .i { width: 1.9rem; height: 1.9rem; }
  .eyebrow { letter-spacing: .14em; }
  .eyebrow::before, .eyebrow::after { display: none; }
  .note { flex-wrap: wrap; }
  .questions p { margin-left: 0; }
  .actions .button { width: 100%; white-space: normal; text-align: center; }
  h2, h3 { overflow-wrap: anywhere; }
}
