/* Neutral surface system for the V9.2 landing. Brand and media colors remain local. */
:root {
  color-scheme: dark;
  --landing-black: #0b0c0e;
  --landing-gray: #1a1b1f;
  --landing-raised: #232429;
  --landing-text: #f0f0f2;
  --landing-muted: #b9bbc5;
  --landing-line: #41424b;
  --paper: #f0f0f2;
  --line: #41424b;
  --muted: #b9bbc5;
  --teal: #9333ea;
  background: var(--landing-black);
  color: var(--landing-text);
  scrollbar-color: #62636d var(--landing-black);
}
body { background: var(--landing-black); color: var(--landing-text); }
.light { background: var(--section-bg, var(--landing-black)); color: var(--landing-text); }
.hero { --section-bg: #111214; }
/* One complete opening viewport; grow naturally when content needs more room. */
#home {
  --home-header: 70px;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: calc(var(--home-header) + clamp(24px, 4svh, 64px)) var(--gutter) clamp(20px, 3svh, 40px);
}
#home .hero-copy { width: 100%; max-width: 1320px; }
#home h1 {
  max-width: 1300px;
  font-size: clamp(42px, min(10vw, 12svh), 120px);
}
#home .hero-creation-group {
  width: min(100%, 1040px);
  margin-top: clamp(24px, 4svh, 48px);
}
#home .creation-form {
  width: min(100%, 1040px);
  max-width: none;
  margin: 0;
  padding: 22px 28px;
}
#home .hero-bottom {
  width: min(100%, 1040px);
  max-width: none;
  margin: 8px 0 0;
}
#home .hero-description {
  max-width: 56ch;
  margin: clamp(24px, 4svh, 44px) 0 0;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.55;
  color: var(--landing-muted);
  text-wrap: balance;
}
#home .hero-description-line {
  display: block;
  animation: home-description-enter 650ms cubic-bezier(.16, 1, .3, 1) both;
}
#home .hero-description-line + .hero-description-line { animation-delay: 120ms; }
#home .hero-signature {
  color: #c084fc;
  background: linear-gradient(110deg, #e3d4ff, #c084fc 30%, #f08bfa 50%, #c084fc 70%, #e3d4ff);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: home-signature-light 8s ease-in-out infinite;
}
@keyframes home-description-enter {
  from { opacity: .85; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes home-signature-light {
  0%, 30%, 100% { background-position: 0% 50%; }
  65%, 80% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  #home .hero-description-line, #home .hero-signature { animation: none; }
}
.reading #home .hero-description-line, .reading #home .hero-signature { animation: none; }
@media (forced-colors: active) {
  #home .hero-signature { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}
@media (max-width: 760px) {
  #home { --home-header: 64px; }
  #home h1 { font-size: clamp(36px, 10.7vw, 76px); }
  #home .creation-form { padding: 20px; }
  #home .creation-form textarea { min-height: 82px; }
  #home .hero-description { font-size: 16px; }
}
@media (min-width: 761px) and (max-height: 820px) {
  #home { padding-top: calc(var(--home-header) + 24px); padding-bottom: 20px; }
  #home h1 { font-size: clamp(48px, min(10vw, 10.7svh), 92px); }
  #home .hero-creation-group { margin-top: 24px; }
  #home .creation-form { padding: 18px 24px; }
  #home .creation-form textarea { height: 54px; min-height: 54px; }
  #home .creation-bottom { margin-top: 16px; }
  #home .hero-description { margin-top: 24px; font-size: 19px; line-height: 1.5; }
}
@media (max-width: 760px) and (max-height: 700px) {
  #home { padding-top: calc(var(--home-header) + 20px); padding-bottom: 20px; }
  #home .hero-creation-group { margin-top: 20px; }
  #home .creation-form { padding: 16px; }
  #home .creation-form textarea { min-height: 64px; }
  #home .creation-bottom { margin-top: 12px; }
  #home .hero-bottom { margin-top: 8px; gap: 2px; }
  #home .hero-bottom > span { padding-top: 0; }
  #home .hero-description { font-size: 14px; margin-top: 18px; }
}
@media (min-width: 560px) and (max-width: 1000px) and (max-height: 550px) and (pointer: coarse) {
  #home {
    --home-header: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 32px;
    row-gap: 12px;
    align-content: center;
    padding-top: 74px;
    padding-bottom: 18px;
  }
  #home .hero-copy { grid-column: 1; grid-row: 1 / 3; }
  #home .hero-creation-group { display: contents; }
  #home h1 { font-size: clamp(34px, 4.8vw, 52px); }
  #home .creation-form { grid-column: 2; margin: 0; padding: 14px 18px; }
  #home .creation-form textarea { min-height: 52px; }
  #home .creation-bottom { margin-top: 10px; }
  #home .creation-bottom > span { font-size: 10px; }
  #home .creation-bottom .button { min-height: 44px; padding: 10px 14px; font-size: 12px; }
  #home .hero-bottom { grid-column: 2; margin: 0; flex-direction: row; align-items: center; gap: 12px; font-size: 10px; }
  #home .hero-bottom > span { padding: 0; }
  #home .hero-bottom a { min-height: 32px; font-size: 10px; }
  #home .hero-description { grid-column: 1 / -1; justify-self: center; margin: 0; font-size: 14px; }
}
@media (min-width: 560px) and (max-width: 700px) and (max-height: 360px) and (pointer: coarse) {
  #home { padding-top: 66px; padding-bottom: 10px; row-gap: 8px; column-gap: 24px; }
  #home h1 { font-size: 28px; }
  #home .creation-form { padding: 12px 14px; }
  #home .creation-form label { font-size: 12px; margin-bottom: 6px; }
  #home .creation-form textarea { height: 46px; min-height: 46px; font-size: 14px; line-height: 20px; }
  #home .creation-bottom { margin-top: 8px; }
  #home .creation-bottom > span { max-width: 44px; font-size: 9px; }
  #home .creation-bottom .button { padding: 8px 10px; gap: 8px; font-size: 11px; white-space: nowrap; }
  #home .hero-description { font-size: 13px; line-height: 1.4; }
}
.possibility { --section-bg: #1a1b1f; }
.dark-story { background: #0d0e10; color: var(--landing-text); }
#about { background: #080909; color: var(--landing-text); box-shadow: 0 0 0 100vmax #080909; clip-path: inset(0 -100vmax); }
.capabilities { --section-bg: #18191c; background: var(--section-bg); }
.life { --section-bg: #18191d; }
.anywhere { background: var(--landing-black); color: var(--landing-text); }
.continuity { --section-bg: #1a1b1f; }
.build-intro { --section-bg: #080909; }
#build-act { background: #080909; }
#build-act .demo-window { box-shadow: none; }
.after-build { --section-bg: #1a1b1f; }
.pricing { --section-bg: #0b0c0e; background: var(--section-bg); }
.faq { --section-bg: #1a1b1f; }
.delivery { --section-bg: #0d0e10; }
.footer { background: #080909; color: var(--landing-text); }
/* Paint full-width bands while retaining the existing constrained content grids. */
.section.light.wrap,
.capabilities.wrap {
  box-shadow: 0 0 0 100vmax var(--section-bg);
  clip-path: inset(0 -100vmax);
}
.topbar, .topbar nav { background: #101113; color: var(--landing-text); }
.topbar nav { border-color: var(--landing-line); }
.skip-link { background: var(--landing-raised); color: var(--landing-text); }
::selection { background: #9333ea; color: #fff; }
textarea { caret-color: #c084fc; }
:is(a,button,summary,textarea,input,select):focus-visible { outline-color: #c084fc; }

.hero h1 { color: var(--landing-text); }
.hero-copy p, .hero-bottom,
.split-copy p:last-child, .life-heading p, .life-copy > div,
.anywhere-copy > p, .continuity-grid p, .build-intro p,
.after-build > div, .pricing-heading p, .price-note,
.faq details p, .delivery p { color: var(--landing-muted); }
.split-copy p:first-child,
.life-copy .text-link, .after-build .text-link { color: var(--landing-text); }
.capability-list p, .work-intro p, .case-heading p,
.about-columns > div p, .case-caption { color: var(--landing-muted); }
.possibility .wrap, .continuity-grid > div, .capability-list > div,
.faq details, .faq details:last-child, .delivery article,
.footer-invite, .footer-bottom, .case { border-color: var(--landing-line); }
.footer-main p, .footer-main > div > span, .footer-bottom { color: var(--landing-muted); }

.creation-form {
  background:
    linear-gradient(#1c1d22, #1c1d22) padding-box,
    conic-gradient(from var(--nexa-orbit-angle),
      rgb(147 51 234 / .25) 0deg, var(--nexa-brand-purple) 95deg,
      rgb(147 51 234 / .25) 175deg, rgb(147 51 234 / .25) 360deg) border-box;
}
.creation-form label, .creation-form textarea { color: var(--landing-text); }
.creation-form textarea::placeholder { color: #b0b2bd; }
#create #own-prompt:focus { outline: none; box-shadow: none; }
.creation-bottom > span { color: var(--landing-muted); }
.button:hover { background-color: #7e22ce; }
.button.pale, .button.pale:hover {
  background: var(--landing-raised); color: var(--landing-text);
  border: 1px solid #62636e;
}
.top-actions > .button.small {
  background:
    linear-gradient(#232429, #232429) padding-box,
    conic-gradient(from var(--nexa-orbit-angle),
      rgb(147 51 234 / .25) 0deg, var(--nexa-brand-purple) 95deg,
      rgb(147 51 234 / .25) 175deg, rgb(147 51 234 / .25) 360deg) border-box;
  color: var(--landing-text);
}
.top-actions > .button.small .icon { color: #c084fc; }

.phone { background: #1c1d22; color: var(--landing-text); border-color: #484950; box-shadow: 18px 35px 55px #0005; }
.phone-island, .phone-home { background: #090a0c; }
.phone-header { border-color: var(--landing-line); }
.phone-header small { color: var(--landing-muted); }
.phone-message.human { background: #35363e; color: var(--landing-text); }
.phone-message.ai { background: #27282e; color: var(--landing-text); }
.phone-input { background: #222329; color: var(--landing-muted); border-color: #62636e; }
#anywhere .phone-time [data-icon="signal"],
#anywhere .phone-header > [data-icon="more"],
#anywhere .phone-input > [data-icon="arrow"] { color: var(--nexa-brand-purple); }
#anywhere .phone-input { border-color: var(--nexa-brand-purple); }
#anywhere .phone-message.ai { background: #292135; }
.price-tier { background: var(--landing-gray); color: var(--landing-text); border: 1px solid #35363d; }
.price-tier > p, .price-pair small, .price-tier > span { color: var(--landing-muted); }
.price-tier > span { border-color: var(--landing-line); }
.case-image img { border-color: var(--landing-line); }
.case-details-trigger { border-color: var(--landing-line); color: var(--landing-text); }
.case-popover { background: #232429; border-color: #62636e; color: var(--landing-text); }

#projects-panel, dialog { background: #1a1b20; color: var(--landing-text); border: 1px solid #50515b; }
#projects-panel > p, .project-row small, dialog p { color: var(--landing-muted); }
.project-row, dialog .simulation-note { border-color: var(--landing-line); }
dialog::backdrop { background: #000b; }
.prompt-review { background: #292a31; color: var(--landing-text); }
.secondary { background: transparent; border-color: #62636e; color: var(--landing-text); }
.contact-form input, .contact-form textarea, .review-options select {
  background: #24252b; color: var(--landing-text); border-color: #62636e;
}
.contact-form :is(input,textarea)::placeholder { color: var(--landing-muted); }

/* The illustrative product stays in the same scene; cream UI panels become neutral. */
.demo-window .preview-browser { background: #18191d; color: var(--landing-text); }
.demo-window .mesa-nav, .demo-window .access-form { background: #18191d; border-color: #41424b; }
.demo-window .restaurant-plan, .demo-window .access-form label > span,
.demo-window .mesa-stats > div { background: #28292f; border-color: #4c4d56; }
.demo-window .mesa-hero h4, .demo-window .access-form h4,
.demo-window .mesa-welcome h4, .demo-window .mesa-stats strong,
.demo-window .reservations strong { color: var(--landing-text); }
.demo-window .mesa-hero p, .demo-window .restaurant-plan > small,
.demo-window .mesa-benefits, .demo-window .access-form > p,
.demo-window .access-form label, .demo-window .access-form label > span,
.demo-window .access-form small, .demo-window .mesa-welcome small,
.demo-window .mesa-stats span, .demo-window .mesa-main h5,
.demo-window .reservations span { color: var(--landing-muted); }
.demo-window .mesa-benefits, .demo-window .reservations > div { border-color: #41424b; }
.demo-window .access-brand, .demo-window .mesa-dashboard > aside { background: #242529; }
.demo-window .mesa-eyebrow, .demo-window .restaurant-plan > span:first-child,
.demo-window .access-label, .demo-window .mesa-connected,
.demo-window .reservations small { color: #e2a68b; }

/* Editorial accents: selected heading words only; body copy keeps neutral ink. */
.brand-word { color: var(--nexa-brand-pink); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .brand-word {
    background-image: linear-gradient(110deg, var(--nexa-brand-pink), var(--nexa-brand-purple));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.brand-word::selection { -webkit-text-fill-color: #fff; color: #fff; }
@media (forced-colors: active) {
  .brand-word {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}
