@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --navy: #000080;
  --bg: #050505;
  --bg-alt: #0a0a0a;
  --panel: #0d0d0d;
  --panel-2: #111111;
  --text: #ffffff;
  --muted: #8d8d8d;
  --blue: #0052cc;
  --cyan: #00b4d8;
  --violet: #7b2fbe;
  --divider: rgba(255, 255, 255, 0.08);
  --divider-strong: rgba(255, 255, 255, 0.14);
  --text-display: clamp(2.8rem, 6vw, 5.5rem);
  --text-h1: clamp(2rem, 4vw, 3.5rem);
  --text-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --text-h3: clamp(1.1rem, 1.5vw, 1.35rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --font-mono: 'IBM Plex Mono', monospace;
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-accent: 1px solid rgba(0, 180, 216, 0.3);
  --border-strong: 4px solid #00b4d8;
  --hero-video-ratio: 1832 / 858;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-lock {
  overflow: hidden;
}

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

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

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

.container {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 80px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(5, 5, 5, 0.88);
  border-color: var(--divider);
  backdrop-filter: blur(12px);
}

.header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 108px;
  overflow: hidden;
}

.site-header .brand img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 42px;
}

.brand__name {
  position: relative;
  display: inline-block;
  width: 2.2ch;
  height: 1.45rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transition: width 0.24s ease;
}

.brand__short,
.brand__full {
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.18s ease, transform 0.24s ease;
}

.brand__short {
  opacity: 1;
  transform: translateX(0);
}

.brand__full {
  opacity: 0;
  transform: translateX(-0.6rem);
}

.brand:hover .brand__name,
.brand:focus-visible .brand__name {
  width: 10ch;
}

.brand:hover .brand__short,
.brand:focus-visible .brand__short {
  opacity: 0;
  transform: translateX(0.6rem);
}

.brand:hover .brand__full,
.brand:focus-visible .brand__full {
  opacity: 1;
  transform: translateX(0);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1;
  justify-content: center;
}

.nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  padding: 0.35rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  white-space: nowrap;
  min-height: 52px;
  padding-inline: 2.2rem;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.875rem 2rem;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--cyan);
  color: var(--bg);
  border: 1px solid var(--cyan);
}

.btn--primary:hover {
  background: #0090b0;
  border-color: #0090b0;
}

.btn--outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.btn--outline:hover {
  background: var(--cyan);
  color: var(--bg);
}

.btn--template {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid #ffffff;
  box-shadow: 0 18px 40px rgba(0, 186, 221, 0.28);
}

.btn--template:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
}

.btn--template-large {
  min-height: 56px;
  padding-inline: 2.6rem;
  font-size: 1rem;
}

.section {
  padding: 6rem 0;
  border-bottom: var(--border-subtle);
}

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

.section__eyebrow,
.label {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__heading {
  margin-top: 1rem;
  max-width: 900px;
  font-size: var(--text-h1);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  font-weight: 300;
  margin-top: 1.4rem;
}

.hero {
  min-height: auto;
  background: var(--bg);
  border-bottom: var(--border-subtle);
  display: block;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  width: min(1440px, 100%);
  margin: 0 auto;
  min-height: auto;
  padding: 5.75rem 3rem 1.75rem;
  position: relative;
}

.hero__left {
  grid-column: 1 / span 5;
  align-self: center;
  padding-right: clamp(1rem, 2vw, 2rem);
  position: relative;
  z-index: 2;
}

.hero__right {
  grid-column: 6 / -1;
  border-left: var(--border-subtle);
  padding-left: clamp(1rem, 2vw, 2rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero__logo {
  display: none;
}

.hero__headline {
  font-size: clamp(1.3rem, 1.75vw, 2rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 600;
  max-width: 620px;
}

.hero__sub {
  max-width: 390px;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  font-weight: 300;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.hero__ctas .btn {
  min-height: 34px;
  padding: 0.5rem 0.95rem;
  font-size: 0.66rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  margin-top: 0.55rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.82);
}

.badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--cyan);
  border-radius: 50%;
}

.hero__video-wrapper {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  aspect-ratio: var(--hero-video-ratio);
  background: #050505;
  width: 100%;
  max-width: 1120px;
  pointer-events: none;
}

.hero__video-wrapper::before {
  content: none;
}

.hero__video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 72% 62%, rgba(0, 180, 216, 0.45), transparent 28%),
    linear-gradient(135deg, #000080 0%, #020224 58%, #050505 100%);
  z-index: 0;
  transition: opacity 0.4s ease;
}

.hero__video-fallback img {
  width: min(72%, 520px);
  max-height: 70%;
  object-fit: contain;
}

.hero__video-wrapper video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  pointer-events: none;
  transform: none;
  transform-origin: center;
  opacity: 1;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero__divider {
  height: 1px;
  background: var(--divider);
}

.page-hero {
  padding: 11rem 0 6rem;
  background: var(--bg);
  border-bottom: var(--border-subtle);
}

.page-hero--navy {
  background: var(--navy);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 1.5rem;
  align-items: end;
}

.page-hero__content {
  grid-column: span 10;
}

.page-hero__aside {
  grid-column: 12 / span 5;
  border-left: 4px solid var(--cyan);
  padding-left: 1.5rem;
}

.page-title {
  margin-top: 1rem;
  font-size: var(--text-display);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 600;
  max-width: 980px;
}

.page-subtitle {
  margin-top: 1.5rem;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.15rem;
  font-weight: 300;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--divider);
}

