/* Payrovia Story — full-viewport people-first marketing system */
:root {
  --st-ink: #0b1628;
  --st-ink-soft: #3a4a5f;
  --st-muted: #5c6b7e;
  --st-paper: #f7f5f1;
  --st-paper-deep: #efece6;
  --st-line: rgba(11, 22, 40, 0.1);
  --st-blue: #1f4fd6;
  --st-blue-deep: #183eb0;
  --st-teal: #0c9b7a;
  --st-white: #ffffff;
  --st-nav-h: 72px;
  --st-container: 1120px;
  --st-font-display: "Newsreader", Georgia, serif;
  --st-font-body: "Hanken Grotesk", system-ui, sans-serif;
  --st-radius: 14px;
  --st-shadow: 0 24px 64px rgba(11, 22, 40, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.st-site {
  margin: 0;
  font-family: var(--st-font-body);
  color: var(--st-ink);
  background: var(--st-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.st-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--st-ink); color: #fff; padding: 0.5rem 1rem; z-index: 100;
}
.st-skip:focus { left: 0.5rem; top: 0.5rem; }

/* NAV */
.st-nav {
  position: fixed; inset: 0 0 auto 0; height: var(--st-nav-h);
  z-index: 50; display: flex; align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.st-nav.is-solid {
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--st-line);
}
.st-nav:not(.is-solid) { background: transparent; }
.st-nav__inner {
  width: min(100% - 2rem, var(--st-container));
  margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
}
.st-nav__brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.st-nav__brand img {
  height: 30px; width: auto; display: block;
}
/* Logo contrast: JS swaps light vs darkmode SVG assets — do not CSS-invert (double-invert risk) */
.st-nav__market {
  font-size: 0.8rem; font-weight: 600; color: var(--st-ink-soft);
  padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(255,255,255,0.12);
}
.st-nav.is-solid .st-nav__market { background: var(--st-paper-deep); color: var(--st-ink-soft); }
.st-nav:not(.is-solid) .st-nav__market { color: #fff; }

.st-nav__links {
  display: none; gap: 1.1rem; margin-left: auto; align-items: center;
}
.st-nav__link {
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
}
.st-nav.is-solid .st-nav__link { color: var(--st-ink-soft); }
.st-nav__link:hover { color: #fff; }
.st-nav.is-solid .st-nav__link:hover { color: var(--st-ink); }

.st-nav__cta { display: none; align-items: center; gap: 0.75rem; margin-left: 0.5rem; }
.st-nav__login {
  font-weight: 600; font-size: 0.92rem; text-decoration: none;
  color: rgba(255,255,255,0.9);
}
.st-nav.is-solid .st-nav__login { color: var(--st-ink-soft); }

.st-nav__toggle {
  margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 0.4rem;
}
.st-nav.is-solid .st-nav__toggle { color: var(--st-ink); }

@media (min-width: 960px) {
  .st-nav__links, .st-nav__cta { display: flex; }
  .st-nav__toggle { display: none; }
  .st-nav__links { margin-left: auto; }
}

/* BUTTONS */
.st-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.st-btn:hover { transform: translateY(-1px); }
.st-btn--primary { background: var(--st-blue); color: #fff; }
.st-btn--primary:hover { background: var(--st-blue-deep); }
.st-btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.35);
}
.st-btn--ghost:hover { background: rgba(255,255,255,0.1); }
.st-btn--secondary {
  background: #fff; color: var(--st-ink); border-color: var(--st-line);
}

/* HERO */
.st-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.st-hero__media, .st-hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.st-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,40,0.35) 0%, rgba(11,22,40,0.55) 45%, rgba(11,22,40,0.82) 100%);
}
.st-hero__content {
  position: relative; z-index: 1;
  width: min(100% - 2rem, var(--st-container));
  margin: 0 auto;
  padding: calc(var(--st-nav-h) + 3rem) 0 4.5rem;
}
.st-hero__eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.85; margin: 0 0 0.75rem;
}
.st-hero__title {
  font-family: var(--st-font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.08; font-weight: 600; margin: 0 0 1rem; max-width: 16ch;
}
.st-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36rem; margin: 0 0 1.5rem; opacity: 0.92;
}
.st-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.st-hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  font-size: 0.88rem; opacity: 0.88;
}
.st-hero__trust span::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--st-teal); margin-right: 0.45rem; vertical-align: middle;
}

