:root {
  --ink: #10100f;
  --paper: #f4f1ea;
  --paper-2: #e8e1d4;
  --chalk: #fffaf0;
  --line: rgba(16, 16, 15, 0.14);
  --line-strong: rgba(16, 16, 15, 0.3);
  --muted: rgba(16, 16, 15, 0.64);
  --yellow: #e5ff36;
  --red: #ef442f;
  --blue: #1767ff;
  --cyan: #20c6bd;
  --pink: #ff4db8;
  --shadow: 0 28px 90px rgba(16, 16, 15, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1200;
  opacity: 0.16;
  background-image: radial-gradient(rgba(16,16,15,0.22) 0.65px, transparent 0.65px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

.cursor-halo {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(229,255,54,0.48), rgba(32,198,189,0.16) 38%, transparent 68%);
  filter: blur(10px);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 1000;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255,250,240,0.48);
  border-radius: var(--radius);
  background: rgba(244,241,234,0.76);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 14px 44px rgba(16,16,15,0.11);
}
.site-header.scrolled { background: rgba(255,250,240,0.94); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.brand img { width: 118px; }
.brand span {
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.desktop-nav { display: flex; justify-content: center; gap: 6px; }
.desktop-nav a, .mobile-menu a {
  padding: 10px 12px;
  border-radius: 7px;
  color: rgba(16,16,15,0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.desktop-nav a:hover, .mobile-menu a:hover { background: rgba(16,16,15,0.07); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.portal-link, .icon-button, .btn, .language-switch {
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.portal-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--ink);
  color: var(--chalk);
}
.icon-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--chalk);
  color: var(--ink);
  cursor: pointer;
}

.language-switch {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  background: var(--chalk);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.language-switch:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: var(--yellow);
}

.language-switch span {
  font-size: 17px;
  line-height: 1;
}

.language-switch strong {
  font-size: 12px;
  line-height: 1;
}
.icon-button svg, .btn svg, .service-row svg, .console-head svg, .lab-tab svg { width: 18px; height: 18px; stroke-width: 2.1; }
.mobile-menu {
  position: fixed;
  top: 88px;
  left: 14px;
  right: 14px;
  z-index: 980;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,250,240,0.96);
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: grid; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: end;
  gap: 30px;
  padding: 132px clamp(18px, 5vw, 72px) 48px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(244,241,234,0.94) 0%, rgba(244,241,234,0.74) 42%, rgba(244,241,234,0.25) 100%),
    radial-gradient(circle at 78% 18%, rgba(239,68,47,0.32), transparent 30%),
    radial-gradient(circle at 86% 62%, rgba(32,198,189,0.34), transparent 34%),
    var(--paper);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.82; }
.hero-copy, .hero-console, .scroll-cue { position: relative; z-index: 2; }
.eyebrow, .section-label, .console-head, .site-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(16,16,15,0.64);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero h1, .split h2, .service-intro h2, .cloud-copy h2, .lab h2, .contact-card h2 {
  margin: 16px 0 0;
  max-width: 1120px;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 900;
}
.hero p, .split p, .cloud-copy p, .contact-card p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.55;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.btn.primary { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.btn.ghost { background: rgba(255,250,240,0.72); color: var(--ink); }
.btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.hero-console {
  align-self: end;
  padding: 16px;
  border: 1px solid rgba(255,250,240,0.52);
  border-radius: var(--radius);
  background: rgba(16,16,15,0.84);
  color: var(--chalk);
  box-shadow: var(--shadow);
}
.console-head { width: 100%; justify-content: space-between; color: rgba(255,250,240,0.62); }
.console-card {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(255,250,240,0.14);
  border-radius: 7px;
  background: rgba(255,250,240,0.06);
}
.console-card.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.console-card span, .console-card em { display: block; }
.console-card span { font-size: 11px; font-weight: 900; text-transform: uppercase; opacity: 0.74; }
.console-card strong { display: block; margin-top: 8px; font-size: 48px; line-height: 0.9; }
.console-card em { margin-top: 10px; font-size: 12px; font-style: normal; opacity: 0.72; line-height: 1.35; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-strong); border-radius: 999px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 99px; background: var(--ink); animation: cue 1.3s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(12px); opacity: 0.45; } }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--yellow); }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span { padding: 15px 28px; font-size: 12px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(72px, 11vw, 150px) clamp(18px, 5vw, 72px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr); gap: 42px; align-items: start; }
.split h2, .service-intro h2, .cloud-copy h2, .lab h2, .contact-card h2 { font-size: clamp(34px, 5.4vw, 82px); line-height: 0.94; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 46px; }
.method-card, .service-row, .contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--chalk);
  box-shadow: 0 14px 42px rgba(16,16,15,0.07);
}
.method-card { min-height: 300px; padding: 20px; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.method-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.method-card span { color: var(--red); font-size: 12px; font-weight: 900; }
.method-card h3 { margin: 56px 0 0; font-size: 24px; }
.method-card p, .service-row p { color: var(--muted); line-height: 1.55; }

.services { background: var(--ink); color: var(--chalk); }
.services .section-label, .services .service-row p { color: rgba(255,250,240,0.66); }
.service-intro { max-width: 920px; }
.service-stack { margin-top: 44px; display: grid; gap: 10px; }
.service-row {
  display: grid;
  grid-template-columns: minmax(250px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 142px;
  padding: 22px;
  background: rgba(255,250,240,0.07);
  border-color: rgba(255,250,240,0.16);
  transition: transform 0.22s ease, background 0.22s ease;
}
.service-row:hover { transform: translateX(6px); background: rgba(255,250,240,0.11); }
.service-row div { display: flex; align-items: center; gap: 18px; }
.service-row h3 { margin: 0; font-size: clamp(22px, 2.4vw, 36px); }
.service-row p { margin: 0; font-size: 17px; }

.creator-cloud { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr); gap: 44px; align-items: center; background: var(--paper-2); }
.orbit {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(16,16,15,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,16,15,0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(16,16,15,0.18);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.orbit::after { inset: 26%; animation-duration: 18s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit button {
  position: absolute;
  left: var(--x);
  top: var(--y);
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--chalk);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(16,16,15,0.12);
  cursor: pointer;
  animation: float 3.8s ease-in-out infinite alternate;
}
.orbit button:nth-child(2n) { background: var(--yellow); animation-delay: 0.4s; }
.orbit button:nth-child(3n) { background: var(--cyan); animation-delay: 0.9s; }
@keyframes float { to { transform: translateY(-16px); } }
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--chalk);
  box-shadow: var(--shadow);
}
.orbit-core strong { font-size: 48px; }
.orbit-core span { margin-top: 8px; color: rgba(255,250,240,0.66); font-size: 12px; font-weight: 900; text-transform: uppercase; }

.lab { background: var(--paper); }
.lab-shell { margin-top: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--chalk); overflow: hidden; box-shadow: var(--shadow); }
.lab-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.lab-tab {
  min-height: 72px;
  border: 0;
  background: var(--paper);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.lab-tab.active { background: var(--ink); color: var(--chalk); }
.lab-output { padding: clamp(24px, 5vw, 58px); min-height: 330px; }
.lab-output span { color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.lab-output h3 { max-width: 980px; margin: 16px 0 0; font-size: clamp(34px, 5vw, 76px); line-height: 0.94; }
.lab-output p { max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.55; }

.proof { background: var(--yellow); padding-block: clamp(42px, 7vw, 92px); }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.proof-strip div { min-height: 190px; padding: 18px; border: 1px solid rgba(16,16,15,0.18); border-radius: var(--radius); background: rgba(255,250,240,0.38); }
.proof-strip strong { display: block; font-size: clamp(54px, 8vw, 110px); line-height: 0.88; }
.proof-strip span { display: block; margin-top: 18px; max-width: 260px; font-size: 13px; font-weight: 900; text-transform: uppercase; line-height: 1.35; }

.contact { min-height: 82vh; display: flex; align-items: center; background: var(--ink); }
.contact-card { width: 100%; padding: clamp(24px, 6vw, 72px); background: var(--chalk); }
.contact-card img { width: clamp(150px, 18vw, 230px); }
.contact-card h2 { max-width: 1120px; }
.contact-card p { max-width: 760px; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); background: var(--paper); }

.brief-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 12%, rgba(229,255,54,0.38), transparent 30%),
    radial-gradient(circle at 12% 42%, rgba(32,198,189,0.28), transparent 34%),
    var(--paper);
}

