/* ============================================================
   INGRADA Slovensko — site styles
   Built from the "INGRADA Slovensko" design-canvas artboard.
   Layers an INGRADA-blue accent over the Softplan Slovakia
   design-system tokens in colors_and_type.css.
   ============================================================ */

:root {
  /* INGRADA blue accent (artboard overrides the DS green) */
  --ing-blue:        #0069B4;
  --ing-blue-hover:  #005494;
  --ing-blue-light:  #3E8FC9;
  --ing-sky:         #7FC3EF;
  --ing-sky-soft:    #BFE0F5;
  --ing-sky-tint:    #DCEBF7;
  --ing-wash:        #DCE8F3;   /* behind screenshots */

  /* Navy surfaces */
  --ing-navy:        #0B2B45;
  --ing-navy-hover:  #123A5B;
  --ing-on-navy:     #C6D6E3;
  --ing-on-navy-dim: #9DB6C9;
  --ing-on-navy-mut: #8FA9BE;
  --ing-on-navy-lit: #D6E4EF;

  /* Neutrals (from the design system) */
  --ing-ink:         var(--sp-dark-blue);   /* #213543 */
  --ing-muted:       var(--sp-ink-500);     /* #56636F */
  --ing-line:        var(--sp-ink-100);     /* #E7EAEF */
  --ing-line-strong: var(--sp-ink-200);     /* #D0D6DE */

  /* The artboard tints the soft sections blue rather than using the design
     system's neutral grey. Applies to the value props, showcase, "Ako
     začneme" box and the about band — nowhere else. */
  --ing-soft:        #EDF3FA;
  --ing-soft-line:   #D8E4EF;

  --ing-shell:       1240px;
  --ing-gutter:      40px;
  --ing-header-h:    88px;

  scroll-padding-top: var(--ing-header-h);
}

/* ---------- Base ---------- */
html, body { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sp-font-sans);
  color: var(--ing-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ing-blue); text-decoration: none; }
a:hover { color: var(--ing-blue-hover); }

input, textarea, select, button { font-family: inherit; }

::selection { background: var(--ing-blue); color: #fff; }

img { max-width: 100%; }

h1, h2, h3, p { margin: 0; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ing-sky);
  outline-offset: 2px;
}

.page { max-width: 100%; overflow-x: hidden; }

.shell {
  max-width: var(--ing-shell);
  margin: 0 auto;
  padding-left: var(--ing-gutter);
  padding-right: var(--ing-gutter);
}

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

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--sp-font-sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ing-blue);
}
.eyebrow--sky      { color: var(--ing-sky); }
.eyebrow--sky-soft { color: var(--ing-sky-soft); }

.section-title {
  font-family: var(--sp-font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  text-wrap: pretty;
}
.section-title--sm { font-size: clamp(28px, 3.6vw, 40px); }
.section-title--xs { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.15; }

.section-lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ing-muted);
  margin: 20px 0 0;
}

.section-head { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--sp-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--sp-dur-base) var(--sp-ease-standard),
              color var(--sp-dur-base) var(--sp-ease-standard),
              border-color var(--sp-dur-base) var(--sp-ease-standard);
}
.btn--primary { background: var(--ing-blue); color: #ffffff; }
.btn--primary:hover { background: var(--ing-blue-light); color: #ffffff; }

.btn--ghost-light { border-color: rgba(255,255,255,0.35); color: #ffffff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); color: #ffffff; }

.btn--block { display: block; width: 100%; border: none; }
.btn--block:hover { background: var(--ing-blue-hover); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--sp-z-nav);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ing-line);
}
.site-header .shell {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__word {
  font-family: var(--sp-font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ing-blue);
}
.brand__rule { width: 1px; height: 26px; background: var(--ing-line-strong); }
.brand__logo { height: 26px; width: auto; display: block; }

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ing-ink);
  transition: color var(--sp-dur-base) var(--sp-ease-standard);
}
.site-nav a:hover { color: var(--ing-blue); }

.nav-cta {
  background: var(--ing-blue);
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: var(--sp-radius-pill);
  transition: background var(--sp-dur-base) var(--sp-ease-standard);
}
.nav-cta:hover { background: var(--ing-blue-hover); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--ing-line-strong);
  border-radius: var(--sp-radius-pill);
  cursor: pointer;
  color: var(--ing-ink);
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--ing-navy);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero .shell {
  position: relative;
  padding-top: 104px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero__title {
  color: #ffffff;
  font-family: var(--sp-font-display);
  font-weight: 800;
  /* The artboard specifies 56px, but its second line is set `nowrap` and at
     56px that line is ~590px — wider than the 557px the left column can ever
     be inside a 1240px shell. 52px is the largest size that keeps the line
     unbroken as the artboard intends. Scales down with the column below that. */
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 20px 0 0;
}
/* "jednoducho a všade." stays on its own unbroken line, per the artboard.
   Released at the narrow breakpoint, where no usable size would fit. */
.hero__title span { display: block; white-space: nowrap; }

.hero__lead {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--ing-on-navy);
  margin: 28px 0 0;
  max-width: 34em;
}