/*
 * Compact heroes for country / deep-country pages.
 * Full-viewport cinematic heroes stay on homepage (and marketing campaign pages).
 * Country pages should read as product/local pages — not a second homepage.
 */
body[data-page="country"] .st-hero,
body[data-page="country-deep"] .st-hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  color: var(--st-ink);
  background: var(--st-paper);
  overflow: visible;
  padding: calc(var(--st-nav-h) + 1.5rem) 0 2.5rem;
  gap: 1.25rem;
}
body[data-page="country"] .st-hero__media,
body[data-page="country-deep"] .st-hero__media {
  position: relative;
  order: 2;
  width: min(100% - 2rem, var(--st-container));
  margin: 0 auto;
  height: clamp(160px, 32vw, 240px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 22, 40, 0.12);
}
body[data-page="country"] .st-hero__media img,
body[data-page="country-deep"] .st-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
body[data-page="country"] .st-hero__scrim,
body[data-page="country-deep"] .st-hero__scrim {
  display: none;
}
body[data-page="country"] .st-hero__content,
body[data-page="country-deep"] .st-hero__content {
  order: 1;
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--st-container));
  margin: 0 auto;
  padding: 0;
  color: var(--st-ink);
}
body[data-page="country"] .st-hero__eyebrow,
body[data-page="country-deep"] .st-hero__eyebrow {
  color: var(--st-blue);
  opacity: 1;
}
body[data-page="country"] .st-hero__title,
body[data-page="country-deep"] .st-hero__title {
  font-size: clamp(1.95rem, 4vw, 2.75rem);
  max-width: 20ch;
  color: var(--st-ink);
}
body[data-page="country"] .st-hero__lead,
body[data-page="country-deep"] .st-hero__lead {
  opacity: 1;
  color: var(--st-ink-soft);
  max-width: 38rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
}
body[data-page="country"] .st-hero__actions,
body[data-page="country-deep"] .st-hero__actions {
  margin-bottom: 1rem;
}
body[data-page="country"] .st-hero .st-btn--ghost,
body[data-page="country-deep"] .st-hero .st-btn--ghost {
  color: var(--st-ink);
  border-color: var(--st-line);
  background: #fff;
}
body[data-page="country"] .st-hero .st-btn--ghost:hover,
body[data-page="country-deep"] .st-hero .st-btn--ghost:hover {
  background: var(--st-paper-deep);
  border-color: rgba(11, 22, 40, 0.16);
}
body[data-page="country"] .st-hero__trust,
body[data-page="country-deep"] .st-hero__trust {
  opacity: 1;
  color: var(--st-ink-soft);
}
body[data-page="country"] .st-hero__trust span::before,
body[data-page="country-deep"] .st-hero__trust span::before {
  background: var(--st-teal);
}

/* Country pages: nav always reads as solid (light bar) over compact hero */
body[data-page="country"] .st-nav,
body[data-page="country-deep"] .st-nav {
  background: rgba(247, 245, 241, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--st-line);
}
body[data-page="country"] .st-nav .st-nav__link,
body[data-page="country-deep"] .st-nav .st-nav__link,
body[data-page="country"] .st-nav .st-nav__login,
body[data-page="country-deep"] .st-nav .st-nav__login,
body[data-page="country"] .st-nav .st-nav__toggle,
body[data-page="country-deep"] .st-nav .st-nav__toggle {
  color: var(--st-ink-soft);
}
body[data-page="country"] .st-nav .st-nav__link:hover,
body[data-page="country-deep"] .st-nav .st-nav__link:hover {
  color: var(--st-ink);
}
body[data-page="country"] .st-nav .st-nav__market,
body[data-page="country-deep"] .st-nav .st-nav__market {
  background: var(--st-paper-deep);
  color: var(--st-ink-soft);
}

