/* Olive Front Door
   Palette, type and spacing tokens first, then base, layout, components and pages. */

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --grove: #2B3122;
  --fresh-leaf: #7C9A52;
  --sage: #B7C690;
  --wood: #F6D9A8;
  --cream: #FBF8F1;

  /* Tints mixed from the palette over Cream: Sage 30%, Wood 45% */
  --sage-tint: #E7E9D4;
  --wood-tint: #F9EAD0;

  /* Type scale */
  --font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-body: 1.0625rem;
  --text-small: 1rem;
  --text-lead: 1.1875rem;
  --text-h3: 1.25rem;
  --text-h2: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
  --text-h1: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-pad: clamp(3.5rem, 2.4rem + 4.5vw, 7rem);
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --max: 72rem;
  --header-h: 88px;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-panel: clamp(28px, 4vw, 56px);
  --panel-inset: clamp(0.5rem, 1.5vw, 1.25rem);
  --line: rgba(43, 49, 34, 0.14);
  --shadow-soft: 0 10px 28px -14px rgba(43, 49, 34, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 200ms;
}

@media (min-width: 600px) {
  :root {
    --header-h: 96px;
  }
}

@media (min-width: 900px) {
  :root {
    --text-body: 1.125rem;
    --text-lead: 1.25rem;
    --text-h3: 1.3125rem;
  }
}

@media (min-width: 1140px) {
  :root {
    --header-h: 108px;
  }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--cream);
  color: var(--grove);
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-4);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--fresh-leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--grove);
  outline-offset: 3px;
  border-radius: 4px;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-5);
  border-radius: 999px;
  background: var(--grove);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-3);
  outline-color: var(--wood);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: 44rem;
}

