:root {
  --ink: #0b1f33;
  --ink-soft: #16324c;
  --text: #243140;
  --muted: #5b6776;
  --line: #e3e8ef;
  --line-strong: #d5dde7;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --accent: #12877a;
  --accent-hover: #0f6f65;
  --accent-soft: #e7f5f3;
  --accent-dark: #0c5c54;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #0f6b4c;
  --success-bg: #ecf8f2;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.06);
  --shadow-lg: 0 24px 60px rgba(11, 31, 51, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --header: 76px;
  --max: 1140px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

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

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

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

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

.section {
  padding: 4.5rem 0;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

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

.lead {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

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

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(18, 135, 122, 0.22);
}

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

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  color: var(--ink);
  background: #f3f6f8;
}

.btn--block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  min-width: 0;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--ink);
  color: #e8f4f2;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.logo-text strong {
  font-size: 0.98rem;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--ease), opacity var(--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);
}

.site-nav {
  position: fixed;
  inset: var(--header) 0 0 0;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 240ms ease, visibility 240ms ease;
  overflow: auto;
  padding: 1.25rem 1rem 2rem;
  visibility: hidden;
  pointer-events: none;
}

.site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-list a,
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  flex: none;
}

.nav-list a:hover,
.nav-dropdown-toggle:hover,
.nav-list a[aria-current="page"] {
  background: var(--bg);
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  list-style: none;
  margin: 0.2rem 0 0.6rem;
  padding: 0.35rem;
  background: var(--bg);
  border-radius: 12px;
}

.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.header-cta {
  display: none;
}

.nav-cta {
  margin-top: 1rem;
}

.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  max-width: 11em;
}

.hero .lead {
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-note {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.device-wrap {
  display: grid;
  place-items: center;
}

.device {
  width: min(100%, 280px);
  height: 560px;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a334c, #0b1f33);
  box-shadow: var(--shadow-lg);
}

.device-screen {
  height: 100%;
  border-radius: 26px;
  background: #f7fafb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-status {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 1rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.app-hero-card {
  margin: 0.4rem 0.85rem 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--ink);
  color: #d7e7e4;
}

.app-hero-card strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.app-hero-card span {
  font-size: 0.8rem;
  line-height: 1.45;
}

.app-list {
  display: grid;
  gap: 0.55rem;
  padding: 0 0.85rem;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.app-dot {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.app-row b {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
}

.app-row span {
  font-size: 0.72rem;
  color: var(--muted);
}

.app-tabbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.7rem 0.4rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  text-align: center;
  color: var(--muted);
}

.app-tabbar b {
  display: block;
  margin: 0 auto 0.25rem;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--line-strong);
}

.app-tabbar .is-active {
  color: var(--accent-dark);
  font-weight: 700;
}

.app-tabbar .is-active b {
  background: var(--accent);
}

.grid-2,
.grid-3,
.grid-4,
.grid-5,
.industries,
.split {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.card:hover {
  border-color: #c9d6cf;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

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

.card-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.why-item,
.belief-item,
.industry-card,
.tech-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.why-item h3,
.belief-item h3,
.industry-card h3,
.tech-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.why-num {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.process {
  display: grid;
  gap: 0.85rem;
  position: relative;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.step-index {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.process-step p {
  color: var(--muted);
}

.tech-list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-list li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.cta-band {
  background: var(--ink);
  color: #d5e0e6;
  border-radius: 28px;
  padding: 2.4rem 1.4rem;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band .lead {
  color: #bfd0d8;
  margin-inline: auto;
}

.cta-band .btn {
  margin-top: 1.4rem;
}

.page-hero {
  padding: 3.2rem 0 2.2rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  max-width: 14em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent-dark);
}

.prose {
  max-width: 70ch;
}

.prose p + p,
.prose ul + p,
.prose p + ul,
.prose h2 + p,
.prose h3 + p {
  margin-top: 0.9rem;
}

.prose h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.prose ul,
.checklist {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 99px;
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq-list details p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.form-card h2 + .muted {
  margin-top: 0.45rem;
}

.form-card form {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.form-card .btn[type="submit"] {
  justify-self: start;
}

.form-field {
  min-width: 0;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.form-card,
.contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
}

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

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--ink);
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.2em;
  margin-top: 0.35rem;
  color: var(--danger);
  font-size: 0.85rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
}

.form-status.is-error {
  background: var(--danger-bg);
  color: var(--danger);
}

.form-status.is-success {
  background: var(--success-bg);
  color: var(--success);
}

.contact-aside h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.contact-meta {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-meta span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-meta a {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-meta a:hover {
  color: var(--accent);
}

.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: #c5d2db;
  padding: 3.2rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

.site-footer a {
  color: #dbe6ec;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  margin-top: 0.7rem;
  max-width: 34ch;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.site-footer .logo,
.site-footer .logo:hover {
  color: var(--white);
}

.site-footer .logo-mark {
  background: #18425f;
}

.site-footer .logo-text span {
  color: #c5d2db;
}

.legal-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 3rem, var(--max));
  }

  .section {
    padding: 5.5rem 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .contact-layout,
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-grid,
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

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

  .cta-band {
    padding: 3.4rem;
  }

  .process::before {
    content: "";
    position: absolute;
    left: 36px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: var(--line);
  }

  .process-step {
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    transform: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
  }

  .nav-list a,
  .nav-dropdown-toggle {
    width: auto;
    min-height: 42px;
    padding: 0.45rem 0.75rem;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 280px;
    margin: 0;
    padding: 0.55rem;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: 20;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.is-open .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1.45fr 0.85fr;
    align-items: start;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .industries {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 0.8fr 0.8fr;
  }
}

@media (min-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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