:root {
  color-scheme: light;
  /* Brand tokens are sourced from ../../DESIGN.md. */
  --primary: #10a0a0;
  --aware-ai-black: #000000;
  --ink: #103070;
  --deep-green: #003c33;
  --dark-navy: #071829;
  --muted: #93939f;
  --body-muted: #616161;
  --line: #d9d9dd;
  --border-light: #e5e7eb;
  --paper: #ffffff;
  --card: #ffffff;
  --soft-stone: #eeece7;
  --pale-green: #edfce9;
  --pale-blue: #f1f5ff;
  --navy: var(--dark-navy);
  --blue: var(--primary);
  --coral: #ff7759;
  --green: var(--pale-green);
  --shadow: none;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Unica77 AWARE-AI Web", Inter, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.announcement-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  min-height: 36px;
  padding: 0.55rem 1rem;
  color: #ffffff;
  background: var(--aware-ai-black);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.announcement-bar a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.85rem clamp(1rem, 3.6vw, 3.6rem);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-text {
  width: min(220px, 42vw);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.site-nav a[aria-current="page"] {
  text-underline-offset: 6px;
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 0.7rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  min-height: calc(100vh - 112px);
}

.page-view {
  min-height: calc(100vh - 112px);
}

.page-view[hidden] {
  display: none;
}

.home-view {
  grid-template-columns: minmax(0, 1fr);
}

.home-copy {
  max-width: 900px;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-family: AWARE-AIMono, Arial, ui-sans-serif, system-ui;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow {
  font-size: 1.03rem;
  letter-spacing: 0.14em;
}

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

h1,
h2,
h3,
p,
li,
.button,
.reuse-flow div,
.status-list div,
.workflow-card li {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 740px;
  font-family: AWARE-AIText, "Space Grotesk", Inter, ui-sans-serif, system-ui;
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

h2 {
  max-width: 880px;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

h3 {
  font-size: 1.25rem;
  font-weight: 400;
}

code {
  padding: 0.12rem 0.35rem;
  border-radius: 0.45rem;
  color: var(--navy);
  background: var(--pale-blue);
  font-family: AWARE-AIMono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.hero-lede {
  max-width: 720px;
  color: var(--body-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.english-tagline {
  color: var(--navy);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 32px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.button.primary {
  color: white;
  background: var(--blue);
  box-shadow: none;
}

.button.secondary {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--soft-stone);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.panel-logo {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 1.5rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.agent-console-card {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 1.35rem;
  color: #ffffff;
  background: var(--dark-navy);
  border-radius: 8px;
}

.console-topline,
.console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.console-topline span,
.console-row span {
  color: rgba(255, 255, 255, 0.68);
  font-family: AWARE-AIMono, Arial, ui-sans-serif, system-ui;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-topline strong,
.console-row b {
  font-weight: 500;
}

.console-row b {
  padding: 0.2rem 0.55rem;
  color: var(--dark-navy);
  background: var(--pale-green);
  border-radius: 999px;
  font-size: 0.78rem;
}

.panel-logo img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.workflow-card {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  line-height: 1.35;
  min-width: 0;
}

.workflow-card span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 0.8rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.text-stack p,
.band-note,
.governance-copy p,
.contact-section p,
.content-panel p {
  color: var(--body-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-heading {
  max-width: 860px;
}

.panel-lede {
  color: var(--body-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.interactive-section {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0;
}

.tab-button {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  cursor: pointer;
}

.tab-button[aria-selected="true"] {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.content-panels {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--soft-stone);
  overflow: hidden;
}

.content-panel {
  min-height: 420px;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 62%, var(--pale-blue) 100%);
}

.content-panel[hidden] {
  display: none;
}

.content-panel h3,
.content-panel h4 {
  margin-top: 0;
}

.content-panel h3 {
  max-width: 860px;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.16;
}

.view-panel {
  width: 100%;
  min-width: 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 64%, var(--pale-blue) 100%);
}

.view-panel > :last-child {
  margin-bottom: 0;
}

.view-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.view-steps article {
  min-height: 260px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.view-steps span,
.view-steps strong {
  display: block;
}

.view-steps span {
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: AWARE-AIMono, Arial, ui-sans-serif, system-ui;
  letter-spacing: 0.12em;
}

.view-steps strong {
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: 1.1rem;
}

.view-steps p {
  color: var(--body-muted);
  line-height: 1.7;
}

.panel-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.25rem;
  color: var(--body-muted);
  line-height: 1.7;
}

.callout-list {
  align-self: stretch;
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.compact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.compact-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-grid div {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.compact-grid strong,
.compact-grid span {
  display: block;
}

.compact-grid strong {
  margin-bottom: 0.45rem;
}

.compact-grid span {
  color: var(--body-muted);
  line-height: 1.65;
}

.compact-visual {
  max-width: 760px;
}

.card-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.value-card,
.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: none;
}

.info-card p,
.value-card li {
  color: var(--body-muted);
  line-height: 1.7;
}

.model-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.model-copy p {
  color: var(--body-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.model-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.model-points article {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.model-points strong,
.model-points span {
  display: block;
}

.model-points strong {
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.model-points span {
  color: var(--body-muted);
  line-height: 1.6;
}

.model-visual {
  margin: 0;
  min-width: 0;
}

.model-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.model-visual figcaption {
  margin-top: 0.85rem;
  color: var(--body-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dark-band {
  width: min(1180px, calc(100% - 2rem));
  padding: clamp(3rem, 7vw, 5.5rem);
  border-radius: 22px;
  color: white;
  background: var(--deep-green);
  box-shadow: var(--shadow);
}

.dark-band .eyebrow,
.dark-band .band-note {
  color: var(--pale-green);
}

.dark-band h2 {
  color: white;
}

.reuse-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.reuse-flow div {
  min-height: 92px;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reuse-flow span {
  width: 36px;
  height: 2px;
  background: var(--coral);
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.lifecycle-grid article {
  min-height: 140px;
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--soft-stone);
  border: 1px solid var(--line);
}

.lifecycle-grid strong,
.lifecycle-grid span {
  display: block;
}

.lifecycle-grid strong {
  margin-bottom: 0.75rem;
}

.lifecycle-grid span,
.caution-note {
  color: var(--body-muted);
  line-height: 1.6;
}

.caution-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.value-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.value-card li + li {
  margin-top: 0.75rem;
}

.studio-demo {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f9fb;
  overflow: hidden;
}

.studio-window-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--dark-navy);
  color: #ffffff;
  font-size: 0.86rem;
}

.studio-window-bar span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: var(--primary);
}

.studio-window-bar span:nth-child(2) {
  background: var(--coral);
}

.studio-window-bar span:nth-child(3) {
  background: #f6c85f;
}

.studio-window-bar strong {
  margin-left: 0.4rem;
  font-weight: 500;
}

.studio-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.studio-pane {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.studio-pane-label {
  margin-bottom: 0.9rem;
  color: var(--blue);
  font-family: AWARE-AIMono, Arial, ui-sans-serif, system-ui;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-field {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--pale-blue);
}

.studio-field + .studio-field {
  margin-top: 0.65rem;
}

.studio-field span {
  color: var(--body-muted);
  font-size: 0.78rem;
}

.studio-field strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.studio-note {
  margin-top: 0.9rem;
  color: var(--body-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.skill-pane h3 {
  margin-bottom: 0.9rem;
}

.skill-pane details {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: #ffffff;
}

.skill-pane details + details {
  margin-top: 0.65rem;
}

.skill-pane summary {
  cursor: default;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  font-weight: 600;
}

.skill-pane details p {
  margin: 0;
  padding: 0 0.85rem 0.85rem;
  color: var(--body-muted);
  line-height: 1.6;
}

.preview-pane pre {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  background: #071829;
  color: #dff7f4;
  overflow-x: auto;
  white-space: pre-wrap;
}

.preview-pane code {
  font-family: AWARE-AIMono, "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
}

.studio-disabled-action {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--muted);
  border-radius: 999px;
  color: var(--body-muted);
  text-align: center;
  font-size: 0.88rem;
}

.governance-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.status-list {
  display: grid;
  gap: 1rem;
}

.status-list div {
  padding: 1.15rem;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--body-muted);
  box-shadow: none;
}

.status-list span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--blue);
  font-weight: 500;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 0.85rem;
}

.contact-card span {
  color: var(--blue);
  font-family: AWARE-AIMono, Arial, ui-sans-serif, system-ui;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--ink);
  font-size: clamp(1.45rem, 4vw, 2.4rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0.75rem 0 0;
  color: var(--body-muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: rgba(255, 255, 255, 0.78);
  background: var(--aware-ai-black);
}

.site-footer img {
  width: min(220px, 52vw);
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem;
    border-radius: 14px;
    background: var(--soft-stone);
  }

  .hero,
  .split-section,
  .model-section,
  .governance-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .card-grid.two,
  .compact-grid.three,
  .studio-demo-grid,
  .view-steps,
  .lifecycle-grid {
    grid-template-columns: 1fr;
  }

  .reuse-flow {
    grid-template-columns: 1fr;
  }

  .reuse-flow span {
    width: 2px;
    height: 24px;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    width: 150px;
  }

  .section-shell {
    width: min(100% - 1rem, 1180px);
    padding: 3.2rem 0;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 2.1rem);
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .model-visual img {
    border-radius: 22px;
  }

  .dark-band {
    padding: 2rem;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .announcement-bar {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 0.75rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    width: 118px;
  }

  h1 {
    font-size: clamp(1.8rem, 9vw, 2.25rem);
  }

  h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.8rem);
  }
}
