/* graivy.com: the whole design system. Tokens first, then base styles, layout, components and pages.
   Colors meet WCAG 2.1 AA where text uses them: --green is for bars, dots and backgrounds only;
   green text on light backgrounds uses --green-text, and on dark ones --lime. */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/outfit-latin-wght.woff2') format('woff2');
}

:root {
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ink: #131313;            /* headings on light */
  --text: #353535;           /* body text on light */
  --muted: #5c5c5c;          /* secondary text on light */
  --line: #dcdfdb;
  --bg: #ffffff;
  --bg-soft: #f0f3ef;        /* light green-gray sections */
  --bg-tint: #f1fcec;        /* pale green cards */
  --dark: #041e22;           /* dark panels */
  --dark-2: #093137;
  --on-dark: #ffffff;
  --on-dark-muted: #c2d3cf;
  --line-dark: rgba(255, 255, 255, 0.16);
  --green: #0dbe00;          /* accents only, never small text on light */
  --lime: #4ddc00;           /* buttons; text on dark */
  --green-text: #087000;     /* green text and links on light backgrounds */
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --inset: clamp(8px, 1vw, 16px);
  --container: 1200px;
  --section: clamp(64px, 8vw, 112px);
  --shadow: 0 1px 2px rgba(20, 20, 43, 0.06), 0 8px 28px rgba(20, 20, 43, 0.08);
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--green-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.25em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green-text); outline-offset: 2px; border-radius: 2px; }
.panel--dark :focus-visible, .site-header--dark :focus-visible, .consent :focus-visible { outline-color: var(--lime); }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--lime); color: var(--dark); padding: 12px 18px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ---------- layout */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.section--soft { background: var(--bg-soft); }
.panel { position: relative; margin-inline: var(--inset); border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.panel + .panel, .section + .panel, main + .footer-wrap { margin-top: var(--inset); }
.panel--dark { background: var(--dark); color: var(--on-dark-muted); }
.panel--dark h1, .panel--dark h2, .panel--dark h3 { color: var(--on-dark); }
.panel--dark a:not(.button) { color: var(--lime); }
.panel--soft { background: var(--bg-soft); }
.panel__bg { position: absolute; inset: 0; z-index: -1; }
.panel__bg img { width: 100%; height: 100%; object-fit: cover; }

.section-title { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 0.6em; }
.section-title::before { content: ''; display: block; width: 48px; height: 2px; background: var(--green); margin-bottom: 20px; }
.section-title--center { text-align: center; }
.section-title--center::before { margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head--row .section-title { margin: 0; }
.eyebrow { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--green-text); margin-bottom: 14px; }
.panel--dark .eyebrow { color: var(--lime); }

/* ---------- buttons and links */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 1.5px solid transparent; border-radius: 6px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.button .icon-arrow { flex: none; transition: transform 0.15s; }
.button:hover .icon-arrow { transform: translateX(3px); }
.button--primary { background: var(--lime); color: var(--dark); }
.button--primary:hover { background: #6be62a; }
.button--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--on-dark); background: transparent; }
.button--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.button--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--outline:hover { background: var(--ink); color: #fff; }
.button--small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 0.18em; }
.icon-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; }
.icon-link:hover span { text-decoration: underline; }
.icon-link svg { flex: none; }

/* ---------- header */
.site-header { position: relative; z-index: 20; }
.site-header--dark { position: absolute; top: var(--inset); left: var(--inset); right: var(--inset); color: var(--on-dark); }
.site-header--light { background: transparent; }
.page--soft { background: var(--bg-soft); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 110px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px 26px; list-style: none; margin: 0; padding: 0; }
.nav-link { color: inherit; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; }
.site-header--light .nav-link { color: var(--ink); }
.nav-link:hover { border-bottom-color: currentColor; }
.nav-link[aria-current="page"] { border-bottom-color: var(--green); }
.site-header--dark .nav-link[aria-current="page"] { color: var(--lime); border-bottom-color: var(--lime); }
.menu-button { display: none; }

