:root {
  --bg: #f4f8ff;
  --bg-soft: #e9f2ff;
  --paper: rgba(255, 255, 255, 0.86);
  --paper-strong: rgba(255, 255, 255, 0.95);
  --paper-deep: rgba(232, 240, 255, 0.78);
  --line: rgba(31, 67, 122, 0.12);
  --line-strong: rgba(31, 67, 122, 0.2);
  --text: #10203d;
  --text-soft: rgba(16, 32, 61, 0.74);
  --text-faint: rgba(16, 32, 61, 0.5);
  --accent: #2f76ff;
  --accent-deep: #1e56d8;
  --accent-rose: #4ca7ff;
  --accent-olive: #3f93c6;
  --accent-gold: #5f86ff;
  --shadow-soft: 0 16px 38px rgba(32, 77, 163, 0.12);
  --shadow-phone: 0 24px 56px rgba(19, 43, 95, 0.22);
  --display: "Iowan Old Style", "Palatino Linotype", "Source Han Serif SC", "Noto Serif SC", serif;
  --body: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "IBM Plex Mono", "Menlo", monospace;
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --container: 1240px;
  --space-1: 0.45rem;
  --space-2: 0.85rem;
  --space-3: 1.2rem;
  --space-4: 1.75rem;
  --space-5: 2.35rem;
  --space-6: 3.4rem;
  --space-7: 4.8rem;
  --space-8: 6.5rem;
  --fs-xs: 0.76rem;
  --fs-sm: 0.94rem;
  --fs-md: 1rem;
  --fs-lg: clamp(1.06rem, 1.4vw, 1.18rem);
  --fs-h3: clamp(1.34rem, 1.7vw, 1.72rem);
  --fs-h2: clamp(2.05rem, 3vw, 3.05rem);
  --fs-h1: clamp(3rem, 6vw, 5.8rem);
  --transition: 240ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--text);
  line-height: 1.72;
  background:
    radial-gradient(circle at 14% 18%, rgba(76, 167, 255, 0.18), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(47, 118, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 40%, #edf4ff 100%);
  overflow-x: hidden;
}

body.page-home,
body.page-products,
body.page-about,
body.page-capabilities,
body.page-contact,
body.page-legal,
body.page-404 {
  background:
    radial-gradient(circle at 14% 18%, rgba(76, 167, 255, 0.18), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(47, 118, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 40%, #edf4ff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    linear-gradient(90deg, rgba(31, 67, 122, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(31, 67, 122, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56) 58%, transparent 100%);
}

body::after {
  background:
    radial-gradient(circle at 16% 78%, rgba(95, 134, 255, 0.12), transparent 18%),
    radial-gradient(circle at 86% 82%, rgba(63, 147, 198, 0.1), transparent 18%);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff9f1;
  background: rgba(157, 93, 63, 0.9);
}

main,
footer {
  position: relative;
  z-index: 1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

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

ul,
ol {
  padding-left: 1.15rem;
}

strong {
  font-weight: 700;
}

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

.section,
.page-hero,
.hero,
.not-found-wrap {
  position: relative;
}

.section {
  padding: var(--space-7) 0;
}

.section--tight {
  padding: var(--space-6) 0;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 3.5vw, 3.1rem);
  max-width: 56rem;
}

.section-label,
.eyebrow,
.hero-stage__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section-label::before,
.eyebrow::before,
.hero-stage__label::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-title,
.page-hero-copy h1,
.hero-copy h1,
.not-found-card h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.section-title {
  font-size: var(--fs-h2);
  max-width: 16ch;
}

.section-copy,
.page-hero-copy p,
.hero-copy p,
.editorial-spread__copy p,
.showcase-row__copy p,
.matrix-card p,
.value-card p,
.contact-form-shell p,
.contact-lane p,
.legal-card p,
.legal-card li,
.not-found-card p,
.quote-panel p,
.process-step p,
.decision-card p,
.product-proof-card p,
.role-card p,
.numbered-rail__item p {
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.78rem 1.24rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition:
    transform var(--transition),
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

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

.btn--primary {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 16px 36px rgba(30, 86, 216, 0.24);
}

.btn--primary:hover {
  box-shadow: 0 20px 40px rgba(30, 86, 216, 0.3);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 251, 247, 0.42);
}

.btn--ghost:hover {
  border-color: rgba(47, 118, 255, 0.35);
  background: rgba(255, 255, 255, 0.8);
}

.btn--sm {
  min-height: 40px;
  padding: 0.62rem 1rem;
  font-size: var(--fs-sm);
}

.btn--lg {
  min-height: 52px;
  padding-inline: 1.45rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(245, 250, 255, 0.74);
  border-color: rgba(31, 67, 122, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 28px rgba(24, 57, 118, 0.1);
}

.header-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(31, 67, 122, 0.2));
  object-fit: contain;
}

.site-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.site-brand-copy strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-brand-copy em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  white-space: nowrap;
}

.site-nav,
.site-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 2rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

.lang-switch--mobile {
  width: fit-content;
  margin-top: 0.5rem;
}

.site-nav a {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  transition: color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

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

.menu-toggle,
.mobile-drawer {
  display: none;
}

.site-footer {
  margin-top: var(--space-6);
  padding: var(--space-6) 0 var(--space-5);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.7)),
    radial-gradient(circle at top right, rgba(76, 167, 255, 0.1), transparent 30%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 0.72fr));
  gap: var(--space-5);
}

