:root {
  color-scheme: dark;
  --ink: #05070b;
  --ink-2: #07101a;
  --ink-3: #0c1725;
  --surface: #101a27;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(59, 136, 255, 0.42);
  --blue: #0068ff;
  --blue-2: #25a8ff;
  --cyan: #5dd8ff;
  --white: #ffffff;
  --muted: #a7b3c3;
  --soft: #e9eef6;
  --paper: #f7f9fc;
  --paper-text: #111827;
  --paper-muted: #536173;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: 1180px;
  --header-height: 78px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(4, 7, 12, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 7, 12, 0.96);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  aspect-ratio: 1;
  display: inline-block;
  flex: 0 0 auto;
  background: url("brand/submark-black.png") center / contain no-repeat;
  filter: drop-shadow(0 0 14px rgba(0, 104, 255, 0.42));
}

.brand-on-light .brand-mark,
.section-light .brand-mark {
  background-image: url("brand/submark.png");
}

.brand-name {
  font-size: 1.05rem;
  line-height: 1;
}

.brand-name span {
  color: var(--blue-2);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: #ecf4ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a,
.site-footer nav a {
  transition: color 150ms ease;
}

.nav a:hover,
.site-footer nav a:hover {
  color: var(--blue-2);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #0068ff, #0b7dff 58%, #29b2ff);
  color: white;
  box-shadow: 0 12px 30px rgba(0, 104, 255, 0.34);
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.04);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-secondary:hover {
  border-color: var(--blue-2);
  background: rgba(0, 104, 255, 0.14);
}

.header-cta svg,
.button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  top: 20px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-light {
  background: var(--paper);
  color: var(--paper-text);
}

.section-shell,
.hero-inner {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: calc(var(--header-height) + 58px) 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 47% 37%, rgba(0, 104, 255, 0.22), transparent 24%),
    linear-gradient(110deg, #05070b 0%, #06101b 50%, #020409 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.circuit-field {
  position: absolute;
  inset: var(--header-height) -12% 0 36%;
  opacity: 0.52;
  background:
    radial-gradient(circle at 35% 32%, rgba(47, 162, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 46%, rgba(93, 216, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 22%, rgba(0, 104, 255, 0.9) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 20%, rgba(0, 104, 255, 0.2) 20% 20.3%, transparent 20.6% 100%),
    repeating-linear-gradient(0deg, transparent 0 48px, rgba(0, 104, 255, 0.16) 49px 50px, transparent 51px 98px);
  mask-image: radial-gradient(circle at 28% 42%, black 0 28%, transparent 48%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
}

.hero-copy h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(3rem, 5.2vw, 5.15rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 560px;
  margin: 28px 0 0;
  color: #d5dfed;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-line {
  font-weight: 800;
}

.hero-line span,
.problem-strip h2 span,
.solution-type,
.contact-card a {
  color: var(--blue-2);
}

.product-stack {
  position: relative;
  min-height: 560px;
}

.browser-window {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(11, 18, 28, 0.94);
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  color: #c9d5e5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.window-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-top span:nth-child(2) {
  background: #ffbd2e;
}

.window-top span:nth-child(3) {
  background: #28c840;
  margin-right: 8px;
}

.browser-window img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.92;
}

.product-image-link,
.solution-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.product-image-link::after,
.solution-media span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 12, 0.78);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(10px);
}

.product-image-link::after {
  content: "View gallery";
  padding: 9px 11px;
}

.solution-media span {
  padding: 10px 12px;
}

.product-image-link:hover::after,
.product-image-link:focus-visible::after,
.solution-media:hover span,
.solution-media:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.product-image-link:hover img,
.product-image-link:focus-visible img,
.solution-media:hover img,
.solution-media:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.08) brightness(1.04);
}

.product-image-link img,
.solution-media img {
  transition: transform 220ms ease, filter 220ms ease;
}

.browser-main {
  transform: translateY(18px);
}

.browser-float {
  position: absolute;
  width: 52%;
}

.browser-clinic {
  left: 6%;
  bottom: 56px;
}

.browser-qr {
  right: -4%;
  bottom: 0;
  width: 34%;
}