@media (max-width: 1080px) {
  .js .menu-button {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    min-height: 44px; padding: 8px 14px; border-radius: 6px; cursor: pointer;
    background: transparent; border: 1.5px solid currentColor; color: inherit;
    font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .site-header--light .menu-button { color: var(--ink); }
  .menu-button__bars, .menu-button__bars::before, .menu-button__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform 0.2s; }
  .menu-button__bars::before, .menu-button__bars::after { content: ''; position: absolute; left: 0; }
  .menu-button__bars::before { top: -6px; }
  .menu-button__bars::after { top: 6px; }
  .menu-button[aria-expanded="true"] .menu-button__bars { background: transparent; }
  .menu-button[aria-expanded="true"] .menu-button__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav {
    display: none; position: absolute; top: calc(100% - 4px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--dark); color: var(--on-dark); border-radius: var(--radius-sm);
    padding: 20px var(--gutter) 28px; box-shadow: 0 18px 40px rgba(4, 30, 34, 0.35);
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav .nav-list { flex-direction: column; gap: 0; }
  .js .site-nav .nav-link { color: var(--on-dark); font-size: 16px; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .js .site-nav .nav-link[aria-current="page"] { color: var(--lime); border-bottom-color: var(--line-dark); }
  .js .site-nav :focus-visible { outline-color: var(--lime); }
  .js .site-nav .nav-cta { align-self: flex-start; }
  .site-header--light .header-inner { position: relative; }
  /* without JavaScript the menu stays open and wraps */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { margin-left: 0; flex-wrap: wrap; }
}

/* ---------- heroes */
.hero { min-height: clamp(560px, 86vh, 820px); display: flex; align-items: flex-end; color: var(--on-dark); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 0.6s; }
.hero__video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 30, 34, 0.94) 0%, rgba(4, 30, 34, 0.78) 38%, rgba(4, 30, 34, 0.3) 72%, rgba(4, 30, 34, 0.12) 100%), linear-gradient(0deg, rgba(4, 30, 34, 0.55) 0%, rgba(4, 30, 34, 0) 45%); }
.hero__inner { padding-top: 140px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero__inner > * { max-width: 640px; }
.hero__title { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--on-dark-muted); max-width: 560px; }
.hero__lead--big { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--on-dark); }
.hero__inner--center { text-align: center; margin-inline: auto; }
.hero__inner--center > * { margin-inline: auto; }
.hero__inner--center .button-row { justify-content: center; }
.video-toggle {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  min-height: 40px; padding: 8px 14px; border-radius: 6px; cursor: pointer;
  background: rgba(4, 30, 34, 0.6); color: #fff; border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px; font-weight: 500;
}
.video-toggle:hover { background: rgba(4, 30, 34, 0.85); }

.hero--center { min-height: 0; align-items: center; }
.hero--center .hero__inner { padding-top: 160px; padding-bottom: 120px; }

.hero--kiosk { min-height: 0; display: block; padding-bottom: 0; }
.hero--kiosk .hero__inner { padding-top: 150px; padding-bottom: 48px; }
.kiosk-screens { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 28px); padding-inline: var(--gutter); margin-bottom: -2px; }
.kiosk-screens li { overflow: hidden; }
.kiosk-screen img { width: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)); }
.kiosk-screen--2 { position: relative; z-index: 1; width: clamp(130px, 26vw, 320px); height: clamp(170px, 33vw, 400px); }
.kiosk-screen--1, .kiosk-screen--3 { width: clamp(100px, 21vw, 260px); height: clamp(130px, 25vw, 300px); opacity: 0.92; }
.kiosk-screen--1 { margin-right: calc(clamp(8px, 2vw, 28px) * -1 - 2vw); }
.kiosk-screen--3 { margin-left: calc(clamp(8px, 2vw, 28px) * -1 - 2vw); }

/* light page heading (contact, demo, legal, 404) */
.page-head { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-head__title { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.page-head__lead { font-size: clamp(18px, 1.6vw, 20px); max-width: 640px; }
.page-head--narrow .container > * { max-width: 760px; margin-inline: auto; }

/* ---------- benefits and icon features */
.benefits, .icon-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px 40px; margin-top: 48px; text-align: center; }
.benefit__art { width: 200px; margin: 0 auto 20px; }
.benefit p, .icon-feature p { max-width: 360px; margin-inline: auto; font-size: 16px; color: var(--muted); }
.icon-feature__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.icon-feature__icon img { width: 44px; }

/* ---------- product cards */
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.product-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; isolation: isolate; }
.product-card__media { position: absolute; inset: 0; z-index: -1; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 30, 34, 0) 25%, rgba(4, 30, 34, 0.82) 62%, rgba(4, 30, 34, 0.96) 100%); }
.product-card__body { padding: 24px; }
.product-card__body .eyebrow { margin-bottom: 6px; }
.product-card__name { font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.panel--dark .product-card__name a { color: var(--on-dark); text-decoration: none; }
.product-card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card__name a:focus-visible { outline: none; }
.product-card:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; }
.product-card__text { font-size: 16px; color: var(--on-dark-muted); }
.product-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark); border: 1.5px solid rgba(255, 255, 255, 0.7); border-radius: 6px; padding: 8px 12px; }