.footer-brand-block {
  max-width: 28rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.24rem;
  font-weight: 600;
}

.footer-brand p,
.footer-summary,
.footer-bottom {
  color: var(--text-soft);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-column span {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-column a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--space-5);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.hero {
  padding: clamp(7rem, 8.8vw, 8.9rem) 0 clamp(2rem, 3.3vw, 3.1rem);
}

.hero--editorial,
.page-hero--showcase {
  overflow: clip;
}

.hero-layout {
  display: grid;
  gap: var(--space-6);
}

.hero-layout--showcase {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
}

.page-home .hero-layout--showcase {
  grid-template-columns: minmax(0, 1fr);
}

.hero-copy {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 1.02;
  max-width: 10ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.hero-stats div {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line-strong);
}

.hero-stats strong {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.1vw, 1.54rem);
  font-weight: 600;
}

.hero-stats span {
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.hero-switchboard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.82fr);
  gap: 0;
  min-height: clamp(30rem, 68vh, 40rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.48), rgba(255, 246, 238, 0.2)),
    linear-gradient(90deg, rgba(65, 43, 27, 0.045) 1px, transparent 1px);
  background-size: auto, 120px 100%;
}

.hero-switchboard::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem calc(100% - 19rem);
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

.hero-phone-stage {
  position: relative;
  min-height: clamp(30rem, 68vh, 40rem);
  padding: 1.5rem 2rem 2rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 36% 24%, color-mix(in srgb, var(--hero-accent, var(--accent)) 18%, transparent), transparent 24%),
    radial-gradient(circle at 68% 74%, color-mix(in srgb, var(--hero-accent-soft, var(--bg-soft)) 48%, transparent), transparent 22%);
}

.hero-phone-stage::before {
  content: "";
  position: absolute;
  inset: auto auto 3rem 6%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hero-accent, var(--accent)) 22%, transparent);
  filter: blur(50px);
  opacity: 0.5;
  z-index: -1;
}

.hero-phone-stage::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(65, 43, 27, 0.08);
  pointer-events: none;
}

.hero-stage__label {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  z-index: 3;
}

.hero-switchboard__rail {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 1.5rem 1.4rem 1.4rem;
}

.hero-app-info {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding-bottom: 1.4rem;
}

.hero-app-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-app-order {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-deep);
}

