@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-mono-v16-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-mono-v16-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-mono-v16-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-mono-v16-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-v20-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-v20-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-v22-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-v22-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #080a18;
  --bg-soft: #0e1224;
  --surface: rgba(19, 22, 45, 0.8);
  --surface-solid: #12172d;
  --surface-strong: #191f3b;
  --text: #f8f7ff;
  --text-muted: #b6b2ca;
  --text-soft: #85829b;
  --line: rgba(216, 208, 255, 0.14);
  --line-strong: rgba(216, 208, 255, 0.27);
  --brand: #a78bfa;
  --brand-soft: #c4b5fd;
  --cyan: #67e8f9;
  --blue: #60a5fa;
  --lime: #86efac;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.23);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100% - 40px));
  --top-strip-height: 36px;
  --nav-height: 78px;
  --header-height: calc(var(--top-strip-height) + var(--nav-height));
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(167, 139, 250, 0.32);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 78px 0;
}

.section-muted {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 12%, rgba(167, 139, 250, 0.075), transparent 28%),
    radial-gradient(circle at 95% 88%, rgba(103, 232, 249, 0.055), transparent 30%),
    var(--bg-soft);
}

.section-grid {
  background-image:
    linear-gradient(rgba(216, 208, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 208, 255, 0.032) 1px, transparent 1px);
  background-size: 56px 56px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(125px);
  pointer-events: none;
}

.ambient-violet {
  top: 100px;
  left: -250px;
  background: rgba(167, 139, 250, 0.18);
}

.ambient-cyan {
  top: 620px;
  right: -270px;
  background: rgba(103, 232, 249, 0.13);
}

.section-heading {
  display: grid;
  gap: 22px;
  margin-bottom: 44px;
}

.section-heading-centered {
  display: block;
  max-width: 800px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.output-copy h2,
.handoff-copy h2,
.faq-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.25rem, 11vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.section-heading h2 span,
.output-copy h2 span,
.handoff-copy h2 span,
.contact-copy h2 span {
  color: var(--brand-soft);
}

.section-heading p,
.output-copy > p,
.handoff-copy > p,
.faq-intro > p,
.contact-copy > p {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.section-heading-centered p {
  max-width: 690px;
  margin-inline: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--brand-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 23px;
  height: 1px;
  background: currentColor;
  content: "";
}

.text-gradient {
  background: linear-gradient(105deg, var(--brand-soft), var(--brand) 48%, var(--cyan));
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(112deg, var(--brand-soft), var(--brand) 58%, var(--cyan));
  box-shadow: 0 14px 38px rgba(167, 139, 250, 0.22);
  color: #0d0b20;
}

.button-primary:hover {
  box-shadow: 0 18px 44px rgba(167, 139, 250, 0.32);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(167, 139, 250, 0.07);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 12px;
  font-size: 0.84rem;
}

.button-large {
  min-height: 58px;
  padding-inline: 24px;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 24, 0.91);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.top-strip {
  height: var(--top-strip-height);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 28, 0.97);
}

.top-strip-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-strip-messages,
.top-strip-contact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 20px;
}

.top-strip-messages span,
.top-strip-contact a {
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-strip-messages span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-strip-messages span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.72);
  content: "";
}

.top-strip-promise,
.top-strip-contact a:first-child {
  display: none;
}

.top-strip-contact {
  justify-content: flex-end;
}

.top-strip-contact a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
}

.top-strip-contact a:hover {
  color: var(--brand-soft);
}

.nav-shell {
  display: flex;
  min-height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 43px;
  height: 43px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.primary-nav {
  position: fixed;
  z-index: 99;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 26px 20px;
  visibility: hidden;
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 24, 0.985);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.primary-nav.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.primary-nav a {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a:not(.button):hover,
.primary-nav a:not(.button).active {
  background: rgba(167, 139, 250, 0.07);
  color: var(--text);
}

.primary-nav a:not(.button).active::after {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  content: "";
}

.nav-contact-cta {
  justify-content: center;
  margin-top: 10px;
  background: linear-gradient(112deg, var(--brand-soft), var(--brand), var(--cyan)) !important;
  color: #0d0b20 !important;
}

.nav-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 12px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle.active span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding-top: clamp(68px, 12vw, 112px);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border: 2px solid rgba(196, 181, 253, 0.28);
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.68);
  transform: rotate(45deg);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.65rem, 13vw, 5.15rem);
  line-height: 0.99;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 690px;
  margin: 25px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.03rem, 2.7vw, 1.18rem);
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.hero-signals {
  display: grid;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  list-style: none;
}