/* ---------- call-to-action band */
.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: center; }
.cta-band__title { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }
.cta-band__side p { margin-bottom: 0; }
.cta-band .button-row, .cta-band__side .button { margin-top: 24px; }

/* ---------- intro */
.intro { max-width: 860px; text-align: center; }
.intro p { font-size: clamp(17px, 1.4vw, 19px); }

/* ---------- illustrated cards */
.illustrated-cards { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.illustrated-card { display: grid; grid-template-columns: minmax(160px, 300px) 1fr; gap: 24px 48px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-sm); background: var(--bg-soft); }
.illustrated-card__art img { width: 100%; max-width: 260px; margin-inline: auto; }
.illustrated-card__title { font-size: 26px; font-weight: 400; }

/* ---------- feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin-top: 40px; }
.feature { padding: 28px 0 32px; border-bottom: 1px solid var(--line-dark); }
.feature__title { font-size: 21px; font-weight: 500; margin-bottom: 10px; }
.feature__kicker { color: var(--lime); font-size: 15px; margin-bottom: 10px; }
.feature__text { font-size: 16px; }
.specs { margin-top: 40px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); }
.specs summary { cursor: pointer; padding: 18px 24px; font-weight: 500; color: var(--on-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--lime); }
.specs[open] summary::after { content: '−'; }
.specs__list { margin: 0; padding: 0 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; }
.specs__list dt { color: var(--on-dark); font-weight: 500; margin-bottom: 6px; }
.specs__list dd { margin: 0; font-size: 15px; }

/* ---------- steps */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; counter-reset: step; }
.step__number { font-size: 44px; line-height: 1; color: var(--green-text); margin-bottom: 14px; font-weight: 300; }
.step__title { font-size: 24px; font-weight: 400; }
.step__text { color: var(--muted); max-width: 480px; }
.step__media { margin-top: 24px; border-radius: var(--radius-sm); background: var(--bg-tint); padding: 24px; }
.step__media img { margin-inline: auto; max-height: 300px; width: auto; }
.steps--screens .step__media { background: var(--bg-soft); padding: 16px; }
.steps--screens .step__media img { max-height: none; width: 100%; border-radius: 8px; box-shadow: var(--shadow); }

