:root {
  --ink: #151515;
  --muted: #68645f;
  --paper: #f7f4ee;
  --paper-soft: #fffcf5;
  --line: rgba(21, 21, 21, 0.12);
  --cyan: #18bfc1;
  --coral: #ff6f59;
  --lime: #bfdc58;
  --violet: #6457c6;
  --shadow: 0 24px 70px rgba(25, 24, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 18rem),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: 45;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(24, 191, 193, 0.2), transparent 24%),
    radial-gradient(circle at 76% 20%, rgba(255, 111, 89, 0.18), transparent 24%),
    linear-gradient(110deg, transparent 0 28%, rgba(255, 252, 245, 0.86) 42%, transparent 58% 100%);
  transform: translateX(-18%);
}

body.language-transition::before {
  animation: language-sweep 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.78);
  padding: 8px 10px 8px 14px;
  backdrop-filter: blur(22px);
  transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header[data-elevated="true"] {
  border-color: rgba(21, 21, 21, 0.16);
  background: rgba(255, 252, 245, 0.92);
  box-shadow: 0 14px 40px rgba(28, 25, 21, 0.12);
}

.brand,
.nav-links,
.header-actions,
.language-toggle {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand {
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-soft);
  font-weight: 900;
}

.nav-links {
  gap: 4px;
}

.header-actions {
  flex: 1;
  justify-content: flex-end;
  gap: 8px;
}

.language-toggle {
  flex: 0 0 auto;
  width: 76px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.74);
  padding: 2px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.language-toggle::before {
  content: "";
  position: absolute;
  inset: 2px auto 2px 2px;
  width: calc(50% - 2px);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 5px 12px rgba(21, 21, 21, 0.14);
  transform: translateX(0);
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1.15), box-shadow 220ms ease;
}

.language-toggle[data-active-lang="es"]::before {
  transform: translateX(100%);
}

.language-toggle::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -40%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0;
  transform: rotate(18deg);
}

.language-toggle.is-switching::after {
  animation: toggle-shine 520ms ease;
}

.language-toggle button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 50%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4d4943;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  transition: color 220ms ease, transform 220ms ease;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--paper-soft);
  transform: scale(1.03);
}

.language-toggle button[aria-pressed="false"] {
  color: #4d4943;
}

[data-i18n] {
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

body.language-transition [data-i18n] {
  opacity: 0.18;
  filter: blur(5px);
  transform: translateY(6px);
}

body.language-ready [data-i18n] {
  animation: language-reveal 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.language-ready h1 [data-i18n]:nth-child(2),
body.language-ready .process-grid article:nth-child(2) [data-i18n],
body.language-ready .assembled-cards article:nth-child(2) [data-i18n] {
  animation-delay: 40ms;
}

body.language-ready h1 [data-i18n]:nth-child(3),
body.language-ready .process-grid article:nth-child(3) [data-i18n],
body.language-ready .assembled-cards article:nth-child(3) [data-i18n] {
  animation-delay: 80ms;
}

body.language-ready h1 [data-i18n]:nth-child(4),
body.language-ready .hero-text,
body.language-ready .build-copy [data-i18n] {
  animation-delay: 120ms;
}

.nav-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 15px;
  color: #383631;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(21, 21, 21, 0.08);
  color: #111;
}

.section-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 94svh;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 132px 0 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #5a5550;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 8vw, 6.85rem);
}

h1 span {
  display: inline;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-text,
.section-heading + p,
.contact p,
.build-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
}

.hero-copy {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--paper-soft);
  box-shadow: 0 14px 34px rgba(21, 21, 21, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.7);
}

.hero-preview {
  position: relative;
  min-width: 0;
  min-height: 560px;
  perspective: 1200px;
}

.preview-shell {
  position: absolute;
  inset: 70px 0 20px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.preview-topbar,
.canvas-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.09);
  padding: 14px 16px;
}

.preview-topbar span,
.canvas-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-topbar span:nth-child(2),
.canvas-chrome span:nth-child(2) {
  background: var(--lime);
}

.preview-topbar span:nth-child(3),
.canvas-chrome span:nth-child(3) {
  background: var(--cyan);
}

.preview-hero {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  display: grid;
  position: relative;
  min-height: 270px;
  align-items: end;
  margin: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(24, 191, 193, 0.1), rgba(255, 111, 89, 0.18)),
    repeating-linear-gradient(135deg, rgba(21, 21, 21, 0.08) 0 1px, transparent 1px 15px),
    #f5eee0;
  padding: 26px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 220ms ease, background-position 320ms ease;
  will-change: transform;
}