.hero-signals li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-signals li > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid var(--brand);
  border-radius: 2px;
  background: rgba(167, 139, 250, 0.16);
}

.hero-visual {
  min-width: 0;
}

.design-studio {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(10, 12, 28, 0.94);
  box-shadow: var(--shadow);
}

.studio-bar,
.studio-footer {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
}

.studio-bar {
  border-bottom: 1px solid var(--line);
}

.studio-bar > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-bar > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--lime);
  font-weight: 500;
}

.studio-bar > strong i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.window-dots {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(216, 208, 255, 0.22);
}

.window-dots i:first-child {
  background: #fb7185;
}

.window-dots i:nth-child(2) {
  background: #fbbf24;
}

.window-dots i:last-child {
  background: #86efac;
}

.studio-workspace {
  display: grid;
  min-height: 520px;
  background:
    radial-gradient(circle at 65% 28%, rgba(167, 139, 250, 0.1), transparent 30%),
    linear-gradient(rgba(216, 208, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 208, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}

.layers-panel {
  display: none;
  padding: 15px 11px;
  border-right: 1px solid var(--line);
  background: rgba(10, 13, 28, 0.9);
}

.layers-panel > span {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.56rem;
}

.layers-panel ul {
  display: grid;
  gap: 3px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.layers-panel li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 0.57rem;
}

.layers-panel li.active {
  background: rgba(167, 139, 250, 0.12);
  color: var(--brand-soft);
}

.layers-panel li i {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.design-canvas {
  position: relative;
  min-width: 0;
  min-height: 360px;
  padding: 54px 18px 24px;
  overflow: hidden;
}

.flow-label {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.screen-frame {
  width: min(100%, 330px);
  min-height: 326px;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--brand);
  border-radius: 14px;
  background: #f7f6ff;
  box-shadow: 0 18px 48px rgba(10, 7, 28, 0.24);
  color: #17132e;
}

.screen-nav {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  padding: 8px 11px;
  border-bottom: 1px solid rgba(23, 19, 46, 0.1);
}

.screen-nav b {
  display: grid;
  width: 25px;
  height: 25px;
  margin-right: auto;
  place-items: center;
  border-radius: 7px;
  background: #17132e;
  color: var(--brand-soft);
  font-size: 0.72rem;
}

.screen-nav i {
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: rgba(23, 19, 46, 0.2);
}

.screen-nav span {
  width: 43px;
  height: 20px;
  border-radius: 6px;
  background: #17132e;
}

.screen-content {
  padding: 28px 24px 22px;
}

.screen-content small {
  color: #6d28d9;
  font-family: "DM Mono", monospace;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.screen-title {
  display: block;
  margin: 8px 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 6vw, 1.85rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.screen-content > p {
  width: 88%;
  height: 5px;
  margin: 7px 0;
  border-radius: 4px;
  background: rgba(23, 19, 46, 0.13);
}

.screen-content > p:nth-of-type(2) {
  width: 68%;
}

.form-preview {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.form-preview i {
  height: 29px;
  border: 1px solid rgba(23, 19, 46, 0.14);
  border-radius: 7px;
  background: rgba(23, 19, 46, 0.025);
}

.screen-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.screen-actions b,
.screen-actions span {
  width: 74px;
  height: 25px;
  border-radius: 7px;
}

.screen-actions b {
  background: linear-gradient(110deg, #a78bfa, #67e8f9);
}

.screen-actions span {
  border: 1px solid rgba(23, 19, 46, 0.15);
}

.mobile-frame {
  position: absolute;
  right: 8px;
  bottom: 16px;
  display: none;
  width: 92px;
  height: 176px;
  padding: 20px 11px;
  border: 2px solid var(--cyan);
  border-radius: 16px;
  background: #f7f6ff;
  box-shadow: 0 18px 40px rgba(10, 7, 28, 0.26);
}

.mobile-frame::before {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: rgba(23, 19, 46, 0.18);
  content: "";
  transform: translateX(-50%);
}

.mobile-frame i {
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: #17132e;
}

.mobile-frame b {
  display: block;
  width: 58px;
  height: 9px;
  margin-top: 15px;
  border-radius: 5px;
  background: #17132e;
}

.mobile-frame span {
  display: block;
  height: 19px;
  margin-top: 8px;
  border: 1px solid rgba(23, 19, 46, 0.12);
  border-radius: 5px;
}

.prototype-link {
  position: absolute;
  right: 80px;
  bottom: 90px;
  display: none;
  width: 65px;
  height: 38px;
  border-top: 1px dashed var(--cyan);
  border-right: 1px dashed var(--cyan);
  border-radius: 0 18px 0 0;
}

.properties-panel {
  border-top: 1px solid var(--line);
  background: rgba(10, 13, 28, 0.94);
}

.properties-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}

.properties-panel span,
.properties-panel strong {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
}

.properties-panel span {
  color: var(--text-soft);
}

.properties-panel strong {
  color: var(--brand-soft);
  font-weight: 500;
}

.properties-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 8px 13px;
  list-style: none;
}

.properties-panel li {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(216, 208, 255, 0.07);
}

.properties-panel li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.token-row {
  display: flex;
  gap: 7px;
  padding: 10px 13px 13px;
  border-top: 1px solid var(--line);
}

.token-row i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--brand-soft);
}

.token-row i:nth-child(2) {
  background: var(--brand);
}

.token-row i:nth-child(3) {
  background: var(--cyan);
}

.token-row i:nth-child(4) {
  background: var(--surface-strong);
}

.studio-footer {
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.studio-footer span {
  display: none;
  align-items: center;
  gap: 5px;
}

.studio-footer span i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--brand);
}

.studio-footer strong {
  margin-left: auto;
  color: var(--brand-soft);
  font-weight: 500;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(14, 18, 36, 0.76);
}

.trust-grid {
  display: grid;
}

.trust-grid > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-bottom: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.trust-grid span {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.09), transparent 35%),
    var(--surface);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.34);
  border-radius: 15px;
  background: rgba(167, 139, 250, 0.08);
  color: var(--brand-soft);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.card-index {
  margin-top: 24px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 10px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-card ul,
.handoff-copy ul,
.contact-copy ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  list-style: none;
}

