/* CAMSERMAR - Cameroon Service Market */
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --blue: #0b3d91;
  --blue-deep: #06265c;
  --blue-mid: #1557c0;
  --blue-soft: #e8f0ff;
  --flag-green: #007a3d;
  --flag-red: #ce1126;
  --flag-yellow: #fcd116;
  --ink: #0c1a2e;
  --ink-muted: #4a5d73;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: rgba(11, 61, 145, 0.12);
  --shadow: 0 18px 50px rgba(6, 38, 92, 0.14);
  --radius: 14px;
  --nav-h: 72px;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", Anton, sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
  --max-wide: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

ul,
ol {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.container-wide {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.flag-strip {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--flag-green) 0 33.33%,
    var(--flag-red) 33.33% 66.66%,
    var(--flag-yellow) 66.66% 100%
  );
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--blue-deep);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-muted);
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-links .nav-cta {
  margin-left: 0.35rem;
  background: var(--blue);
  color: var(--white);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  background: var(--blue-mid);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible {
  outline: 3px solid rgba(21, 87, 192, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--flag-yellow);
  color: var(--blue-deep);
}

.btn-primary:hover {
  background: #ffe566;
}

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

.btn-solid:hover {
  background: var(--blue-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: rgba(11, 61, 145, 0.28);
}

.btn-outline:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(155deg, var(--blue-deep) 0%, var(--blue) 58%, #134e9c 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4.5rem 0 4rem;
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--flag-yellow);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-copy {
  animation: rise-in 0.8s ease both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: float-in 1s ease both 0.12s;
}

/* Phone frame (brand presentation, not a fake screenshot) */
.phone-frame {
  width: min(100%, 280px);
  aspect-ratio: 9 / 18.5;
  border-radius: 36px;
  padding: 12px;
  background: #0a1628;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  border-radius: 999px;
  background: #0a1628;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(165deg, #0d3f99, #06265c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2.5rem 1.25rem 1.75rem;
  text-align: center;
  color: var(--white);
}

.phone-screen img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.phone-screen strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.phone-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.phone-pills span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
}

.section-deep {
  background: var(--blue-deep);
  color: var(--white);
}

.section-deep .section-head h2,
.section-deep .section-head p,
.section-deep .eyebrow {
  color: var(--white);
}

.section-deep .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.section-deep .eyebrow {
  color: var(--flag-yellow);
}

.section-soft {
  background: var(--blue-soft);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.8rem;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.section-body {
  max-width: 42rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.section-body p + p {
  margin-top: 1rem;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

/* Feature / card grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.feature-card {
  padding: 1.35rem 1.25rem;
  border-top: 2px solid var(--blue);
  background: transparent;
}

.feature-card.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: 0 0 12px 12px;
}

.feature-card .label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.55rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.feature-card p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.section-deep .feature-card {
  border-top-color: var(--flag-yellow);
}

.section-deep .feature-card .label {
  color: var(--flag-yellow);
}

.section-deep .feature-card h3 {
  color: var(--white);
}

.section-deep .feature-card p {
  color: rgba(255, 255, 255, 0.75);
}

.section-soft .feature-card.panel {
  background: var(--white);
}

/* Audience lists */
.audience-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: start;
}

.list-features {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.list-feature {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.list-feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.list-feature strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: 0.15rem;
}

.list-feature p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 1.5rem 1.1rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.process-step::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--blue);
  opacity: 0.35;
  margin-bottom: 0.7rem;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--blue-deep);
  margin-bottom: 0.45rem;
}

.process-step p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Experience */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.experience-item {
  padding: 1.4rem 1.2rem;
  border-left: 3px solid var(--blue);
  background: var(--paper);
}

.section-alt .experience-item {
  background: var(--paper);
}

.experience-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}

.experience-item p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Philosophy / trust blocks */
.statement {
  max-width: 44rem;
}

.statement h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

