:root {
  --bg: #f4f2ee;
  --bg-soft: #fbf6f8;
  --ink: #121212;
  --muted: #6b6760;
  --line: rgba(18, 18, 18, 0.1);
  --white: #ffffff;
  --accent: #ff0054;
  --accent-soft: rgba(255, 0, 84, 0.12);
  --accent-mid: rgba(255, 0, 84, 0.28);
  --accent-deep: #a80038;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1080px;
  --header: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(255, 0, 84, 0.08), transparent 55%),
    radial-gradient(700px 400px at 0% 20%, rgba(18, 18, 18, 0.04), transparent 50%),
    var(--white);
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--white);
  transition: background 0.3s var(--ease), border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  z-index: 2;
}

.lang-switch button {
  min-width: 2.2rem;
  min-height: 1.9rem;
  padding: 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--white);
}

.lang-switch button:hover:not(.is-active) {
  color: var(--ink);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--ink) !important;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--white) !important;
}

.menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-btn.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-btn.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--header) + 2rem) clamp(1.25rem, 4vw, 2.5rem) 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black 20%, transparent 90%);
  opacity: 0.7;
  animation: meshShift 16s linear infinite;
}

.hero-line {
  position: absolute;
  width: min(55vw, 560px);
  aspect-ratio: 1;
  right: -8%;
  top: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 84, 0.18);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 0, 84, 0.16), transparent 55%);
  animation: floatRing 10s ease-in-out infinite alternate;
}

@keyframes meshShift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}

@keyframes floatRing {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-24px, 28px, 0) scale(1.05); }
}

@keyframes floatPhoneA {
  from { transform: translate3d(0, 0, 0) rotate(-8deg); }
  to { transform: translate3d(8px, -18px, 0) rotate(-6deg); }
}

@keyframes floatPhoneB {
  from { transform: translate3d(0, 0, 0) rotate(10deg); }
  to { transform: translate3d(-10px, -22px, 0) rotate(8deg); }
}

@keyframes floatPhoneC {
  from { transform: translate3d(0, 0, 0) rotate(4deg); }
  to { transform: translate3d(6px, -14px, 0) rotate(6deg); }
}

.hero-phones {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-phone {
  position: absolute;
  opacity: 0.42;
  filter: drop-shadow(0 18px 32px rgba(18, 18, 18, 0.1));
}

.float-phone .phone-frame {
  width: 148px;
}

.float-phone--a {
  right: 8%;
  top: 18%;
  animation: floatPhoneA 5.5s ease-in-out infinite alternate;
}

.float-phone--b {
  right: 22%;
  bottom: 12%;
  opacity: 0.3;
  animation: floatPhoneB 6.2s ease-in-out infinite alternate;
}

.float-phone--b .phone-frame {
  width: 122px;
}

.float-phone--c {
  right: 34%;
  top: 42%;
  opacity: 0.2;
  animation: floatPhoneC 4.8s ease-in-out infinite alternate;
}

.float-phone--c .phone-frame {
  width: 96px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.brand {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 6.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 0 2rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
}

.btn-line {
  border: 1px solid var(--ink);
  background: transparent;
}

.btn-line:hover {
  background: var(--ink);
  color: var(--white);
}

.section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  --band: var(--white);
  background: var(--band);
}

.section.band-soft {
  --band: var(--bg-soft);
}


.section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-top h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-top p {
  margin: 0;
  color: var(--muted);
}

/* Services */
.services {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.services li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.services li:hover {
  padding-left: 0.5rem;
}

.services span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}

.services h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

/* Process */
.section-process {
  border-block: 1px solid var(--line);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
  border-top: 1px solid var(--line);
}

.process-track {
  position: relative;
  margin: 0 0 1.75rem;
  padding: 0 0.4rem;
}

.process-track-line {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  top: 50%;
  height: 2px;
  background: var(--line);
  transform: translateY(-50%);
  overflow: hidden;
}

.process-track-line i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease);
}

.process-track.is-active .process-track-line i {
  transform: scaleX(1);
}

.process-dots {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-dots span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--band);
  justify-self: start;
  opacity: 0.35;
  transition: opacity 0.35s var(--ease), background 0.35s, transform 0.35s var(--ease);
}

.process-track.is-active .process-dots span {
  opacity: 1;
  background: var(--accent);
  transform: scale(1.08);
  transition-delay: calc(var(--i, 0) * 0.18s);
}

.process-dots span:nth-child(1) { --i: 0; }
.process-dots span:nth-child(2) { --i: 1; justify-self: center; margin-left: -25%; }
.process-dots span:nth-child(3) { --i: 2; justify-self: center; margin-right: -25%; }
.process-dots span:nth-child(4) { --i: 3; justify-self: end; }

