:root {
  --bg: #0e0e11;
  --panel: #17171b;
  --panel-2: #1c1c1f;
  --footer: #0b0b0d;
  --text: #fafafa;
  --muted: #9b9ba1;
  --quiet: #6f6f78;
  --line: rgba(250, 250, 250, 0.10);
  --gold: #e0b257;
  --gold-light: #f0d28a;
  --max: 1180px;
  --radius: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body.loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(224, 178, 87, 0.7);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--gold);
  color: #121214;
  padding: 10px 14px;
  font-weight: 600;
  transition: transform 180ms var(--ease);
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 360ms var(--ease), visibility 360ms var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.no-loader .loader {
  display: none;
}

.loader-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(8px);
  opacity: 0;
  animation: logo-in 640ms var(--ease) forwards;
}

@keyframes logo-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 600;
}

.brand-bars {
  height: 20px;
  width: auto;
  flex: 0 0 auto;
  fill: var(--gold);
}

.loader-lockup .brand-bars {
  height: 76px;
}

.loader-lockup .brand-bars rect {
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: bar-rise 560ms var(--ease) forwards;
}

.loader-lockup .brand-bars rect:nth-child(1) { animation-delay: 320ms; }
.loader-lockup .brand-bars rect:nth-child(2) { animation-delay: 680ms; }
.loader-lockup .brand-bars rect:nth-child(3) { animation-delay: 1040ms; }
.loader-lockup .brand-bars rect:nth-child(4) { animation-delay: 1400ms; }

@keyframes bar-rise {
  to {
    transform: scaleY(1);
  }
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.loader-lockup .brand-word {
  font-size: clamp(2.6rem, 7vw, 4rem);
}

.mixon {
  color: var(--text);
}

.grows,
.gold {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--gold);
  color: #121214;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn.secondary:hover {
  background: var(--panel-2);
  border-color: rgba(250, 250, 250, 0.18);
}

.text-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(224, 178, 87, 0.36);
  text-underline-offset: 5px;
}

main {
  overflow: clip;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section:first-child {
  border-top: 0;
}

.section.panel {
  background: var(--panel);
}

.section.panel-2 {
  background: var(--panel-2);
}

.section.footer-tone {
  background: var(--footer);
}

.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  line-height: 0.96;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 720px;
  color: #d9d9de;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
}

.hero {
  padding: 86px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: clamp(44px, 7vw, 86px);
}

.hero-copy-only {
  max-width: 880px;
}

.hero-copy-only h1 {
  max-width: 820px;
}

.hero-copy-only .lead {
  max-width: 690px;
}

.hero-actions,
.form-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  max-width: 650px;
  margin-top: 32px;
  color: var(--quiet);
}

.portrait {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.caption-title {
  color: var(--text);
  font-weight: 600;
}

.caption-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.46fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.service-item,
.step-item,
.proof-item,
.demo-item {
  background: var(--panel);
}

.service-item {
  min-height: 260px;
  padding: 28px;
}

.service-item.ai {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 34px;
  background: var(--panel-2);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  display: flex;
  gap: 10px;
  color: #d8d8dd;
  line-height: 1.6;
}

.plain-list li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.step-item {
  min-height: 280px;
  padding: 28px;
}

.step-number {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-family: Fraunces, Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.demo-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.demo-copy {
  padding: 24px;
}

.device-stage {
  min-height: 300px;
  padding: 28px 24px 0;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.laptop-frame {
  width: 100%;
  border: 8px solid #0a0a0c;
  border-bottom-width: 18px;
  border-radius: 10px 10px 4px 4px;
  background: #0a0a0c;
}

.laptop-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
}

.phone-frame {
  width: 30%;
  min-width: 92px;
  margin: -84px 18px 0 auto;
  border: 7px solid #0a0a0c;
  border-radius: 18px;
  background: #0a0a0c;
  position: relative;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}

.about-copy {
  font-size: 1.06rem;
}

.about-copy p {
  color: #dedee3;
}

.profile-facts {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts strong {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.95rem;
}

.profile-facts span {
  color: var(--text);
  line-height: 1.6;
}

.profile-facts a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(224, 178, 87, 0.4);
  text-underline-offset: 4px;
}

.profile-facts a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

label {
  color: #e5e5e9;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(250, 250, 250, 0.14);
  border-radius: var(--radius);
  background: #111114;
  color: var(--text);
  padding: 12px 13px;
}

select {
  color-scheme: dark;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--quiet);
}

.form-note {
  margin: 14px 0 0;
  color: var(--quiet);
  font-size: 0.9rem;
}

.auto-response {
  display: none;
  margin-top: 22px;
  border: 1px solid rgba(224, 178, 87, 0.42);
  border-radius: var(--radius);
  background: #111114;
  padding: 20px;
}

.auto-response.is-visible {
  display: block;
}

.auto-response strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 600;
}

.auto-response p {
  margin-bottom: 10px;
  color: #e2e2e7;
}

.page-hero {
  padding: 82px 0 70px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 74px);
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.service-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-detail h2 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.detail-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-pair strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.6fr) minmax(220px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.small {
  color: var(--quiet);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 12px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-actions {
    display: none;
  }

  .hero-grid,
  .split-band,
  .section-head,
  .service-item.ai,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 520px;
  }

  .service-list,
  .steps,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .wrap,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 56px 0;
  }

  .hero,
  .page-hero {
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.6rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero-actions,
  .form-actions,
  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .cta-row .btn {
    width: 100%;
  }

  .service-list,
  .steps,
  .work-grid,
  .form-grid,
  .detail-pair,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .service-item,
  .step-item,
  .form-card {
    padding: 22px;
  }

  .step-item {
    min-height: auto;
  }

  .portrait figcaption {
    display: block;
  }

  .device-stage {
    min-height: 260px;
    padding: 18px 14px 0;
  }

  .phone-frame {
    width: 34%;
    min-width: 82px;
    margin-top: -62px;
  }
}