.preview-hero::before,
.preview-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease, transform 280ms ease;
}

.preview-hero::before {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 252, 245, 0.8), transparent 18%),
    radial-gradient(circle at calc(var(--glow-x) + 14%) calc(var(--glow-y) + 12%), rgba(24, 191, 193, 0.26), transparent 28%),
    radial-gradient(circle at calc(var(--glow-x) - 16%) calc(var(--glow-y) + 18%), rgba(255, 111, 89, 0.22), transparent 28%);
  mix-blend-mode: screen;
}

.preview-hero::after {
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  transform: translateX(-120%) skewX(-18deg);
}

.preview-hero:hover,
.preview-hero:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.08), 0 20px 44px rgba(28, 25, 21, 0.12);
}

.preview-hero:hover::before,
.preview-hero:focus-visible::before {
  opacity: 1;
}

.preview-hero:hover::after,
.preview-hero:focus-visible::after {
  animation: preview-shine 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 1;
}

.preview-shell.is-preview-active {
  box-shadow: 0 30px 86px rgba(25, 24, 22, 0.22);
  transform: rotate(0.4deg) translateY(-3px);
}

.preview-hero p,
.preview-hero h2 {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  transform: translateZ(26px);
}

.preview-hero p {
  margin-bottom: 10px;
  color: #70675f;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-hero h2 {
  background-image: linear-gradient(110deg, #151515 0 42%, #0c9a9c 49%, #ff6f59 56%, #151515 64% 100%);
  background-position: 0% 50%;
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  transition: background-position 380ms ease, transform 220ms ease;
}

.preview-hero:hover h2,
.preview-hero:focus-visible h2 {
  background-position: 100% 50%;
  transform: translateZ(34px) translateY(-2px);
}

.preview-hero:hover p,
.preview-hero:focus-visible p {
  transform: translateZ(30px) translateY(-1px);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px 16px;
}

.preview-grid article {
  min-height: 104px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35)),
    #efe7d7;
}

.speed-card {
  position: absolute;
  right: -12px;
  bottom: 0;
  display: grid;
  min-width: 175px;
  gap: 4px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 22px;
  background: #151515;
  color: #fffaf0;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(21, 21, 21, 0.24);
}

.speed-card span {
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
}

.speed-card strong {
  font-size: 3.5rem;
  line-height: 0.9;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  width: min(1120px, calc(100% - 32px));
  margin: -18px auto 86px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.proof-strip div {
  display: grid;
  gap: 6px;
  min-height: 118px;
  align-content: center;
  background: rgba(255, 252, 245, 0.72);
  padding: 24px;
}

.proof-strip strong {
  font-size: 1.05rem;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.process,
.demos,
.contact {
  padding: 88px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.process-grid,
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-grid article {
  border-top: 1px solid rgba(21, 21, 21, 0.2);
  padding: 24px 0 0;
}

.process-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--coral);
  font-weight: 950;
}

.process-grid p,
.demo-bottom p {
  color: var(--muted);
  line-height: 1.55;
}

.build-scroll {
  position: relative;
  height: 360svh;
  margin-top: 40px;
}

.build-sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 60px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 38px;
}

.build-copy {
  max-width: 450px;
}

.construction-stage {
  position: relative;
  min-height: min(680px, calc(100svh - 150px));
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.84), rgba(238, 232, 220, 0.82)),
    #f1eadc;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: var(--grid-opacity);
  background:
    linear-gradient(rgba(21, 21, 21, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: translateY(var(--grid-y));
}

.site-canvas {
  position: absolute;
  inset: clamp(20px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 26px;
  background: #fffdf7;
  box-shadow: 0 28px 90px rgba(26, 24, 21, var(--shadow-alpha));
  transform: translateY(var(--canvas-y)) scale(var(--canvas-scale));
}

.canvas-chrome {
  height: 46px;
  padding: 0 16px;
}

.canvas-chrome div {
  height: 9px;
  flex: 1;
  margin-left: 12px;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.08);
}

.assembled-nav,
.assembled-hero,
.assembled-cards,
.assembled-footer {
  position: relative;
  z-index: 2;
}

.assembled-nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  padding: 0 clamp(16px, 3vw, 30px);
  opacity: var(--phase-nav);
  transform: translateY(var(--nav-y));
}

.assembled-nav b {
  margin-right: auto;
  font-size: 1.08rem;
}