.brief-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 32px;
  padding: 136px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}

.brief-hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: 132px;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border: 1px dashed rgba(16,16,15,0.18);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.brief-hero-copy,
.brief-status-card {
  position: relative;
  z-index: 2;
}

.brief-hero h1 {
  margin: 16px 0 0;
  max-width: 1040px;
  font-size: clamp(46px, 7.6vw, 112px);
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 900;
}

.brief-hero p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.55;
}

.brief-status-card {
  align-self: end;
  padding: 18px;
  border: 1px solid rgba(255,250,240,0.52);
  border-radius: var(--radius);
  background: rgba(16,16,15,0.84);
  color: var(--chalk);
  box-shadow: var(--shadow);
}

.brief-status-card span {
  display: block;
  color: rgba(255,250,240,0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.brief-status-card strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.85;
}

.brief-status-card p {
  margin: 18px 0 0;
  color: rgba(255,250,240,0.66);
  font-size: 14px;
  line-height: 1.45;
}

.brief-section {
  padding: 0 clamp(18px, 5vw, 72px) clamp(72px, 10vw, 136px);
}

.brief-form,
.brief-success {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,250,240,0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(145%);
}

.brief-form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.brief-form fieldset {
  margin: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(244,241,234,0.72);
}

.brief-form legend {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brief-form label span,
.choice-grid label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(16,16,15,0.66);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--chalk);
  color: var(--ink);
  padding: 12px;
  outline: none;
}