.lead {
  font-size: var(--text-lead);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.button--primary {
  background: var(--grove);
  color: var(--cream);
}

.button--secondary {
  background: var(--wood);
  color: var(--grove);
}

.button--secondary:hover {
  background: var(--sage);
}

.button--ghost {
  background: transparent;
  color: var(--grove);
  box-shadow: inset 0 0 0 2px var(--line);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button--ghost:hover {
  box-shadow: inset 0 0 0 2px var(--grove);
}

.button:active {
  transform: translateY(0);
}

/* A small arrow after the label of primary actions. It is drawn in CSS so it adds no text,
   and points the other way in right-to-left languages. */
.button--arrow::after {
  content: "";
  flex: none;
  width: 16px;
  height: 12px;
  margin-inline-start: 0.6em;
  background: center / 16px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1 6h13M9.5 1.5L14 6l-4.5 4.5' fill='none' stroke='%23FBF8F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform var(--dur) var(--ease);
}

.button--arrow:hover::after {
  transform: translateX(3px);
}

[dir="rtl"] .button--arrow::after {
  transform: scaleX(-1);
}

[dir="rtl"] .button--arrow:hover::after {
  transform: scaleX(-1) translateX(3px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.text-link {
  font-weight: 600;
}

/* Header and navigation. The frosted background sits on a pseudo-element: a backdrop-filter on
   the header itself would make it the containing block of the fixed mobile menu panel. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before {
    background: rgba(251, 248, 241, 0.86);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
  }
}

.site-header.is-scrolled,
body.menu-open .site-header {
  border-bottom-color: var(--line);
}

body.menu-open .site-header::before {
  background: var(--cream);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.site-header__logo {
  flex: none;
  display: block;
  border-radius: 8px;
}

.site-header__logo img {
  width: 189px;
  height: 88px;
}

@media (min-width: 600px) {
  .site-header__logo img {
    width: 206px;
    height: 96px;
  }
}

@media (min-width: 1140px) {
  .site-header__logo img {
    width: 232px;
    height: 108px;
  }
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}

.site-nav__link:hover {
  background: var(--sage-tint);
}

.site-nav__link[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-color: var(--fresh-leaf);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.4em;
}

.site-nav__cta {
  margin-inline-start: var(--space-3);
}

.site-nav__cta .button {
  white-space: nowrap;
  min-height: 48px;
  padding-block: 0.6rem;
}

.menu-button {
  display: none;
}

/* Just above the menu breakpoint the longest translations need slightly tighter spacing. */
@media (min-width: 1140px) and (max-width: 1279.98px) {
  .site-nav__list {
    gap: 0;
  }

  .site-nav__link {
    padding: 0 var(--space-3);
  }

  .site-nav__cta {
    margin-inline-start: var(--space-2);
  }

  .site-nav__lang {
    margin-inline-start: 0;
  }

  .site-nav__cta .button {
    padding-inline: 1.2rem;
  }
}

/* Below 1140px with JavaScript: a menu button opens the navigation panel. The limit is 1140px
   rather than 900px so the longer Spanish, Haitian Creole and French labels never wrap.
   Without JavaScript the links simply wrap under the logo. */

@media (max-width: 1139.98px) {
  html:not(.js) .site-header {
    position: static;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    padding-bottom: var(--space-3);
  }

  .site-nav__list {
    flex-wrap: wrap;
  }

  .site-nav__link {
    padding-inline: var(--space-3);
  }

  .site-nav__cta {
    margin-inline-start: 0;
  }

  .js .site-header__inner {
    flex-wrap: nowrap;
  }

  .js .menu-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 48px;
    min-width: 48px;
    padding: 0 var(--space-4);
    border: 2px solid var(--grove);
    border-radius: 999px;
    background: var(--cream);
    color: var(--grove);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .menu-button__icon {
    position: relative;
    flex: none;
    display: inline-block;
    width: 20px;
    height: 14px;
  }

  .menu-button__icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }

  .menu-button__icon span:nth-child(1) { top: 0; }
  .menu-button__icon span:nth-child(2) { top: 6px; }
  .menu-button__icon span:nth-child(3) { top: 12px; }

  .menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] .menu-button__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    width: auto;
    padding: var(--space-6) var(--gutter) var(--space-7);
    overflow-y: auto;
    background: var(--cream);
    border-top: 1px solid var(--sage);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
  }

  .js .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .js .site-nav__link {
    display: flex;
    width: 100%;
    min-height: 56px;
    padding: 0 var(--space-4);
    font-size: 1.25rem;
    border-bottom: 1px solid var(--sage-tint);
    border-radius: var(--radius-s);
  }

  .js .site-nav__cta {
    margin-top: var(--space-5);
  }

  .js .site-nav__cta .button {
    width: 100%;
    min-height: 56px;
  }
}

@media (max-width: 359.98px) {
  .js .menu-button {
    padding: 0;
    justify-content: center;
  }

  .menu-button__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .card {
    padding-inline: var(--space-5);
  }
}

/* Language switcher: globe and the current language's name, a small list of the others.
   Without JavaScript it is hidden and the footer language list does the job. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-nav__lang {
  margin-inline-start: var(--space-2);
}

html:not(.js) .site-nav__lang {
  display: none;
}

.lang-switch {
  position: relative;
}

.lang-switch__button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--grove);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}

.lang-switch__button:hover,
.lang-switch__button[aria-expanded="true"] {
  background: var(--sage-tint);
}

.lang-switch__button .globe {
  flex: none;
  width: 20px;
  height: 20px;
}

.lang-switch__chevron {
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.lang-switch__button[aria-expanded="true"] .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__list {
  position: absolute;
  top: calc(100% + var(--space-2));
  inset-inline-end: 0;
  z-index: 60;
  min-width: 13rem;
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  background: var(--cream);
  border: 1px solid var(--sage);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.lang-switch__list[hidden] {
  display: none;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-s);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease);
}

/* Each language link carries its own lang and dir for assistive technology. Its box follows the page
   direction so the list stays aligned; the inner span keeps each name's own reading direction. */
.lang-switch__option,
.site-footer__langs a {
  direction: inherit;
}

.lang-switch__option:hover {
  background: var(--sage-tint);
}

/* The current language: Sage row (Grove text 7.34:1), bold, and a check mark, so it does
   not rely on color alone. */
.lang-switch__option[aria-current="true"] {
  background: var(--sage);
  font-weight: 600;
}

.lang-switch__option[aria-current="true"]::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-inline-start: auto;
  background: center / 18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%232B3122' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 1139.98px) {
  .site-nav__lang {
    margin-inline-start: 0;
  }

  .js .site-nav__lang {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--sage);
  }

  .js .lang-switch__button {
    width: 100%;
    min-height: 56px;
    padding: 0 var(--space-4);
    font-size: 1.125rem;
    border-radius: var(--radius-s);
  }

  .js .lang-switch__chevron {
    margin-inline-start: auto;
  }

  .js .lang-switch__list {
    position: static;
    min-width: 0;
    margin-top: var(--space-2);
    box-shadow: none;
  }
}