/* ---------- metrics */
.metrics { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.metrics__media img { border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); background: #fff; }
.metrics__groups { margin: 0; display: grid; gap: 0; }
.metrics__groups > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.metrics__groups dt { color: var(--lime); font-weight: 500; }
.metrics__groups dd { margin: 0; }
.metrics__groups ul { margin: 0; padding: 0; list-style: none; }
.metrics__groups li + li { margin-top: 4px; }

/* ---------- FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px 64px; }
.faq__pattern { width: min(320px, 70%); margin-top: 24px; opacity: 0.9; }
.faq__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq__item:first-child { padding-top: 0; }
.faq__q { font-size: 20px; margin-bottom: 8px; }
.faq__item p { color: var(--muted); font-size: 16px; }

/* ---------- tiles (KioskOS benefits) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.tile { border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.tile__media { flex: 1; display: grid; place-items: center; padding: 28px 28px 0; }
.tile__media img { max-height: 220px; width: auto; }
.tile__body { padding: 24px 28px 28px; }
.tile__title { font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.tile p { font-size: 16px; }
.tile--dark { background: var(--dark); color: var(--on-dark-muted); }
.tile--dark .tile__title { color: var(--on-dark); }
.tile--green { background: var(--lime); color: var(--dark); }
.tile--green .tile__title { color: var(--dark); }
.tile--light { background: var(--bg-soft); }

/* ---------- photo cards (KioskOS design approach) */
.photo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.photo-cards__intro { padding: 8px 32px 24px 0; }
.photo-cards__intro p { color: var(--muted); }
.photo-card { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 30, 34, 0) 35%, rgba(4, 30, 34, 0.9) 100%); }
.photo-card figcaption { padding: 24px; color: var(--on-dark-muted); font-size: 15px; }
.photo-card__title { display: block; color: #fff; font-size: 20px; font-weight: 500; margin-bottom: 4px; }

/* ---------- screens (KioskOS admin) */
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.screen__media { border-radius: var(--radius-sm); background: var(--bg-soft); padding: 16px; margin-bottom: 24px; }
.screen__media img { border-radius: 8px; box-shadow: var(--shadow); }
.screen__title { font-size: 24px; font-weight: 400; }
.screen p { color: var(--muted); }

/* ---------- story */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.story__media img { border-radius: var(--radius); }

/* ---------- numbered */
.numbered { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 40px; margin-top: 40px; }
.numbered__item { padding: 24px 0 32px; border-bottom: 1px solid var(--line-dark); }
.numbered__n { font-size: 40px; line-height: 1; color: var(--lime); font-weight: 300; margin-bottom: 16px; }
.numbered__title { font-size: 21px; }
.numbered__item p:last-child { font-size: 16px; }

/* ---------- team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 48px; }
.person-card { position: relative; height: 100%; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.2s; }
.person-card:hover { box-shadow: var(--shadow); }
.person-card__photo { aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--dark); }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person-card__body { padding: 20px 22px 24px; }
.person-card__name { font-size: 21px; font-weight: 500; margin-bottom: 2px; }
.person-card__name a { color: var(--ink); text-decoration: none; }
.person-card__name a::after { content: ''; position: absolute; inset: 0; }
.person-card__name a:hover { text-decoration: underline; }
.person-card:focus-within { outline: 3px solid var(--green-text); outline-offset: 3px; }
.person-card__name a:focus-visible { outline: none; }
.person-card__role { color: var(--green-text); font-size: 15px; margin-bottom: 12px; }
.person-card__summary { color: var(--muted); font-size: 15px; }

/* ---------- posts */
.post-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.post-card { position: relative; height: 100%; background: #fff; border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow 0.2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 26px; }
.post-card__date { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.post-card__title { font-size: 20px; font-weight: 400; margin: 0; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ''; position: absolute; inset: 0; }
.post-card__title a:hover { text-decoration: underline; }
.post-card:focus-within { outline: 3px solid var(--green-text); outline-offset: 3px; }
.post-card__title a:focus-visible { outline: none; }

.post-rows { display: grid; gap: 0; max-width: 1000px; margin-inline: auto; }
.post-row { position: relative; display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 24px 40px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.post-row:first-child { padding-top: 0; }
.post-row__media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.post-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-row:hover .post-row__media img { transform: scale(1.03); }
.post-row__title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 10px; }
.post-row__title a { color: var(--ink); text-decoration: none; }
.post-row__title a::after { content: ''; position: absolute; inset: 0; }
.post-row__title a:hover { text-decoration: underline; }
.post-row:focus-within { outline: 3px solid var(--green-text); outline-offset: 6px; border-radius: 4px; }
.post-row__title a:focus-visible { outline: none; }
.post-row__summary { color: var(--muted); }
.post-row__author { font-size: 14px; color: var(--muted); }

/* ---------- post and team pages */
.post-hero, .person-hero { padding-top: 120px; padding-bottom: clamp(48px, 6vw, 80px); }
.post-hero__grid, .person-hero__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; }
.post-hero__media img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 900 / 630; object-fit: cover; }
.post-hero__title { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; }
.person-hero__grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
.person-hero__photo img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 20%; }
.icon-link--on-dark { color: var(--on-dark); }
.article { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 300px); gap: 48px 72px; justify-content: center; align-items: start; }
.author-card { position: sticky; top: 24px; padding: 24px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 15px; }
.author-card__top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.author-card__top p { margin: 0; line-height: 1.35; }
.author-card__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.author-card__name { color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; display: block; }
.author-card__name:hover { text-decoration: underline; }
.author-card__role { display: block; color: var(--green-text); }
.author-card__summary { color: var(--muted); }
.author-card .icon-link { color: var(--ink); }

/* ---------- long text */
.prose { font-size: 18px; line-height: 1.7; }
.prose--page { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.8em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child, .prose .section-title:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose em { color: var(--ink); }
.takeaways { margin-top: 48px; padding: 28px 32px; border-radius: var(--radius-sm); background: var(--bg-tint); border-left: 4px solid var(--green); }
.takeaways h2 { margin-top: 0; font-size: 24px; }
.updated { margin-top: 48px; font-size: 15px; color: var(--muted); }
.link-list { display: grid; gap: 0; max-width: 560px; }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 19px; }
.link-list a:hover { color: var(--green-text); }

