/* Regulya site — layout, components, responsiveness */

*,
*::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 {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--neutral-0);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

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

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: var(--brand);
}

.section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 640px;
  margin-top: 16px;
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: linear-gradient(180deg, #fbfdfe, var(--bg));
}

.section--dark {
  background:
    radial-gradient(circle at 88% 18%, rgba(15, 157, 142, 0.2), transparent 32%),
    linear-gradient(135deg, var(--brand), #0a2230);
  color: #fff;
}

.section--dark .section-title {
  color: #fff;
}

.section--dark .section-copy {
  color: #c8d4dc;
}

.section--accent-soft {
  background: linear-gradient(180deg, #eef8f6, var(--accent-soft));
}

@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 157, 142, 0.22);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: #c8d5de;
}

.btn-secondary:hover {
  background: var(--neutral-50);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-full-mobile {
  width: auto;
}

@media (max-width: 767px) {
  .btn-full-mobile {
    width: 100%;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0 0;
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-700);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.nav-login[hidden] {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.nav-drawer {
  display: none;
}

@media (max-width: 1023px) {
  .nav-links,
  .nav-actions .nav-demo-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
  }

  .nav-drawer[hidden] {
    display: none;
  }

  .nav-drawer.is-open {
    pointer-events: auto;
  }

  .nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 45, 64, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .nav-drawer.is-open .nav-drawer__backdrop {
    opacity: 1;
  }

  .nav-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 100%);
    height: 100%;
    background: #fff;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .nav-drawer.is-open .nav-drawer__panel {
    transform: translateX(0);
  }

  .nav-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-drawer__links a {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--neutral-700);
  }

  .nav-drawer__links a:hover {
    background: var(--accent-soft);
    color: var(--brand);
  }

  .nav-drawer__close {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  background:
    radial-gradient(circle at 78% 8%, rgba(15, 157, 142, 0.16), transparent 34%),
    radial-gradient(circle at 18% 88%, rgba(124, 167, 255, 0.12), transparent 36%),
    linear-gradient(#fff, #f7fbfc);
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--brand);
  max-width: 16ch;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero__lead {
  font-size: 18px;
  color: var(--neutral-600);
  max-width: 38ch;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-600);
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-accessible);
  flex-shrink: 0;
}

.check-dot svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 36px 0 40px;
  }

  .hero__actions {
    flex-direction: column;
  }
}

/* Dashboard mock */
.dash-shell {
  background: #fff;
  border: 1px solid #dfe7ec;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  position: relative;
}

.dash-shell__badge {
  position: absolute;
  top: -10px;
  right: 16px;
  z-index: 2;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8e0e6;
}

.dash {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 420px;
  gap: 10px;
}

.dash-sidebar {
  background: var(--neutral-50);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 10px;
}

.dash-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 16px;
  padding: 0 4px;
}

.dash-sidebar__brand img {
  width: 22px;
  height: 22px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-600);
  margin-bottom: 2px;
}

.dash-nav-item.is-active {
  background: var(--accent-soft);
  color: var(--brand);
}

.dash-nav-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}

.dash-main {
  padding: 4px 4px 0;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dash-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
}

.company-pill {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  white-space: nowrap;
}

.dash-metrics {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.metric-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.metric-card--gauge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gauge {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.gauge-track {
  fill: none;
  stroke: #edf2f5;
  stroke-width: 8;
}

.gauge-value {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.gauge-label {
  font-size: 16px;
  font-weight: 800;
  fill: var(--brand);
}

.metric-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}

.metric-card b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
  margin: 2px 0;
  color: var(--brand);
}

.metric-card .danger {
  color: var(--danger);
}

.metric-card .ok {
  color: var(--success);
}

.dash-panels {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 10px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.panel-title {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--brand);
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr 72px 36px;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
  font-size: 10px;
  color: var(--neutral-600);
}

.bar {
  height: 7px;
  background: #edf2f5;
  border-radius: 99px;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
}

.bar > span.is-warn {
  background: var(--warning);
}

.bar-row b {
  text-align: right;
  color: var(--brand);
}

.updates {
  display: grid;
  gap: 8px;
}

.update {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f5;
  font-size: 10px;
  color: var(--neutral-600);
}

.update:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.update strong {
  color: var(--brand);
  display: block;
}

.update-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  background: #eef8f6;
  color: var(--accent-accessible);
}

.update-icon--map {
  background: #fff4e5;
  color: #b45309;
}

.update-icon--mte {
  background: #e9f4ff;
  color: #1d4ed8;
}

@media (max-width: 1023px) {
  .dash {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }
}

@media (max-width: 767px) {
  .dash-shell {
    border-radius: 18px;
    padding: 8px;
  }

  .dash-metrics,
  .dash-panels {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card--gauge {
    grid-column: 1 / -1;
  }

  .dash-panels {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr 56px 32px;
  }
}

/* Categories */
.categories {
  padding: 28px 0 40px;
  border-bottom: 1px solid #eef2f4;
}

.categories__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #78909e;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
}

.categories__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--neutral-600);
  font-size: 13px;
  font-weight: 700;
}

.category-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Features */
.features-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent-accessible);
}

.feature-card:nth-child(2) .feature-icon {
  background: #eee9ff;
  color: #6d28d9;
}

.feature-card:nth-child(3) .feature-icon {
  background: #fff2d8;
  color: #b45309;
}

.feature-card:nth-child(4) .feature-icon {
  background: #e8f1ff;
  color: #1d4ed8;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--brand);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}

.feature-card .text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-accessible);
}

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