.assembled-nav span {
  color: #615d57;
  font-size: 0.82rem;
  font-weight: 850;
}

.assembled-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(14px, 2.5vw, 28px);
  padding: clamp(16px, 3vw, 30px);
}

.hero-image-layer {
  position: relative;
  min-height: 310px;
  border-radius: 24px;
  background: #e7decb;
  overflow: hidden;
  opacity: var(--phase-image);
  transform: translateX(var(--image-x)) rotate(var(--image-rot));
}

.image-band {
  position: absolute;
  border-radius: 999px;
  transform: translateY(var(--image-y));
}

.band-one {
  width: 70%;
  height: 44%;
  left: -12%;
  top: 18%;
  background: var(--cyan);
}

.band-two {
  width: 78%;
  height: 40%;
  right: -18%;
  top: 42%;
  background: var(--coral);
}

.band-three {
  width: 54%;
  height: 38%;
  left: 22%;
  bottom: -10%;
  background: var(--lime);
}

.assembled-copy {
  align-self: center;
  opacity: var(--phase-copy);
  transform: translateY(var(--copy-y));
}

.assembled-copy span {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(191, 220, 88, 0.42);
  padding: 8px 12px;
  color: #41402d;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assembled-copy h3 {
  max-width: 460px;
  font-size: clamp(2rem, 4.7vw, 4.45rem);
}

.assembled-copy p {
  max-width: 420px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.5;
}

.assembled-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 clamp(16px, 3vw, 30px) clamp(16px, 2.4vw, 24px);
}

.assembled-cards article {
  min-height: 132px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 18px;
  background: rgba(250, 247, 239, 0.94);
  padding: 16px;
  opacity: var(--phase-cards);
  transform: translateY(var(--cards-y));
}

.assembled-cards article:nth-child(2) {
  transition-delay: 70ms;
}

.assembled-cards article:nth-child(3) {
  transition-delay: 140ms;
}

.assembled-cards span {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--cyan);
}

.assembled-cards article:nth-child(2) span {
  background: var(--violet);
}

.assembled-cards article:nth-child(3) span {
  background: var(--coral);
}

.assembled-cards b {
  display: block;
  margin-bottom: 7px;
}

.assembled-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.38;
}

.assembled-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(16px, 3vw, 30px) 28px;
  border-radius: 18px;
  background: #151515;
  color: #fffaf0;
  padding: 16px 18px;
  opacity: var(--phase-footer);
  transform: translateY(var(--footer-y));
}

.assembled-footer button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: #171713;
  padding: 0 14px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.scroll-meter {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 110px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.1);
}

