:root {
  --ink: #0a1628;
  --ink-soft: #4a6075;
  --paper: #f3f7fa;
  --surface: #ffffff;
  --line: rgba(10, 22, 40, 0.09);
  --teal: #0b6e6e;
  --teal-deep: #065555;
  --teal-soft: rgba(11, 110, 110, 0.12);
  --coral: #c45c26;
  --sky: #5ba8bc;
  --navy: #0f2438;
  --header-h: 74px;
  --radius: 16px;
  --shadow-sm: 0 8px 24px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 20px 50px rgba(10, 22, 40, 0.12);
  --space-section-y: 5.5rem;
  --space-section-y-lg: 7rem;
  --space-block: 1.25rem;
  --space-lead: 2.5rem;
  --content-max: 40rem;
  --font-display: "Segoe UI", "Candara", "Calibri", system-ui, sans-serif;
  --font-body: "Segoe UI", "Candara", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(91, 168, 188, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(11, 110, 110, 0.08), transparent 45%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.005em;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(243, 247, 250, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 960px) {
  .site-header-inner {
    padding: 0 2.5rem;
  }
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand em {
  font-style: normal;
  color: var(--teal);
}

.brand-legal {
  display: none;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}

@media (min-width: 1100px) {
  .brand-legal {
    display: inline;
  }
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
}

.site-nav {
  display: none;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem 1.25rem;
  gap: 0.85rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .site-nav.is-open {
    flex-direction: row;
    position: static;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(11, 110, 110, 0.28);
}

.nav-cta:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.nav-drop {
  position: relative;
}

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-drop-toggle:hover {
  color: var(--ink);
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.nav-drop-menu {
  display: none;
  min-width: 230px;
  padding: 0.5rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.nav-drop.is-open .nav-drop-menu {
  display: block;
}

.nav-drop-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--ink-soft);
}

.nav-drop-menu a:hover {
  background: var(--paper);
  color: var(--ink);
}

@media (min-width: 960px) {
  .nav-drop-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    z-index: 60;
  }
}

@media (max-width: 959.98px) {
  .nav-drop-menu {
    margin-top: 0.35rem;
    box-shadow: none;
  }
}

/* ---------- Buttons ---------- */
.site-main {
  flex: 1 0 auto;
}

.btn-ap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn-ap:hover {
  transform: translateY(-2px);
}

.btn-ap:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn-ap-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 110, 110, 0.28);
}

.btn-ap-primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.btn-ap-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(6px);
}

.btn-ap-ghost:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-ap-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.btn-ap-light:hover {
  background: #eef5f7;
  color: var(--ink);
}

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 3.5rem 1.5rem 4.25rem;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(91, 168, 188, 0.42), transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 85%, rgba(11, 110, 110, 0.22), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(196, 92, 38, 0.06), transparent 40%),
    linear-gradient(160deg, #e4f0f4 0%, #f3f7fa 42%, #dce8ee 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 92%);
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -80px;
  top: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 70%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 960px) {
  .home-hero {
    padding: 4.75rem 2.5rem 5.5rem;
  }

  .home-hero-inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}

.home-hero-copy {
  max-width: 36rem;
}

.home-hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 0 0.5rem;
}

.home-hero-brand em {
  font-style: normal;
  color: var(--teal);
}

.home-hero-legal {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 1.15rem;
  max-width: 28ch;
}

.home-hero-lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 34rem;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.hero-orbits {
  position: relative;
}

.hero-orbits .dash {
  position: relative;
  z-index: 2;
}

.float-chip {
  position: absolute;
  z-index: 3;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  animation: ap-float 5.5s ease-in-out infinite;
}

.float-chip-1 { top: 6%; left: -4%; animation-delay: 0s; }
.float-chip-2 { top: 28%; right: -6%; animation-delay: 0.8s; }
.float-chip-3 { bottom: 18%; left: -2%; animation-delay: 1.4s; }
.float-chip-4 { bottom: 4%; right: 4%; animation-delay: 0.4s; }

@media (max-width: 959.98px) {
  .float-chip {
    display: none;
  }
}