.hero-app-track {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-app-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.hero-app-title img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: cover;
  border-radius: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.hero-app-title strong {
  display: block;
  font-size: 1.1rem;
}

.hero-app-title span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  margin-top: 0.2rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.inline-link::after {
  content: "↗";
  font-size: 0.88em;
}

.inline-link:hover {
  color: var(--accent);
}

.app-source-note {
  font-size: var(--fs-sm);
  color: var(--text-faint);
}

.hero-app-tags,
.showcase-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.hero-app-tags span,
.showcase-row__tags span,
.process-tags span {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.hero-app-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.2rem;
}

.hero-app-metrics div {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.hero-app-metrics em {
  font-style: normal;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.hero-app-metrics strong {
  font-size: 0.98rem;
}

.hero-selector {
  display: grid;
}

.hero-selector__item {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  text-align: left;
  transition: color var(--transition), background var(--transition);
}

.hero-selector__trigger {
  width: 100%;
  text-align: left;
  display: block;
}

.hero-selector__main {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
}

.hero-selector__item:hover {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.hero-selector__item.is-active {
  color: var(--accent-deep);
}

.hero-selector__item img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 10px 20px rgba(50, 30, 15, 0.08);
}

.hero-selector__order {
  font-family: var(--display);
  font-size: 1.25rem;
}

.hero-selector__copy {
  display: grid;
  gap: 0.15rem;
}

.hero-selector__copy em {
  font-style: normal;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-selector__detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition:
    max-height 320ms ease,
    opacity 260ms ease,
    transform 260ms ease,
    margin-top 260ms ease;
  will-change: max-height, opacity, transform;
}

.hero-selector__detail.is-open {
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.72rem;
}

.hero-selector__detail p {
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.phone-frame {
  position: relative;
  padding: 0.54rem;
  background:
    linear-gradient(180deg, #27211d 0%, #120d0a 100%);
  border: 1px solid rgba(255, 245, 238, 0.5);
  border-radius: clamp(1.65rem, 2.3vw, 2.4rem);
  overflow: hidden;
  box-shadow: var(--shadow-phone);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 10 / 21;
  object-fit: contain;
  background: #090d16;
  border-radius: calc(clamp(1.65rem, 2.3vw, 2.4rem) - 0.38rem);
}

.phone-frame__notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 34%;
  height: 1.08rem;
  border-radius: 0 0 1rem 1rem;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.88);
  z-index: 2;
}

.phone-frame--hero-main,
.phone-frame--showcase-main {
  width: clamp(15rem, 25vw, 18.8rem);
}

.phone-frame--hero-main {
  position: absolute;
  left: 26%;
  top: 5rem;
  z-index: 2;
}

.phone-frame--hero-side {
  width: clamp(10.4rem, 16vw, 12.8rem);
  position: absolute;
  right: 8%;
  top: 8.5rem;
  transform: rotate(8deg);
  z-index: 1;
}

.phone-frame--hero-mini {
  width: clamp(8.5rem, 13vw, 10.5rem);
  position: absolute;
  left: 6%;
  bottom: 3rem;
  transform: rotate(-9deg);
  z-index: 3;
}

.phone-frame--showcase-thumb {
  width: clamp(8.2rem, 12vw, 9.6rem);
}

.phone-stage__device {
  display: grid;
  justify-content: center;
  align-content: center;
  min-height: 100%;
  padding-top: 2.6rem;
}

.phone-frame--single {
  width: clamp(14rem, 23vw, 17.4rem);
}

.screen-progress {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.screen-progress__item {
  width: 1.75rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(38, 26, 20, 0.24);
}

.screen-progress__item.is-active {
  background: var(--accent-deep);
}

.evidence-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.app-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
}

.app-roster__item {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.app-roster__head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.app-roster__head img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.62rem;
  object-fit: cover;
}

.app-roster__head strong {
  display: block;
  font-size: 0.96rem;
}

.app-roster__head span {
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.app-roster__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-roster__meta span {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.52rem;
}

.product-visual-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-visual-card {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.product-visual-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.product-visual-card__head img {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.8rem;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.product-visual-card__head strong {
  display: block;
}

.product-visual-card__head span {
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.product-visual-card__screen {
  width: 100%;
  max-height: 16.2rem;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-visual-card a:hover .product-visual-card__screen {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(44, 22, 9, 0.12);
}

.page-hero {
  padding: clamp(8.2rem, 10vw, 10rem) 0 var(--space-5);
}

.page-hero-grid,
.editorial-spread,
.studio-split,
.contact-layout {
  display: grid;
  gap: var(--space-5);
}

.page-hero-grid,
.editorial-spread {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
}

.page-hero-copy,
.editorial-spread__copy {
  display: grid;
  gap: 1rem;
}

.products-hero-note {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  align-content: start;
}

.products-intro {
  padding-block: 0.8rem;
}

.products-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.products-hero-tags span {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, #ffffff 90%);
}

.page-hero-copy h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.85rem);
  max-width: 12ch;
}

.quote-panel,
.contact-form-shell,
.not-found-card {
  position: relative;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line-strong);
}

.quote-panel blockquote {
  margin-bottom: 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.editorial-spread {
  padding-block: clamp(2.2rem, 5vw, 3rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.editorial-spread__copy {
  max-width: 40rem;
}

.numbered-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.numbered-rail--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.numbered-rail__item {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-strong);
}

.numbered-rail__item > span {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  color: rgba(157, 93, 63, 0.75);
}

.numbered-rail__item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.metric-chip {
  display: grid;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.metric-chip strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 600;
}

.metric-chip span {
  color: var(--text-soft);
}

.studio-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.matrix-card,
.value-card,
.contact-lane,
.legal-card,
.decision-card,
.product-proof-card,
.process-step,
.role-card {
  position: relative;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-strong);
}

.matrix-card h3,
.value-card h3,
.contact-lane h3,
.legal-card h2,
.decision-card h3,
.product-proof-card h3,
.process-step h3,
.role-card h3,
.showcase-row__copy h3 {
  margin-bottom: 0.7rem;
  font-size: var(--fs-h3);
  line-height: 1.12;
}

.matrix-list {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
}

.matrix-list li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.matrix-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}

.role-card span {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1;
  color: rgba(157, 93, 63, 0.82);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}

.process-step > span {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 1rem;
}

.decision-grid,
.product-proof-grid,
.legal-grid {
  display: grid;
  gap: var(--space-4);
}

.decision-grid,
.product-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.showcase-list {
  display: grid;
  gap: clamp(4rem, 7vw, 6.2rem);
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: var(--space-5);
  align-items: center;
  padding-top: clamp(2rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line-strong);
}

.showcase-row--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.showcase-row--reverse .showcase-row__copy {
  order: 2;
}

.showcase-row--reverse .showcase-row__media {
  order: 1;
}

.showcase-row__copy {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.showcase-row__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.showcase-row__meta span {
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--accent-deep);
}

.showcase-row__meta em {
  font-style: normal;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.showcase-row__icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.showcase-row__icon img {
  width: 3.15rem;
  height: 3.15rem;
  object-fit: cover;
  border-radius: 0.95rem;
  box-shadow: var(--shadow-soft);
}

.showcase-row__icon strong {
  display: block;
  margin-bottom: 0.18rem;
}

.showcase-row__icon span {
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.showcase-row__media {
  position: relative;
  min-height: 34rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 24% 24%, color-mix(in srgb, var(--showcase-accent, var(--accent)) 22%, transparent), transparent 22%),
    radial-gradient(circle at 76% 74%, color-mix(in srgb, var(--showcase-soft, var(--bg-soft)) 55%, transparent), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.4), rgba(255, 247, 237, 0.26));
  border-top: 1px solid rgba(65, 43, 27, 0.12);
  border-bottom: 1px solid rgba(65, 43, 27, 0.12);
}

.showcase-row__media::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(65, 43, 27, 0.06);
  pointer-events: none;
}

.showcase-row__surface {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: end;
  gap: 1.25rem;
  min-height: 31rem;
}

.showcase-row__thumbs {
  display: grid;
  gap: 1rem;
  transform: translateY(1.3rem);
}

.callout-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding: clamp(1.8rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.callout-band p {
  color: var(--text-soft);
  max-width: 36rem;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.contact-lanes {
  display: grid;
  gap: var(--space-5);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.contact-email::after {
  content: "↗";
  font-size: 0.9em;
}

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

.contact-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.8rem;
}

.contact-form-feedback {
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.contact-form-feedback[hidden] {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: var(--fs-sm);
  color: var(--text-faint);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 0 0.6rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.note-line {
  color: var(--text-faint);
}

.page-legal .page-hero-copy,
.page-products .page-hero-copy {
  max-width: 44rem;
}

.not-found-wrap {
  padding: 9rem 0 var(--space-7);
}

.not-found-card {
  max-width: 42rem;
}

.not-found-card .hero-actions {
  margin-top: 1.2rem;
}

@media (max-width: 1140px) {
  .site-actions {
    display: none;
  }

  .hero-layout--showcase,
  .page-hero-grid,
  .editorial-spread,
  .contact-layout,
  .showcase-row,
  .showcase-row--reverse,
  .callout-band {
    grid-template-columns: 1fr;
  }

  .hero-switchboard {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-switchboard::before {
    inset: auto 1.2rem calc(100% - 14rem) 1.2rem;
    width: auto;
    height: 1px;
  }

  .hero-phone-stage {
    min-height: 34rem;
  }

  .hero-switchboard__rail {
    gap: 1rem;
  }

  .hero-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .showcase-row--reverse .showcase-row__copy,
  .showcase-row--reverse .showcase-row__media {
    order: initial;
  }

  .callout-band {
    align-items: start;
  }

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

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

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

.page-products .product-storyboard {
  --product-stage-top: 84px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(19rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  overflow: visible;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.page-products .product-storyboard.reveal,
.page-products .product-storyboard.reveal.is-visible {
  transform: none;
}

.page-products .product-storyboard::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 calc(41.6% + 0.6rem);
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
  pointer-events: none;
}

.page-products .product-storyboard__stage {
  position: sticky;
  top: var(--product-stage-top);
  display: grid;
  align-self: start;
  place-items: center;
  height: calc(100svh - var(--product-stage-top));
  min-height: 40rem;
}

.page-products .product-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  --story-accent: var(--accent);
  --story-accent-soft: var(--bg-soft);
}

.page-products .product-stage__window {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 24rem;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.page-products .product-stage__device {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
}

.page-products .product-stage .phone-frame--single {
  width: clamp(15.8rem, 22vw, 18.6rem);
}

.page-products .product-stage .phone-frame {
  box-shadow: 0 36px 88px rgba(29, 51, 92, 0.16);
}

.page-products .product-storyboard__steps {
  display: grid;
}

.page-products .product-step {
  position: relative;
  min-height: clamp(24rem, 62vh, 34rem);
  border-top: 1px solid var(--line);
}

.page-products .product-step:first-child {
  border-top: 0;
}

.page-products .product-step::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0.8rem;
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--step-accent-soft, #d7e3ff) 22%, transparent), transparent 78%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.page-products .product-step.is-active::before {
  opacity: 1;
}

.page-products .product-step__hit {
  width: 100%;
  min-height: inherit;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: clamp(1.8rem, 5vw, 3.6rem) 0;
  text-align: left;
}

.page-products .product-step__index {
  align-self: start;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: color-mix(in srgb, var(--step-accent, var(--accent)) 72%, var(--accent-deep));
}

.page-products .product-step__line {
  position: absolute;
  inset: 0 auto 0 3.4rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--step-accent, var(--accent)) 28%, var(--line)), transparent);
  pointer-events: none;
}

.page-products .product-step__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1rem;
  max-width: 33rem;
  opacity: 0.54;
  transform: translateY(1rem);
  transition: opacity 320ms ease, transform 320ms ease;
}

.page-products .product-step.is-active .product-step__body {
  opacity: 1;
  transform: translateY(0);
}

.page-products .product-step__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.page-products .product-step__head img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  box-shadow: 0 14px 26px rgba(29, 51, 92, 0.08);
}

.page-products .product-step__head strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.1;
}

.page-products .product-step__head em {
  display: block;
  margin-top: 0.3rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.page-products .product-step__copy {
  color: var(--text-soft);
  line-height: 1.72;
}

.page-products .product-step__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.page-products .product-step__proof {
  color: var(--text-faint);
  line-height: 1.7;
}

.page-products .product-step__link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  width: fit-content;
  color: color-mix(in srgb, var(--step-accent, var(--accent)) 75%, var(--accent-deep));
  font-weight: 600;
}

.page-products .product-step__link::after {
  content: "↗";
  font-size: 0.88em;
}

@media (max-width: 860px) {
  .page-products .product-storyboard {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .page-products .product-storyboard::before,
  .page-products .product-step__line {
    display: none;
  }

  .page-products .product-storyboard__stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 30rem;
  }

  .page-products .product-stage {
    height: auto;
    min-height: 30rem;
  }

  .page-products .product-stage__window {
    height: auto;
    max-width: none;
  }

  .page-products .product-step {
    min-height: auto;
  }

  .page-products .product-step__hit {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    min-height: auto;
    padding: 1.5rem 0;
  }

  .page-products .product-step__body {
    max-width: none;
    opacity: 1;
    transform: none;
  }

}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
    width: 2.8rem;
    height: 2.8rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 250, 243, 0.58);
  }

  .menu-toggle span {
    width: 1rem;
    height: 1px;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
  }

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

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

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

  .mobile-drawer {
    position: fixed;
    inset: 0;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 45;
    background: rgba(29, 18, 10, 0.16);
    backdrop-filter: blur(10px);
  }

  .mobile-drawer.is-open {
    pointer-events: auto;
    opacity: 1;
  }

  .mobile-drawer__inner {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 24rem);
    height: 100%;
    padding: 1.4rem;
    display: grid;
    align-content: start;
    gap: 1.2rem;
    background: linear-gradient(180deg, #f8fbff, #edf4ff);
    box-shadow: -18px 0 40px rgba(21, 52, 108, 0.14);
  }

  .mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.2rem;
  }

  .mobile-drawer__close {
    font-size: 1.65rem;
    line-height: 1;
    transform: rotate(45deg);
    color: var(--accent-deep);
  }

  .mobile-drawer__nav {
    display: grid;
    gap: 0.75rem;
  }

  .mobile-drawer__nav a {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding-top: 8.2rem;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: none;
  }

  .hero-stats,
  .metric-strip,
  .numbered-rail,
  .app-roster,
  .product-visual-grid,
  .decision-grid,
  .product-proof-grid,
  .legal-grid,
  .studio-split,
  .footer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

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

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

  .hero-phone-stage {
    min-height: 30rem;
    padding-inline: 1rem;
  }

  .phone-frame--hero-main {
    left: 50%;
    top: 4.4rem;
    transform: translateX(-50%);
  }

  .phone-frame--hero-side {
    right: 3%;
    top: 6rem;
  }

  .phone-frame--hero-mini {
    left: 3%;
    bottom: 2rem;
  }

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

  .showcase-row__media {
    min-height: auto;
  }

  .showcase-row__surface {
    min-height: auto;
    padding-top: 0.8rem;
  }

  .callout-band {
    gap: 1rem;
  }
}