.scroll-meter span {
  display: block;
  width: var(--meter-width);
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

.demos {
  padding-top: 118px;
}

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

.demo-card {
  display: grid;
  gap: 16px;
}

.demo-browser {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(21, 21, 21, 0.13);
  border-radius: 28px;
  background: #fffdf7;
  box-shadow: 0 20px 60px rgba(23, 21, 18, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.demo-card:hover .demo-browser {
  box-shadow: 0 28px 74px rgba(23, 21, 18, 0.18);
  transform: translateY(-5px);
}

.demo-nav {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.demo-nav b {
  margin-right: auto;
}

.demo-nav span {
  color: #615d57;
  font-size: 0.82rem;
  font-weight: 850;
}

.demo-visual {
  position: relative;
  min-height: 310px;
  margin: 0 18px;
  overflow: hidden;
  border-radius: 24px;
}

.demo-restaurant .demo-visual {
  background:
    linear-gradient(135deg, rgba(255, 111, 89, 0.22), rgba(191, 220, 88, 0.22)),
    #f0dcc9;
}

.plate {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translateX(-50%);
  border: 24px solid #fffaf0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--coral) 0 18%, transparent 19%),
    radial-gradient(circle at 39% 42%, var(--lime) 0 9%, transparent 10%),
    radial-gradient(circle at 63% 45%, var(--cyan) 0 10%, transparent 11%),
    #2f2a27;
  box-shadow: 0 18px 50px rgba(43, 34, 28, 0.22);
}

.menu-lines {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  width: 44%;
  gap: 10px;
}

.menu-lines span {
  height: 10px;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.16);
}

.menu-lines span:nth-child(2) {
  width: 76%;
}

.menu-lines span:nth-child(3) {
  width: 54%;
}

.demo-service .demo-visual {
  background:
    linear-gradient(135deg, rgba(24, 191, 193, 0.16), rgba(100, 87, 198, 0.18)),
    #e6edf0;
}

.service-panel {
  position: absolute;
  inset: 44px 34px 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
}

.service-panel span {
  border-radius: 18px 18px 0 0;
  background: #fffdf7;
  box-shadow: 0 16px 40px rgba(21, 21, 21, 0.12);
}

.service-panel span:nth-child(1) {
  height: 62%;
}

.service-panel span:nth-child(2) {
  height: 86%;
  background: var(--cyan);
}

.service-panel span:nth-child(3) {
  height: 72%;
  background: var(--lime);
}

.availability-chip {
  position: absolute;
  right: 28px;
  top: 28px;
  border-radius: 999px;
  background: #151515;
  color: #fffaf0;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

.demo-bottom {
  padding: 24px;
}

.demo-bottom strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.demo-card > a {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.74);
  padding: 0 15px;
  font-size: 0.88rem;
  font-weight: 900;
}

.contact {
  display: grid;
  min-height: 470px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(21, 21, 21, 0.16);
}

.contact div {
  max-width: 720px;
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-end;
  }

  .header-actions {
    gap: 6px;
  }

  .nav-links a {
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .hero,
  .build-sticky,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-preview {
    min-height: 520px;
  }

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

  .build-scroll {
    height: 330svh;
  }

  .build-sticky {
    align-content: start;
    padding-top: 94px;
  }

  .build-copy {
    max-width: 720px;
  }

  .construction-stage {
    min-height: 620px;
  }

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

  .hero-image-layer {
    min-height: 190px;
  }

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

  .assembled-cards article {
    min-height: 92px;
  }
}

@media (max-width: 680px) {
  .brand span:last-child {
    display: none;
  }

  .site-header {
    left: 16px;
    width: min(358px, calc(100vw - 32px));
    align-items: center;
    border-radius: 24px;
    gap: 8px;
    transform: none;
  }

  .nav-links {
    gap: 2px;
    overflow: visible;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .nav-links a[href="#process"],
  .nav-links a[href="#build"],
  .nav-links a[href="#contact"] {
    display: none;
  }

  .nav-links a {
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.76rem;
  }

  .language-toggle button {
    font-size: 0.7rem;
  }

  .language-toggle {
    width: 68px;
    height: 36px;
  }

  h1 {
    font-size: clamp(2.78rem, 12.2vw, 3.35rem);
    line-height: 1.02;
  }

  h1 span {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .section-band {
    width: min(358px, calc(100% - 32px));
    margin-left: 16px;
    margin-right: 0;
  }

  .hero-copy,
  .hero-text,
  .hero-preview {
    width: min(358px, calc(100vw - 32px));
    max-width: min(358px, calc(100vw - 32px));
  }

  .hero-preview {
    min-height: 420px;
  }

  .preview-shell {
    inset: 20px 0 28px;
    border-radius: 22px;
    transform: rotate(0deg);
  }

  .preview-hero {
    min-height: 220px;
    padding: 20px;
  }

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

  .preview-grid article {
    min-height: 52px;
  }

  .speed-card {
    right: 10px;
    min-width: 140px;
    padding: 16px;
  }

  .speed-card strong {
    font-size: 2.7rem;
  }

  .process,
  .demos,
  .contact {
    padding: 62px 0;
  }

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

  .demo-browser {
    min-height: 440px;
    border-radius: 22px;
  }

  .demo-visual {
    min-height: 250px;
  }

  .construction-stage {
    min-height: 590px;
    border-radius: 24px;
  }

  .site-canvas {
    inset: 14px;
    border-radius: 20px;
  }

  .assembled-nav {
    gap: 9px;
    min-height: 52px;
  }

  .assembled-nav span {
    font-size: 0.72rem;
  }

  .assembled-copy h3 {
    font-size: 2.15rem;
  }

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

  .contact .button {
    width: 100%;
  }
}

@media (hover: none) {
  .preview-hero {
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@keyframes language-sweep {
  0% {
    opacity: 0;
    transform: translateX(-18%);
  }

  38% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(18%);
  }
}

@keyframes toggle-shine {
  0% {
    left: -40%;
    opacity: 0;
  }

  22% {
    opacity: 1;
  }

  100% {
    left: 108%;
    opacity: 0;
  }
}

@keyframes language-reveal {
  0% {
    opacity: 0.2;
    filter: blur(6px);
    transform: translateY(7px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes preview-shine {
  0% {
    transform: translateX(-120%) skewX(-18deg);
  }

  100% {
    transform: translateX(340%) skewX(-18deg);
  }
}
