@import url('/commercialisti-tokens.css');

@font-face {
  font-family: 'Hanken Grotesk Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  overflow-x: clip;
}
body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}
::selection {
  background: var(--color-accent-light);
  color: var(--color-ink);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(100% - 3rem, 78rem);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  z-index: 50;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--color-night);
  color: white;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  overflow-wrap: anywhere;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-accent);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-weight: 650;
  transition: background-color 0.2s ease;
}
.button svg,
.nav-cta svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.button-primary {
  background: var(--color-action);
  color: #fff;
}
.button-primary:hover,
.nav-cta:hover {
  background: var(--color-action-hover);
}

.site-header {
  position: relative;
  z-index: 5;
  padding-top: 1rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 1px solid rgba(27, 37, 48, 0.09);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 9px 26px rgba(27, 37, 48, 0.035);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.brand-symbol {
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  flex-shrink: 0;
}
.brand-symbol img,
.hub-mark img {
  display: block;
  width: 125%;
  height: 125%;
  margin: -12.5%;
  object-fit: contain;
}
.brand-accent {
  color: var(--color-accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #43505b;
  font-size: 0.88rem;
  font-weight: 650;
}
.nav-links a:hover,
.footer-links a:hover,
.footer-column a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.68rem 1.05rem;
  border-radius: 0.7rem;
  background: var(--color-action);
  color: white;
  font-size: 0.83rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.hero {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5.3rem 0 8.7rem;
  text-align: center;
}
.hero .eyebrow {
  margin-bottom: 1.25rem;
  color: var(--color-muted);
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
}
.hero h1 {
  max-width: 18ch;
  margin: 0 auto 1.4rem;
  font-size: clamp(4.3rem, 7vw, 7rem);
  font-weight: 810;
  letter-spacing: -0.078em;
  line-height: 0.98;
}
.hero h1 em {
  color: var(--color-accent);
  font-style: normal;
}
.hero-lede {
  max-width: 41rem;
  margin-bottom: 1.55rem;
  color: #43515a;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.55;
}
.hero-note {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: 0.77rem;
}
.hero-decoration {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 0.6rem;
  transform: rotate(-17deg);
}
.hero-decoration span {
  display: block;
  width: 12rem;
  height: 3.4rem;
  border-radius: 10rem;
}
.decoration-left {
  top: 12rem;
  left: -3.3rem;
}
.decoration-left span:nth-child(1) {
  background: #d6d9dd;
}
.decoration-left span:nth-child(2) {
  background: #b9bfc6;
  transform: translateX(1.5rem);
}
.decoration-left span:nth-child(3) {
  background: #e3e5e8;
  transform: translateX(-1rem);
}
.decoration-right {
  top: 10rem;
  right: -3.9rem;
  transform: rotate(19deg);
}
.decoration-right span:nth-child(1) {
  background: #e3e5e8;
}
.decoration-right span:nth-child(2) {
  background: #b9bfc6;
  transform: translateX(-1.6rem);
}
.decoration-right span:nth-child(3) {
  background: #d6d9dd;
  transform: translateX(0.5rem);
}

.showcase {
  position: relative;
  z-index: 3;
  margin-top: -5.8rem;
  padding: 2.8rem 2.6rem 2.7rem;
  border-radius: 2.8rem;
  background: #fff;
  box-shadow: 0 23px 70px rgba(29, 39, 46, 0.08);
}
.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.1rem;
}
.showcase-tab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.2rem 0.3rem 0.72rem;
  border: 0;
  border-bottom: 1px solid var(--color-rule);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
}
.showcase-tab[aria-selected='true'] {
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-ink);
}
.showcase-stage {
  overflow: hidden;
  border-radius: 1.3rem;
  background: var(--color-paper);
}
.preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.preview picture,
.preview img {
  display: block;
  width: 100%;
  height: 100%;
}
.preview img {
  object-fit: contain;
}
.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
.preview.has-video .showcase-video {
  opacity: 1;
}
.showcase-tab {
  position: relative;
}
.showcase-tab::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #434d59;
  transform: scaleX(var(--demo-progress, 0));
  transform-origin: left;
  content: '';
}
.showcase-tab[aria-selected='true'] {
  border-bottom-color: var(--color-rule);
}
.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  flex-wrap: wrap;
}
.showcase-caption {
  flex: 1 1 16rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}