/* Notices on translated pages. */

.lang-notice {
  background: var(--wood-tint);
  border-bottom: 1px solid var(--wood);
}

.lang-notice p {
  margin: 0;
  padding: var(--space-3) 0;
  font-size: var(--text-small);
  line-height: 1.5;
}

.form-notice,
.legal-notice {
  margin: 0 0 var(--space-6);
  padding: var(--space-3) var(--space-4);
  border-inline-start: 4px solid var(--fresh-leaf);
  border-radius: var(--radius-s);
  background: var(--cream);
  font-size: var(--text-small);
  line-height: 1.5;
}

.legal-notice {
  background: var(--wood-tint);
}

/* Sections */

.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section--cream {
  background: var(--cream);
}

/* Tinted and dark sections are rounded panels set slightly in from the page edges. */
.section--sage,
.section--grove {
  margin-inline: var(--panel-inset);
  border-radius: var(--radius-panel);
}

.section--sage {
  background: var(--sage-tint);
}

.section--grove {
  background: var(--grove);
  color: var(--cream);
}

.section--grove a {
  text-decoration-color: var(--wood);
}

.section--grove :focus-visible {
  outline-color: var(--wood);
}

.section--flush-top {
  padding-top: var(--space-6);
}

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Hero */

.hero {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 6rem) clamp(2rem, 1rem + 3vw, 4rem);
}

.hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
  color: var(--grove);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50% 0;
  background: var(--fresh-leaf);
  transform: rotate(45deg);
}

.hero h1 {
  margin-bottom: var(--space-5);
}

.hero .lead {
  max-width: 34rem;
}

.hero .button-row {
  margin-top: var(--space-7);
}

.hero__art {
  justify-self: center;
  width: 100%;
  max-width: 560px;
}

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-8);
  }
}

/* Hero collage: a website, a phone with a map pin and a booking calendar, drawn as flat shapes.
   The box has a fixed aspect ratio so nothing shifts while it loads. */

.collage {
  position: relative;
  aspect-ratio: 1 / 0.86;
}

.collage > * {
  position: absolute;
  width: auto;
  height: auto;
  border-radius: 22px;
  transition: transform var(--dur) var(--ease);
}

.collage svg {
  filter: drop-shadow(0 18px 24px rgba(43, 49, 34, 0.16));
}

.collage__bg {
  inset: 6% 4% 0 10%;
  border-radius: 999px 999px 32px 32px;
  background: var(--sage-tint);
}

.collage__browser {
  inset-inline-start: 0;
  top: 14%;
  width: 74%;
}

.collage__phone {
  inset-inline-end: 0;
  top: 4%;
  width: 34%;
}

.collage__calendar {
  inset-inline-end: 6%;
  bottom: 4%;
  width: 42%;
}

.hero__art:hover .collage__browser,
.hero__art:hover .collage__phone {
  transform: translateY(-4px);
}

/* Statement */

.statement h2 {
  max-width: 20ch;
  margin-bottom: var(--space-6);
}

.statement p {
  max-width: 44rem;
}

.statement-section {
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

/* Page intro (inner pages) */

.page-intro {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1rem + 3vw, 3.5rem);
}

.page-intro p {
  max-width: 40rem;
}

/* Patient journey as a scroll story. Without JavaScript (or below 960px) each step is a card with
   its own picture. With site.js on wide screens, one picture stays in view and changes as each
   step reaches the middle of the screen. */

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.story-section {
  padding-top: 0;
}

.story {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.story__stage {
  display: none;
}

.story__steps {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.story__step {
  padding: var(--space-5);
  border-radius: var(--radius-l);
  background: var(--sage-tint);
}

.story__picture {
  width: 100%;
  height: auto;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-m);
}

.story__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--wood);
  font-weight: 600;
  line-height: 1;
}

.story__step h3 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  letter-spacing: -0.02em;
}

