:root {
  --navy: #0c303d;
  --navy-deep: #09262d;
  --teal: #00b8b8;
  --teal-dark: #14c9c9;
  --white: #ffffff;
  --mist: #0e3844;
  --tint: #0c3d48;
  --text: #e8f4f4;
  --muted: #9fb6b8;
  --page-bg: #071c22;
  --card-bg: #0c303d;
  --card-border: rgba(0, 184, 184, 0.22);
  --input-bg: #09262d;
  --input-border: #2a5560;
  --link: #d7ecec;
  --danger: #f0a0a0;
  --ok: #7dccab;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 72rem;
  color-scheme: dark;
}
html[data-theme="light"] {
  --teal-dark: #008f90;
  --mist: #f7fafa;
  --tint: #e5f5f4;
  --text: #0c303d;
  --muted: #4d646b;
  --page-bg: #ffffff;
  --card-bg: #ffffff;
  --card-border: #dceaea;
  --input-bg: #ffffff;
  --input-border: #c5d7d8;
  --link: #0c303d;
  --danger: #9b2c2c;
  --ok: #0f6b4c;
  --shadow: 0 18px 50px rgba(9, 38, 45, 0.18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
html:focus-within { 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;
  color: var(--text);
  background: var(--page-bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

h1, h2, h3 {
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}
h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-weight: 600; font-size: 1.15rem; }

p { margin: 0 0 1rem; }
p, li, .lead, .intro {
  overflow-wrap: break-word;
}
a { color: var(--link); }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; }
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--teal);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.container.narrow { width: min(100% - 2rem, 46rem); }
.kicker {
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}
.kicker.dark { color: var(--teal); }
.lead { font-size: 1.15rem; max-width: 40rem; }
.lead.dark { color: var(--muted); }
.intro { max-width: 42rem; color: var(--muted); }
.intro.light { color: #d5ecec; }
.muted { color: var(--muted); }
.fineprint { color: var(--muted); font-size: 0.92rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
  transition: background 180ms ease, transform 180ms ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy-deep);
}
.btn-primary:hover { background: #14c9c9; color: var(--navy-deep); }
.btn-ghost {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.text-btn {
  background: none;
  border: 0;
  color: var(--teal);
  font-weight: 600;
  cursor: pointer;
  padding: 0.6rem 0;
  min-height: 2.75rem;
  touch-action: manipulation;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background-repeat: repeat;
  background-position: center;
  background-size: 280px auto;
  padding-top: env(safe-area-inset-top);
}
.site-header.is-dark {
  background-color: #09262d;
  background-image: url("../img/header-bg-dark.png");
}
.site-header.is-light {
  background-color: #f7fafa;
  background-image: url("../img/header-bg-light.png");
  border-bottom: 1px solid #dbeaea;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 0.6rem;
  flex-wrap: nowrap;
}
.site-header .container {
  width: min(100% - 1.5rem, 86rem);
}
.brand {
  min-width: 0;
  flex: 0 0 auto;
}
.brand img {
  display: block;
  width: min(168px, 46vw);
  height: auto;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}
.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  white-space: nowrap;
  padding: 0 0.1rem;
}
.site-header.is-dark .site-nav a { color: #e8f4f4; }
.site-header.is-light .site-nav a { color: var(--navy); }
.site-nav a.is-active,
.lang-switch a[aria-current="true"] { color: var(--teal); }
.nav-tools { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.lang-switch {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-switch a {
  text-decoration: none;
  min-height: 2.4rem;
  min-width: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-header.is-dark .lang-switch { color: #9fb6b8; }
.nav-tools .btn {
  white-space: nowrap;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
}
.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  min-height: 2.5rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 184, 184, 0.4);
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  color: inherit;
}
.site-header.is-light .theme-switch {
  background: rgba(12, 48, 61, 0.06);
  border-color: #c5d7d8;
}
.theme-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.05rem;
  opacity: 0.45;
}
.theme-icon-moon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e8f4f4' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 14.3A8.5 8.5 0 0 1 9.7 3 7 7 0 1 0 21 14.3z'/%3E%3C/svg%3E");
}
.theme-icon-sun {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230c303d' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 3v2M12 19v2M5 12H3M21 12h-2M6.2 6.2 4.8 4.8M19.2 19.2l-1.4-1.4M6.2 17.8 4.8 19.2M19.2 4.8l-1.4 1.4'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .theme-icon-sun {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e8f4f4' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 3v2M12 19v2M5 12H3M21 12h-2M6.2 6.2 4.8 4.8M19.2 19.2l-1.4-1.4M6.2 17.8 4.8 19.2M19.2 4.8l-1.4 1.4'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .theme-icon-moon { opacity: 1; background-color: rgba(0, 184, 184, 0.22); }
html[data-theme="light"] .theme-icon-sun { opacity: 1; background-color: rgba(0, 184, 184, 0.2); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.4rem;
  flex-shrink: 0;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 0.35rem 0;
}
.site-header.is-dark .nav-toggle { color: var(--white); }
.site-header.is-light .nav-toggle { color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,184,184,0.18), transparent 28%),
    linear-gradient(160deg, #09262d 0%, #0c303d 58%, #071c22 100%);
  color: var(--white);
  padding: 4.5rem 0 5.5rem;
}
.hero-mark {
  position: absolute;
  right: -4%;
  bottom: -18%;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  background: url("../img/logo-icon.jpg") center/contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
}
.hero-grid, .split, .service-split, .footer-grid {
  display: grid;
  gap: 2.5rem;
  min-width: 0;
}
.hero-grid > *, .split > *, .service-split > *, .footer-grid > * {
  min-width: 0;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .service-split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.hero h1 { max-width: 18ch; }
.hero .lead { color: #d7e7e8; }
html[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(0,184,184,0.16), transparent 28%),
    linear-gradient(160deg, #f7fafa 0%, #ffffff 58%, #e5f5f4 100%);
  color: var(--text);
}
html[data-theme="light"] .hero .lead { color: var(--muted); }
html[data-theme="light"] .btn-ghost {
  border-color: #0c303d;
  color: var(--navy);
}
html[data-theme="light"] .btn-ghost:hover {
  background: rgba(12, 48, 61, 0.06);
  color: var(--navy);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero-panel-label, .demo-badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.hero-ai .ai-shell { margin: 0; }
.demo {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 1.5rem 0;
}
.demo-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1rem; }
.demo-tabs button {
  border: 1px solid var(--card-border);
  background: var(--mist);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  touch-action: manipulation;
}
.demo-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.demo-status { color: inherit; font-weight: 600; margin: 0.6rem 0 0; }
.demo-panel .ai-shell { margin: 0; }

.ai-shell {
  border-radius: 18px;
  overflow: hidden;
  margin: 1rem 0 0;
  font-family: Inter, system-ui, sans-serif;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.ai-chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  min-height: 3rem;
}
.ai-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.ai-name { font-weight: 600; font-size: 0.95rem; }
.ai-caption {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  text-align: right;
  max-width: 46%;
}
.ai-thread { padding: 0.85rem 1rem 1.1rem; display: grid; gap: 0.95rem; }
.ai-msg[data-demo-followup],
.ai-widget {
  scroll-margin-bottom: 1.25rem;
  scroll-margin-top: 0.75rem;
}
.ai-who {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  opacity: 0.7;
}
.ai-msg p { margin-bottom: 0.55rem; }
.ai-msg ul { margin: 0.2rem 0 0.7rem; padding-left: 1.1rem; }
.ai-msg.is-user { display: flex; flex-direction: column; align-items: flex-end; }
.ai-msg.is-user .ai-who { text-align: right; }
.ai-bubble {
  display: inline-block;
  max-width: min(100%, 34rem);
  padding: 0.7rem 0.9rem;
  border-radius: 16px 16px 4px 16px;
  margin: 0;
}
.ai-body { max-width: 40rem; }
.ai-next { opacity: 0.85; font-size: 0.95rem; }
.ai-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; margin-top: 0.4rem; }
.ai-catalog {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 0.35rem;
}
@media (min-width: 560px) {
  .ai-catalog { grid-template-columns: 1fr 1fr; }
}
.ai-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
}
.ai-card img {
  display: block;
  width: 100%;
  height: 7.2rem;
  object-fit: cover;
}
.ai-card-body { padding: 0.65rem 0.75rem 0.8rem; }
.ai-card-body h3 { font-size: 0.95rem; margin: 0 0 0.2rem; }
.ai-card-body p { margin: 0; font-size: 0.82rem; opacity: 0.88; }
.ai-card-price { font-weight: 600; margin-top: 0.35rem !important; opacity: 1 !important; }
.ai-card.is-selected { outline: 2px solid var(--teal); outline-offset: 0; }
.hero-ai .ai-card { cursor: default; }
.ai-widget {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(127,127,127,0.25);
  max-width: 22rem;
}
.ai-widget .btn { justify-self: start; }
.ai-widget-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.7;
}
.ai-widget-note { margin: 0; font-size: 0.85rem; opacity: 0.85; }
.ai-field { display: grid; gap: 0.25rem; font-size: 0.82rem; font-weight: 600; }
.ai-field input,
.ai-field select {
  font: inherit;
  font-weight: 500;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(127,127,127,0.35);
  background: rgba(255,255,255,0.92);
  color: #1a1a1a;
  min-height: 2.4rem;
}
.ai-doc blockquote {
  margin: 0.6rem 0;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid var(--teal);
  font-size: 0.9rem;
  opacity: 0.95;
}
.ai-cite { font-size: 0.78rem; opacity: 0.7; margin: 0 0 0.4rem; }
.ai-doc-preview {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(127,127,127,0.12);
}
.ai-doc-preview span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 6px;
  background: #d93025;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}
.ai-quote-head {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.7rem;
  align-items: center;
}
.ai-quote-head img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: cover;
  border-radius: 8px;
}
.ai-quote-head h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.ai-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ai-choices .btn {
  font-size: 0.82rem;
  min-height: 2.3rem;
  padding: 0.35rem 0.7rem;
}
.ai-quote-hero {
  grid-template-columns: 1fr;
  margin: 0.7rem 0 0.4rem;
}
.ai-quote-hero img {
  width: 100%;
  height: auto;
  max-height: 16rem;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 12px;
}
.ai-widget[hidden] { display: none; }
.ai-flow .ai-widget { max-width: 24rem; }
.ai-shell.is-claude .ai-widget.is-artifact {
  background: #fff;
  border-color: #e4d9c8;
}
.ai-shell.is-copilot .ai-widget.is-adaptive {
  background: #252423;
  border-color: #3b3a39;
}
.ai-shell.is-chatgpt .ai-card { background: #2f2f2f; border-color: #3e3e3e; }
.ai-shell.is-claude .ai-card { background: #fff; border-color: #e4d9c8; color: #3d2f2a; }
.ai-shell.is-gemini .ai-card { background: #fff; border-color: #dadce0; color: #202124; }
.ai-shell.is-copilot .ai-field input,
.ai-shell.is-chatgpt .ai-field input,
.ai-shell.is-copilot .ai-field select,
.ai-shell.is-chatgpt .ai-field select {
  background: #fff;
}
.ai-composer {
  margin: 0 0.85rem 0.85rem;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
  pointer-events: none;
}
.case-ai { margin: 0; }

.ai-shell.is-chatgpt { background: #212121; color: #ececec; }
.ai-shell.is-chatgpt .ai-chrome { background: #171717; border-bottom: 1px solid #2f2f2f; }
.ai-shell.is-chatgpt .ai-mark { background: radial-gradient(circle at 30% 30%, #10a37f, #0d8a6a); }
.ai-shell.is-chatgpt .ai-bubble { background: #2f2f2f; color: #ececec; }
.ai-shell.is-chatgpt .ai-composer { background: #2f2f2f; border: 1px solid #3e3e3e; color: #b4b4b4; }
.ai-shell.is-chatgpt .btn-primary { background: #10a37f; color: #0b1f19; }

.ai-shell.is-claude { background: #f7f3ed; color: #3d2f2a; }
.ai-shell.is-claude .ai-chrome { background: #efe8dc; border-bottom: 1px solid #e4d9c8; color: #3d2f2a; }
.ai-shell.is-claude .ai-mark {
  background: #d97757;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
}
.ai-shell.is-claude .ai-name { font-family: Georgia, "Times New Roman", serif; }
.ai-shell.is-claude .ai-bubble { background: #fff; color: #3d2f2a; border: 1px solid #e4d9c8; }
.ai-shell.is-claude .ai-composer { background: #fff; border: 1px solid #e4d9c8; color: #8a7a70; }
.ai-shell.is-claude .btn-primary { background: #d97757; color: #fff; }

.ai-shell.is-gemini { background: #f8f9fa; color: #202124; }
.ai-shell.is-gemini .ai-chrome { background: #fff; border-bottom: 1px solid #e8eaed; color: #202124; }
.ai-shell.is-gemini .ai-mark {
  background:
    conic-gradient(from 210deg, #4285f4, #9b72cb, #d96570, #fabc05, #4285f4);
}
.ai-shell.is-gemini .ai-bubble { background: #e8f0fe; color: #202124; }
.ai-shell.is-gemini .ai-composer { background: #fff; border: 1px solid #dadce0; color: #80868b; }
.ai-shell.is-gemini .btn-primary { background: #1a73e8; color: #fff; }
.ai-shell.is-claude .btn-ghost,
.ai-shell.is-gemini .btn-ghost {
  border-color: rgba(0,0,0,0.28);
  color: inherit;
}
.ai-shell.is-claude .btn-ghost:hover,
.ai-shell.is-gemini .btn-ghost:hover {
  background: rgba(0,0,0,0.06);
  color: inherit;
}

.ai-shell.is-copilot { background: #1b1a19; color: #f3f2f1; }
.ai-shell.is-copilot .ai-chrome { background: #252423; border-bottom: 1px solid #3b3a39; }
.ai-shell.is-copilot .ai-mark {
  background: linear-gradient(135deg, #0f6cbd, #9b7eed 55%, #d83b01);
}
.ai-shell.is-copilot .ai-bubble { background: #2d2c2b; color: #f3f2f1; }
.ai-shell.is-copilot .ai-composer { background: #2d2c2b; border: 1px solid #3b3a39; color: #c8c6c4; }
.ai-shell.is-copilot .btn-primary { background: #0f6cbd; color: #fff; }

.section { padding: 4.2rem 0; }
.section-tint { background: var(--mist); }
.section-dark {
  background:
    radial-gradient(circle at 8% 80%, rgba(0,184,184,0.12), transparent 26%),
    var(--navy-deep);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }

.obstacle-list, .plain-list, .link-list { list-style: none; padding: 0; margin: 0; }
.obstacle-list li, .content-card, .benefit-card, .trust-grid article {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin-bottom: 1rem;
}
.content-card.has-media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.content-card-media {
  display: block;
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
  background: var(--navy);
}
.content-card.has-media:not(.is-icon) .content-card-media {
  height: 10.5rem;
}
.content-card.is-icon .content-card-media {
  height: 7.25rem;
  object-fit: contain;
  padding: 0.85rem 1rem 0;
  background: transparent;
}
body[class^="page-service"] .page-hero-media {
  max-width: 10.5rem;
  background: transparent;
}
body[class^="page-service"] .page-hero-media img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0;
}
.content-card-copy { padding: 1.15rem 1.25rem 1.3rem; }
.content-card-copy h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.page-hero-media {
  margin: 1.4rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 42rem;
}
.page-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.obstacle-list h3 { margin-bottom: 0.35rem; }

.flow-line {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.1rem;
}
@media (min-width: 768px) {
  .flow-line { grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; }
}

.benefit-grid, .card-grid, .trust-grid, .connect-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .benefit-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}
@media (min-width: 1100px) {
  .benefit-grid, .trust-grid, .connect-grid { grid-template-columns: repeat(3, 1fr); }
}
.connect-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.connect-grid li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,184,184,0.2);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 0.4rem;
}
.measure { color: var(--muted); font-size: 0.92rem; }
.link-list li { margin-bottom: 1rem; }
.link-list a { font-weight: 600; display: block; text-decoration: none; }
.link-list span { color: var(--muted); font-size: 0.95rem; }

.process {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  border-top: 3px solid var(--teal);
  padding-top: 1rem;
}
.process span {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  color: var(--teal-dark);
}

.faq details {
  border-bottom: 1px solid var(--card-border);
  padding: 0.85rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: Inter, sans-serif;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0.35rem 0;
}

.page-hero {
  background:
    linear-gradient(180deg, var(--navy-deep), var(--page-bg));
  padding: 3rem 0 1.5rem;
}
html[data-theme="light"] .page-hero {
  background: linear-gradient(180deg, var(--mist), var(--page-bg));
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: #9bb; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }

.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}
.plain-list li { margin-bottom: 0.55rem; }
.case-block {
  margin: 0;
  background: var(--card-bg);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.case-block figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}
.case-next { color: var(--text); font-weight: 600; margin-bottom: 0; }
.related-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
@media (min-width: 768px) {
  .related-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  background: var(--card-bg);
}
.related-card:hover { border-color: var(--teal); color: inherit; }
.related-card h3 { font-size: 1.05rem; }
.inner-cards article { margin: 0; }
.tech summary { font-family: Inter, sans-serif; }

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -5rem;
  width: 18rem;
  height: 6rem;
  border-bottom: 4px solid var(--teal);
  border-radius: 50%;
  opacity: 0.55;
}
.cta-inner { position: relative; z-index: 1; max-width: 44rem; }

.site-footer {
  background: #071c22;
  color: #d5e4e6;
  padding: 3rem 0 1.5rem;
}
.site-footer h2 { font-size: 1rem; color: var(--white); }
.site-footer a { color: #d5e4e6; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-logo { display: block; width: 190px; object-fit: contain; margin-bottom: 0.8rem; }
.footer-note {
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  font-size: 0.9rem;
}
.ai-facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}
.ai-facts > div {
  display: grid;
  gap: 0.1rem;
}
.ai-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.ai-facts dd {
  margin: 0;
  font-size: 0.9rem;
}
.ai-flow .ai-widget:has(.ai-facts) { max-width: 28rem; }
.case-ai .fineprint { margin-top: 0.85rem; }
.back-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(9, 38, 45, 0.35);
  cursor: pointer;
}
.back-top:hover { background: #14c9c9; }
.back-top[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .back-top { scroll-behavior: auto; }
}

.form-wrap { max-width: 40rem; }
.contact-form .field { margin-bottom: 1rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--text);
}
.contact-form .check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}
.contact-form .check input { width: auto; min-width: 1.25rem; min-height: 1.25rem; margin-top: 0.25rem; }
.privacy-dialog {
  width: min(44rem, calc(100vw - 1.5rem));
  max-height: min(88vh, 52rem);
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: var(--text);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}
.privacy-dialog::backdrop {
  background: rgba(7, 28, 34, 0.62);
}
.privacy-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--card-border);
  background: var(--card-bg);
}
.privacy-dialog-bar h2 {
  margin: 0;
  font-size: 1.05rem;
}
.privacy-dialog-body {
  padding: 0 0.4rem 1.2rem;
  overflow: auto;
  max-height: calc(min(88vh, 52rem) - 3.6rem);
}
.privacy-dialog-body .section { padding: 1rem 0 0.2rem; }
.privacy-dialog-body .container { width: min(100% - 1.5rem, 40rem); }
.field-error, .form-error { color: var(--danger); font-size: 0.92rem; }
.form-success {
  background: var(--tint);
  color: var(--ok);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.45rem;
}
.captcha-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 3.4rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--text);
  letter-spacing: 0;
}
.captcha-image svg { display: block; }

@media (min-width: 1280px) and (max-width: 1439px) {
  .brand img { width: min(150px, 22vw); }
  .site-nav a { font-size: 0.82rem; }
  .site-nav ul { gap: 0.1rem 0.4rem; }
  .nav-tools .btn { padding: 0.4rem 0.7rem; font-size: 0.84rem; }
}

@media (max-width: 1279px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom));
    box-shadow: var(--shadow);
    max-height: min(80vh, 32rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-header.is-dark .site-nav {
    background-color: #09262d;
    background-image: url("../img/header-bg-dark.png");
    background-repeat: repeat;
    background-size: 280px auto;
  }
  .site-header.is-light .site-nav {
    background-color: #f7fafa;
    background-image: url("../img/header-bg-light.png");
    background-repeat: repeat;
    background-size: 280px auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav a {
    display: flex;
    min-height: 2.75rem;
    padding: 0.35rem 0;
  }
  .nav-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding-top: 0.5rem;
  }
  .theme-switch {
    align-self: flex-start;
  }
  .nav-tools .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ai-caption { display: none; }
  .ai-chrome { gap: 0.4rem; }
}

@media (max-width: 767px) {
  h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero {
    padding: 2.4rem 0 2.8rem;
  }
  .hero h1 { max-width: none; }
  .hero-mark {
    width: 220px;
    height: 220px;
    opacity: 0.06;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .cta-band .btn,
  .contact-form .btn,
  .ai-actions .btn {
    width: 100%;
  }
  .section { padding: 2.6rem 0; }
  .page-hero { padding: 2rem 0 1.2rem; }
  .demo { padding: 0; }
  .demo-tabs button {
    min-height: 2.75rem;
    flex: 1 1 auto;
  }
  .cta-band { padding: 2.4rem 0; }
  .footer-logo { width: min(190px, 100%); }
  .container { width: min(100% - 1.5rem, var(--max)); }
}

@media (max-width: 389px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  .brand img { width: min(168px, 62vw); }
}

@media (min-width: 1280px) {
  .hero { padding: 5rem 0 6rem; }
}