/* ---------- forms */
.form-page { background: var(--bg-soft); padding-block: clamp(40px, 6vw, 80px) var(--section); }
.form-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 72px; align-items: start; }
.form-page__grid--demo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.form-page__intro .page-head__lead { margin-bottom: 40px; }
.office__title { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.office p { margin: 8px 0 0; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card .page-head__title { font-size: clamp(34px, 4vw, 48px); margin-bottom: 28px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 6px; font-size: 16px; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__hint { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid #b9c0b8; border-radius: 8px; background: #fff; color: var(--ink);
  font-size: 16px; line-height: 1.4;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23131313' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(8, 112, 0, 0.35); outline-offset: 0; border-color: var(--green-text); }
.field [aria-invalid="true"] { border-color: #c4271b; }
.field__error { color: #b42318; font-size: 14px; margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.form__note { font-size: 14px; color: var(--muted); margin: 4px 0 24px; }
.form__status { margin-top: 16px; font-weight: 500; color: var(--ink); }
.form__status:empty { display: none; }
.form__aside { margin-top: 24px; font-size: 15px; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-aside { padding-top: 8px; }
.demo-aside__lead { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--ink); margin-bottom: 28px; }
.demo-aside__lead::before { content: ''; display: block; width: 48px; height: 2px; background: var(--green); margin-bottom: 20px; }
.host { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.host__photo { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; object-position: 50% 20%; }
.host p { margin: 0; line-height: 1.35; }
.host span { color: var(--muted); font-size: 15px; }
.demo-aside__title { font-size: 21px; font-weight: 500; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check-list svg { flex: none; margin-top: 3px; }

/* ---------- footer */
.footer-wrap { margin-bottom: var(--inset); color: var(--on-dark-muted); }
.footer-wrap > .panel__bg img { object-position: 50% 30%; }
.footer-wrap > .panel__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 30, 34, 0.75) 0%, rgba(4, 30, 34, 0.35) 55%, rgba(4, 30, 34, 0.1) 100%); }
.get-in-touch__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.get-in-touch__title { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.site-footer { padding-block: 48px 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 40px 64px; }
.footer-brand p { margin: 20px 0 16px; max-width: 340px; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.footer-nav h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-wrap .site-footer a, .footer-wrap .site-footer .link-button { color: var(--on-dark-muted); text-decoration: none; }
.footer-wrap .site-footer a:hover, .footer-wrap .site-footer .link-button:hover { color: #fff; text-decoration: underline; }
.footer-wrap .site-footer a[aria-current="page"] { color: var(--lime); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- cookie notice */
.consent { position: fixed; z-index: 50; left: 16px; bottom: 16px; max-width: 420px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--dark); color: var(--on-dark-muted); box-shadow: 0 18px 50px rgba(4, 30, 34, 0.4); font-size: 15px; }
.consent a { color: var(--lime); }
.consent p { margin: 0; }
.consent .button-row { margin-top: 16px; }

/* ---------- responsive */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__inner, .metrics, .faq, .story, .post-hero__grid, .person-hero__grid, .form-page__grid, .form-page__grid--demo, .article, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .author-card { position: static; }
  .photo-cards, .screens { grid-template-columns: minmax(0, 1fr); }
  .photo-cards__intro { padding-right: 0; }
  .person-hero__photo { max-width: 340px; }
  .faq__pattern { display: none; }
  .story__media { order: -1; }
}
@media (max-width: 560px) {
  .person-card__photo { aspect-ratio: 1 / 0.82; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .intro { text-align: left; }
  .intro .section-title { text-align: center; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .illustrated-card { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .illustrated-card__art img { max-width: 200px; }
  .post-row { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .metrics__groups > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero { min-height: 560px; }
  .hero__shade { background: linear-gradient(0deg, rgba(4, 30, 34, 0.96) 0%, rgba(4, 30, 34, 0.8) 55%, rgba(4, 30, 34, 0.45) 100%); }
  .product-card { min-height: 400px; }
  .button { white-space: normal; }
  .prose { font-size: 17px; }
  .video-toggle { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .footer-wrap, .consent, .video-toggle, .hero__media, .panel__bg { display: none !important; }
  .panel--dark { background: none; color: #000; }
  .panel--dark h1, .panel--dark h2, .panel--dark h3 { color: #000; }
}