@media (min-width: 760px) {
  .story__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story__step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .story--live {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }

  .story--live .story__stage {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + var(--space-5));
    aspect-ratio: 400 / 328;
    border-radius: 36px;
    background: var(--sage-tint);
    overflow: hidden;
  }

  .story--live .story__scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 250ms var(--ease);
  }

  .story--live .story__scene.is-active {
    opacity: 1;
  }

  .story--live .story__steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story--live .story__step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 62vh;
    padding: var(--space-6) 0;
    padding-inline-start: var(--space-6);
    border-radius: 0;
    background: none;
    border-inline-start: 3px solid var(--sage-tint);
    transition: border-color 250ms var(--ease);
  }

  .story--live .story__step:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .story--live .story__step.is-active {
    border-inline-start-color: var(--grove);
  }

  .story--live .story__num {
    background: var(--sage-tint);
    transition: background-color 250ms var(--ease);
  }

  .story--live .story__step.is-active .story__num {
    background: var(--wood);
  }

  .story--live .story__picture {
    display: none;
  }
}

/* Leaf list */

.leaf-list {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaf-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.leaf-list .leaf-icon {
  width: 32px;
  height: 32px;
  margin-top: 0.1em;
}

.leaf-list--simple {
  gap: var(--space-4);
}

/* Two column text block */

.split {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-8);
    align-items: start;
  }

  .split > :first-child h2 {
    margin-bottom: 0;
  }
}

@media (min-width: 900px) {
  .split--end {
    align-items: end;
  }

  .split--end h2 {
    margin-bottom: 0;
  }
}

/* Package summary (dark panel) with the seven parts of Front Door Launch. */

.package {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.package h2 {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .package {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: end;
  }
}

.package .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--space-3);
}

/* Without JavaScript the items are a grid of cards. site.js adds .tabs--live and a tab list. */

.tabs__panels {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 760px) {
  .tabs__panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tabs__panel {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-radius: var(--radius-l);
  background: var(--cream);
  color: var(--grove);
}

.tabs__panel h3 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);
  letter-spacing: -0.02em;
}

.tabs__panel p {
  max-width: 42rem;
}

.tabs__panel a {
  text-decoration-color: var(--fresh-leaf);
}

.tabs__panel:focus-visible {
  outline-color: var(--wood);
  outline-offset: 4px;
}

.tabs__icon {
  width: 40px;
  height: 48px;
  margin-bottom: var(--space-5);
}

.tabs--live {
  display: grid;
  gap: var(--space-5);
}

.tabs--live .tabs__panels {
  display: block;
}

.tabs--live .tabs__panel {
  min-height: 18rem;
}

.tabs--live .tabs__panel[hidden] {
  display: none;
}

.tabs__list {
  display: flex;
  gap: var(--space-2);
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs__list::-webkit-scrollbar {
  display: none;
}

.tabs__tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: 0 var(--space-5);
  border: 0;
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.08);
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: start;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tabs__tab:hover {
  background: rgba(251, 248, 241, 0.16);
}

.tabs__tab[aria-selected="true"] {
  background: var(--wood);
  color: var(--grove);
}

.tabs__num {
  min-width: 1.25rem;
}

@media (min-width: 960px) {
  .tabs--live {
    grid-template-columns: 22rem minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
  }

  .tabs__list {
    flex-direction: column;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .tabs__tab {
    width: 100%;
  }
}

/* Three promises with an arched tab peeking over each card. */

.promises {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}

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

.promise {
  position: relative;
  overflow: hidden;
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.promise::before {
  content: "";
  display: block;
  width: 44px;
  height: 56px;
  margin-bottom: var(--space-5);
  border-radius: 999px 999px 8px 8px;
  background: var(--wood);
}

.promise:nth-child(2)::before {
  background: var(--sage);
}

.promise:nth-child(3)::before {
  background: var(--fresh-leaf);
}

.promise:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* Deliverable cards with an arched top */

.cards {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* An odd last card sits centered under the pair above instead of leaving a gap. */
  .cards > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--space-6)) / 2);
  }
}

