/* Theme, components, responsive layout and accessibility. */

:root {
  color-scheme: dark;
  --bg: #070910;
  --surface: #0d111c;
  --line: #ffffff18;
  --muted: #9aa5b8;
  --text: #f4f7fb;
  --blue: #58a6ff;
  --violet: #8b6cff;
  font-family: Manrope, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000, transparent 70%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header and navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: auto;
  padding: 24px clamp(24px, 5vw, 72px);
  background: linear-gradient(#070910ed, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.brand i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-style: normal;
  font-weight: 700;
  transform: rotate(8deg);
}

.brand b {
  font: 700 19px "DM Sans";
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav a,
.actions > a:not(.button) {
  color: #bac3d1;
  text-decoration: none;
  font-size: 14px;
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff09;
}

.menu {
  display: none;
  border: 0;
  background: none;
  color: white;
  font-size: 25px;
  min-width: 44px;
  cursor: pointer;
}

/* Layout and hero */
.section {
  max-width: 1400px;
  margin: auto;
  padding: 120px clamp(24px, 7vw, 104px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  padding-top: 150px;
  overflow: hidden;
  min-height: 100svh;
}

.copy {
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #8e9ab0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

h1,
h2 {
  font-family: "DM Sans";
  font-weight: 600;
  letter-spacing: -0.055em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 8vw, 118px);
  line-height: 0.87;
}

em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue), #9c77ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 610px;
  margin: 32px 0;
  color: #a6b0c2;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.7;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  padding: 15px 20px;
  border-radius: 11px;
  background: linear-gradient(120deg, #2379f2, #7251ea);
  box-shadow: 0 16px 44px #4152ff33;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s;
}

.button:hover {
  transform: translateY(-3px);
}

.visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 560px;
}

.core {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #a3c8ff,
    #5a80ff 16%,
    #5730b2 45%,
    #10152b 68%
  );
  box-shadow:
    0 0 70px #525aff57,
    inset -20px -20px 40px #0006;
  font: 700 31px "DM Sans";
  letter-spacing: 0.15em;
  animation: float 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid #859aff38;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.orbit.one {
  width: 390px;
  height: 160px;
}

.orbit.two {
  width: 490px;
  height: 240px;
  transform: rotate(24deg);
}

.tag {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #0b0f1bb8;
  color: #aab6c9;
  font-size: 11px;
}

.t1 {
  top: 22%;
  left: 14%;
}

.t2 {
  right: 3%;
  top: 48%;
}

.t3 {
  bottom: 18%;
  left: 24%;
}

.meta {
  position: absolute;
  bottom: 35px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  color: #657087;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.meta span:first-child:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #55e6a5;
  box-shadow: 0 0 12px #55e6a5;
}

/* Services */
.heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(43px, 5.5vw, 76px);
  line-height: 1.03;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.card {
  position: relative;
  min-height: 490px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0c101bc7;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #6c82ff73;
}