.showcase-providers {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid var(--color-rule);
  border-radius: 0.8rem;
  background: var(--color-paper);
}
.showcase-providers[hidden] {
  display: none;
}
.showcase-provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.showcase-provider img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}
.showcase-provider[aria-pressed='true'] {
  border-color: var(--color-rule);
  background: white;
  color: var(--color-ink);
}
.showcase-provider:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.showcase-toggle {
  flex-shrink: 0;
  min-width: 6rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--color-rule);
  border-radius: 100px;
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.showcase-toggle:disabled {
  cursor: default;
  color: var(--color-muted);
}

/* Structure studied from https://www.fyxer.com/: hero/demo, proof,
   workday, integrations, control, final CTA, index footer. Zeno visual identity. */
.section-heading {
  text-align: center;
}
.section-heading h2 {
  margin: 0 auto 1.35rem;
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.06;
}
.section-heading > p:last-child {
  max-width: 35rem;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}
.studio-cases {
  margin-top: 6rem;
  padding: 6.5rem 0;
  background: white;
}
.cases-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  text-align: left;
}
.cases-heading .eyebrow {
  margin-bottom: 1.35rem;
  color: var(--color-muted);
}
.cases-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.1vw, 4rem);
}
.cases-heading > .cases-intro {
  max-width: 25rem;
  margin: 0 0 0.3rem;
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.55;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.case-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 25.5rem;
  overflow: hidden;
  padding: 2rem;
  border-radius: 0.9rem;
  background: var(--color-night);
  color: #fff;
}
.case-photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.3) contrast(0.92) brightness(0.86) blur(7px);
  opacity: 0.38;
  transform: scale(1.09);
  transition: transform 1100ms cubic-bezier(0.2, 0.65, 0.3, 1);
}
.case-deadline .case-photo {
  object-position: 53% center;
}
.case-documents .case-photo {
  object-position: 43% center;
  filter: saturate(0.2) contrast(0.92) brightness(0.86) blur(7px);
}
.case-replies .case-photo {
  object-position: 47% center;
}
.case-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  /* Eased opacity over the full card avoids an abrupt bright-to-dark band. */
  background: linear-gradient(
    180deg,
    rgb(var(--case-shade, 22 25 30) / 84%) 0%,
    rgb(var(--case-shade, 22 25 30) / 82.2%) 5%,
    rgb(var(--case-shade, 22 25 30) / 77.4%) 10%,
    rgb(var(--case-shade, 22 25 30) / 70.7%) 15%,
    rgb(var(--case-shade, 22 25 30) / 63%) 20%,
    rgb(var(--case-shade, 22 25 30) / 55.3%) 25%,
    rgb(var(--case-shade, 22 25 30) / 48.6%) 30%,
    rgb(var(--case-shade, 22 25 30) / 43.8%) 35%,
    rgb(var(--case-shade, 22 25 30) / 42%) 40%,
    rgb(var(--case-shade, 22 25 30) / 43.1%) 45%,
    rgb(var(--case-shade, 22 25 30) / 46.1%) 50%,
    rgb(var(--case-shade, 22 25 30) / 50.6%) 55%,
    rgb(var(--case-shade, 22 25 30) / 56.3%) 60%,
    rgb(var(--case-shade, 22 25 30) / 62.7%) 65%,
    rgb(var(--case-shade, 22 25 30) / 69.5%) 70%,
    rgb(var(--case-shade, 22 25 30) / 76.3%) 75%,
    rgb(var(--case-shade, 22 25 30) / 82.7%) 80%,
    rgb(var(--case-shade, 22 25 30) / 88.4%) 85%,
    rgb(var(--case-shade, 22 25 30) / 92.9%) 90%,
    rgb(var(--case-shade, 22 25 30) / 95.9%) 95%,
    rgb(var(--case-shade, 22 25 30) / 97%) 100%
  );
  content: '';
  pointer-events: none;
}
.case-grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('/commercialisti-photos/grain.svg') repeat;
  background-size: 160px 160px;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.case-label {
  display: block;
  color: #e5e7ed;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-deadline .case-label {
  color: #ffd5aa;
}
.case-card h3 {
  max-width: 19ch;
  margin: 1.05rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.case-footer {
  margin-top: 3rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgb(255 255 255 / 35%);
}
.case-response {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .case-card:hover .case-photo {
    transform: scale(1.12);
  }
}
/* A fixed comparison of the same request after a client consultation. */
.workday {
  padding: 7rem 0;
  background: var(--color-paper);
}
.workday-heading {
  max-width: 52rem;
}
.workday-heading .eyebrow {
  margin: 0 0 1.2rem;
}
.workday-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.03;
}
.workday-heading > p:last-child {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--color-muted);
  font-size: 1.16rem;
  line-height: 1.55;
}
.day-outcomes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.8rem;
}
.day-outcome {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  border: 1px solid #cfd5db;
  border-radius: 0.75rem;
  background: #e7e9eb;
}
.day-outcome-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) blur(8px);
  opacity: 0.18;
  transform: scale(1.08);
}
.day-outcome::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
}
.day-outcome-without {
  color: #515b65;
  background: #e7e8e9;
}
.day-outcome-without .day-outcome-photo {
  opacity: 0.11;
}
.day-outcome-without::before {
  background: linear-gradient(155deg, rgb(246 247 248 / 94%), rgb(226 229 232 / 91%));
}
.day-outcome-with {
  color: #222b34;
  border-color: #9ca7b3;
  background: #d7dde3;
  box-shadow:
    0 14px 34px rgb(49 61 75 / 9%),
    inset 0 1px rgb(255 255 255 / 88%);
}
.day-outcome-with .day-outcome-photo {
  opacity: 0.24;
}
.day-outcome-with::before {
  background: linear-gradient(
    135deg,
    rgb(251 252 253 / 89%) 0%,
    rgb(204 213 222 / 79%) 56%,
    rgb(244 246 248 / 91%) 100%
  );
}
.day-outcome-with::after {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #a7b0ba, #f8fafc 50%, #a7b0ba);
  content: '';
}
.day-outcome-content {
  display: flex;
  flex-direction: column;
  min-height: 31rem;
  height: 100%;
}
.day-outcome-label {
  color: #58636e;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.day-outcome-without .day-outcome-label {
  color: #717b85;
}
.day-outcome-with .day-outcome-label {
  color: #303b47;
}
.day-email {
  min-height: 7.1rem;
  margin: 1.4rem 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgb(145 155 165 / 28%);
  border-radius: 0.45rem;
  background: rgb(255 255 255 / 75%);
}
.day-outcome-without .day-email {
  background: rgb(249 250 250 / 55%);
}
.day-email-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #687481;
  font-size: 0.76rem;
  font-weight: 680;
}
.day-email-meta img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}
.day-outcome-without .day-email-meta img {
  filter: grayscale(1);
  opacity: 0.65;
}
.day-email strong {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.03rem;
  font-weight: 670;
}
.day-email p {
  margin: 0.2rem 0 0;
  color: #64707d;
  font-size: 0.94rem;
}
.day-outcome h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  font-weight: 660;
  letter-spacing: -0.055em;
  line-height: 1.13;
}
.day-outcome-content > p:not(.day-outcome-next) {
  margin: 0.55rem 0 1.7rem;
  color: #58636e;
  font-size: 1rem;
}
.day-outcome-without .day-outcome-content > p:not(.day-outcome-next) {
  color: #68727c;
}
.day-steps {
  display: grid;
  margin: auto 0 1.45rem;
  padding: 0;
  list-style: none;
}
.day-steps li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.74rem 0;
  border-top: 1px solid rgb(81 91 101 / 18%);
  font-size: 0.99rem;
  font-weight: 590;
}
.day-step-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #87919b;
  font-size: 0.66rem;
  font-weight: 760;
}
.day-outcome-with .day-step-icon {
  color: #354453;
  font-size: 0.85rem;
}
.day-outcome-next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgb(81 91 101 / 25%);
}
.day-outcome-next span {
  color: #687481;
  font-size: 0.8rem;
}
.day-outcome-next strong {
  font-size: 1rem;
  font-weight: 700;
}
.day-outcome-without .day-outcome-next strong {
  color: #55616b;
}
.day-outcome-with .day-outcome-next strong {
  color: #26313c;
}
.day-cta {
  display: flex;
  width: fit-content;
  margin: 2.6rem auto 0;
}
.integrations {
  padding: 7rem 0 5.5rem;
  background: white;
  text-align: center;
}
.integration-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 53rem;
  margin: 4rem auto 3rem;
}
.integration-group {
  display: grid;
  gap: 1.5rem;
  z-index: 1;
}
.app-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--color-soft-rule);
  border-radius: 1rem;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  text-align: left;
}
.app-logo {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  object-fit: contain;
}
.integration-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  border: 1px solid var(--color-rule);
  border-radius: 2rem;
  background: var(--color-panel);
  z-index: 1;
}
.hub-mark {
  display: block;
  width: 5.75rem;
  height: 5.75rem;
}
.integration-hub strong {
  margin-top: 0.65rem;
  font-size: 1.6rem;
  letter-spacing: -0.06em;
}
.integration-hub > span:last-child {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}
.integration-connector {
  position: absolute;
  top: 50%;
  width: 33%;
  height: 1px;
  background: var(--color-rule);
}
.connector-left {
  left: 17%;
}
.connector-right {
  right: 17%;
}
.integration-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.data-control {
  padding: 2rem 0 7rem;
  background: white;
}
.control-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid var(--color-soft-rule);
  border-radius: 1.8rem;
  background: var(--color-panel);
}
.control-intro {
  max-width: 30rem;
}
.control-intro .eyebrow {
  margin-bottom: 1.5rem;
}
.control-intro h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.06em;
}
.control-intro h2 em {
  color: var(--color-title-soft);
  font-style: normal;
}
.control-lede {
  max-width: 33ch;
  margin: 0 0 2rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.control-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.2rem 0 0.55rem;
  border-bottom: 1px solid var(--color-rule-strong);
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--color-ink);
}
.control-link svg {
  width: 1rem;
  height: 1rem;
}
.control-link:hover {
  border-bottom-color: currentColor;
}
.control-principles {
  margin: 0;
  padding: 0;
  list-style: none;
}
.control-principles li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.5rem 0;
}
.control-principles li:first-child {
  padding-top: 0;
}
.control-principles li:last-child {
  padding-bottom: 0;
}
.control-principles li + li {
  border-top: 1px solid var(--color-rule);
}
.principle-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--color-soft-rule);
  border-radius: 0.85rem;
  background: var(--color-surface);
  color: var(--color-muted);
}
.principle-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}
.control-principles h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.control-principles p {
  max-width: 34ch;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.closing {
  padding: 6.5rem 0;
  background: var(--color-panel);
  text-align: center;
}
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 1.02;
}
.closing-inner > p {
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 1.13rem;
}
.button-light {
  background: var(--color-action);
  color: white;
}
.button-light:hover {
  background: var(--color-action-hover);
}
.contact-address {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}
.footer {
  padding: 4.5rem 0 1.5rem;
  background: var(--color-night);
  color: #f2f3f5;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer-brand > p {
  margin: 1rem 0 0;
  color: var(--color-night-muted);
  font-size: 1rem;
}
.footer .brand-symbol {
  width: 2.1rem;
  height: 2.1rem;
  background: transparent;
}
.footer .brand-accent {
  color: #b7c6da;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}
.footer-column h3 {
  margin: 0 0 0.5rem;
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
}
.footer-column a {
  color: var(--color-night-muted);
  font-size: 0.9rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #484e58;
  color: var(--color-night-muted);
  font-size: 0.75rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
section[id] {
  scroll-margin-top: 2rem;
}
@media (max-width: 1000px) {
  .case-card {
    padding: 1.5rem;
  }
  .nav-links {
    gap: 1.1rem;
  }
}
@media (max-width: 900px) {
  .cases-heading {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .cases-heading > .cases-intro {
    max-width: 35rem;
  }
  .control-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .control-intro {
    max-width: 36rem;
  }
  .control-lede,
  .control-principles p {
    max-width: 48ch;
  }
  .preview {
    aspect-ratio: 3 / 4;
  }
  .nav-secondary {
    display: none;
  }
  .hero {
    min-height: 35rem;
  }
  .hero-content {
    padding: 5rem 0 8rem;
  }
  .hero-decoration span {
    width: 8rem;
    height: 2.8rem;
  }
  .decoration-left {
    left: -5rem;
  }
  .decoration-right {
    right: -5rem;
  }
  .showcase {
    padding: 2rem;
  }
  .case-grid {
    gap: 0.8rem;
  }
  .case-card h3 {
    font-size: 1.6rem;
  }
  .day-outcome {
    padding: 1.55rem;
  }
  .day-outcome h3 {
    font-size: 2.05rem;
  }
  .integration-map {
    gap: 1.5rem;
  }
  .app-tile {
    gap: 0.75rem;
    padding: 0.85rem;
    font-size: 0.82rem;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: min(100% - 1.5rem, 78rem);
  }
  .site-header {
    padding-top: 0.65rem;
  }
  .nav {
    min-height: 4rem;
    padding: 0 0.85rem;
    border-radius: 0.85rem;
  }
  .brand {
    font-size: 1.18rem;
  }
  .brand-symbol {
    width: 2rem;
    height: 2rem;
  }
  .footer .brand-symbol {
    width: 1.9rem;
    height: 1.9rem;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    padding: 0.62rem 0.72rem;
    font-size: 0.72rem;
  }
  .nav-cta svg {
    display: none;
  }
  .hero {
    min-height: 33rem;
  }
  .hero-content {
    padding: 4.8rem 0 8rem;
  }
  .hero .eyebrow {
    font-size: 1.05rem;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 13vw, 5.5rem);
  }
  .hero-lede {
    max-width: 31rem;
    font-size: 1.03rem;
  }
  .hero-note {
    max-width: 20rem;
  }
  .decoration-left {
    top: 16rem;
    left: -7rem;
  }
  .decoration-right {
    top: 5rem;
    right: -7rem;
  }
  .showcase {
    margin-top: -4.5rem;
    padding: 1.4rem 0.85rem 1rem;
    border-radius: 1.6rem;
  }
  .showcase-tabs {
    gap: 0.35rem;
  }
  .showcase-tab {
    font-size: 0.66rem;
    gap: 0;
    justify-content: center;
    padding-right: 0.1rem;
    padding-left: 0.1rem;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  .showcase-stage {
    border-radius: 0.85rem;
  }
  .showcase-controls {
    align-items: flex-start;
  }
  .showcase-caption {
    font-size: 0.82rem;
  }
  .showcase-toggle {
    min-width: 0;
    font-size: 0.72rem;
  }
  .section-heading h2 {
    font-size: 2.7rem;
  }
  .section-heading > p:last-child {
    font-size: 1rem;
  }
  .studio-cases {
    margin-top: 3.5rem;
    padding: 4rem 0;
  }
  .case-grid {
    grid-template-columns: 1fr;
    margin-top: 2.25rem;
    gap: 1rem;
  }
  .case-card {
    min-height: 25.5rem;
    padding: 1.7rem;
  }
  .case-card h3 {
    font-size: 1.85rem;
    margin: 1.05rem 0 0;
  }
  .workday {
    padding: 4.5rem 0;
  }
  .workday-heading h2 {
    font-size: clamp(2.55rem, 10vw, 3.4rem);
  }
  .workday-heading > p:last-child {
    font-size: 1rem;
  }
  .day-outcomes {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 2rem;
  }
  .day-outcome {
    padding: 1.5rem;
  }
  .day-outcome-content {
    min-height: 0;
  }
  .day-outcome h3 {
    font-size: 2.25rem;
  }
  .day-steps {
    margin-top: 1.5rem;
  }
  .day-cta {
    margin: 2rem 0 0;
  }
  .integrations {
    padding: 4rem 0;
  }
  .integration-map {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin: 2.5rem auto 2rem;
    max-width: 28rem;
  }
  .integration-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .integration-hub {
    justify-self: center;
    width: 10rem;
    min-height: 10rem;
    border-radius: 1.5rem;
  }
  .integration-connector {
    width: 1px;
    height: 50%;
    top: 25%;
    left: 50%;
  }
  .app-tile {
    gap: 0.5rem;
    padding: 0.8rem 0.65rem;
    font-size: 0.76rem;
  }
  .app-logo {
    width: 2.25rem;
    height: 2.25rem;
  }
  .integration-note {
    max-width: 22rem;
    margin: auto;
    font-size: 0.88rem;
  }
  .data-control {
    padding: 0 0 4rem;
  }
  .control-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1.2rem;
  }
  .control-intro h2 {
    font-size: clamp(2.3rem, 8vw, 3rem);
  }
  .control-lede {
    font-size: 1rem;
    margin-bottom: 1.4rem;
  }
  .control-principles li {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.3rem 0;
  }
  .principle-icon {
    width: 2.6rem;
    height: 2.6rem;
  }
  .control-principles h3 {
    font-size: 1.05rem;
  }
  .control-principles p {
    font-size: 0.9rem;
  }
  .closing {
    padding: 4.5rem 0;
  }
  .closing h2 {
    font-size: 3rem;
  }
  .closing-inner > p {
    font-size: 1rem;
  }
  .contact-address {
    max-width: 20rem;
  }
  .footer {
    padding-top: 3rem;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
    padding-bottom: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-column a {
    font-size: 0.78rem;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    font-size: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