.card {
  position: relative;
  padding: var(--space-6);
  background: var(--cream);
  border-radius: var(--radius-l);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.card__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
  margin-bottom: var(--space-5);
  padding-top: 4px;
  border-radius: 999px 999px 10px 10px;
  background: var(--wood);
  color: var(--grove);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.card__title {
  margin-bottom: var(--space-3);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Demo sites (unlisted page). The whole card is the link; the heading link stretches over it. */

.demo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.demo-card__label {
  margin-bottom: var(--space-4);
}

.demo-card__link {
  color: inherit;
  text-decoration: none;
}

.demo-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.demo-card__link:focus-visible {
  outline: none;
}

.demo-card:focus-within {
  outline: 3px solid var(--grove);
  outline-offset: 4px;
}

.demo-card__cta {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: var(--space-4);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--fresh-leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.demo-card:hover .demo-card__cta {
  text-decoration-color: currentColor;
}

/* Add-ons */

.addons {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.addons li {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

.addons .leaf-icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-3);
}

/* Timeline */

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-6);
  max-width: 46rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 23px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 3px;
  background: var(--sage-tint);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.timeline__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wood);
  color: var(--grove);
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--cream);
}

.timeline__body {
  padding-top: var(--space-2);
}

/* FAQ */

.faq {
  display: grid;
  gap: var(--space-3);
  max-width: 50rem;
}

.faq details {
  border-radius: var(--radius-m);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.faq details[open] {
  background: var(--sage-tint);
}

.faq details:hover {
  box-shadow: var(--shadow-soft);
}

.faq summary {
  position: relative;
  display: block;
  min-height: 64px;
  padding-block: var(--space-5);
  padding-inline: var(--space-5) 4.5rem;
  border-radius: var(--radius-m);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* A plus in a round badge that turns Wood and becomes a minus when the answer is open. */
.faq summary::before {
  content: "";
  position: absolute;
  inset-inline-end: var(--space-4);
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12M8 2v12' stroke='%232B3122' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E"), var(--sage-tint);
  transition: background-color var(--dur) var(--ease);
}

.faq details[open] summary::before {
  background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12' stroke='%232B3122' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E"), var(--wood);
}

.faq__answer {
  padding: 0 var(--space-5) var(--space-5);
}

.faq__q {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.4;
  letter-spacing: 0;
}

.timeline__title {
  margin-bottom: var(--space-2);
  font-size: var(--text-h3);
  line-height: 1.3;
  letter-spacing: 0;
}

/* Call to action band */

.cta-section {
  padding-top: calc(var(--section-pad) * 0.6);
}

/* Wood panel with a Grove doorway standing on its bottom edge. */
.cta-band {
  --cta-pad: clamp(1.25rem, 0.5rem + 4vw, 4.5rem);
  display: grid;
  gap: var(--space-7);
  align-items: center;
  overflow: hidden;
  padding: var(--cta-pad) var(--cta-pad) 0;
  border-radius: var(--radius-panel);
  background: var(--wood);
}

.cta-band__body {
  padding-bottom: 0;
}

.cta-band__body p {
  max-width: 32rem;
  margin-bottom: var(--space-6);
}

.cta-band__door {
  position: relative;
  justify-self: center;
  width: min(220px, 60%);
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  background: var(--grove);
}

.cta-band__door::before {
  content: "";
  position: absolute;
  inset: 16px 16px 0;
  border-radius: 999px 999px 0 0;
  background: var(--cream);
}

.cta-band__door::after {
  content: "";
  position: absolute;
  top: 58%;
  inset-inline-end: 22%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fresh-leaf);
}

/* On phones the longer translated button labels need the room to stay on one line. */
@media (max-width: 479.98px) {
  .cta-section .wrap {
    padding-inline: var(--panel-inset);
  }

  .cta-band {
    --cta-pad: var(--space-4);
  }

  main .button {
    padding-inline: 1.25rem;
  }

  .button--arrow::after {
    display: none;
  }
}

@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    padding-bottom: 0;
  }

  .cta-band__body {
    padding-bottom: var(--cta-pad);
  }

  .cta-band__door {
    align-self: end;
    width: min(240px, 80%);
  }
}

/* Contact */

.contact-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-8);
    align-items: start;
  }

  .contact-intro {
    position: sticky;
    top: calc(var(--header-h) + var(--space-6));
  }
}

.contact-intro__art {
  display: none;
}