.brief-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(229,255,54,0.56);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.choice-grid label {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--chalk);
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
}

.choice-grid label:has(input:checked) {
  background: var(--yellow);
  border-color: var(--ink);
}

.choice-grid label span {
  margin: 0;
  color: var(--ink);
}

.wide {
  display: block;
}

.wide + .wide {
  margin-top: 14px;
}

.brief-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.brief-submit-row p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.brief-submit-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.brief-success {
  padding: clamp(28px, 6vw, 72px);
}

.brief-success h2 {
  max-width: 920px;
  margin: 16px 0 0;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.94;
}

.brief-success p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.72s ease, transform 0.72s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .icon-button { display: inline-flex; }
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .hero, .split, .creator-cloud { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .hero-console { max-width: 520px; }
}

@media (max-width: 720px) {
  .site-header { top: 10px; left: 10px; right: 10px; min-height: 58px; padding-left: 12px; }
  .brand img { width: 102px; }
  .brand span { font-size: 10px; padding: 5px 7px; }
  .portal-link { display: none; }
  .language-switch { min-height: 38px; padding: 0 9px; }
  .hero { min-height: 94svh; padding: 112px 16px 34px; }
  .hero h1, .split h2, .service-intro h2, .cloud-copy h2, .lab h2, .contact-card h2 { font-size: clamp(38px, 12vw, 62px); }
  .hero p, .split p, .cloud-copy p, .contact-card p { font-size: 16px; }
  .hero-console { display: none; }
  .section { padding: 68px 16px; }
  .method-grid, .service-row, .proof-strip { grid-template-columns: 1fr; }
  .method-card { min-height: 230px; }
  .method-card h3 { margin-top: 36px; }
  .service-row { min-height: 0; align-items: start; }
  .service-row div { align-items: flex-start; }
  .service-row p { font-size: 15px; }
  .orbit { min-height: 500px; }
  .orbit-core { width: 150px; height: 150px; }
  .lab-controls { grid-template-columns: 1fr 1fr; }
  .lab-output h3 { font-size: 36px; }
  .hero-actions, .contact-actions, .site-footer { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .brief-hero { grid-template-columns: 1fr; min-height: 0; padding: 112px 16px 38px; }
  .brief-hero::after { width: 78vw; right: -22vw; top: 108px; }
  .brief-hero h1 { font-size: clamp(38px, 12vw, 62px); }
  .brief-status-card { display: none; }
  .brief-section { padding: 0 16px 68px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .brief-submit-row { flex-direction: column; align-items: stretch; }
}
