/* Granitics eCRF – static site stylesheet */

/* Titillium Web (SIL Open Font License 1.1, see /assets/fonts/OFL.txt), latin subset, self-hosted */
@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/titillium-web-400.woff2") format("woff2");
}

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

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/titillium-web-700.woff2") format("woff2");
}

:root {
  --navy: #074a87;
  --navy-700: #05396a;
  --green: #68b548;
  --green-700: #559a39;
  --sky: #eef8fe;
  --white: #ffffff;
  --muted: #6f93b8;
  --line: #d3e5f4;
  --red: #d64545;

  --font: "Titillium Web", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1000px;
  --gutter: clamp(20px, 4vw, 32px);
  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 3px;
  --section-pad: clamp(56px, 8vw, 104px);

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.25rem, 1.35rem + 3.2vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.narrow {
  max-width: 700px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 15px/1.1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn--green {
  background: var(--green);
  color: var(--white);
}

.btn--green:hover {
  background: var(--green-700);
}

.btn--outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}

.btn--outline:hover {
  border-color: var(--navy);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.6em;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.eyebrow--navy {
  color: var(--navy);
}

.lead {
  font-size: 1.0625rem;
}

/* ---------- Top bar & header ---------- */

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  min-height: 30px;
}

.topbar__label {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar .topbar__lang {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

.site-header {
  position: relative;
  background: var(--sky);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav ul a:hover {
  color: var(--green-700);
}

.site-nav ul a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- Sections ---------- */

.section {
  padding: var(--section-pad) 0;
}

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

.section--fade {
  background: linear-gradient(var(--white), var(--sky));
}

.section-head {
  max-width: 660px;
  margin-bottom: 44px;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}

.split--center {
  align-items: center;
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.cols-3 h3 {
  font-size: 1.125rem;
}

.cols-3 p {
  font-size: 15px;
}

/* ---------- Home hero ---------- */

.home-hero {
  background: var(--sky);
  padding-top: clamp(24px, 4vw, 48px);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

.home-hero__card {
  grid-column: 1 / 7;
  grid-row: 1;
  z-index: 1;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -32px rgba(7, 74, 135, 0.45);
}

.home-hero__card h1 {
  margin-bottom: 0.3em;
}

.home-hero__media {
  grid-column: 6 / 13;
  grid-row: 1;
}

.home-hero__media img {
  width: 100%;
  aspect-ratio: 8 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.usp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0 48px;
}

.usp {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.usp .icon {
  font-size: 32px;
  stroke-width: 1.5;
}

.usp strong {
  display: block;
  font-size: 14px;
}

.demo-note {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.demo-note p {
  margin: 0;
}

.demo-note__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-700);
  font-size: 20px;
}


/* ---------- Logo marquee ---------- */

.logos {
  padding: clamp(40px, 6vw, 72px) 0;
  overflow: hidden;
}

.logos__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.logos:hover .logos__track,
.logos:focus-within .logos__track {
  animation-play-state: paused;
}

.logos__list {
  display: flex;
  align-items: center;
  gap: 64px;
  margin: 0;
  padding: 0 64px 0 0;
  list-style: none;
}

.logos__list a {
  display: block;
}

.logos__list img {
  width: auto;
  max-width: 130px;
  max-height: 40px;
  filter: grayscale(1);
  opacity: 0.85;
}

.logos__list a:hover img {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos__track {
    width: auto;
    animation: none;
  }

  .logos__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
    padding: 0 var(--gutter);
  }

  .logos__list[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Article cards ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 70px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 400 / 284;
  object-fit: cover;
  border-radius: var(--radius);
}

.post-card__title {
  margin: 20px 0 6px;
  font-size: 1.125rem;
  line-height: 1.3;
}

.post-card__title a {
  text-decoration: none;
}

.post-card__title a:hover {
  text-decoration: underline;
}

.post-card__meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.post-card__meta span {
  font-style: italic;
  color: var(--muted);
}

.post-card--boxed {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-card--boxed .post-card__media img {
  border-radius: 0;
}

.post-card--boxed .post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 28px;
}

.post-card--boxed .post-card__title {
  margin-top: 0;
}

.post-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

.post-card--boxed .text-link {
  margin-top: auto;
}

/* ---------- Image band ---------- */

.band img {
  width: 100%;
  height: clamp(240px, 30vw, 460px);
  object-fit: cover;
}

/* ---------- Reasons & reference card ---------- */

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px clamp(32px, 6vw, 80px);
}

.reason .icon {
  font-size: 34px;
  stroke-width: 1.5;
}

.reason h3 {
  margin: 12px 0 6px;
  font-size: 1.125rem;
}

.reason p {
  max-width: 400px;
  margin: 0;
  font-size: 15px;
}

.ref-card {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.ref-card p {
  max-width: 640px;
  font-size: 15px;
}

.ref-card + .btn-row {
  margin-top: 32px;
}

/* ---------- Feature checklist panel ---------- */

.panel {
  padding: clamp(28px, 5vw, 56px);
  background: var(--sky);
  border-radius: var(--radius-lg);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 28px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-grid a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}

.check-grid a:hover {
  text-decoration: underline;
}

.check-grid .icon {
  margin-top: 2px;
  font-size: 17px;
  color: var(--green-700);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--sky);
}

.page-hero--white {
  background: var(--white);
}

.page-hero h1,
.page-title {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.125rem);
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}

.breadcrumb li + li::before {
  content: "»";
  margin: 0 0.45em;
}

.breadcrumb a {
  color: var(--green-700);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Zigzag rows ---------- */

.zigzag {
  display: grid;
  gap: clamp(56px, 8vw, 112px);
}

.zz-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.zz-row--text-first .zz-text {
  order: -1;
}

.zz-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.zz-text h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.zz-text p + h2 {
  margin-top: 1.4em;
}

.zz-text p {
  font-size: 15px;
}

/* ---------- Feature grid ---------- */

.build-note {
  max-width: 760px;
  margin: -12px 0 48px;
  padding: 24px 28px;
  background: var(--sky);
  border-radius: var(--radius);
  font-size: 15px;
}

.build-note h3 {
  font-size: 1.125rem;
}

.build-note p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  display: block;
  text-decoration: none;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.feature-card p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.feature-card .icon {
  font-size: 20px;
  stroke-width: 1.5;
}

.feature-card:hover h3 {
  text-decoration: underline;
}

/* ---------- Format cards ---------- */

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.format-card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.format-card .icon {
  font-size: 30px;
  stroke-width: 1.5;
  color: var(--green-700);
}

.format-card h3 {
  margin: 14px 0 6px;
}

.format-card p {
  margin: 0;
  font-size: 15px;
}

/* ---------- Demo CTA & contact ---------- */

.demo-cta {
  margin-inline: auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--sky);
  border-radius: var(--radius);
}

.section--sky .contact-card {
  background: var(--white);
}

.contact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.contact-card a {
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card__name {
  font-weight: 700;
}

.contact-lines {
  display: grid;
  gap: 2px;
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ask-box {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 5vw, 48px);
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.ask-box img {
  width: clamp(96px, 14vw, 140px);
  height: clamp(96px, 14vw, 140px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.ask-box h2 {
  margin-bottom: 0.3em;
}

.ask-box p {
  margin: 0;
}

.ask-box .contact-lines a {
  text-decoration: none;
}

.ask-box .contact-lines a:hover {
  text-decoration: underline;
}

.ask-box .contact-lines .icon {
  color: var(--green-700);
}

/* ---------- Stats ---------- */

.stats-box {
  position: relative;
  margin-top: 48px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.stats-box > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 74, 135, 0.82);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
}

.stats div {
  display: flex;
  flex-direction: column-reverse;
}

.stats dt {
  font-size: 15px;
}

.stats dd {
  margin: 0;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* ---------- Article (post) layout ---------- */

.post-hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}

.post-hero--with-figure {
  padding-bottom: 0;
}

.post-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.post-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 74, 135, 0.9);
}

.post-hero .narrow {
  margin-inline: auto;
}

.post-hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.125rem);
}

.post-hero__excerpt {
  color: var(--sky);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.post-meta a {
  text-decoration: none;
}

.post-meta a:hover {
  text-decoration: underline;
}

.post-hero__figure {
  margin: 40px 0 -120px;
}

.post-hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.5);
}

.post-body {
  padding: var(--section-pad) 0;
}

.post-hero--with-figure + .post-body {
  padding-top: calc(120px + var(--section-pad));
}

.post-body .narrow {
  margin-inline: auto;
}

/* ---------- Prose ---------- */

.prose {
  font-size: 16px;
}

.prose h2 {
  margin-top: 1.6em;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
}

.prose h3 {
  margin-top: 1.5em;
  font-size: 1.3rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.35em;
}

.prose a {
  color: var(--navy);
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

.prose figure {
  margin: 1.5em 0 2em;
}

.prose figure img {
  border-radius: 8px;
}

.table-wrap {
  margin: 1.5em 0;
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.prose caption {
  padding-bottom: 10px;
  font-weight: 700;
  text-align: left;
}

.prose th,
.prose td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--sky);
}

.prose td + td,
.prose th + th {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.signature {
  margin-top: 2em;
  line-height: 1.5;
}

.signature p {
  margin: 0;
}

/* ---------- Company page ---------- */

.company-id {
  margin: 40px 0 0;
  font-size: 14px;
}

/* ---------- Contact page ---------- */

.contact-block + .contact-block {
  margin-top: 36px;
}

.contact-block h2 {
  font-size: 1.375rem;
}

.contact-block h3 {
  margin-bottom: 4px;
  font-size: 1.0625rem;
}

.contact-block .contact-lines a {
  text-decoration: none;
}

.contact-block .contact-lines a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 14px;
}

.contact-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.mail-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border-radius: var(--radius-lg);
}

.mail-card .btn-row {
  margin-bottom: 0;
}

/* ---------- Demo page ---------- */

.demo-band img {
  width: 100%;
  height: clamp(200px, 26vw, 380px);
  object-fit: cover;
  object-position: center 20%;
}

.demo-benefits .icon {
  font-size: 30px;
  stroke-width: 1.5;
  color: var(--green-700);
}

.demo-benefits h3 {
  margin: 12px 0 6px;
  font-size: 1.0625rem;
}

.demo-benefits p {
  margin: 0;
  font-size: 15px;
}

.cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 40px;
  background: var(--sky);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(32px, 5vw, 56px);
}

