/* home.css: the academy's home page (ciphersecurity.co.il/).
   It stands on site.css (type, buttons, the form, the press cards, the
   questions) and has a look of its own, a step apart from the 8200 page:
   black and one electric blue instead of navy and cyan, a cipher disk where
   the 8200 page has the mark, and a paper zone for what a visitor reads
   before deciding (the same paper as the article pages).

   What moves is tied to a thing, never to the ground under the words: the
   disk turns and the line under the headline is read; drawings on the track
   cards are drawn once; sections step in once. Nothing loops behind text. */

/* --blue paints the solid buttons: white text on it must hold 4.5:1, so it is the deeper of the two blues */
body.home { --h-blue: #2a7dff; --h-blue-2: #6aa5ff; --blue: #1b63f5; --blue-2: #1554dc; --cyan: #6aa5ff; background: #050608; }
.home .top__nav { gap: 2px; }
/* the bar over the page: near-black whether the ground under it is black or paper */
.home .top.is-solid { background: rgba(5, 6, 8, .94); }
.home .top__link--wide { display: none; }
.home .title { letter-spacing: -0.022em; }
.home .chapter { padding-block: 64px; }

/* ── opening ───────────────────────────────────────────────────────────── */
.hm-hero { position: relative; isolation: isolate; overflow: clip; padding-block: calc(62px + 8px) 26px; display: grid; align-items: center; background: #050608; }
.hm-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(46% 34% at 50% 24%, rgba(42, 125, 255, .3), rgba(42, 125, 255, 0) 72%); }
.hm-hero__in { display: grid; grid-template-columns: 1fr; gap: 8px; }
.hm-disk { position: relative; justify-self: center; inline-size: clamp(150px, 27svh, 300px); aspect-ratio: 1; }
.hm-disk canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; }
/* the mark at the centre of the disk */
.hm-disk::after { content: ""; position: absolute; inset: 31.5%; background: url("../img/logo-mark-md.webp") center / contain no-repeat; }
/* one point circles the disk, slowly: the only thing here that keeps moving */
.hm-disk__orbit { position: absolute; inset: -1.5%; border-radius: 50%; animation: hm-orbit 46s linear infinite; }
.hm-disk__orbit::before { content: ""; position: absolute; inset-block-start: -3px; inset-inline-start: calc(50% - 3px); inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--h-blue-2); box-shadow: 0 0 12px rgba(106, 165, 255, .9); }
@keyframes hm-orbit { to { transform: rotate(360deg); } }
html.is-still .hm-disk__orbit { animation: none; }
@media (hover: hover) and (pointer: fine) { .hm-disk { cursor: grab; } .hm-disk.is-held { cursor: grabbing; } }
.js .hm-disk { opacity: 0; transform: scale(.94); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .hm-hero.is-up .hm-disk, html.is-still .hm-disk { opacity: 1; transform: none; }

.hm-hero .copy { display: grid; justify-items: start; }
.hm-h1 { font-weight: 900; font-size: clamp(33px, 9.3vw, 84px); line-height: 1.03; letter-spacing: -0.028em; text-wrap: balance; }
.hm-h1 em { font-style: normal; color: var(--h-blue-2); }
.hm-h1 .ln { display: block; overflow: hidden; padding-block: .09em; margin-block: -.09em; }
.hm-h1 .ln > span { display: block; }
/* the headline rises line by line from behind its own edge (the words are in the page from the first byte) */
@keyframes hm-line { from { transform: translateY(108%); } to { transform: none; } }
.js .hm-h1 .ln > span { animation: hm-line .95s cubic-bezier(.2, .8, .2, 1) both; }
.js .hm-h1 .ln:nth-child(2) > span { animation-delay: .1s; }
/* the line that is read: grey for what everyone teaches, white for what is taught here */
.hm-cipher { margin-block-start: 14px; font-weight: 700; font-size: clamp(19px, 5.2vw, 28px); line-height: 1.32; color: #9aa4b5; }
.hm-cipher__k { color: #fff; white-space: nowrap; }
.hm-cipher .cw { position: relative; display: inline-block; }
/* while the disk is still turning, the word shows as the disk has it; the true word stays in the page */
.hm-cipher .cw[data-s] { color: transparent; }
.hm-cipher .cw[data-s]::after { content: attr(data-s); content: attr(data-s) / ""; position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: var(--h-blue-2); }
.hm-hero .lead { margin-block-start: 10px; color: #b9c1ce; }
.hm-hero .lead strong { color: #fff; }
.hm-hero__acts { display: grid; grid-template-columns: 1fr; gap: 10px; inline-size: 100%; margin-block-start: 20px; }
.hm-hero__acts .btn--solid svg { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.hm-hero__acts .btn--solid:hover svg { transform: translateX(-4px); }
/* the words under the headline step in; if the script never runs, they are shown after a moment anyway */
@keyframes hm-show { to { opacity: 1; transform: none; } }
.js .hm-hero .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); animation: hm-show .01s 3.4s forwards; }
.js .hm-hero.is-up .rise { opacity: 1; transform: none; }
.js .hm-hero.is-up .rise:nth-of-type(2) { transition-delay: .08s; }
.js .hm-hero.is-up .hm-hero__acts { transition-delay: .16s; }
html.is-still .hm-hero .rise { opacity: 1; transform: none; }

/* ── what the lab found: six names, each a public record ───────────────── */
.hm-found { padding-block: 22px 24px; border-block: 1px solid rgba(255, 255, 255, .08); background: #07090d; }
.hm-found__say { font-size: 15.5px; color: #aab3c2; }
.hm-found__list { list-style: none; margin: 10px -8px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 0; }
.hm-found__list a { display: grid; gap: 1px; min-block-size: 58px; align-content: center; padding: 8px; text-decoration: none; border-radius: 12px; transition: background-color .25s; }
.hm-found__list b { display: block; text-align: right; font-weight: 900; font-size: clamp(19px, 5.4vw, 30px); line-height: 1.15; letter-spacing: -0.01em; color: #eef1f6; }
.hm-found__list span { display: block; text-align: right; font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; line-height: 1.4; color: #8792a6; transition: color .25s; }
.hm-found__list a:hover { background: rgba(42, 125, 255, .14); }
.hm-found__list a:hover span { color: #b9d4ff; }
.hm-found__list a:focus-visible { outline: 2px solid var(--h-blue-2); outline-offset: 2px; }
.hm-found__note { margin-block-start: 8px; font-size: 13.5px; color: #8d97a8; }

/* ── the three tracks ──────────────────────────────────────────────────── */
.hm-tracks { background: #050608; }
.trks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.trk { position: relative; display: flex; flex-direction: column; gap: 10px; block-size: 100%; padding: 0 20px 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; background: #0a0c11; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
/* a light that follows the pointer across a card (a mouse only) */
.trk::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(42, 125, 255, .2), rgba(42, 125, 255, 0) 70%); }
@media (hover: hover) { .trk:hover { border-color: rgba(106, 165, 255, .5); transform: translateY(-3px); } .trk:hover::before { opacity: 1; } }
.trk--open { border-color: rgba(42, 125, 255, .7); background: linear-gradient(180deg, #0c1730, #080b12 62%); }
.trk__art { position: relative; margin-inline: -20px; padding: 14px 20px 4px; border-block-end: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
.trk__art svg { display: block; inline-size: 100%; max-inline-size: 300px; block-size: 108px; margin-inline: auto; stroke: rgba(238, 241, 246, .78); stroke-width: 1.6; }
.trk:not(.trk--open) .trk__art svg { stroke: rgba(238, 241, 246, .5); }
.trk__art .node { fill: var(--h-blue-2); stroke: none; }
.trk__art .probe { stroke: var(--h-blue-2); stroke-dasharray: 3 6; }
.trk__art .way { stroke: var(--h-blue-2); stroke-width: 2; }
.trk__art .bytes rect { fill: var(--h-blue-2); stroke: none; opacity: .28; }
.trk__art .bytes rect:nth-child(3n+1) { opacity: .85; }
.trk__art .bytes rect:nth-child(4n+2) { opacity: .55; }
/* the drawings are drawn once, when the card arrives */
.trk__art .d { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .trk[data-rv]:not(.is-in) .trk__art .d { stroke-dashoffset: 1; }
.js .trk[data-rv]:not(.is-in) .trk__art :is(.node, .way, .probe, .bytes) { opacity: 0; }
.trk__art .d { transition: stroke-dashoffset 1.1s cubic-bezier(.3, .6, .2, 1) .15s; }
.trk__art .d2 { transition-delay: .3s; } .trk__art .d3 { transition-delay: .45s; } .trk__art .d4 { transition-delay: .6s; } .trk__art .d5 { transition-delay: .75s; }
.trk__art :is(.node, .way, .probe, .bytes) { transition: opacity .6s ease .7s; }
/* the open track's probe goes down through the layers, and back: a slow, small move */
@keyframes trk-probe { 0%, 12% { transform: translateY(0); } 50%, 62% { transform: translateY(38px); } 100% { transform: translateY(0); } }
.trk--open.is-in .trk__art .node { animation: trk-probe 5.2s cubic-bezier(.5, 0, .3, 1) 1.4s infinite; }
@keyframes trk-way { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
.trk:not(.trk--open).is-in .trk__art .way { animation: trk-way 3.6s ease-in-out 1.4s infinite; }
html.is-still .trk__art * { animation: none !important; }
.trk__state { margin-block-start: 8px; font-weight: 700; font-size: 15px; color: #aab3c2; }
.trk--open .trk__state { color: #9cc3ff; }
.trk__t { font-weight: 900; font-size: clamp(22px, 5.8vw, 27px); line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; }
.trk__t em { font-style: normal; color: var(--h-blue-2); }
.trk p { color: var(--mute); }
.trk__facts { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; color: var(--bone); font-weight: 500; }
.trk__facts li { position: relative; padding-inline-start: 18px; }
.trk__facts li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; inline-size: 7px; block-size: 7px; background: var(--h-blue-2); }
.trk__acts { display: grid; gap: 4px; margin-block-start: auto; padding-block-start: 10px; }
.trk__acts .btn { inline-size: 100%; }
.trk__acts .link { justify-content: center; }

/* ── the research behind it ────────────────────────────────────────────── */
.hm-lab { background: #07090d; border-block-start: 1px solid rgba(255, 255, 255, .06); }
.hm-proof__say { margin-block-start: 16px; display: grid; gap: 12px; max-inline-size: 40em; color: var(--mute); }
.hm-proof__say strong { color: var(--bone); font-weight: 700; }
.home .news { margin-block-start: 26px; }
.home .news__head em, .home .news__go { color: var(--h-blue-2); }

/* ── who is behind it ──────────────────────────────────────────────────── */
.hm-who { background: #050608; padding-block-end: 96px !important; }
.whos { margin-block-start: 26px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.who { display: grid; grid-template-columns: 84px 1fr; gap: 4px 16px; align-items: center; padding: 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; background: #0a0c11; }
.who > div:not(.who__pic) { display: contents; }
.who__pic { grid-row: 1 / span 2; inline-size: 84px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #10141c; }
.who__n { align-self: end; }
.who__role { align-self: start; }
.who p.who__say, .who .link { grid-column: 1 / -1; }
/* a phone: the round picture is drawn in close on the face; the book stands upright as a book */
.who__pic img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.95); transform-origin: 52% 3%; }
.who__pic--book { inline-size: 62px; aspect-ratio: 240 / 296; border-radius: 6px; justify-self: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.who__pic--book img { object-position: 50% 50%; transform: none; }
.who__n { font-weight: 900; font-size: clamp(21px, 5.6vw, 26px); line-height: 1.2; }
.who__n em { font-style: normal; color: #fff; }
.who__role { margin-block-start: 0; font-weight: 500; font-size: 15.5px; line-height: 1.45; color: #c9d0dc; }
.who p.who__say { margin-block-start: 12px; color: var(--mute); }
.who .link { margin-block-start: 2px; justify-self: start; }

/* ── the paper zone: how we teach, the guides, the questions ───────────── */
.hm-paper { --bone: #10141c; --mute: #2f3644; --line: rgba(16, 20, 28, .3); --faint: rgba(16, 20, 28, .14); --cyan: #1a4fd6; --accent: #1a4fd6; --rule: #d8d4c8; --card: #fffefb; position: relative; z-index: 1; margin-block-start: -32px; border-radius: 32px 32px 0 0; background: #f5f3ed; color: var(--bone); }
html.a11y-contrast .hm-paper { --mute: #000; --bone: #000; --line: rgba(0, 0, 0, .75); --faint: rgba(0, 0, 0, .45); --accent: #0b2f9c; --cyan: #0b2f9c; background: #fff; }
.hm-paper .chapter { background: none; border: 0; }
.hm-paper .title em { color: inherit; padding-inline: 3px; margin-inline: -3px; background: linear-gradient(transparent 60%, rgba(42, 125, 255, .24) 60%, rgba(42, 125, 255, .24) 93%, transparent 93%) no-repeat right center / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .8s cubic-bezier(.2, .7, .2, 1) .25s; }
.js .hm-paper .title[data-rv]:not(.is-in) em { background-size: 0% 100%; }
.hm-paper .lead { color: var(--mute); }
.hm-paper .link { color: var(--accent); text-decoration-color: rgba(26, 79, 214, .4); }
.hm-why { display: grid; grid-template-columns: 1fr; gap: 8px; }
.whys { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-block-start: 2px solid #10141c; }
.whys li { padding-block: 18px; border-block-end: 1px solid var(--rule); }
.whys h3 { font-weight: 900; font-size: clamp(20px, 5.2vw, 23px); line-height: 1.3; }
.whys h3 em { font-style: normal; color: var(--accent); }
.whys p { margin-block-start: 6px; color: var(--mute); max-inline-size: 36em; }
/* the guides: an index of articles, as a magazine lists them */
.hm-paper .rel { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-block-start: 2px solid #10141c; }
.hm-paper .rel a { position: relative; display: grid; gap: 3px; padding: 16px 0 16px 40px; border: 0; border-block-end: 1px solid var(--rule); border-radius: 0; background: none; text-decoration: none; transition: padding .3s cubic-bezier(.2, .7, .2, 1), background-color .3s; }
.hm-paper .rel a::after { content: ""; position: absolute; inset-inline-end: 6px; inset-block-start: calc(50% - 9px); inline-size: 18px; block-size: 18px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4fd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 12H5m6-6-6 6 6 6'/></svg>") center / contain no-repeat; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.hm-paper .rel a:hover { padding-inline-start: 10px; background: rgba(42, 125, 255, .06); }
.hm-paper .rel a:hover::after { transform: translateX(-5px); }
.hm-paper .rel b { font-family: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif; font-weight: 700; font-size: clamp(19px, 5vw, 22px); line-height: 1.3; color: var(--bone); }
.hm-paper .rel a:hover b { color: var(--accent); }
.hm-paper .rel span { color: #4a5262; font-size: 15.5px; line-height: 1.5; }
/* the questions, on paper */
.hm-paper .faq details { border-color: var(--rule); background: var(--card); }
.hm-paper .faq details[open] { border-color: var(--accent); background: #fff; box-shadow: 0 12px 34px -20px rgba(26, 79, 214, .5); }
.hm-paper .faq summary { color: var(--bone); }
.hm-paper .faq summary:hover, .hm-paper .faq details[open] summary { color: var(--accent); }
.hm-paper .faq details[open] summary::after { color: var(--accent); }
.hm-paper .faq details p { color: var(--mute); }
.hm-paper .faq .link--inline { color: var(--accent); }

/* ── the form: the same card as the 8200 page, with a track to choose ──── */
.home .band--cta { position: relative; z-index: 2; }
.hm-contact { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.hm-form { padding: 22px 18px; border: 1px solid rgba(140, 170, 230, .3); border-radius: 22px; background: linear-gradient(180deg, rgba(14, 24, 48, .94), rgba(8, 13, 26, .96)); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); margin-block-start: 0; }
.form select { min-block-size: 54px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--bone); background-color: rgba(4, 8, 16, .62); border: 1px solid rgba(160, 190, 255, .26); border-radius: var(--r-field); inline-size: 100%; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b8d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-size: 20px; background-position: left 14px center; }
.form select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(56, 182, 255, .18); }
.form select[aria-invalid="true"] { border-color: #ff6b6b; }
.hm-done { padding: 26px 20px; border: 1px solid rgba(106, 165, 255, .5); border-radius: 22px; background: linear-gradient(180deg, rgba(14, 30, 62, .94), rgba(8, 13, 26, .96)); }
.hm-done h3 { font-weight: 900; font-size: clamp(22px, 5.8vw, 28px); line-height: 1.25; }
.hm-done h3 em { font-style: normal; color: var(--h-blue-2); }
.hm-done p { margin-block-start: 8px; color: var(--mute); }
.hm-done .btn { margin-block-start: 16px; inline-size: 100%; }

/* ── what steps in once, as the page is read ───────────────────────────── */
/* A move only: what is written is never faded or hidden, so it reads at full contrast from
   the first frame, to a person and to any tool that looks at the page before it is scrolled. */
.js .home [data-rv] { transform: translateY(28px); transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .home :is(.trk, .who)[data-rv] { transform: translateY(34px) scale(.975); }
.js .home [data-rv].is-in { transform: none; }
/* a card keeps its own hover move once it has arrived */
.js .home .trk[data-rv].is-in { transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s; transition-delay: 0s; }
html.is-still .home [data-rv] { transform: none; }
/* without the script nothing waits: the words under the headline and every section are simply there */
@media print { .home [data-rv], .hm-hero .rise, .hm-disk { opacity: 1 !important; transform: none !important; } }
@media (hover: hover) { .js .home .trk[data-rv].is-in:hover { transform: translateY(-3px); } }

@media (min-width: 560px) {
  .hm-hero__acts { grid-template-columns: auto auto; justify-content: start; }
  .trk__acts .btn { inline-size: auto; justify-self: start; }
  .trk__acts .link { justify-content: start; }
  .hm-found__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .home .top__link--wide { display: inline; }
  .home .chapter { padding-block: 104px; }
  .hm-hero { min-block-size: min(calc(100svh - 132px), 860px); padding-block: calc(62px + 30px) 40px; }
  .hm-hero::before { background: radial-gradient(34% 46% at 24% 50%, rgba(42, 125, 255, .32), rgba(42, 125, 255, 0) 74%); }
  .hm-hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
  .hm-hero .copy { grid-column: 1; grid-row: 1; }
  .hm-disk { grid-column: 2; grid-row: 1; inline-size: min(100%, 66svh, 540px); }
  .hm-hero .lead { font-size: 19px; max-inline-size: 30em; }
  .hm-hero__acts { margin-block-start: 28px; }
  .hm-found { padding-block: 30px 32px; }
  .hm-found__list a { padding: 12px 10px; }
  .hm-found__list span { font-size: 11.5px; }
  .trks { grid-template-columns: 1.22fr 1fr 1fr; gap: 18px; margin-block-start: 40px; }
  .trk { padding: 0 26px 28px; }
  .trk__art { margin-inline: -26px; padding: 22px 26px 10px; }
  .trk__art svg { block-size: 132px; }
  .home .news { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; gap: 18px; margin-block-start: 40px; }
  .home .news__item:not(.news__item--lead) .news__card { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .home .news__item:not(.news__item--lead) .news__img { inline-size: 100%; border: 0; border-block-end: 1px solid rgba(160, 196, 255, .12); border-radius: 0; }
  .home .news__item:not(.news__item--lead) .news__body { gap: 9px; padding: 16px 18px; }
  .home .news__item:not(.news__item--lead) .news__head { font-size: 21px; }
  .hm-who { padding-block-end: 150px !important; }
  .whos { grid-template-columns: 1fr 1fr; gap: 18px; margin-block-start: 40px; }
  .who { grid-template-columns: 150px 1fr; gap: 6px 24px; padding: 26px; align-items: start; }
  .who__pic { grid-row: 1 / span 4; inline-size: 150px; aspect-ratio: 3 / 4; border-radius: 16px; }
  .who__pic img { object-position: 50% 14%; transform: none; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
  .who:hover .who__pic img { transform: scale(1.04); }
  .who__pic--book { justify-self: start; box-shadow: none; }
  .who__n, .who__role { align-self: auto; }
  .who__role { font-size: 16.5px; }
  .who p.who__say, .who .link { grid-column: 2; }
  .hm-paper { margin-block-start: -48px; border-radius: 48px 48px 0 0; }
  /* the claim stays in view while its six reasons pass beside it */
  .hm-why { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .hm-why__head { position: sticky; inset-block-start: 110px; }
  .whys { margin-block-start: 6px; }
  .whys li { padding-block: 24px; }
  .hm-paper .rel { grid-template-columns: 1fr 1fr; column-gap: 56px; margin-block-start: 36px; }
  .hm-paper .rel a { padding-block: 20px; }
  .hm-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; }
  .hm-form { padding: 28px 26px; }
}

/* high contrast: on paper, the quiet text goes to black (site.css sends it to white, for the dark pages) */
html.a11y-contrast .hm-paper :is(.lead, .faq p, .whys p, .rel span) { color: #000; }

/* a link inside the page travels to its section instead of jumping (not for a visitor who asked for stillness) */
html:has(body.home):not(.is-still) { scroll-behavior: smooth; }