@media (min-width: 960px) {
  .contact-intro__art {
    display: block;
    width: 200px;
    margin-top: var(--space-7);
  }
}

/* Let the form shrink on narrow screens: grid items, fieldsets and selects otherwise
   size to their longest unbreakable content (long translated options pushed the page sideways at 320px). */
.contact-grid > * {
  min-width: 0;
}

.form fieldset {
  min-width: 0;
}

.select {
  max-width: 100%;
  text-overflow: ellipsis;
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--radius-l);
  background: var(--sage-tint);
}

.form {
  display: grid;
  gap: var(--space-6);
}

.field {
  display: grid;
  gap: var(--space-2);
}

.field label,
.field legend {
  font-weight: 600;
  line-height: 1.4;
}

.field fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field legend {
  padding: 0;
  margin-bottom: var(--space-3);
}

.field__help,
.form__required {
  margin: 0;
  font-size: var(--text-small);
}

.field__note {
  margin: 0;
  font-size: var(--text-small);
}

.field__note {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-s);
  background: var(--wood);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--grove);
  border-radius: var(--radius-s);
  background: var(--cream);
  color: var(--grove);
  font: inherit;
  font-size: max(16px, 1rem);
  line-height: 1.4;
  transition: box-shadow var(--dur) var(--ease);
}

.textarea {
  min-height: 9rem;
  resize: vertical;
}

.select {
  appearance: none;
  padding-inline-end: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' width='16' height='10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%232B3122' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 10px;
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: 3px solid var(--grove);
  outline-offset: 2px;
}

.radio-list {
  display: grid;
  gap: var(--space-2);
}

.radio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--grove);
  border-radius: var(--radius-s);
  background: var(--cream);
  font-weight: 400;
  cursor: pointer;
}

/* Radios and the consent checkbox are drawn in CSS so they look the same in every browser,
   with a Grove outline (12.65:1 on Cream) instead of faint native controls. */
.radio input,
.consent input {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: 2px solid var(--grove);
  background: var(--cream);
  cursor: pointer;
}