.footer-logo {
  width: 120px;
  margin-bottom: 20px;
}

.footer-about p {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.75;
}

.footer-title {
  margin-bottom: 18px;
  font-size: 1.125rem;
}

.footer-contact .contact-lines {
  margin-bottom: 24px;
}

.footer-contact p {
  margin: 0;
  line-height: 1.5;
}

.footer-contact a {
  text-decoration: none;
}

.footer-bottom {
  margin-top: 56px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 11.5px;
  color: var(--muted);
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* ---------- 404 ---------- */

.notfound {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--sky);
}

.notfound__en {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .feature-grid,
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    flex-wrap: wrap;
    min-height: 76px;
    padding: 14px 0;
  }

  .js .site-nav {
    display: none;
  }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0 20px;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .site-nav ul a {
    display: block;
    padding: 10px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .brand img {
    width: 150px;
  }

  .split,
  .zz-row,
  .footer-grid,
  .cols-3,
  .usp-row,
  .post-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .zz-row--text-first .zz-text {
    order: 0;
  }

  .reasons {
    grid-template-columns: 1fr;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__media {
    grid-column: 1;
    grid-row: 1;
  }

  .home-hero__card {
    grid-column: 1;
    grid-row: 2;
    margin: -64px 12px 0;
  }

  .home-hero__media img {
    aspect-ratio: 4 / 3;
  }

  .post-grid {
    max-width: 480px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ask-box {
    grid-template-columns: 1fr;
  }

  .contact-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .feature-grid,
  .cols-4,
  .check-grid {
    grid-template-columns: 1fr;
  }

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

  .topbar__inner {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