.service-card li,
.handoff-copy li,
.contact-copy li {
  position: relative;
  padding-left: 17px;
}

.service-card li::before,
.handoff-copy li::before,
.contact-copy li::before {
  position: absolute;
  top: 0.73em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--brand);
  border-radius: 2px;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.output-layout {
  display: grid;
  align-items: center;
  gap: 48px;
}

.output-note {
  margin-top: 30px;
  padding: 20px;
  border: 1px dashed rgba(167, 139, 250, 0.36);
  border-radius: var(--radius-md);
  background: rgba(167, 139, 250, 0.04);
}

.output-note strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.output-note p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.artifact-board {
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(216, 208, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 208, 255, 0.03) 1px, transparent 1px),
    rgba(10, 13, 28, 0.92);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.artifact-track {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 10, 24, 0.92);
}

.artifact-track article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
}

.artifact-track article:last-child {
  border-bottom: 0;
}

.artifact-track article > span {
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
}

.artifact-track small {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.51rem;
  letter-spacing: 0.08em;
}

.artifact-track h3 {
  margin: 3px 0 2px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.artifact-track p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.73rem;
}

.artifact-track article > strong {
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  font-weight: 500;
}

.area-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.area-grid article {
  min-width: 0;
  padding: 26px;
  background: var(--bg-soft);
  transition: background 0.2s ease;
}

.area-grid article:hover {
  background: var(--surface-solid);
}

.area-grid article > span {
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.64rem;
}

.area-grid h3 {
  margin: 22px 0 9px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.area-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.model-grid {
  display: grid;
  gap: 18px;
}

.model-grid article {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(103, 232, 249, 0.055), transparent 34%),
    var(--surface);
}

.model-grid article::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 24px;
  content: "";
  transform: rotate(18deg);
}

.model-tag {
  align-self: flex-start;
  padding: 6px 9px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.07);
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-grid h3 {
  margin: 22px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.43rem;
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.model-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.model-grid article > strong {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  font-weight: 500;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.process-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.34);
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.07);
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.67rem;
}