.radio input {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.radio input:checked {
  background: var(--grove);
  box-shadow: inset 0 0 0 4px var(--cream);
}

.consent input {
  width: 24px;
  height: 24px;
  margin-top: 0.05em;
  border-radius: 6px;
}

.consent input:checked {
  background: var(--grove) center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23FBF8F1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (forced-colors: active) {
  .radio input,
  .consent input {
    appearance: auto;
    -webkit-appearance: auto;
  }
}

.radio:has(input:checked) {
  background: var(--wood-tint);
}

.radio:has(input:focus-visible) {
  outline: 3px solid var(--grove);
  outline-offset: 2px;
}

.radio input:focus-visible {
  outline: none;
}

.field__error {
  margin: 0;
  padding-inline-start: 1.6rem;
  font-size: var(--text-small);
  font-weight: 600;
  background: no-repeat left 0.3em / 1rem 1rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%232B3122'/%3E%3Crect x='7' y='3.5' width='2' height='6' rx='1' fill='%23FBF8F1'/%3E%3Ccircle cx='8' cy='12' r='1.2' fill='%23FBF8F1'/%3E%3C/svg%3E");
}

.field__error[hidden] {
  display: none;
}

.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .radio {
  border-width: 3px;
  background-color: var(--wood-tint);
}

.field .consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--grove);
  border-radius: var(--radius-s);
  background: var(--cream);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.consent input:focus-visible {
  outline: none;
}

.consent:has(input:focus-visible) {
  outline: 3px solid var(--grove);
  outline-offset: 2px;
}

.consent:has(input:checked) {
  background: var(--wood-tint);
}

.consent a {
  font-weight: 600;
}

.field.is-invalid .consent {
  border-width: 3px;
  background-color: var(--wood-tint);
}

.form__actions .button {
  min-width: 10rem;
}

.form__alt {
  margin-top: var(--space-6);
}

.honeypot {
  display: none;
}

/* Right-to-left (Arabic): mirror the few background images placed on one side, and set
   Arabic text in the device's own Arabic font (Sora has no Arabic letters). Latin words
   such as names and the email address keep Sora. */
[dir="rtl"] .select {
  background-position: left 1rem center;
}

[dir="rtl"] .field__error {
  background-position: right 0.3em;
}

/* Email addresses and the legal mailing address read left to right inside Arabic text. */
[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .lang-switch__chevron {
  margin-inline-start: auto;
}

:lang(ar) {
  --font: "Sora", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, "Arabic UI Text", sans-serif;
  font-family: var(--font);
}

:lang(ar) body,
html:lang(ar) {
  line-height: 1.8;
}

:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3 {
  letter-spacing: 0;
  line-height: 1.4;
}

/* Prose (legal pages) */

.prose {
  max-width: 44rem;
  overflow-wrap: break-word;
}

.prose h2 {
  margin-top: var(--space-7);
  font-size: 1.5rem;
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-4);
  padding-inline-start: 1.25rem;
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose li::marker {
  color: var(--fresh-leaf);
}

.prose a {
  overflow-wrap: anywhere;
}

.prose table {
  width: 100%;
  margin: var(--space-5) 0 var(--space-6);
  border-collapse: collapse;
  font-size: var(--text-small);
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--sage);
  text-align: start;
  vertical-align: top;
}

.prose th {
  background: var(--sage-tint);
  font-weight: 600;
}

/* Below 640px each table row becomes a labelled block. */
@media (max-width: 639.98px) {
  .prose table,
  .prose tbody,
  .prose tr,
  .prose td {
    display: block;
  }

  .prose table {
    position: relative;
  }

  .prose thead,
  .prose thead tr,
  .prose thead th {
    display: block;
  }

  .prose thead {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .prose tr {
    margin-bottom: var(--space-4);
    border: 1px solid var(--sage);
    border-radius: var(--radius-s);
    overflow: hidden;
  }

  .prose td {
    border: 0;
    border-top: 1px solid var(--sage-tint);
  }

  .prose td:first-child {
    border-top: 0;
    background: var(--sage-tint);
    font-weight: 600;
  }

  .prose td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
  }
}

.missing {
  padding: var(--space-4) var(--space-5);
  border: 2px dashed var(--grove);
  border-radius: var(--radius-s);
  background: var(--wood-tint);
  font-weight: 600;
}

/* Thank you and 404 */

.notice {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  justify-items: start;
}

.notice__art {
  width: 200px;
}

@media (min-width: 760px) {
  .notice {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .notice__art {
    width: 240px;
  }
}

.notice .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--space-4);
}

/* Footer */

.site-footer {
  background: var(--grove);
  color: var(--cream);
  padding-block: var(--space-8) var(--space-7);
}

.site-footer a {
  text-decoration-color: var(--sage);
}

.site-footer a:hover {
  text-decoration-color: var(--cream);
}

.site-footer :focus-visible {
  outline-color: var(--wood);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-6);
}

.site-footer__logo {
  display: inline-block;
  margin-inline-start: -6px;
  border-radius: 8px;
}

.site-footer__logo img {
  width: 189px;
  height: 88px;
}

.site-footer__tagline {
  margin-top: var(--space-2);
  max-width: 22rem;
}

.site-footer__nav ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer__langs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.site-footer__langs .globe {
  flex: none;
  color: var(--sage);
}

.site-footer__langs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__langs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer__langs a[aria-current="true"] {
  font-weight: 600;
  text-decoration-color: var(--cream);
}

.site-footer__legal {
  padding-top: var(--space-5);
  border-top: 1px solid var(--fresh-leaf);
  font-size: var(--text-small);
}

.site-footer__legal p {
  margin-bottom: var(--space-2);
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--space-8);
  }

  .site-footer__nav ul {
    grid-template-columns: repeat(2, max-content);
    column-gap: var(--space-7);
  }

  .site-footer__langs,
  .site-footer__legal {
    grid-column: 1 / -1;
  }
}

/* Scroll reveal: only applied by JavaScript to elements below the fold. */

@media print {
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}


@media (prefers-reduced-motion: no-preference) {
  .reveal-pending {
    opacity: 0;
    transform: translateY(12px);
  }

  .reveal-in {
    opacity: 1;
    transform: none;
    transition: opacity 250ms var(--ease), transform 250ms var(--ease);
  }
}

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

  .button:hover,
  .card:hover {
    transform: none;
  }
}