.process li {
  position: relative;
  padding: 2rem 1.5rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.process li:not(:last-child) {
  padding-right: 1.75rem;
  border-right: 1px solid var(--line);
  margin-right: 1.75rem;
}

.process-head {
  margin-bottom: 1rem;
}

.process li.is-step-visible .process-num {
  color: var(--accent);
}

.process-num {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 0, 84, 0.45);
  transition: color 0.4s var(--ease);
}

.process h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-risk {
  margin: 1.15rem auto 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Projects */
.projects {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line);
}

.project-row--flip .project-copy {
  order: 2;
}

.project-row--flip .project-device {
  order: 1;
}

.project-copy {
  max-width: 32rem;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
  max-width: 28rem;
}

.platform {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.num {
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(18, 18, 18, 0.28);
}

.project-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.project-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.store-badge span {
  display: grid;
  gap: 0.05rem;
  line-height: 1.15;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.store-badge small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.link-out {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  transition: opacity 0.2s;
}

.link-out:hover {
  opacity: 0.75;
}

.project-device {
  display: grid;
  justify-items: center;
  perspective: 900px;
}

.phone-frame {
  width: min(100%, 190px);
  aspect-ratio: 9 / 18.8;
  padding: 0.58rem;
  border-radius: 1.7rem;
  background: linear-gradient(160deg, #2a2a2a, #111);
  box-shadow:
    0 24px 50px rgba(18, 18, 18, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.45s var(--ease);
}

.project-device[data-project-3d] .phone-frame {
  transform: rotateY(var(--phone-ry, -14deg)) rotateX(var(--phone-rx, 8deg)) translateY(var(--phone-ty, 0px));
}

.project-row:hover .project-device[data-project-3d] .phone-frame {
  --phone-ty: -8px;
  box-shadow:
    0 32px 58px rgba(18, 18, 18, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .project-device[data-project-3d] .phone-frame {
    transform: none;
    will-change: auto;
  }

  .project-row:hover .project-device[data-project-3d] .phone-frame {
    --phone-ty: 0px;
  }
}

/* Soft cursor */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.25s, width 0.25s, height 0.25s;
  will-change: transform;
}

.cursor-dot.is-on {
  opacity: 0.75;
}

.cursor-dot.is-hot {
  width: 0.85rem;
  height: 0.85rem;
  opacity: 0.9;
}

body.has-cursor-dot {
  cursor: none;
}

body.has-cursor-dot a,
body.has-cursor-dot button {
  cursor: none;
}

@media (pointer: coarse) {
  .cursor-dot {
    display: none;
  }

  body.has-cursor-dot,
  body.has-cursor-dot a,
  body.has-cursor-dot button {
    cursor: auto;
  }
}

.confetti-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 90;
}

.phone-notch {
  width: 36%;
  height: 0.5rem;
  margin: 0.2rem auto 0.4rem;
  border-radius: 999px;
  background: #050505;
}

.phone-screen {
  position: relative;
  height: calc(100% - 0.85rem);
  border-radius: 1.15rem;
  padding: 1.15rem 0.9rem 1rem;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  color: #fff;
  overflow: hidden;
}

.phone-status {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.phone-app-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0.35rem;
}

.phone-app-line {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  opacity: 0.85;
}

.phone-metric {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.1rem;
}

.phone-dock {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 32%;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.phone-screen--sence {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(165deg, #ff0054 0%, #a80038 100%);
}

.phone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.35rem;
}

.phone-chips i {
  display: block;
  height: 1.55rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-chips i:nth-child(1) { width: 100%; }
.phone-chips i:nth-child(2) { width: 46%; }
.phone-chips i:nth-child(3) { width: 46%; }

.phone-screen--quart {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 0, 84, 0.35), transparent 45%),
    linear-gradient(165deg, #17181c 0%, #2c3140 100%);
}

.phone-cubes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  width: 100%;
  margin: 0.5rem 0 0.2rem;
}

.phone-cubes i {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 0, 84, 0.28);
}

.phone-cubes i:nth-child(2) {
  transform: translateY(0.4rem);
  background: rgba(255, 255, 255, 0.12);
}

.phone-screen--altinvio {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 230, 160, 0.28), transparent 45%),
    linear-gradient(165deg, #2c2412 0%, #b8923f 130%);
}

.phone-screen--konus {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(165deg, #14352c 0%, #2f6b58 100%);
}

.phone-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  width: 100%;
  margin: 0.35rem 0 0.15rem;
}

.phone-tiles i {
  aspect-ratio: 1.1;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-row--web {
  grid-template-columns: 1.05fr 0.95fr;
}

.project-browser {
  display: block;
}

.mini-site {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}

.project-row--web:hover .mini-site {
  transform: translateY(-4px);
}

.mini-bar {
  height: 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 1rem 50%, #e0ddd6 0.28rem, transparent 0.3rem),
    radial-gradient(circle at 1.9rem 50%, #e0ddd6 0.28rem, transparent 0.3rem),
    radial-gradient(circle at 2.8rem 50%, #e0ddd6 0.28rem, transparent 0.3rem),
    var(--bg);
}

.mini-body {
  min-height: 11rem;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(255, 0, 84, 0.06), transparent 55%),
    var(--bg);
}

.mini-body strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.mini-body em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Mobile features */
.section-mobile {
  border-top: 1px solid var(--line);
}

.mobile-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.mobile-features li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.mobile-features li:nth-child(odd) {
  padding-right: 1.75rem;
  border-right: 1px solid var(--line);
}

.mobile-features li:nth-child(even) {
  padding-left: 1.75rem;
}

.mobile-features li:hover {
  padding-left: 0.5rem;
}

.mobile-features li:nth-child(even):hover {
  padding-left: 2.25rem;
}

.mobile-features span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
}

.mobile-features h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.mobile-features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Devices */
.section-devices {
  border-block: 1px solid var(--line);
}

.devices-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.devices-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.devices-copy > p {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.75;
}

.device-points {
  display: grid;
  gap: 0.75rem;
}

.device-points li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.device-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

.devices-visual {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.85rem;
  min-height: 280px;
}

.device {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.device em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.device-bezel {
  background: #171717;
  padding: 0.4rem;
  border-radius: 1.1rem;
  box-shadow: 0 16px 36px rgba(18, 18, 18, 0.14);
}

.device-screen {
  height: 100%;
  border-radius: 0.8rem;
  background:
    linear-gradient(165deg, rgba(255, 0, 84, 0.16), transparent 50%),
    var(--bg);
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 0.7rem;
}

.device-screen span {
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.12);
}

.device-screen span:first-child {
  width: 42%;
  height: 0.55rem;
  background: rgba(255, 0, 84, 0.35);
}

.device-screen span:nth-child(2) { width: 78%; }
.device-screen span:nth-child(3) { width: 62%; }

.device--phone .device-bezel {
  width: 84px;
  height: 168px;
}

.device--tall .device-bezel {
  width: 96px;
  height: 198px;
  border-radius: 1.25rem;
}

.device--tall .device-screen {
  border-radius: 0.95rem;
}

.device--tablet .device-bezel {
  width: 132px;
  height: 176px;
  border-radius: 0.9rem;
}

.device--tablet .device-screen {
  border-radius: 0.65rem;
}

/* Contact */
.section-contact {
  text-align: center;
}

.section-contact h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-contact .lead {
  margin: 0 auto 2rem;
}

/* Comparison */
.section-compare-table {
  border-top: 1px solid var(--line);
}

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

.cmp-legend {
  display: grid;
  grid-template-columns: 9.5rem 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.cmp-legend::before {
  content: "";
}

.cmp-legend .is-accent {
  color: var(--accent);
}

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

.cmp-list li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.cmp-list li:hover {
  padding-left: 0.35rem;
}

.cmp-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.cmp-vals {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.cmp-vals p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.cmp-who {
  display: none;
}

.cmp-vals .is-accent {
  position: relative;
  color: var(--ink);
  font-weight: 600;
  padding-left: 0.75rem;
}

.cmp-vals .is-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  background: var(--accent);
}

@media (max-width: 720px) {
  .cmp-legend {
    display: none;
  }

  .cmp-list li {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.35rem 0;
  }

  .cmp-vals {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .cmp-vals p {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.75rem;
    align-items: baseline;
  }

  .cmp-who {
    display: inline;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--muted);
  }

  .cmp-vals .is-accent {
    padding-left: 0.75rem;
  }

  .cmp-vals .is-accent .cmp-who {
    color: var(--accent);
  }
}

/* Sector path */
.section-sector {
  border-top: 1px solid var(--line);
}

.sector-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

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

.sector-list li {
  border-bottom: 1px solid var(--line);
}

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

.sector-item {
  width: 100%;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 0.35rem 1.2rem 0;
  text-align: left;
  color: var(--muted);
  transition: color 0.25s, padding-left 0.35s var(--ease);
}

.sector-item span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  opacity: 0.55;
  transition: opacity 0.25s;
}

.sector-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sector-item:hover {
  color: var(--ink);
  padding-left: 0.45rem;
}

.sector-item:hover span {
  opacity: 0.85;
}

.sector-item.is-active {
  color: var(--ink);
  padding-left: 0.45rem;
}

.sector-item.is-active span {
  opacity: 1;
}

.sector-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0 0.25rem;
  min-height: 14rem;
}

.sector-panel.is-switching {
  opacity: 0;
  transform: translateY(6px);
  transition: none;
}

.sector-panel.is-ready {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.sector-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.sector-panel h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sector-panel > p {
  margin: 0 0 1.5rem;
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.sector-panel .link-out {
  margin-top: 0;
}

@media (max-width: 820px) {
  .sector-layout {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .sector-panel {
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    min-height: 0;
  }
}

/* Fit score */
.section-fit {
  border-top: 1px solid var(--line);
}

.fit-tool {
  max-width: 34rem;
}

.fit-progress {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.fit-q[hidden],
.fit-result[hidden] {
  display: none;
}

.fit-q > p {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fit-yesno {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.fit-btn {
  min-height: 2.55rem;
  min-width: 5.5rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.fit-btn:hover {
  color: var(--ink);
  border-color: rgba(18, 18, 18, 0.3);
}

.fit-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.fit-score {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.fit-score small {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.15rem;
}

.fit-band {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.fit-hint {
  margin: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.65;
}

.fit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Scroll words */
.section-words {
  border-top: 1px solid var(--line);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.words-line {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.words-line .word {
  color: rgba(18, 18, 18, 0.18);
  transition: color 0.35s var(--ease);
}

.words-line .word.is-on {
  color: var(--ink);
}

.words-line .word.is-accent {
  color: rgba(255, 0, 84, 0.28);
}

.words-line .word.is-accent.is-on {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .words-line .word {
    color: var(--ink);
    transition: none;
  }

  .words-line .word.is-accent {
    color: var(--accent);
  }
}








/* Stats */
.stats {
  padding: 0 0 clamp(2rem, 5vw, 3rem);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats-row > div {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem;
  background: var(--white);
}

.stats-row strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stats-row span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* About */
.section-about {
  border-top: 1px solid var(--line);
}

.about-grid .section-top {
  margin-bottom: 1.5rem;
}

.about-body {
  max-width: 40rem;
}

.about-lead {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.about-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* Support */
.section-support {
  border-top: 1px solid var(--line);
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.support-list li {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
}

.support-list h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.support-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* FAQ */
.faq-ask {
  max-width: 36rem;
  margin: 0 0 2.25rem;
}

.faq-ask-label {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.faq-ask-input {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color 0.2s;
}

.faq-ask-input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
  font-weight: 500;
}

.faq-ask-input:focus {
  border-bottom-color: var(--accent);
}

.faq-ask-hit {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.faq-ask-hit[hidden],
.faq-ask-empty[hidden] {
  display: none;
}

.faq-ask-hit-q {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.faq-ask-hit-a {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-ask-empty {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-item.is-dim {
  opacity: 0.32;
  transition: opacity 0.25s var(--ease);
}

.faq-item.is-hit summary {
  color: var(--accent);
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.faq-item[open] summary::after,
.faq-item.is-open summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item p {
  margin: 0 0 1.35rem;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel {
    transition: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-note {
  margin: 0;
  text-align: center;
  flex: 1 1 auto;
}

.footer-row > span:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.is-ready .hero .reveal {
  opacity: 1;
  transform: none;
}

.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero .reveal:nth-child(4) { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh,
  .hero-line,
  .float-phone--a,
  .float-phone--b,
  .float-phone--c {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .float-phone--c {
    display: none;
  }

  .float-phone--a {
    right: 4%;
    top: 14%;
    opacity: 0.28;
  }

  .float-phone--a .phone-frame {
    width: 110px;
  }

  .float-phone--b {
    right: 8%;
    bottom: 10%;
    opacity: 0.18;
  }

  .float-phone--b .phone-frame {
    width: 92px;
  }

  .project-row,
  .project-row--web {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .project-row--flip .project-copy,
  .project-row--flip .project-device {
    order: initial;
  }

  .project-device {
    order: -1;
  }

  .project-row--device-after .project-device {
    order: 2;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .support-list {
    grid-template-columns: 1fr;
  }

  .mobile-features {
    grid-template-columns: 1fr;
  }

  .mobile-features li:nth-child(odd),
  .mobile-features li:nth-child(even) {
    border-right: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .mobile-features li:nth-child(even):hover,
  .mobile-features li:hover {
    padding-left: 0.5rem;
  }

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

  .devices-visual {
    min-height: 240px;
    order: -1;
  }

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

  .process li:nth-child(2) {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
  }

  .process li:nth-child(1),
  .process li:nth-child(3) {
    padding-right: 1.75rem;
    margin-right: 1.75rem;
  }
}

@media (max-width: 800px) {
  .process-track {
    display: none;
  }

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

  .process li,
  .process li:nth-child(1),
  .process li:nth-child(3) {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}

@media (max-width: 520px) {
  .phone-frame {
    width: min(100%, 168px);
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-flex;
  }

  .header-right {
    gap: 0.65rem;
  }

  .lang-switch {
    position: relative;
    z-index: 45;
  }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }

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

  .nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ink);
  }

  .nav-cta {
    border: 0;
    padding: 0;
  }

  .services li {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }
}