.card.featured {
  background: linear-gradient(145deg, #29469648, #15112f99);
}

.card > span {
  position: absolute;
  right: 30px;
  color: #657087;
}

.card h3 {
  margin: 30px 0 12px;
  font: 600 28px "DM Sans";
}

.card p {
  color: #99a5b9;
  line-height: 1.7;
}

.card small {
  display: inline-block;
  margin: 18px 4px 0 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #7f8ba0;
}

.art {
  height: 180px;
  display: grid;
  place-items: center;
}

.window {
  grid-template-columns: 18px 18px 18px;
  align-content: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ffffff12;
  border-radius: 14px;
  background: linear-gradient(145deg, #11192a, #090d16);
}

.window i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48516a;
}

.window b {
  grid-column: 1/4;
  width: 190px;
  height: 72px;
  border-radius: 8px;
  background: linear-gradient(120deg, #4e91ff40, #8553ff50);
}

.code {
  font: 700 27px "DM Sans";
}

.code:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 30px;
  background: linear-gradient(135deg, #2b7df1, #704de0);
  transform: rotate(-7deg);
  z-index: -1;
  box-shadow: 0 24px 70px #504de14d;
}

.flow {
  display: flex;
  gap: 35px;
}

.flow i {
  width: 28px;
  height: 28px;
  border: 2px solid #6d83ff;
  border-radius: 9px;
  box-shadow: 0 0 25px #4c6bff40;
}

/* Concept projects */
.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.split > p {
  max-width: 390px;
  color: #8f9aaf;
  line-height: 1.7;
}

.projects {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  margin-top: 60px;
}

.project {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0b0f18;
}

.mock {
  display: grid;
  place-items: center;
  height: 450px;
  border-radius: 14px;
}

.mock-a {
  background: radial-gradient(circle at 40% 40%, #213e81, #0c1021 60%);
}

.mock-b {
  background: radial-gradient(circle at 60% 30%, #513986, #171125 55%);
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 75%;
  padding: 18px;
  border: 1px solid #ffffff29;
  border-radius: 16px;
  background: #0a0e19d1;
  transform: perspective(900px) rotateY(-7deg);
}

.dashboard b {
  grid-column: 1/5;
  height: 20px;
  border-bottom: 1px solid var(--line);
}

.dashboard i {
  height: 60px;
  border-radius: 7px;
  background: linear-gradient(150deg, #508bff40, #ffffff08);
}

.dashboard span {
  grid-column: 1/5;
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(#655bff40, transparent);
}

.phone {
  width: 205px;
  height: 380px;
  padding: 26px 19px;
  border: 6px solid #161a29;
  border-radius: 38px;
  background: #f0f3fb;
  color: #141722;
  transform: rotate(7deg);
  box-shadow: 0 35px 80px #0006;
}

.phone i {
  display: block;
  width: 52px;
  height: 12px;
  margin: 0 auto 58px;
  border-radius: 10px;
  background: #141722;
}

.phone .phone-title {
  font: 700 25px "DM Sans";
}

.phone span {
  display: block;
  height: 48px;
  margin-top: 13px;
  border-radius: 12px;
  background: #dce3f0;
}

.phone span:nth-of-type(2) {
  background: linear-gradient(120deg, #5b91ff, #876bff);
}

.project footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 14px 12px;
  gap: 12px;
}

.project small {
  color: #727e92;
}

.project h3 {
  margin: 7px 0 0;
  font: 600 22px "DM Sans";
}

.project footer > b {
  font-size: 25px;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
}

.process ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 22px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.process li:last-child {
  border-bottom: 1px solid var(--line);
}

.process li > b {
  color: #657087;
  font-size: 12px;
}

.process h3 {
  margin: 0 0 8px;
  font: 600 23px "DM Sans";
}

.process p {
  margin: 0;
  color: #8f9aaf;
}

/* Contact panel */
.contact {
  position: relative;
  margin-bottom: 70px;
  padding-top: 130px;
  padding-bottom: 130px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, #152a5399, #160d2cb3);
  overflow: hidden;
}

.contact .eyebrow {
  justify-content: center;
}

.contact h2 {
  font-size: clamp(48px, 7vw, 96px);
}

.contact > p:not(.eyebrow) {
  max-width: 540px;
  margin: 28px auto;
  color: #aeb8c8;
  font-size: 18px;
  line-height: 1.7;
}

.button.light {
  background: white;
  color: #0b0e16;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  max-width: 1400px;
  margin: auto;
  padding: 28px clamp(24px, 7vw, 104px) 50px;
  color: #667187;
  font-size: 12px;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

.reveal {
  transition:
    opacity 0.7s,
    transform 0.7s;
  opacity: 1;
  transform: none;
}

/* Keyboard access and progressive enhancement */
:focus-visible {
  outline: 3px solid #a8cfff;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 30;
  padding: 14px 20px;
  border-radius: 10px;
  background: white;
  color: #070910;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.menu,
.brand,
nav a,
.actions > a {
  min-height: 44px;
}

nav a,
.actions > a {
  display: inline-flex;
  align-items: center;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

.reveal:focus-within {
  opacity: 1;
  transform: none;
}

.meta,
.card > span,
.card small,
.project small,
.process li > b,
.site-footer {
  color: #a3aec1;
}

.button:not(.light) {
  background: linear-gradient(120deg, #195dc0, #6340ce);
}

.copy,
.heading,
.project footer > div,
.process li > div {
  min-width: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.project footer p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Frequently asked questions */
.faq {
  padding-top: 40px;
}

.faq-list {
  margin-top: 48px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 24px 8px;
  cursor: pointer;
  font:
    600 20px "DM Sans",
    sans-serif;
  min-height: 44px;
}

.faq details p {
  max-width: 760px;
  margin: 0;
  padding: 0 8px 28px;
  color: var(--muted);
  line-height: 1.7;
}

/* Contact form: local review */
.contact form {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: left;
}

.form-notice,
.privacy-note,
.field-hint {
  color: #b5bed0;
  font-size: 14px;
  line-height: 1.6;
}

.form-notice {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #07091060;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.field {
  min-width: 0;
}

.field-wide {
  grid-column: 1/-1;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.field label span {
  color: #b5bed0;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #74809b;
  border-radius: 10px;
  background: #0d111c;
  color: var(--text);
  font:
    400 16px Manrope,
    sans-serif;
  line-height: 1.5;
  scroll-margin-top: 110px;
}

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

.field [aria-invalid="true"] {
  border-color: #ffb4bd;
}

.field-error {
  color: #ffb4bd;
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.field-error:empty {
  display: none;
}

.field-hint {
  margin: 0 0 10px;
}

.privacy-note {
  margin: 24px 0;
}

button.button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  min-height: 48px;
}

button.button:disabled {
  opacity: 0.65;
  cursor: default;
}

.form-status {
  color: #c4d8ff;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.form-status:empty {
  display: none;
}

.contact .contact-alternative {
  font-size: 16px;
}

.contact-alternative a,
.site-footer a:not(.brand) {
  color: #c4d8ff;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer > div {
  text-align: center;
}

/* Animations */
@keyframes float {
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

/* Tablet layout */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .visual {
    position: absolute;
    right: -170px;
    opacity: 0.48;
  }

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

  .card {
    min-height: auto;
  }

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

  .split {
    align-items: start;
    flex-direction: column;
  }

  .hero .visual {
    z-index: 0;
  }

  .hero .copy {
    position: relative;
  }

  .hero .meta {
    z-index: 2;
  }
}

/* Mobile layout */
@media (max-width: 720px) {
  header {
    padding: 18px 22px;
    background: #070910e8;
  }

  .menu {
    display: none;
  }

  nav {
    position: absolute;
    top: 67px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0d111c;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 14px;
  }

  .section {
    padding: 90px 22px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 82px);
  }

  .visual {
    right: -280px;
    pointer-events: none;
  }

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

  .meta {
    display: none;
  }

  .mock {
    height: 320px;
  }

  .contact {
    margin: 40px 16px 50px;
    padding: 80px 22px;
  }

  .contact h2 {
    font-size: clamp(32px, 10.5vw, 68px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 22px 40px;
  }

  .site-footer p:nth-child(2),
  .site-footer p:last-child {
    text-align: left;
  }

  html {
    scroll-padding-top: 92px;
  }

  .navigation-ready .menu {
    display: block;
  }

  html:not(.navigation-ready) header {
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
  }

  html:not(.navigation-ready) nav {
    position: static;
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
  }

  .mock-b {
    height: 380px;
  }

  .phone {
    transform: rotate(7deg) scale(0.82);
  }

  .card {
    padding: 24px;
  }

  .window b {
    width: min(190px, 55vw);
  }

  .heading h2 {
    font-size: clamp(34px, 8vw, 57px);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .contact form {
    margin-top: 28px;
  }

  .contact form .button {
    width: 100%;
    justify-content: center;
  }

  .site-footer > div {
    text-align: left;
  }

  .faq summary {
    font-size: 18px;
  }
}

/* Accessibility preferences */
@media (forced-colors: active) {
  em {
    background: none;
    color: CanvasText;
  }

  .button,
  .brand i {
    border: 1px solid ButtonText;
  }

  .field [aria-invalid="true"] {
    outline: 2px dashed CanvasText;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

/* Hidden bot field: excluded from keyboard and accessibility tree. */
.contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}

/* Contact confirmation replaces the form without leaving the section. */
.contact-success {
  max-width: 720px;
  margin: 40px auto 0;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #152a5399, #160d2cb3);
}
.contact-success[hidden],
.contact form[hidden] {
  display: none;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #070910;
  font-size: 38px;
  font-weight: 700;
}
.contact-success h3 {
  margin: 0;
  font:
    600 clamp(30px, 4vw, 44px) "DM Sans",
    sans-serif;
  letter-spacing: -0.035em;
  scroll-margin-top: 110px;
}
.contact-success p {
  color: #b5bed0;
  line-height: 1.7;
  margin: 20px 0 32px;
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.success-actions .button {
  min-height: 48px;
  justify-content: center;
}
@media (max-width: 720px) {
  .success-actions {
    flex-direction: column;
  }
  .success-actions .button {
    width: 100%;
  }
}

/* Concept case studies share the landing page theme and navigation. */
.project h3 a {
  color: inherit;
  text-decoration: none;
}
.project h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.case-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c4d8ff;
  text-underline-offset: 5px;
  line-height: 1.6;
}
.project .case-link {
  margin-top: 16px;
}
.case-hero {
  padding-top: 130px;
  padding-bottom: 50px;
}
.case-intro {
  max-width: 940px;
  margin-top: 48px;
}
.case-intro h1 {
  margin: 16px 0;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.05;
}
.case-name {
  color: #bac3d1;
  font-size: 18px;
}
.concept-note {
  max-width: 720px;
  padding-left: 18px;
  border-left: 2px solid var(--violet);
  color: #bac3d1;
  line-height: 1.7;
}
.case-cover {
  margin: 48px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.case-cover .dashboard {
  max-width: 600px;
}
.case-cover figcaption,
.sample-screen figcaption {
  margin-top: 18px;
  color: #a3aec1;
  font-size: 12px;
  line-height: 1.6;
}
.case-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.case-prose p,
.case-prose li,
.case-step p {
  color: #aeb8c8;
  line-height: 1.8;
}
.case-prose p:first-child {
  margin-top: 0;
}
.case-prose h3,
.case-step h3 {
  font:
    600 27px "DM Sans",
    sans-serif;
}
.case-prose ul {
  padding-left: 22px;
}
.case-prose li {
  margin-bottom: 14px;
}
.case-experience {
  padding-top: 30px;
  padding-bottom: 30px;
}
.case-step {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 48px;
  margin-top: 60px;
}
.case-step > div,
.case-context > div {
  min-width: 0;
}
.sample-screen {
  margin: 0;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #152a5399, #160d2cb3);
}
.sample-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sample-metrics > div {
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d111c;
}
.sample-metrics small {
  color: #aeb8c8;
  display: block;
}
.sample-metrics strong {
  display: block;
  font-size: 23px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.sample-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sample-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}
.sample-list b {
  color: #c4d8ff;
}
.sample-detail small {
  color: #aeb8c8;
}
.sample-detail h4 {
  font-size: 24px;
  margin: 16px 0;
}
.sample-bar {
  height: 12px;
  background: #ffffff18;
  border-radius: 6px;
}
.sample-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
@media (max-width: 980px) {
  .case-context,
  .case-step {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 720px) {
  .case-hero {
    padding-top: 115px;
    padding-bottom: 35px;
  }
  .case-intro {
    margin-top: 30px;
  }
  .case-intro h1 {
    font-size: clamp(38px, 10vw, 62px);
  }
  .case-cover {
    padding: 12px;
  }
  .sample-screen {
    padding: 20px;
  }
  .sample-metrics {
    grid-template-columns: 1fr;
  }
  .sample-metrics > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .sample-metrics strong {
    margin-top: 0;
  }
  .sample-list li {
    flex-direction: column;
    gap: 6px;
  }
  .case-page .contact .button {
    white-space: normal;
  }
}

.brand-logo {
  display: block;
  flex-shrink: 0;
}