.hero__actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 56px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  flex-wrap: wrap;
}
.hero__stat-value {
  font-family: var(--sp-font-display);
  font-weight: 800;
  font-size: 26px;
  color: #ffffff;
}
.hero__stat-label { font-size: 13px; color: var(--ing-on-navy-mut); margin-top: 4px; }

.hero__media { position: relative; min-width: 0; }

.hero__devices-label {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ing-on-navy-mut);
}

/* Bleeds 14% past the column on the left, as composed in the artboard. */
.hero__devices {
  display: block;
  width: 114%;
  max-width: 114%;
  height: auto;
  margin-left: -14%;
  filter: drop-shadow(0 28px 60px rgba(0,0,0,0.45));
}

/* ============================================================
   Value props
   ============================================================ */
.value-props {
  background: var(--ing-soft);
  border-bottom: 1px solid var(--ing-soft-line);
}
.value-props .shell { padding-top: 72px; padding-bottom: 80px; }
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  background: #ffffff;
  padding: 36px 32px;
  border-top: 3px solid var(--ing-blue);
}
.value-card h3 {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.value-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ing-muted);
  margin-top: 14px;
}

/* ============================================================
   Platforms
   ============================================================ */
.platforms .shell { padding-top: 104px; padding-bottom: 96px; }
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.platform-card {
  border: 1px solid var(--ing-line);
  padding: 40px 36px;
  transition: box-shadow var(--sp-dur-base) var(--sp-ease-standard),
              border-color var(--sp-dur-base) var(--sp-ease-standard);
}
.platform-card:hover {
  border-color: var(--ing-blue);
  box-shadow: 0 12px 32px rgba(33,53,67,0.10);
}
.platform-card__name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.platform-card__brand {
  font-family: var(--sp-font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--ing-blue);
}
.platform-card__variant {
  font-family: var(--sp-font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--ing-ink);
}
.platform-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ing-muted);
  margin-top: 16px;
}

/* ============================================================
   Showcase
   ============================================================ */
.showcase {
  background: var(--ing-soft);
  border-top: 1px solid var(--ing-soft-line);
}
.showcase .shell { padding-top: 88px; padding-bottom: 96px; }
.showcase__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  flex-wrap: wrap;
}
.showcase__head > div { max-width: 640px; }
.showcase__note {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ing-muted);
  max-width: 34em;
}
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.shot { margin: 0; background: #ffffff; padding: 12px; }
.shot__media { height: 260px; position: relative; background: var(--ing-wash); }
.shot__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot figcaption { padding: 18px 12px 10px; }
.shot__title { font-family: var(--sp-font-display); font-weight: 700; font-size: 16px; }
.shot__desc { font-size: 14px; line-height: 1.55; color: var(--ing-muted); margin-top: 6px; }

/* ============================================================
   Applications
   ============================================================ */
.apps { background: var(--ing-navy); color: #ffffff; }
.apps .shell { padding-top: 104px; padding-bottom: 104px; }
.apps .section-title { color: #ffffff; }
.apps .section-lead { color: var(--ing-on-navy); }

.apps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  margin-top: 56px;
}
.app-tile {
  background: var(--ing-navy);
  padding: 32px 28px;
  transition: background var(--sp-dur-base) var(--sp-ease-standard);
}
.app-tile:hover { background: var(--ing-navy-hover); }
.app-tile h3 {
  color: #ffffff;
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 19px;
}
.app-tile p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ing-on-navy-dim);
  margin-top: 10px;
}
.apps__footnote { font-size: 16px; color: var(--ing-on-navy-dim); margin-top: 36px; }
.apps__footnote a { color: var(--ing-sky); text-decoration: underline; }

/* ============================================================
   Integrations
   ============================================================ */
.integrations .shell {
  padding-top: 104px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--ing-line-strong);
  color: var(--ing-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--sp-radius-pill);
}