.statement p {
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.statement p + p {
  margin-top: 1rem;
}

.section-deep .statement h2,
.section-deep .statement .eyebrow {
  color: var(--white);
}

.section-deep .statement .eyebrow {
  color: var(--flag-yellow);
}

.section-deep .statement p {
  color: rgba(255, 255, 255, 0.8);
}

.stack-actions {
  margin-top: 2rem;
}

.eco-note {
  margin-inline: auto;
  text-align: center;
}

.final-cta-wrap {
  text-align: center;
}

.final-cta-wrap .btn-group {
  justify-content: center;
}

.solution-lead {
  margin-bottom: 2.5rem;
}

/* CTA bands */
.cta-band {
  padding: 4.5rem 0;
  background: linear-gradient(145deg, var(--blue-deep), var(--blue));
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.cta-band .btn-group {
  justify-content: center;
}

/* App download */
.app-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.store-card {
  text-align: left;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.store-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.store-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.store-download {
  margin-top: 1rem;
}

.store-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(252, 209, 22, 0.18);
  color: var(--flag-yellow);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(145deg, var(--blue-deep), var(--blue));
  color: var(--white);
  padding: 3.75rem 0 3.25rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  max-width: 18ch;
}

.page-hero p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.page-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* About-specific */
.about-block {
  padding: 4.5rem 0;
}

.about-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-panel {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.about-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
}

.about-panel p {
  color: var(--ink-muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.principle {
  padding-top: 1rem;
  border-top: 2px solid var(--blue);
}

.principle strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.principle p {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.ecosystem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.35rem;
  margin: 2rem 0 1.5rem;
}

.eco-node {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--blue-deep);
}

.eco-arrow {
  color: var(--blue-mid);
  font-weight: 700;
  opacity: 0.55;
}

/* Legal / contact preserved */
.content-block {
  padding: 3.5rem 0 5rem;
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-deep);
  margin: 2.25rem 0 0.75rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

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

.prose p,
.prose li {
  color: var(--ink);
  margin-bottom: 0.85rem;
  font-size: 1.02rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem 1.25rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.4rem;
}

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

.legal-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-toc h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.legal-toc ol {
  columns: 2;
  column-gap: 2rem;
  list-style: decimal;
  margin-left: 1.25rem;
}

.legal-toc li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.legal-toc a {
  color: var(--ink-muted);
}

.legal-toc a:hover {
  color: var(--blue);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
}

.contact-item p,
.contact-item a {
  color: var(--ink-muted);
}

.contact-item a:hover {
  color: var(--blue);
}

.contact-note {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand span {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-grid h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--flag-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid-4,
  .principles {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .feature-grid-2,
  .feature-grid-3,
  .experience-grid,
  .audience-grid,
  .about-grid-2,
  .contact-layout,
  .footer-grid,
  .app-status {
    grid-template-columns: 1fr;
  }

  .feature-grid-4,
  .principles {
    grid-template-columns: 1fr 1fr;
  }

  .list-feature {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 3rem 0 2.75rem;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: min(62vw, 230px);
  }

  .legal-toc ol {
    columns: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: calc(var(--nav-h) + 4px) 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .ecosystem {
    gap: 0.45rem;
  }

  .eco-arrow {
    display: none;
  }
}

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

  .section {
    padding: 3.75rem 0;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Forms */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}

.form-panel h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.form-panel > p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  margin-bottom: 1.35rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-deep);
}

.form-field .hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(21, 87, 192, 0.15);
  background: var(--white);
}

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

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.form-status {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.form-status.is-success {
  color: var(--flag-green);
}

.form-status.is-error {
  color: var(--flag-red);
}

.support-layout {
  display: grid;
  gap: 2rem;
}

.support-intro {
  max-width: 40rem;
  margin-bottom: 0.5rem;
}

.support-intro p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.checkbox-field input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--blue);
}

.checkbox-field label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

