:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0a0a0a;
  --ink: #f5f5f2;
  --muted: #9a9a94;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #c8ff56;
  --page: min(1440px, calc(100vw - 64px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.cursor-dot { display: none; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.hero,
.feature-strip,
.process,
footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 15px; font-weight: 620; }

.brand-mark { width: 22px; height: 24px; position: relative; display: block; transform: skewY(-8deg); }
.brand-mark span { position: absolute; display: block; border: 1px solid var(--ink); }
.brand-mark span:nth-child(1) { top: 1px; left: 0; width: 22px; height: 4px; }
.brand-mark span:nth-child(2) { top: 4px; left: 0; width: 4px; height: 8px; }
.brand-mark span:nth-child(3) { top: 10px; left: 0; width: 22px; height: 4px; }
.brand-mark span:nth-child(4) { top: 13px; right: 0; width: 4px; height: 8px; }
.brand-mark span:nth-child(5) { right: 0; bottom: 1px; width: 22px; height: 4px; }

.text-link { transition: color 180ms ease; }
.text-link:hover { color: var(--ink); }

.header-actions { justify-self: end; display: flex; gap: 9px; }
.button { min-height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 14px; font-weight: 560; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.button-light { color: #090909; background: var(--ink); border-color: var(--ink); }
.button-light:hover { background: var(--accent); border-color: var(--accent); }
.button-ghost:hover { border-color: rgba(255,255,255,.4); }
.button-large { min-height: 48px; padding-inline: 21px; }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(24px, 4vw, 76px);
  padding: 72px 0 100px;
  position: relative;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 28px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
h1 { margin: 0; max-width: 660px; font-size: clamp(55px, 5.2vw, 88px); line-height: .91; letter-spacing: -.065em; font-weight: 460; }
.hero-intro { max-width: 470px; margin: 30px 0 34px; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.text-link { color: var(--muted); font-size: 14px; }

.stack-visual { min-height: 500px; display: grid; place-items: center; animation: stack-arrive .9s cubic-bezier(.2,.8,.2,1) both; }
.stack-stage { --tilt-x: 0deg; --tilt-y: 0deg; position: relative; width: min(100%, 460px); display: grid; place-items: center; transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); transform-style: preserve-3d; transition: transform 220ms ease-out; }
.stack-stage img { display: block; width: min(85%, 390px); height: auto; max-height: min(580px, 66vh); object-fit: contain; animation: stack-float 6s 1s ease-in-out infinite; }
.stack-label { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(5,5,5,.82); color: var(--ink); box-shadow: 0 12px 34px rgba(0,0,0,.36); backdrop-filter: blur(10px); font-size: 11px; white-space: nowrap; opacity: 0; transform: translateY(10px) scale(.96) translateZ(28px); animation: label-cycle 12s ease-in-out infinite; }
.stack-label i { width: 6px; height: 6px; display: block; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(200,255,86,.8); font: 9px/1 ui-monospace, monospace; }
.stack-label-ai { left: 0; top: 19%; animation-delay: 0s; }
.stack-label-ai i { width: auto; height: auto; border-radius: 0; color: var(--accent); background: none; box-shadow: none; }
.stack-label-domain { right: -2%; top: 36%; animation-delay: -9s; }
.stack-label-form { left: 3%; bottom: 30%; animation-delay: -6s; }
.stack-label-booking { right: 1%; bottom: 13%; animation-delay: -3s; }

.feature-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-strip article { min-height: 225px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.feature-strip article:last-child { border-right: 0; }
.feature-number { color: var(--accent); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-strip h2 { margin: 0 0 10px; font-size: 19px; font-weight: 520; letter-spacing: -.02em; }
.feature-strip p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 310px; }

.process { min-height: 720px; padding: 150px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -.055em; font-weight: 460; }
.process-intro { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.58; }
.process-steps { width: min(760px, 100%); margin: 54px 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.process-steps p { margin: 0; padding: 25px 16px; border-right: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.process-steps p:last-child { border-right: 0; }
.process-steps b { color: var(--accent); margin-right: 10px; font: 10px ui-monospace, monospace; }

footer { border-top: 1px solid var(--line); min-height: 120px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
footer .brand { color: var(--ink); }

@media (pointer: fine) {
  html, body, a, button { cursor: none; }
  .cursor-dot { position: fixed; z-index: 9999; top: 0; left: 0; display: block; width: 12px; height: 12px; border-radius: 50%; background: #fff; pointer-events: none; opacity: 0; transform: translate3d(-50px, -50px, 0) translate(-50%, -50%); transition: width 160ms ease, height 160ms ease, opacity 160ms ease; }
  .cursor-dot.is-visible { opacity: 1; }
  .cursor-dot.is-over-link { width: 28px; height: 28px; background: rgba(255,255,255,.9); }
}

@keyframes stack-arrive { from { opacity: 0; transform: translateY(36px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes stack-float { 50% { transform: translateY(-9px); } }
@keyframes label-cycle { 0%, 24% { opacity: 0; transform: translateY(10px) scale(.96) translateZ(28px); } 4%, 20% { opacity: 1; transform: translateY(0) scale(1) translateZ(28px); } }

@media (max-width: 1020px) {
  :root { --page: min(100% - 40px, 900px); }
  .hero { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(54px, 8vw, 78px); }
  .stack-visual { min-height: 430px; }
}

@media (max-width: 700px) {
  :root { --page: calc(100% - 32px); }
  .site-header { height: 72px; grid-template-columns: 1fr auto; }
  .button-ghost { display: none; }
  .button { padding-inline: 14px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 76px 0 54px; gap: 22px; }
  h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-intro { margin-top: 24px; }
  .stack-visual { grid-row: 2; min-height: 390px; }
  .stack-stage { width: min(100%, 360px); }
  .stack-stage img { width: min(76vw, 290px); max-height: 430px; }
  .stack-label { min-height: 31px; padding-inline: 10px; font-size: 10px; }
  .stack-label-ai { left: 1%; }
  .stack-label-domain { right: 0; }
  .stack-label-form { left: 0; }
  .stack-label-booking { right: 2%; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip article { min-height: 170px; border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 4px; }
  .feature-strip article:last-child { border-bottom: 0; }
  .process { min-height: 620px; padding: 110px 0; }
  .process-steps { grid-template-columns: 1fr; margin-top: 54px; }
  .process-steps p { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-steps p:last-child { border-bottom: 0; }
  footer { min-height: 170px; flex-direction: column; justify-content: center; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .stack-label { display: none; }
}