.steps-box { background: var(--ing-soft); padding: 44px 40px; }
.steps-box h3 {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.steps {
  display: flex; flex-direction: column; gap: 28px;
  margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step;
}
.steps li { display: flex; gap: 20px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  flex: 0 0 40px;
  height: 40px;
  border-radius: var(--sp-radius-pill);
  background: var(--ing-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps__title { font-weight: 700; font-size: 17px; }
.steps p { font-size: 15px; line-height: 1.6; color: var(--ing-muted); margin-top: 6px; }

/* ============================================================
   About / references
   ============================================================ */
.about { background: var(--ing-soft); }
.about__split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: stretch;
}
.about__media { position: relative; min-width: 0; width: 100%; min-height: 440px; background: var(--ing-wash); }
.about__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 20%;   /* keeps the faces in frame as the column narrows */
  display: block;
}
.about__body { background: #ffffff; min-width: 0; padding: 88px 72px; }
.about__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ing-muted);
  margin-top: 22px;
}
.about__body p + p { margin-top: 16px; }
.cities {
  display: flex;
  gap: 32px;
  margin: 36px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--ing-line);
  flex-wrap: wrap;
  list-style: none;
}
.cities li { font-size: 15px; font-weight: 600; color: var(--ing-blue); }

/* ============================================================
   FAQ
   ============================================================ */
.faq .shell {
  max-width: 920px;
  padding-top: 104px;
  padding-bottom: 96px;
}
.faq .section-title { margin-bottom: 44px; }
.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ing-line);
}
.faq__item { border-bottom: 1px solid var(--ing-line); padding: 28px 0; }
.faq__item h3 { font-family: var(--sp-font-display); font-weight: 700; font-size: 19px; }
.faq__item p { font-size: 16px; line-height: 1.7; color: var(--ing-muted); margin-top: 10px; }

/* ============================================================
   Legal page (spracovanie-osobnych-udajov.html)
   ============================================================ */
.legal .shell {
  max-width: 820px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.legal__title {
  font-family: var(--sp-font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
}
.legal__lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--ing-muted);
  margin: 20px 0 0;
}
.legal h2 {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--ing-line);
}
.legal p { font-size: 16px; line-height: 1.75; margin-top: 14px; }
.legal strong { font-weight: 700; color: var(--ing-ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

.legal__list { margin: 14px 0 0; padding-left: 22px; }
.legal__list li { font-size: 16px; line-height: 1.75; margin-top: 10px; }

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}
.legal__table th,
.legal__table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ing-line);
  vertical-align: top;
}
.legal__table th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ing-muted);
  border-bottom-color: var(--ing-line-strong);
}
.legal__table tbody tr:nth-child(odd) { background: var(--ing-soft); }

.legal__meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ing-line);
  font-size: 14px;
  color: var(--sp-ink-400);
}
.legal__back { margin-top: 32px; font-weight: 600; }

@media (max-width: 620px) {
  .legal .shell { padding-top: 56px; padding-bottom: 64px; }
  .legal h2 { margin-top: 36px; padding-top: 22px; }
  /* The table would squeeze its columns to nothing on a phone. */
  .legal__table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--ing-blue); color: #ffffff; }
.contact .shell {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.contact .section-title { color: #ffffff; }
.contact__lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--ing-sky-tint);
  margin: 20px 0 0;
}
.contact__panel { background: #ffffff; padding: 40px; color: var(--ing-ink); }

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.field { display: flex; flex-direction: column; min-width: 0; gap: 8px; }
.field--wide { grid-column: span 2; }
/* Scoped to the class, not `.field > span` — the error message is also a
   direct span child, and used to inherit the label's caps treatment. */
.field__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ing-muted);
}
/* Only two of the five fields are optional, so marking those is quieter than
   putting an asterisk on the three that are required. */
.field__label i {
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--sp-ink-400);
}

/* Errors sit directly under their field — no toasts, no summary at the top.
   Set deliberately unlike the labels above them: sentence case, regular
   weight, no tracking, so the two never read as the same kind of thing.
   The glyph carries the meaning alongside the colour, not by colour alone. */
.field__error {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sp-danger);
}
.field__error::before {
  content: "!";
  flex: 0 0 15px;
  height: 15px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--sp-danger);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}
.consent__error { margin-top: 8px; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--sp-danger);
}
.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  border-color: var(--sp-danger);
  box-shadow: 0 0 0 3px rgba(178, 58, 58, 0.18);
}
.field input,
.field textarea {
  border: 1px solid var(--ing-line-strong);
  min-width: 0;
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  background: #ffffff;
  color: var(--ing-ink);
  border-radius: 0;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ing-blue);
  box-shadow: 0 0 0 3px rgba(0, 105, 180, 0.18);
}