@media (max-height: 860px) and (min-width: 861px) {
  .hero {
    padding-top: 6.5rem;
    padding-bottom: 1.6rem;
  }

  .hero-copy {
    gap: 0.72rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 4.1vw, 3.5rem);
    max-width: 12ch;
  }

  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .app-source-note {
    display: none;
  }

  .hero-stats {
    margin-top: 0.45rem;
  }

  .hero-switchboard,
  .hero-phone-stage {
    min-height: 27rem;
  }
}

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

  .header-shell {
    min-height: 76px;
  }

  .site-brand-copy em {
    display: none;
  }

  .hero-copy,
  .page-hero-copy,
  .editorial-spread__copy,
  .showcase-row__copy {
    gap: 0.9rem;
  }

  .section,
  .section--tight {
    padding: 4.4rem 0;
  }

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

  .btn {
    width: 100%;
  }

  .hero-phone-stage {
    min-height: 27rem;
  }

  .phone-frame--hero-main,
  .phone-frame--showcase-main {
    width: min(58vw, 15rem);
  }

  .phone-frame--hero-side,
  .phone-frame--hero-mini,
  .phone-frame--showcase-thumb {
    width: min(29vw, 8.3rem);
  }

  .phone-frame--hero-side {
    top: 6.9rem;
  }

  .hero-switchboard__rail {
    padding-inline: 1rem;
  }

  .product-visual-card__screen {
    max-height: 14rem;
  }

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

  .showcase-row__surface {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase-row__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    transform: none;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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