.process-list small {
  color: var(--brand-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.59rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.process-list h3 {
  margin: 6px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.26rem;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.process-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.process-list > li > strong {
  grid-column: 2;
  align-self: center;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
}

.handoff-layout {
  display: grid;
  align-items: center;
  gap: 48px;
}

.handoff-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(10, 13, 28, 0.95);
  box-shadow: var(--shadow);
}

.handoff-head,
.handoff-foot {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.59rem;
}

.handoff-head {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.handoff-head strong {
  color: var(--lime);
  font-weight: 500;
}

.handoff-body {
  display: grid;
  padding: 8px 15px;
}

.handoff-body article {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  min-height: 65px;
  border-bottom: 1px solid rgba(216, 208, 255, 0.08);
}

.handoff-body article:last-child {
  border-bottom: 0;
}

.handoff-body article > span {
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.57rem;
}

.handoff-body article > div {
  display: grid;
}

.handoff-body article strong {
  font-size: 0.79rem;
}

.handoff-body article small {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.65rem;
}

.handoff-body article > i {
  color: var(--lime);
  font-style: normal;
}

.handoff-foot {
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.handoff-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.handoff-foot span i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--brand);
}

.faq-layout {
  display: grid;
  gap: 42px;
}

.faq-intro h2 {
  font-size: clamp(2.35rem, 11vw, 4rem);
}

.faq-intro > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 22px;
  color: var(--brand-soft);
  font-weight: 800;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: var(--brand-soft);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 68ch;
  margin: -2px 42px 22px 2px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-section {
  padding-top: 92px;
}

.contact-shell {
  display: grid;
  gap: 38px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.32);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 7% 0%, rgba(167, 139, 250, 0.15), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(103, 232, 249, 0.1), transparent 36%),
    var(--surface-solid);
  box-shadow: var(--shadow);
}

.contact-actions {
  align-self: center;
}

.contact-actions .button {
  width: 100%;
}