/* Honeypot — off-screen rather than display:none, which crawlers skip.
   Hidden from assistive tech via aria-hidden on the wrapper in the markup. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Reserves the widget's height so the button does not jump when Cloudflare
   finishes loading. Collapsed entirely when no site key is configured. */
.turnstile { margin-top: 20px; min-height: 65px; }
.turnstile:empty { display: none; }

.form-error {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-danger);
}

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ing-blue); flex: 0 0 auto; }
.consent span { font-size: 14px; line-height: 1.55; color: var(--ing-muted); }

.contact__form button { margin-top: 28px; }

.contact__sent {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.contact__sent-title {
  font-family: var(--sp-font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.contact__sent p { font-size: 16px; line-height: 1.65; color: var(--ing-muted); }

[hidden] { display: none !important; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ing-navy); color: var(--ing-on-navy-dim); }
.site-footer__top {
  padding-top: 64px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
}
/* Two blocks — INGRADA the product, Softplan Slovakia the company — each
   behind its own vertical rule. */
.site-footer__identity { display: flex; flex-direction: column; gap: 24px; }
.site-footer__block { display: flex; gap: 18px; align-items: flex-start; }
/* Stretches to whatever the block beside it happens to be tall. */
.site-footer__rule {
  flex: 0 0 3px;
  align-self: stretch;
  background: rgba(255,255,255,0.22);
}
.site-footer__name {
  display: block;
  font-family: var(--sp-font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.site-footer__logo { height: 24px; width: auto; display: block; }
.site-footer__blurb {
  color: var(--ing-on-navy-lit);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
  max-width: 30em;
}
/* The logo has less optical weight below its baseline than the wordmark. */
.site-footer__blurb--under-logo { margin-top: 12px; }
.site-footer__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  font-size: 15px;
  list-style: none;
}
.site-footer__links a { color: var(--ing-on-navy-dim); transition: color var(--sp-dur-base) var(--sp-ease-standard); }
.site-footer__links a:hover { color: #ffffff; }

.site-footer__bar { border-top: 1px solid rgba(255,255,255,0.12); }
.site-footer__bar .shell {
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   Responsive — the artboard is a 1240px desktop composition;
   these breakpoints carry it down to phones.
   ============================================================ */
@media (max-width: 1100px) {
  .hero .shell { grid-template-columns: 1fr; gap: 64px; padding-top: 80px; padding-bottom: 96px; }
  .hero__media { max-width: 720px; }
  .integrations .shell,
  .contact .shell { gap: 56px; }
  .about__body { padding: 64px 48px; }
}

@media (max-width: 980px) {
  :root { --ing-gutter: 28px; }

  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--ing-gutter) 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--ing-line);
    box-shadow: var(--sp-shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--ing-line); }
  .site-nav .nav-cta {
    margin-top: 16px;
    border-bottom: none;
    text-align: center;
    padding: 14px 22px;
  }

  .value-props__grid { grid-template-columns: 1fr; gap: 20px; }
  .platforms__grid { grid-template-columns: 1fr; gap: 20px; }
  .showcase__grid { grid-template-columns: 1fr; }
  .apps__grid { grid-template-columns: repeat(2, 1fr); }
  .integrations .shell,
  .contact .shell { grid-template-columns: 1fr; }
  .about__split { grid-template-columns: 1fr; }
  .about__media { min-height: 340px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer__top > :first-child { grid-column: span 2; }
}

@media (max-width: 620px) {
  :root { --ing-gutter: 20px; }

  .platforms .shell,
  .apps .shell,
  .integrations .shell,
  .faq .shell,
  .contact .shell { padding-top: 72px; padding-bottom: 72px; }
  .showcase .shell,
  .value-props .shell { padding-top: 56px; padding-bottom: 64px; }

  .hero .shell { padding-top: 56px; padding-bottom: 72px; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .hero__stats { gap: 24px; }

  /* Below this width the headline cannot hold one unbroken line. */
  .hero__title span { white-space: normal; }

  /* The left bleed would push the devices off a phone screen. */
  .hero__devices { width: 100%; max-width: 100%; margin-left: 0; }

  .apps__grid { grid-template-columns: 1fr; }
  .platform-card { padding: 28px 24px; }
  .value-card { padding: 28px 24px; }
  .steps-box { padding: 32px 24px; }
  .about__body { padding: 48px 24px; }
  .contact__panel { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: span 1; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__top > :first-child { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  * { transition-duration: 1ms !important; }
}