.work-card {
  background: var(--panel-2);
  border-left: var(--border-strong);
  padding: 2rem;
  min-height: 310px;
}

.work-card svg,
.visual-panel svg {
  width: 48px;
  height: 48px;
  stroke: var(--cyan);
  stroke-width: 1.5;
  fill: none;
}

.work-card h3 {
  margin-top: 2.5rem;
  font-size: var(--text-h3);
  font-weight: 600;
}

.work-card p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 300;
}

.metrics {
  background: var(--navy);
  padding: 4rem 0;
  border-bottom: var(--border-subtle);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.metric {
  background: var(--navy);
  padding: 2rem 1.5rem;
}

.metric strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.9;
  font-weight: 600;
}

.metric span {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--text-small);
}

.feature-cta {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
  background: var(--panel);
  border-left: 4px solid var(--violet);
  padding: 3rem;
}

.feature-cta h2 {
  font-size: var(--text-h1);
  line-height: 1.04;
  font-weight: 600;
}

.templates-callout {
  padding: 3.5rem 0;
  background: var(--bg);
}

.templates-callout__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--panel);
  border: 1px solid rgba(0, 186, 221, 0.45);
  border-left: 6px solid var(--cyan);
}

.templates-callout__box h2 {
  max-width: 760px;
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  font-weight: 600;
}

.templates-callout__box p {
  max-width: 720px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.price {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  font-weight: 700;
}

.price small {
  display: block;
  margin-top: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.alternating {
  background: var(--bg);
}

.solution-row {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  align-items: stretch;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-row:nth-child(even) {
  grid-template-columns: 40% 60%;
}

.solution-row:nth-child(even) .solution-copy {
  order: 2;
}

.solution-copy {
  padding-right: clamp(2rem, 5vw, 5rem);
}

.solution-row:nth-child(even) .solution-copy {
  padding: 0 0 0 clamp(2rem, 5vw, 5rem);
}

.solution-copy h2 {
  font-size: var(--text-h1);
  line-height: 1.05;
  font-weight: 600;
}

.solution-copy p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  max-width: 760px;
}

.visual-panel {
  min-height: 360px;
  background: var(--panel);
  border-left: 4px solid var(--cyan);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visual-panel__number {
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.8;
  color: rgba(0, 180, 216, 0.22);
  font-weight: 600;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.76);
}

.check-list li::before {
  content: ">";
  color: var(--cyan);
  margin-right: 0.65rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: var(--border-subtle);
}

.tab-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 500;
}

.tab-button.is-active {
  color: var(--text);
  border-bottom-color: var(--cyan);
}

.tab-panel {
  display: none;
  min-height: 500px;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--divider);
}

.tab-panel.is-active {
  display: grid;
}

.tab-panel > div {
  background: var(--bg);
  padding: 3rem;
}

.tab-panel h2 {
  font-size: var(--text-h1);
  line-height: 1.05;
  font-weight: 600;
}

.tab-panel p {
  margin: 1.2rem 0 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 3rem;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--cyan);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 0 0 2rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.5rem;
  width: 1.5rem;
  height: 1px;
  background: var(--cyan);
}

.timeline__num {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.75rem;
}

.timeline h3 {
  font-size: var(--text-h3);
  font-weight: 600;
}

.timeline p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 3rem;
  background: var(--divider);
}

.comparison__col {
  background: var(--panel);
  padding: 2rem;
}

.comparison__col--accent {
  background: var(--navy);
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.mark {
  font-family: var(--font-mono);
  color: #b85c5c;
}

.comparison__col--accent .mark {
  color: var(--cyan);
}

.faq {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
}

.faq__item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 600;
}