@media (max-width: 1023px) {
  .features-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Process */
.process-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-card__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-accessible);
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--brand);
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
}

.step-arrow {
  display: none;
}

@media (min-width: 1024px) {
  .steps-row {
    gap: 28px;
  }

  .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42px;
    right: -22px;
    width: 16px;
    height: 2px;
    background: var(--neutral-300);
  }

  .step-card:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 38px;
    right: -22px;
    border: 5px solid transparent;
    border-left-color: var(--neutral-300);
  }
}

@media (max-width: 1023px) {
  .steps-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .steps-row {
    grid-template-columns: 1fr;
  }
}

.process-banner {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #e8f7f4, #f7fbfc);
  border: 1px solid #d6ebe6;
}

.process-banner p {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  max-width: 28ch;
}

/* Sectors */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.sector-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: #fff;
  min-height: 180px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: inherit;
}

.sector-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sector-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.sector-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f7f6;
  color: var(--accent-accessible);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.sector-card__icon svg {
  width: 20px;
  height: 20px;
}

.sector-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--brand);
}

.sector-card p {
  font-size: 13px;
  color: var(--muted);
}

.sector-card__hint {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-accessible);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 1023px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .sector-grid {
    grid-template-columns: 1fr;
  }
}

/* Intelligence network */
.intelligence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.network {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 24px;
}

.network__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  height: 100%;
  min-height: 272px;
}

.network__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.network__node {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.network__hub {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 157, 142, 0.35);
}

.network__arrow {
  color: rgba(255, 255, 255, 0.45);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.network__caption {
  margin-top: 14px;
  font-size: 12px;
  color: #9fb3bf;
}

@media (max-width: 1023px) {
  .intelligence {
    grid-template-columns: 1fr;
  }

  .network__flow {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .network__arrow {
    transform: rotate(90deg);
  }
}

/* Regulatory change */
.change-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
  border: 1px solid #d9ede9;
  border-radius: 20px;
  padding: 32px;
  background: linear-gradient(135deg, #f1faf8, #ffffff);
  align-items: center;
}

.notice {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.notice-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e6f7f2;
  color: var(--accent-accessible);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notice h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  color: var(--brand);
}

.notice > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.notice-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eef2f5;
  font-size: 13px;
  color: var(--neutral-600);
}

.notice-row b {
  color: var(--danger);
}

.notice-row strong {
  color: var(--brand);
}

.notice-cta {
  display: inline-flex;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-accessible);
}

@media (max-width: 767px) {
  .change-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* About / trust */
.trust-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.trust-copy {
  background:
    radial-gradient(circle at 80% 0%, rgba(15, 157, 142, 0.28), transparent 36%),
    linear-gradient(135deg, var(--brand), #092433);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-copy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.trust-copy > p {
  color: #c8d4dc;
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 40ch;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 600;
}

.trust-list svg {
  width: 18px;
  height: 18px;
  color: #63e0c9;
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-visual {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-visual h3 {
  font-size: 16px;
  color: var(--brand);
  margin-bottom: 4px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--neutral-50);
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-700);
}

.checklist-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-accessible);
  flex-shrink: 0;
}

.checklist-item.is-done {
  background: #eef8f6;
  border-color: #cfeae4;
}

@media (max-width: 1023px) {
  .trust-block {
    grid-template-columns: 1fr;
  }
}

/* Demo / CTA */
.cta-band {
  border-radius: var(--radius-xl);
  padding: 48px;
  background:
    radial-gradient(circle at 85% 0%, rgba(15, 157, 142, 0.25), transparent 34%),
    linear-gradient(180deg, #e8f7f4, var(--accent-soft));
  border: 1px solid #cfeae4;
  margin-bottom: 28px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--brand);
  margin: 8px 0 12px;
}

.cta-band p {
  color: var(--neutral-600);
  max-width: 48ch;
  margin: 0 auto 24px;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

.demo-card h3 {
  font-size: 22px;
  color: var(--brand);
  margin-bottom: 8px;
}

.demo-card > p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-700);
}

.form-field .req {
  color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 157, 142, 0.15);
  outline: none;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  font-size: 12px;
  color: var(--danger);
  min-height: 1.2em;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--preview {
  background: #eef8f6;
  color: var(--accent-accessible);
  border: 1px solid #cfeae4;
}

.form-status--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.form-status--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.noscript-note {
  margin-top: 16px;
  padding: 14px;
  background: var(--neutral-100);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--neutral-700);
}

@media (max-width: 767px) {
  .cta-band {
    padding: 32px 20px;
  }

  .demo-card {
    padding: 24px 18px;
  }

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

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  background: #081c27;
  color: #c8d4dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.site-footer .brand img {
  height: 34px;
}

.footer-tagline {
  max-width: 380px;
  color: #9fb3bf;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 14px;
}

.site-footer a {
  display: block;
  color: #afc0ca;
  font-size: 14px;
  margin: 8px 0;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 13px;
  color: #8fa3af;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal pages */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--brand);
  margin-bottom: 12px;
}

.legal-page .meta {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 14px;
}

.legal-page h2 {
  font-size: 22px;
  color: var(--brand);
  margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
  color: var(--neutral-700);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--accent-accessible);
  text-decoration: underline;
}

/* 404 */
.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.page-404 h1 {
  font-size: clamp(40px, 6vw, 64px);
  color: var(--brand);
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 40ch;
}

/* Utility */
[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

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

body.menu-open {
  overflow: hidden;
}
