/* ---------------------------------------------------------------------------
   ADVAITIC · v0.3 · 2026-05
   Deployment infrastructure for physical AI.
   Dark theme. Text-left / image-right. Single hero. The screenshot
   blends with the page so it reads as a continuation, not an inset.
--------------------------------------------------------------------------- */

:root {
  /* surface — dark */
  --bg:           #0c0e10;
  --bg-warm:      #14171b;
  --bg-cool:      #1a1e23;
  --ink:          #efe8d8;
  --ink-near:     #d0cabd;
  --ink-mute:     #9a978a;
  --ink-dim:      #6b6859;
  --ink-faint:    #45433a;
  --line:         rgba(239, 232, 216, 0.10);
  --line-strong:  rgba(239, 232, 216, 0.32);

  /* accent */
  --rust:         #a8f0c8;   /* pastel mint — the page's pop */
  --rust-soft:    #c0f5d4;
  --rust-deep:    #6dcca0;
  --rust-tint:    rgba(168, 240, 200, 0.16);

  --display: "Instrument Serif", "Newsreader", ui-serif, Georgia, serif;
  --sans:    "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI",
             ui-sans-serif, system-ui, sans-serif;
  --mono:    "JetBrains Mono", "SFMono-Regular", Consolas, Menlo,
             ui-monospace, monospace;

  --max:    1280px;
  --gutter: max(32px, calc((100vw - var(--max)) / 2));
  --ease:   cubic-bezier(0.2, 0.6, 0.2, 1);
}

* { box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* faint grain + blueprint grid, inverted for dark */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image: radial-gradient(rgba(239, 232, 216, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
}
body::after {
  background-image:
    linear-gradient(to right, rgba(239, 232, 216, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 232, 216, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
}

main { position: relative; z-index: 1; flex: 1; }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--ease), opacity 200ms var(--ease);
}

::selection { background: var(--rust); color: var(--bg); }


/* -------- typography ------------------------------------------------------ */

h1 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
h1 em { font-style: italic; color: var(--rust); }

p { margin: 0; }
p em { font-style: italic; color: var(--rust); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}
.eyebrow-mark { color: var(--rust); letter-spacing: 0.15em; }


/* -------- header ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter);
  background: rgba(12, 14, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.brand-mark { color: var(--rust); display: inline-flex; }
.brand-word { font-weight: 600; letter-spacing: -0.005em; }
.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  border-left: 1px solid var(--line-strong);
  padding-left: 12px;
  margin-left: 4px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--rust);
  background: var(--rust);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.nav-cta:hover { background: var(--rust-soft); border-color: var(--rust-soft); }
.nav-cta-arrow { display: inline-block; transition: transform 200ms var(--ease); }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }


/* -------- buttons --------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid;
  transition: all 220ms var(--ease);
  cursor: pointer;
}
.button.primary {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--bg);
}
.button.primary:hover {
  background: var(--rust-soft);
  border-color: var(--rust-soft);
}
.button.secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.button-arrow { display: inline-block; transition: transform 200ms var(--ease); }
.button:hover .button-arrow { transform: translateX(3px); }


/* -------- HERO (text left, image right) ---------------------------------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter) 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.hero-copy {
  animation: hero-fade-in 700ms var(--ease) both;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 680px;
}
.hero-copy h1 { margin: 0; }
.hero-lede {
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.6;
  color: var(--ink-near);
  margin: 0;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* horizontal capability row with slash separators */
.capabilities {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--ink-near);
  margin: 0;
  padding: 14px 0;
  border-block: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  line-height: 1.6;
}
.capabilities > span:not(.cap-sep) { white-space: nowrap; }
.cap-sep { color: var(--rust); opacity: 0.7; user-select: none; }

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

.hero-claim {
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 36px);
  line-height: 1.3;
  color: var(--ink-near);
  margin: 0;
  padding-top: 8px;
}
.hero-claim em { font-style: italic; color: var(--rust); }


/* -------- HERO SHOT (the product screenshot) ----------------------------- */

.hero-shot {
  margin: 0;
  animation: hero-fade-in 800ms 150ms var(--ease) both;
}
.shot-frame {
  position: relative;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(168, 240, 200, 0.10),
    0 30px 80px -40px rgba(0, 0, 0, 0.65),
    0 10px 22px -10px rgba(0, 0, 0, 0.45);
}
.shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.shot-tag {
  position: absolute;
  top: -10px;
  left: 20px;
  z-index: 3;
  padding: 1px 10px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--rust);
  border: 1px solid var(--line-strong);
}
.shot-cap {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 4px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.shot-cap em { font-style: italic; color: var(--ink); }
.cap-tag {
  color: var(--rust);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}


/* -------- FOOTER --------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-strong);
  padding: 40px var(--gutter);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  background: var(--bg-warm);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.footer-brand > span:first-child + span {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.footer-mark { color: var(--rust); }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
}
.footer-col a { color: var(--ink-near); }
.footer-col a:hover { color: var(--rust); }
.footer-meta { text-align: right; }
.footer-meta > span:last-child {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-near);
  letter-spacing: 0;
  text-transform: none;
}


/* -------- responsive ----------------------------------------------------- */

/* wide screens (1600px+): use the space — bigger type, more breathing room */
@media (min-width: 1600px) {
  :root { --max: 1480px; }
  .hero { gap: 96px; padding-top: 80px; padding-bottom: 128px; }
  .hero-copy { gap: 36px; max-width: 760px; }
  .capabilities { font-size: 12.5px; padding: 18px 0; }
  .hero-actions { gap: 16px; }
  .button { padding: 16px 26px; font-size: 13px; }
}

/* ultra-wide (≥1900px): bigger headline, image gets more space */
@media (min-width: 1900px) {
  :root { --max: 1640px; }
  .hero { padding-top: 96px; padding-bottom: 144px; }
  .hero-copy { max-width: 820px; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 64px;
  }
  .hero-copy { max-width: 720px; margin: 0 auto; }
  .hero-shot { max-width: 920px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
  .site-header { padding: 12px 20px; }
  .nav { gap: 12px; }
  .brand-tag { display: none; }
  .hero { padding: 28px 20px 56px; gap: 36px; }
  .hero-copy { gap: 22px; }
  .capabilities { font-size: 10.5px; gap: 6px 8px; padding: 12px 0; }
  .hero-actions .button { padding: 12px 18px; font-size: 11px; }
  .site-footer { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .footer-meta { text-align: left; }
}

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