.problem-strip {
  padding: 42px 0 54px;
  background: linear-gradient(180deg, #0c1724, #080d15);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.problem-strip h2 {
  margin: 0 auto 38px;
  max-width: 760px;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
}

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

.problem-grid article {
  padding: 0 28px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.problem-grid article:first-child {
  border-left: 0;
}

.problem-grid svg,
.service-card svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  stroke: var(--blue);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-grid h3,
.service-card h3,
.solution-card h3,
.method-rail h3,
.contact-card h3 {
  margin: 0;
  line-height: 1.2;
}

.problem-grid h3 {
  font-size: 1rem;
}

.problem-grid p {
  margin: 12px 0 0;
  color: #b8c3d0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.services,
.method {
  padding: 70px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 13px;
  background: var(--blue);
}

.section-heading p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--paper-muted);
}

.section-dark .section-heading p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-left: 0;
  border-right: 0;
}

.service-card {
  padding: 30px 28px 34px;
  border-left: 1px solid rgba(17, 24, 39, 0.16);
}

.service-card:first-child {
  border-left: 0;
}

.service-card svg {
  margin-left: 0;
}

.service-card p {
  color: var(--paper-muted);
  margin: 14px 0 18px;
  font-size: 0.95rem;
}

.service-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #273244;
  font-size: 0.92rem;
}

.service-card li {
  position: relative;
  padding-left: 17px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.solutions {
  padding: 66px 0 76px;
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 104, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #06101a, #02050a);
}

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

.solution-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.solution-card div {
  padding: 20px 18px 22px;
}

.solution-card h3 {
  font-size: 1.25rem;
}

.solution-card p {
  margin: 12px 0 0;
  color: #c1ccdc;
  font-size: 0.94rem;
  line-height: 1.55;
}

.solution-card .solution-type {
  margin-top: 8px;
  font-weight: 800;
}

.gallery-page {
  min-height: 100vh;
  background: var(--ink);
}

.gallery-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 56px) 0 74px;
  background:
    radial-gradient(circle at 56% 34%, rgba(0, 104, 255, 0.22), transparent 27%),
    linear-gradient(110deg, #05070b 0%, #07111d 52%, #020409 100%);
}

.gallery-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--blue-2);
  font-size: 0.9rem;
  font-weight: 900;
}

.back-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.96;
}

.gallery-copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #d4deeb;
  font-size: 1.08rem;
}

.product-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.product-switcher button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce8f6;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.product-switcher button:hover,
.product-switcher button.is-active {
  border-color: rgba(37, 168, 255, 0.72);
  background: rgba(0, 104, 255, 0.2);
  color: white;
}

.gallery-feature {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(11, 18, 28, 0.94);
  box-shadow: var(--shadow);
}

.feature-media {
  background: #05080d;
}

.feature-media img,
.feature-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #05080d;
}

.gallery-body {
  padding: 66px 0 78px;
}

.policy-hero {
  position: relative;
  padding: calc(var(--header-height) + 70px) 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(0, 104, 255, 0.22), transparent 28%),
    linear-gradient(110deg, #05070b 0%, #06101b 52%, #020409 100%);
}