.faq__question span {
  color: var(--cyan);
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__question span {
  transform: rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq__answer p {
  color: rgba(255, 255, 255, 0.7);
  padding: 0 0 1.25rem;
  font-weight: 300;
}

.about-block {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 2rem;
  padding: 4rem 0;
  border-top: var(--border-subtle);
}

.about-block__num {
  color: var(--cyan);
  font-size: 5rem;
  line-height: 1;
  font-weight: 600;
}

.about-block h2 {
  font-size: var(--text-h1);
  line-height: 1.05;
  font-weight: 600;
}

.about-block p {
  margin-top: 1rem;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  font-weight: 300;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.field {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 1rem 0;
  outline: none;
}

.field:focus {
  border-bottom-color: var(--cyan);
}

select.field {
  color-scheme: dark;
}

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

.site-footer {
  background: var(--bg);
  border-top: var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 2rem;
}

.footer__logo {
  max-height: 74px;
  width: auto;
}

.footer__tagline {
  margin-top: 1.25rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 300;
}

.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col a,
.footer__col span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-small);
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: var(--border-subtle);
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  body {
    font-size: 0.97rem;
  }

  .nav,
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 51;
  }

  .mobile-nav {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    width: 100vw;
    min-width: 100vw;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 1rem 1.25rem 2rem;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    overflow-y: auto;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: var(--border-subtle);
    font-size: clamp(1.1rem, 6vw, 1.35rem);
    font-weight: 600;
  }

  .mobile-nav .btn {
    width: 100%;
    margin-top: 1rem;
  }

  .site-header,
  .header__inner {
    height: 64px;
  }

  .hero__grid,
  .page-hero__grid,
  .work-grid,
  .metrics__grid,
  .feature-cta,
  .solution-row,
  .solution-row:nth-child(even),
  .tab-panel.is-active,
  .comparison,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
    padding: 5.6rem 1rem 2.5rem;
    gap: 0;
  }

  .hero__left {
    grid-column: auto;
    padding-right: 0;
    align-self: start;
  }

  .hero__right {
    grid-column: auto;
    border-left: none;
    border-top: var(--border-subtle);
    padding: 1.25rem 0 0;
    margin-top: 1.5rem;
    justify-content: stretch;
  }

  .hero {
    min-height: auto;
  }

  .hero__headline {
    max-width: 760px;
    font-size: clamp(2.15rem, 8.5vw, 3.25rem);
    line-height: 1.02;
  }

  .hero__video-wrapper {
    max-width: none;
    aspect-ratio: 16 / 9;
    height: clamp(220px, 42vw, 280px);
    min-height: 0;
    max-height: 280px;
    background: #000;
  }

  .hero__video-wrapper video {
    object-fit: contain;
    object-position: center;
  }

  .page-hero__content,
  .page-hero__aside {
    grid-column: auto;
  }

  .page-hero__aside {
    margin-top: 2rem;
  }

  .solution-row:nth-child(even) .solution-copy {
    order: 0;
  }

  .solution-copy,
  .solution-row:nth-child(even) .solution-copy {
    padding: 0 0 2rem;
  }

  .metrics__grid,
  .work-grid,
  .comparison,
  .tab-panel {
    background: transparent;
    gap: 1rem;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    border-bottom: 0;
    margin-bottom: 1rem;
  }

  .tab-button {
    min-height: 48px;
    padding: 0.85rem;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid transparent;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
    line-height: 1.2;
  }

  .tab-button.is-active {
    background: var(--navy);
    border-color: rgba(0, 180, 216, 0.6);
    border-left-color: var(--cyan);
    color: var(--text);
  }

  .tab-panel {
    min-height: 0;
  }

  .feature-cta,
  .templates-callout__box,
  .tab-panel > div,
  .comparison__col {
    padding: 2rem 1.25rem;
  }

  .templates-callout__box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 1rem;
  }

  .brand {
    min-width: 0;
  }

  .site-header .brand img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .hero__headline,
  .page-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.04;
  }

  .hero__sub,
  .page-subtitle,
  .lead {
    font-size: 1rem;
  }

  .hero__sub {
    max-width: none;
    margin-top: 0.85rem;
  }

  .hero__ctas {
    gap: 0.7rem;
    margin-top: 1.1rem;
  }

  .hero__ctas,
  .btn {
    width: 100%;
  }

  .hero__ctas .btn {
    min-height: 46px;
    padding: 0.78rem 1rem;
    font-size: 0.8rem;
  }

  .hero__badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .badge {
    font-size: 0.72rem;
  }

  .hero__right {
    margin-inline: 0;
  }

  .hero__video-wrapper {
    width: 100%;
    height: clamp(165px, 48vw, 200px);
    max-height: 200px;
    aspect-ratio: auto;
  }

  .section,
  .page-hero {
    padding: 4rem 0 3rem;
  }

  .section__heading,
  .feature-cta h2,
  .solution-copy h2,
  .tab-panel h2,
  .about-block h2,
  .templates-callout__box h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .work-card,
  .visual-panel,
  .metric,
  .tab-panel > div,
  .comparison__col,
  .feature-cta,
  .templates-callout__box {
    padding: 1.5rem 1rem;
  }

  .work-card,
  .visual-panel,
  .tab-panel {
    min-height: auto;
  }

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

  .price {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .about-block,
  .timeline__item {
    grid-template-columns: 1fr;
  }

  .about-block__num {
    font-size: 3.5rem;
  }
}