.contact-actions p {
  margin: 14px 2px 0;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.site-footer {
  padding-top: 76px;
  border-top: 1px solid var(--line);
  background: #060713;
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.footer-brand p {
  max-width: 350px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-column h3 {
  margin: 0 0 13px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column nav {
  display: grid;
  gap: 4px;
}

.footer-column a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-column a:hover,
.footer-column a[aria-current="page"] {
  color: var(--brand-soft);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 54px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.59rem;
}

.will-reveal {
  transform: translateY(20px);
  transition: transform 0.62s ease;
}

.will-reveal.in-view {
  transform: translateY(0);
}

@media (min-width: 480px) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .mobile-frame,
  .prototype-link {
    display: block;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid > div {
    padding: 22px 18px;
  }

  .trust-grid > div:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }

  .trust-grid > div:nth-child(even) {
    padding-right: 0;
  }

  .trust-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .process-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
  }

  .contact-shell {
    padding: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  .section {
    padding: 92px 0;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .top-strip-contact a:first-child {
    display: inline-flex;
  }

  .hero {
    padding-top: 88px;
  }

  .studio-workspace {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .properties-panel {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .properties-panel > div:first-child {
    display: grid;
  }

  .properties-panel ul {
    grid-template-columns: 1fr;
  }

  .properties-panel li:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(216, 208, 255, 0.07);
  }

  .properties-panel li:last-child {
    border-bottom: 0;
  }

  .token-row {
    flex-wrap: wrap;
  }

  .studio-footer span {
    display: inline-flex;
  }

  .service-grid,
  .area-grid,
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-grid article {
    padding: 30px;
  }

  .contact-actions .button {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }
}

@media (min-width: 768px) {
  .section-heading {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: end;
    gap: 54px;
  }

  .section-heading > p {
    margin: 0;
  }

  .section-heading-centered {
    display: block;
  }

  .output-layout,
  .handoff-layout,
  .faq-layout,
  .contact-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 58px;
  }

  .faq-layout {
    align-items: start;
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--header-height) + 28px);
  }

  .process-list li {
    grid-template-columns: 52px minmax(0, 1fr) minmax(150px, 0.42fr);
    align-items: center;
    gap: 24px;
  }

  .process-list > li > strong {
    grid-column: auto;
    justify-self: end;
    text-align: right;
  }

  .footer-grid {
    grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(130px, 0.6fr));
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (min-width: 920px) {
  .primary-nav {
    position: static;
    z-index: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    padding: 0;
    visibility: visible;
    border: 0;
    background: transparent;
    opacity: 1;
    transform: none;
    margin-left: auto;
  }

  .primary-nav a {
    min-height: 44px;
    padding: 10px 9px;
    font-size: 0.76rem;
  }

  .primary-nav a:not(.button).active::after {
    right: 9px;
    bottom: 2px;
    left: 9px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-contact-cta {
    margin-top: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(450px, 0.97fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 5.8vw, 5.15rem);
  }

  .hero-visual {
    margin-right: -38px;
  }

  .studio-workspace {
    grid-template-columns: 100px minmax(0, 1fr) 140px;
  }

  .layers-panel {
    display: block;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card {
    padding: 28px;
  }

  .area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .top-strip-promise {
    display: inline-flex;
  }
}

@media (min-width: 1180px) {
  .section {
    padding: 118px 0;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 124px;
  }

  .hero-grid {
    gap: 62px;
  }

  .hero-visual {
    margin-right: -64px;
  }

  .primary-nav a {
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .primary-nav a:not(.button).active::after {
    right: 12px;
    left: 12px;
  }

  .contact-shell {
    padding: 58px;
  }
}

@media (max-width: 389px) {
  :root {
    --container: min(1180px, calc(100% - 32px));
  }

  .top-strip-messages span,
  .top-strip-contact a {
    font-size: 0.61rem;
  }

  .brand-copy {
    display: none;
  }

  .hero h1 {
    font-size: 2.52rem;
  }

  .studio-bar > span {
    max-width: 112px;
  }

  .design-canvas {
    padding-inline: 10px;
  }

  .screen-nav i:nth-of-type(2),
  .screen-nav i:nth-of-type(3) {
    display: none;
  }

  .service-card,
  .area-grid article,
  .model-grid article {
    padding: 23px;
  }

  .artifact-track article {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .artifact-track article > strong {
    display: none;
  }

  .contact-shell {
    padding: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Shared Perfect.sk chrome typography and alignment. */
.top-strip,
.primary-nav a,
.site-footer {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.top-strip :is(span, a) {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: left;
}

.primary-nav {
  gap: 4px;
}

.primary-nav a:not(.button) {
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

.primary-nav a:not(.button).active::after {
  right: 10px;
  bottom: 5px;
  left: 10px;
}

.primary-nav .button {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.primary-nav .nav-contact-cta {
  min-height: 44px;
  justify-content: center;
  color: #06111f !important;
  margin: 0 0 0 6px;
  padding: 0 16px;
  text-align: center;
}

.site-footer :is(.footer-grid, .footer-brand, .footer-column, .footer-links) {
  text-align: left;
}

.site-footer {
  padding: 72px 0 0;
}

.site-footer .footer-grid {
  gap: 44px;
  padding: 0;
}

.site-footer .footer-brand p {
  max-width: 390px;
  margin: 18px 0 14px;
  font-size: 0.86rem;
  line-height: 1.65;
}

.site-footer :is(.footer-column h3, .footer-column strong, .footer-links strong) {
  margin: 0 0 16px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.site-footer :is(.footer-column nav, .footer-column ul, .footer-links > div) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer :is(.footer-column a, .footer-links a) {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
}

.footer-bottom,
.footer-bottom p {
  font-size: 0.7rem;
  line-height: 1.5;
}

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 48px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
}

.site-footer .footer-bottom > * {
  flex: 1 1 260px;
  margin: 0;
}

.site-footer .footer-bottom > :last-child {
  text-align: right;
}

@media (max-width: 919px) {
  .top-strip :is(span, a) {
    font-size: 0.64rem;
  }

  .primary-nav a:not(.button),
  .primary-nav .button {
    font-size: 0.9rem;
  }

  .primary-nav a:not(.button) {
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 12px;
    text-align: left;
  }

  .primary-nav a:not(.button)::after {
    display: none;
  }

  .primary-nav a:not(.button).active {
    background: var(--surface-strong);
  }

  .primary-nav .nav-contact-cta {
    min-height: 48px;
    margin: 5px 0 0;
    padding: 8px 16px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 56px;
  }

  .site-footer .footer-grid {
    gap: 32px;
  }

  .site-footer .footer-bottom > :last-child,
  .footer-bottom p:last-child {
    text-align: left;
  }
}