.policy-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.policy-kicker {
  margin: 34px 0 14px;
  color: var(--blue-2);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.policy-hero p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d8e2ef;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.policy-body {
  padding: 72px 0 96px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 6px;
  padding: 18px 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.policy-toc strong {
  margin-bottom: 8px;
  color: var(--paper-text);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-toc a {
  padding: 7px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  transition: color 150ms ease;
}

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

.policy-content {
  min-width: 0;
  color: #243144;
}

.policy-content section {
  padding: 0 0 38px;
  margin: 0 0 38px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.policy-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-content h2 {
  margin: 0 0 16px;
  color: var(--paper-text);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.policy-content p,
.policy-content li {
  color: #37465a;
}

.policy-content p {
  margin: 0 0 16px;
}

.policy-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content a {
  color: var(--blue);
  font-weight: 800;
}

.policy-table-wrap {
  max-width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  background: white;
}

.policy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.policy-table th,
.policy-table td {
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  text-align: left;
}

.policy-table th {
  color: var(--paper-text);
  background: #eef3fa;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-contact {
  display: grid;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  background: white;
}

.policy-note {
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: #eef5ff;
  color: #243144;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-tile {
  display: grid;
  gap: 12px;
  padding: 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: var(--radius);
  background: white;
  color: var(--paper-text);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.media-tile:hover,
.media-tile.is-active {
  border-color: rgba(0, 104, 255, 0.52);
  box-shadow: 0 20px 48px rgba(0, 104, 255, 0.16);
  transform: translateY(-2px);
}

.media-preview {
  position: relative;
  overflow: hidden;
  background: #eef3f8;
}

.media-preview img,
.media-preview video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-preview strong {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 104, 255, 0.92);
  color: white;
  font-size: 0.72rem;
  line-height: 1;
}

.media-tile > span {
  padding: 0 16px;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.25;
}

.method-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}

.method-rail::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 44px;
  border-top: 1px dashed rgba(0, 104, 255, 0.62);
}

.method-rail li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.method-rail span {
  display: grid;
  place-items: center;
  width: 68px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0068ff, #0c86ff);
  color: white;
  border: 7px solid var(--paper);
  box-shadow: 0 10px 28px rgba(0, 104, 255, 0.26);
  font-size: 1.15rem;
  font-weight: 900;
}

.method-rail h3 {
  font-size: 0.98rem;
}

.method-rail p {
  margin: 10px 0 0;
  color: var(--paper-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact {
  position: relative;
  padding: 68px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 50%, rgba(0, 104, 255, 0.27), transparent 23%),
    linear-gradient(95deg, #07101a, #03060b);
}

.contact::after {
  content: "";
  position: absolute;
  right: 7%;
  top: 50%;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(37, 168, 255, 0.72);
  box-shadow: inset 0 0 24px rgba(0, 104, 255, 0.45), 0 0 34px rgba(0, 104, 255, 0.3);
  transform: translateY(-50%);
  opacity: 0.46;
  pointer-events: none;
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 46px;
}

.contact-copy h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 1.05;
}

.contact-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #c7d3e1;
}

.contact-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.founder-avatar {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  background: #101826;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.contact-card p {
  margin: 6px 0 14px;
  color: #c6d1df;
}

.contact-card a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #020409;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca9ba;
  font-size: 0.84rem;
}

.footer-brand .brand-mark {
  width: 34px;
}

.footer-brand .brand-name {
  color: white;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: calc(var(--header-height) + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(5, 8, 14, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .gallery-shell {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0 22px;
  }

  .policy-toc strong {
    grid-column: 1 / -1;
  }

  .product-stack {
    min-height: 470px;
  }

  .problem-grid,
  .service-grid,
  .solution-grid,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 26px;
  }

  .problem-grid article:nth-child(-n + 2) {
    border-top: 0;
  }

  .service-card {
    border-left: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.16);
  }

  .service-card:nth-child(-n + 2) {
    border-top: 0;
  }

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

  .method-rail::before {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .section-shell,
  .hero-inner {
    width: min(100% - 28px, var(--container));
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 44px) 0 52px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .gallery-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.1rem);
  }

  .policy-hero {
    padding: calc(var(--header-height) + 42px) 0 54px;
  }

  .policy-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .policy-body {
    padding: 46px 0 64px;
  }

  .policy-toc {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .product-stack {
    min-height: 330px;
  }

  .browser-main {
    transform: none;
  }

  .browser-clinic {
    left: 0;
    bottom: 26px;
    width: 60%;
  }

  .browser-qr {
    right: 0;
    bottom: 0;
    width: 44%;
  }

  .window-top {
    min-height: 30px;
    font-size: 0.68rem;
  }

  .problem-grid,
  .service-grid,
  .solution-grid,
  .media-grid,
  .method-rail,
  .contact-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .problem-grid article,
  .problem-grid article:nth-child(-n + 2),
  .service-card,
  .service-card:nth-child(-n + 2) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .problem-grid article:first-child,
  .service-card:first-child {
    border-top: 0;
  }

  .services,
  .method,
  .solutions,
  .gallery-body,
  .contact {
    padding: 54px 0;
  }

  .gallery-hero {
    padding: calc(var(--header-height) + 42px) 0 52px;
  }

  .product-switcher {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-switcher button {
    border-radius: 7px;
  }

  .method-rail {
    gap: 26px;
  }

  .method-rail li {
    justify-items: start;
    text-align: left;
    grid-template-columns: 62px 1fr;
    column-gap: 16px;
  }

  .method-rail span {
    width: 56px;
    grid-row: span 2;
    border-width: 5px;
  }

  .method-rail p {
    margin-top: 6px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    justify-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