/* Dashboard mock */
.dash {
  filter: drop-shadow(0 28px 56px rgba(10, 22, 40, 0.16));
  animation: ap-float 7s ease-in-out infinite;
}

.dash-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 22, 40, 0.14);
  background: linear-gradient(165deg, #0f2438 0%, #132f48 100%);
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dash-dot-r { background: #e06c75; }
.dash-dot-y { background: #e5c07b; }
.dash-dot-g { background: #98c379; }

.dash-url {
  margin-left: 0.5rem;
  flex: 1;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
}

.dash-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 300px;
}

.dash-rail {
  background: rgba(0, 0, 0, 0.18);
  padding: 0.9rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.rail-item {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(91, 168, 188, 0.14);
}

.rail-item.is-active {
  background: linear-gradient(135deg, var(--teal), var(--sky));
}

.dash-main {
  padding: 1.05rem 1.15rem 1.25rem;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dash-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
}

.dash-tag {
  font-size: 0.68rem;
  color: var(--sky);
  border: 1px solid rgba(91, 168, 188, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(91, 168, 188, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.8rem;
}

.metric label {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 0.35rem;
}

.metric strong {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin: 0.75rem 0 0.2rem;
}

.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--teal), var(--sky));
  opacity: 0.9;
}

.tasks {
  margin-top: 0.75rem;
}

.task {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.74);
  padding: 0.38rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.task i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

.task i.is-green { background: #3db88a; }
.task i.is-blue { background: var(--sky); }

@keyframes ap-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .dash,
  .float-chip {
    animation: none !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Sections ---------- */
.home-section {
  padding: var(--space-section-y) 1.5rem;
  position: relative;
}

@media (min-width: 960px) {
  .home-section {
    padding: var(--space-section-y-lg) 2.75rem;
  }
}

.home-wrap {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  letter-spacing: -0.038em;
  margin: 0 0 0.9rem;
  line-height: 1.18;
  max-width: 22ch;
}

.section-lead {
  color: var(--ink-soft);
  max-width: var(--content-max);
  margin: 0 0 var(--space-lead);
  font-size: 1.08rem;
  line-height: 1.7;
}

.home-split {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 800px) {
  .home-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.visual-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #e2eef3, #f8fbfc);
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}

.visual-frame img,
.visual-frame svg,
.visual-frame object {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-frame.ratio-wide {
  aspect-ratio: 16 / 10;
}

.home-illus {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 28%, rgba(11, 110, 110, 0.22), transparent 52%),
    linear-gradient(145deg, #d9e9ef, #f7fafb);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.home-illus svg {
  width: 100%;
  height: 100%;
}

.muted-band {
  background:
    linear-gradient(180deg, rgba(232, 240, 244, 0.95) 0%, rgba(243, 247, 250, 0.9) 100%);
  border-block: 1px solid var(--line);
}

.product-row {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .product-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.85rem;
  }
}

.product-tile {
  position: relative;
  padding: 2rem 1.75rem 1.85rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--sky));
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 110, 110, 0.22);
}

.product-tile-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-tile-icon img,
.product-tile-icon svg {
  width: 30px;
  height: 30px;
}

.product-tile h3 {
  font-size: 1.22rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.product-tile p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0 0 1.35rem;
  line-height: 1.65;
}

.product-tile a {
  font-weight: 600;
  color: var(--teal);
  font-size: 0.92rem;
}

.product-tile a:hover {
  color: var(--teal-deep);
}

.arch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.arch b {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.arch-arrow {
  opacity: 0.4;
}

.cta-band {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 20% 20%, rgba(91, 168, 188, 0.2), transparent 50%),
    linear-gradient(135deg, #0c1f33 0%, #0d4545 100%);
  color: #fff;
  padding: 5.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  line-height: 1.65;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 3.5rem 1.5rem 1.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #eef4f7 0%, #f3f7fa 100%);
}

.footer-grid {
  width: min(1100px, 100%);
  margin: 0 auto 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.footer-grid strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-grid a {
  display: block;
  padding: 0.28rem 0;
  opacity: 0.92;
}

.footer-grid a:hover {
  color: var(--ink);
  opacity: 1;
}

.footer-legal {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Inner pages */
.page-hero {
  padding: 4.5rem 1.5rem 3.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 90% 0%, rgba(91, 168, 188, 0.32), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(11, 110, 110, 0.12), transparent 50%),
    linear-gradient(165deg, #e4eef2 0%, #f3f7fa 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero .home-wrap {
  max-width: 42rem;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.page-hero p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 0 0 1.65rem;
  line-height: 1.7;
  max-width: 38rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.page-hero-art {
  display: none;
}

@media (min-width: 960px) {
  .page-hero.with-art .home-wrap {
    max-width: min(1100px, 100%);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }

  .page-hero-art {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    background: #fff;
  }

  .page-hero-art img {
    width: 100%;
    height: auto;
  }
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.55rem;
  }
}

@media (min-width: 960px) {
  .feature-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
}

.feature-item {
  padding: 1.55rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 28rem;
}

.workflow-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.workflow-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1.25rem;
}

.workflow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  flex-shrink: 0;
  margin-top: 0.25rem;
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.workflow-line {
  width: 2px;
  flex: 1;
  min-height: 1.25rem;
  background: linear-gradient(to bottom, var(--teal), rgba(11, 110, 110, 0.12));
}

.workflow-step:last-child .workflow-line {
  display: none;
}

.workflow-label {
  padding-bottom: 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pros-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .pros-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.55rem;
  }
}

.pro-card {
  padding: 1.65rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.pro-card:hover {
  transform: translateY(-3px);
}

.pro-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
  line-height: 1.3;
}

.pro-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.dash-mini {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 720px) {
  .dash-mini {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dash-mini-item {
  background: linear-gradient(160deg, #0f2438, #163a52);
  color: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.dash-mini-item span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.3rem;
}

.dash-mini-item strong {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

/* Forms */
.form-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .form-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.85rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.form-group .form-control,
.form-group .form-select,
.form-control {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form-group .form-control:focus,
.form-group .form-select:focus,
.form-control:focus {
  outline: 2px solid rgba(11, 110, 110, 0.28);
  border-color: var(--teal);
}

.field-validation-error,
.validation-summary-errors {
  color: #b42318;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.alert-success {
  background: #e8f7ef;
  border: 1px solid #9fd5b5;
  color: #0f5132;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-danger {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #842029;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.contact-meta p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
}

.contact-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.map-placeholder {
  margin-top: 1.25rem;
  min-height: 180px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background:
    linear-gradient(135deg, rgba(11, 110, 110, 0.1), transparent),
    url("../images/illustrations/pattern-mesh.svg") center / cover;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* FAQ */
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  max-width: 46rem;
}

.faq-group {
  margin-bottom: 2.75rem;
}

.faq-group h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.content-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.content-list li {
  margin-bottom: 0.4rem;
}

.stack-gap > * + * {
  margin-top: 1rem;
}

.text-soft {
  color: var(--ink-soft);
}

.prose {
  max-width: var(--content-max);
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose-wide {
  max-width: 44rem;
}

.role-list {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .role-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.role-card {
  padding: 1.5rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.role-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.04rem;
  line-height: 1.3;
}

.role-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.boundary-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .boundary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.65rem;
  }
}

.boundary-panel {
  padding: 1.6rem 1.55rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.boundary-panel h3 {
  margin: 0 0 0.9rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.boundary-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.boundary-panel li {
  margin-bottom: 0.5rem;
}

.showcase-pair {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .showcase-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.85rem;
  }
}

.showcase-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.showcase-card img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-card .cap {
  padding: 1.25rem 1.35rem 1.4rem;
}

.showcase-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.showcase-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.mb-3 {
  margin-bottom: 2rem;
}

.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 1.15rem; }

/* Section intro rhythm: label + title cluster, then lead breathes into content */
.home-section .section-title + .section-lead,
.home-section .section-title + .prose {
  margin-top: 0;
}

.home-section .prose {
  margin-bottom: var(--space-lead);
}

/* Captcha (App.Captcha) */
.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.captcha-row img {
  display: block;
  width: 180px;
  height: 45px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.captcha-input {
  flex: 1 1 8rem;
  min-width: 7rem;
  max-width: 12rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.captcha-refresh {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
}