@media (min-width: 960px) {
  body[data-page="country"] .st-hero,
  body[data-page="country-deep"] .st-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    grid-template-areas: "content media";
    align-items: center;
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    width: min(100% - 2rem, var(--st-container));
    margin: 0 auto;
    padding: calc(var(--st-nav-h) + 2.25rem) 0 3rem;
    gap: 0;
  }
  body[data-page="country"] .st-hero__content,
  body[data-page="country-deep"] .st-hero__content {
    grid-area: content;
    width: 100%;
    margin: 0;
    order: unset;
  }
  body[data-page="country"] .st-hero__media,
  body[data-page="country-deep"] .st-hero__media {
    grid-area: media;
    order: unset;
    width: 100%;
    height: clamp(240px, 30vw, 340px);
    margin: 0;
  }
}

/* SECTIONS */
.st-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.st-section--paper { background: var(--st-paper); }
.st-section--deep { background: var(--st-ink); color: #fff; }
.st-section--soft { background: var(--st-paper-deep); }
.st-container { width: min(100% - 2rem, var(--st-container)); margin: 0 auto; }
.st-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--st-blue); margin: 0 0 0.6rem;
}
.st-section--deep .st-eyebrow { color: #9db4ff; }
.st-h2 {
  font-family: var(--st-font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.15; margin: 0 0 0.75rem; max-width: 22ch;
}
.st-lead { color: var(--st-ink-soft); font-size: 1.05rem; max-width: 40rem; margin: 0 0 2rem; }
.st-section--deep .st-lead { color: rgba(255,255,255,0.78); }

.st-beats {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .st-beats { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.st-beat {
  background: #fff; border: 1px solid var(--st-line);
  border-radius: var(--st-radius); padding: 1.35rem 1.4rem;
  box-shadow: 0 8px 24px rgba(11,22,40,0.04);
}
.st-section--deep .st-beat {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #fff;
}
.st-beat h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.st-beat p { margin: 0; color: var(--st-ink-soft); font-size: 0.98rem; }
.st-section--deep .st-beat p { color: rgba(255,255,255,0.75); }

.st-scenes {
  display: grid; gap: 1.5rem;
}
@media (min-width: 900px) {
  .st-scenes { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .st-scenes--flip .st-scenes__copy { order: 2; }
  .st-scenes--flip .st-scenes__media { order: 1; }
}
.st-scenes__media {
  border-radius: calc(var(--st-radius) + 4px); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--st-shadow);
}
.st-scenes__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ROLES */
.st-roles {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) { .st-roles { grid-template-columns: repeat(4, 1fr); } }
.st-role {
  border-radius: var(--st-radius); padding: 1.2rem;
  background: #fff; border: 1px solid var(--st-line);
}
.st-role h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.st-role p { margin: 0; color: var(--st-ink-soft); font-size: 0.95rem; }

/* ILLUSTRATIVE UI */
.st-ui {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(160deg, #122038, #0b1628);
  color: #fff;
  padding: 1.25rem;
  box-shadow: var(--st-shadow);
  overflow: hidden;
  min-height: 280px;
}
.st-ui__tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.st-ui__tab {
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent; color: rgba(255,255,255,0.8);
  border-radius: 999px; padding: 0.4rem 0.85rem; font-weight: 600; cursor: pointer;
}
.st-ui__tab[aria-selected="true"] {
  background: #fff; color: var(--st-ink); border-color: #fff;
}
.st-ui__panel { display: none; }
.st-ui__panel.is-active { display: block; animation: stSlideIn 0.45s ease both; }
@keyframes stSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.st-ui__card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 1.1rem 1.2rem; max-width: 28rem;
}
.st-ui__card strong { display: block; font-size: 1.15rem; margin-bottom: 0.35rem; }
.st-ui__card p { margin: 0; color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.st-ui__meta {
  margin-top: 0.85rem; font-size: 0.8rem; letter-spacing: 0.04em;
  text-transform: uppercase; opacity: 0.7;
}

/* CTA CLOSE */
.st-cta {
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1rem;
  background: var(--st-ink); color: #fff;
}
.st-cta h2 {
  font-family: var(--st-font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}
.st-cta p { margin: 0 auto 1.5rem; max-width: 32rem; color: rgba(255,255,255,0.78); }
.st-cta .st-btn-row { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* FOOTER */
.st-footer {
  background: #070e18; color: rgba(255,255,255,0.72);
  padding: 2.5rem 0 2rem; font-size: 0.92rem;
}
.st-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.st-footer a:hover { color: #fff; }
.st-footer__inner {
  width: min(100% - 2rem, var(--st-container)); margin: 0 auto;
  display: grid; gap: 1.5rem;
}
@media (min-width: 800px) {
  .st-footer__inner { grid-template-columns: 1.2fr 2fr; }
}
.st-footer__brand img { height: 28px; width: auto; }
.st-footer__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem;
}
@media (min-width: 700px) {
  .st-footer__cols { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.st-footer__cols h4 {
  margin: 0 0 0.6rem; color: #fff; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.st-footer__cols ul { list-style: none; margin: 0; padding: 0; }
.st-footer__cols li { margin: 0.35rem 0; }
.st-footer__legal {
  width: min(100% - 2rem, var(--st-container)); margin: 1.5rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; font-size: 0.85rem;
}

/* REVEAL — only hide when JS marks html.js-story (progressive enhancement) */
html.js-story .st-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js-story .st-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-story .st-reveal { opacity: 1; transform: none; }
  .st-ui__panel.is-active { animation: none; }
}

/* MOBILE MENU — [hidden] and .is-open stay in sync via story.js */
.st-mobile {
  position: fixed; inset: var(--st-nav-h) 0 0 0; z-index: 40;
  background: rgba(7,14,24,0.96); padding: 1.5rem;
  display: none; flex-direction: column; gap: 1rem;
}
.st-mobile.is-open { display: flex; }
.st-mobile[hidden] { display: none !important; }
.st-mobile a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Markets grid (homepage countries) */
.st-beats--markets {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .st-beats--markets { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .st-beats--markets { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1100px) {
  .st-beats--markets { grid-template-columns: repeat(5, 1fr); }
}

a.st-market {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  min-height: 100%;
}
.st-market__flag {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 1.85rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(11, 22, 40, 0.08),
    0 6px 14px rgba(11, 22, 40, 0.08);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.st-market__flag .fi {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  font-size: 1.85rem; /* scales flag-icons to fill the chip */
  line-height: 1;
}
.st-market__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.st-beats--markets .st-market h3 {
  font-size: 1.02rem;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.st-beats--markets .st-market p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.4;
  color: var(--st-ink-soft);
}
a.st-market:hover .st-market__flag {
  box-shadow:
    0 0 0 1px rgba(31, 79, 214, 0.28),
    0 8px 18px rgba(11, 22, 40, 0.1);
  transform: translateY(-1px);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.st-market:focus-visible .st-market__flag {
  outline: 2px solid var(--st-blue);
  outline-offset: 2px;
}

/* Demo booking form */
.st-demo-layout {
  display: grid; gap: 2rem; margin-top: 0.5rem;
}
@media (min-width: 900px) {
  .st-demo-layout { grid-template-columns: 1.35fr 0.85fr; align-items: start; }
}
.st-form {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(11, 22, 40, 0.06);
}
.st-form__grid {
  display: grid; gap: 1rem;
}
@media (min-width: 640px) {
  .st-form__grid { grid-template-columns: 1fr 1fr; }
}
.st-form__field--full { grid-column: 1 / -1; }
.st-form__label {
  display: block; font-weight: 600; font-size: 0.88rem;
  margin-bottom: 0.35rem; color: var(--st-ink);
}
.st-form__req { color: #c0392b; }
.st-form__input {
  width: 100%; min-height: 46px; padding: 0.65rem 0.8rem;
  border: 1px solid var(--st-line); border-radius: 10px;
  font: inherit; color: var(--st-ink); background: var(--st-paper);
}
.st-form__input:focus {
  outline: 2px solid rgba(31, 79, 214, 0.35); outline-offset: 1px;
  border-color: var(--st-blue); background: #fff;
}
.st-form__textarea { min-height: 96px; resize: vertical; }
.st-form__note {
  font-size: 0.9rem; color: var(--st-muted); margin: 1rem 0 1.25rem; line-height: 1.5;
}
.st-form .st-btn { min-width: 12rem; }
.st-demo-aside {
  background: var(--st-paper-deep);
  border-radius: var(--st-radius);
  padding: 1.5rem;
  border: 1px solid var(--st-line);
}
.st-demo-aside h3 {
  font-family: var(--st-font-display);
  font-size: 1.35rem; margin: 0 0 0.85rem;
}
.st-demo-steps {
  margin: 0 0 1rem; padding-left: 1.15rem;
  color: var(--st-ink-soft); line-height: 1.55;
}
.st-demo-steps li { margin: 0.55rem 0; }
.st-demo-aside__meta {
  margin: 0; font-size: 0.92rem; color: var(--st-muted);
}
.st-demo-aside__meta a { color: var(--st-blue); font-weight: 600; }

/* Pricing FAQ */
.st-faq { display: grid; gap: 0.75rem; max-width: 46rem; margin-top: 0.5rem; }
.st-faq__item {
  background: #fff; border: 1px solid var(--st-line);
  border-radius: 12px; padding: 0.85rem 1rem;
}
.st-faq__item summary {
  cursor: pointer; font-weight: 700; color: var(--st-ink);
  list-style: none;
}
.st-faq__item summary::-webkit-details-marker { display: none; }
.st-faq__item summary::after {
  content: "+"; float: right; color: var(--st-muted); font-weight: 600;
}
.st-faq__item[open] summary::after { content: "–"; }
.st-faq__item p {
  margin: 0.65rem 0 0.15rem; color: var(--st-ink-soft); font-size: 0.98rem;
}
.st-btn-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem;
}

/* ——— Polish pass: hierarchy, links, spacing ——— */
.st-section { padding: clamp(3.25rem, 6vw, 5.25rem) 0; }
.st-section + .st-section { /* tighter rhythm */ }
.st-hero__content { max-width: min(100%, var(--st-container)); }
.st-hero__title { max-width: 18ch; letter-spacing: -0.02em; }
.st-hero__lead { max-width: 34rem; }
.st-h2 { max-width: 24ch; letter-spacing: -0.015em; }
.st-lead { margin: 0 0 1.75rem; max-width: 38rem; }

a.st-beat {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.st-beat:hover {
  border-color: rgba(31, 79, 214, 0.35);
  box-shadow: 0 12px 32px rgba(11, 22, 40, 0.08);
  transform: translateY(-2px);
}
a.st-beat:focus-visible {
  outline: 2px solid var(--st-blue);
  outline-offset: 2px;
}

.st-roles { margin-top: 1.5rem; }
.st-beat ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  color: var(--st-ink-soft);
  font-size: 0.95rem;
}
.st-beat ul li { margin: 0.3rem 0; }
.st-section--deep .st-beat ul { color: rgba(255,255,255,0.75); }

.st-feature-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 800px) {
  .st-feature-list { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
}
.st-feature-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 12px;
  color: var(--st-ink-soft);
  font-size: 0.98rem;
}
.st-feature-list li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-teal);
}
.st-feature-list strong {
  display: block;
  color: var(--st-ink);
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.st-footer__brand p {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  line-height: 1.5;
}
.st-note-inline {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--st-ink-soft);
}
.st-note-inline a { color: var(--st-blue); font-weight: 600; text-decoration: none; }
.st-note-inline a:hover { text-decoration: underline; }

/* Utility pages: calm trust strip instead of product UI */
.st-trust-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 800px) {
  .st-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
.st-trust-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--st-radius);
  padding: 1.25rem 1.35rem;
  color: #fff;
}
.st-trust-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; color: #fff; }
.st-trust-card p { margin: 0; color: rgba(255,255,255,0.75); font-size: 0.98rem; }

.st-btn:focus-visible,
.st-nav__link:focus-visible,
.st-nav__login:focus-visible {
  outline: 2px solid var(--st-blue);
  outline-offset: 3px;
}
.st-nav:not(.is-solid) .st-btn:focus-visible,
.st-nav:not(.is-solid) .st-nav__link:focus-visible {
  outline-color: #fff;
}

.st-beats--second { margin-top: 1rem; }
@media (min-width: 800px) {
  .st-beats--second { grid-template-columns: repeat(3, 1fr); }
}
