/* ==========================================================================
   Naro Official Website — Native Naro App Theme
   Aligned directly with Naro desktop & web palette:
   Slate Canvas (#F3F6FB / #141820), Accent Blue (#3570B5 / #82B7F5),
   Surface Paper (#FFFFFF / #171B22), and Live Online Teal (#3A8F7A / #7BD8BD).
   ========================================================================== */

:root {
  color-scheme: light;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "PingFang SC", "Hiragino Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Naro App Light Palette */
  --bg: #f3f6fb;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --surface-softer: #e4ecf6;
  --surface-tint: #e6f0fb;
  --surface-code: #141820;
  --surface-code-bar: #171b22;

  --ink: #11161d;
  --ink-strong: #11161d;
  --muted: #4a5565;
  --muted-soft: #66758a;

  --line: #dce5f0;
  --line-strong: #c5d5e6;

  /* Naro App Primary Accent */
  --brand: #3570b5;
  --brand-deep: #295ea0;
  --brand-hover: #295ea0;
  --on-brand: #ffffff;
  --brand-line: #bdd6f0;
  --brand-soft: rgba(53, 112, 181, 0.12);
  --brand-glow: rgba(53, 112, 181, 0.24);

  /* Functional Telemetry Colors from Naro App */
  --blue: #3570b5;
  --blue-soft: #e6f0fb;
  --blue-line: #bdd6f0;
  --green: #26755c;
  --green-soft: #ebf7f4;
  --green-pulse: rgba(58, 143, 122, 0.28);
  --red: #ba3e4c;
  --red-soft: #fbeff1;
  --amber: #3c6694;
  --amber-soft: #f2f7fd;

  /* Mockup App Surface (mirrors real Naro Light UI) */
  --app-canvas: #f3f6fb;
  --app-paper: #ffffff;
  --app-soft: #eef3f9;
  --app-line: #dce5f0;
  --app-ink: #11161d;
  --app-muted: #4a5565;

  --nav-bg: rgba(243, 246, 251, 0.84);
  --shadow-xs: 0 1px 2px rgba(51, 65, 85, 0.05);
  --shadow-sm: 0 4px 16px rgba(51, 65, 85, 0.07), 0 1px 2px rgba(51, 65, 85, 0.05);
  --shadow-md: 0 14px 40px rgba(51, 65, 85, 0.1), 0 2px 6px rgba(51, 65, 85, 0.05);
  --shadow-lg: 0 28px 72px rgba(51, 65, 85, 0.14), 0 6px 18px rgba(51, 65, 85, 0.07);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --max-width: 1160px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  /* Naro App Dark Palette */
  --bg: #141820;
  --bg-elevated: #1b212c;
  --surface: #171b22;
  --surface-soft: #222a35;
  --surface-softer: #2a3442;
  --surface-tint: #223752;
  --surface-code: #11151b;
  --surface-code-bar: #171b22;

  --ink: #e6edf5;
  --ink-strong: #e6edf5;
  --muted: #a6b3c5;
  --muted-soft: #7d8ea3;

  --line: #333f50;
  --line-strong: #45658a;

  --brand: #82b7f5;
  --brand-deep: #82b7f5;
  --brand-hover: #a3cbfa;
  --on-brand: #111820;
  --brand-line: #45658a;
  --brand-soft: rgba(130, 183, 245, 0.14);
  --brand-glow: rgba(130, 183, 245, 0.26);

  --blue: #82b7f5;
  --blue-soft: #223752;
  --blue-line: #45658a;
  --green: #7bd8bd;
  --green-soft: #1c3432;
  --green-pulse: rgba(123, 216, 189, 0.3);
  --red: #ff94a1;
  --red-soft: #3b242d;
  --amber: #a4c9f0;
  --amber-soft: #1e2e41;

  /* Mockup App Surface (mirrors real Naro Dark UI) */
  --app-canvas: #141820;
  --app-paper: #171b22;
  --app-soft: #222a35;
  --app-line: #333f50;
  --app-ink: #e6edf5;
  --app-muted: #a6b3c5;

  --nav-bg: rgba(20, 24, 32, 0.84);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 16px 46px rgba(0, 0, 0, 0.44);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.58);
}

:root:lang(ja) {
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}

/* Subtle studio dot-grid background texture at top */
.studio-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(620px 420px at 14% -4%, var(--brand-soft), transparent 72%),
    radial-gradient(560px 380px at 88% 8%, rgba(58, 143, 122, 0.08), transparent 72%),
    radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}

code,
pre,
.mono {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  flex: none;
}

.brand-mark img {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 5px;
}

.version-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.nav-links a:hover {
  color: var(--ink-strong);
  background: var(--surface-soft);
}

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

.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-btn {
  padding: 0.26rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.lang-btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink-strong);
  box-shadow: var(--shadow-xs);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 140ms var(--ease-out);
}

.icon-btn:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.icon-btn:active {
  transform: scale(0.95);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--brand);
  color: var(--on-brand);
  transition: background-color 160ms var(--ease-out), transform 140ms var(--ease-out);
}

.nav-cta:hover {
  background: var(--brand-hover);
}

.nav-cta:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.72rem 1.35rem;
  border-radius: 13px;
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  transition:
    transform 160ms var(--ease-out),
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 8px 24px var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px var(--brand-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-pulse);
  animation: naro-pulse 2.2s infinite;
  flex: none;
}

@keyframes naro-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--green-pulse);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(44, 134, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(44, 134, 106, 0);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 4.2rem 0 3.2rem;
}

.hero-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.8rem;
}

.hero-title {
  margin: 1.25rem 0 1.15rem;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
}

.hero-title .accent-word {
  position: relative;
  display: inline-block;
  color: var(--brand-deep);
}

.hero-title .accent-word::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.04em;
  height: 0.22em;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.34;
  z-index: -1;
}

.hero-subtitle {
  margin: 0 auto 1.9rem;
  max-width: 630px;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.68;
  color: var(--muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.hero-meta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  font-size: 0.83rem;
  color: var(--muted-soft);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* ==========================================================================
   Hero Interactive "Live Handoff Studio" Showcase
   ========================================================================== */
.handoff-stage {
  position: relative;
  margin-top: 2.6rem;
}

.stage-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.engine-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.engine-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.engine-pill:hover {
  background: var(--surface-soft);
  color: var(--ink-strong);
}

.engine-pill[aria-pressed="true"] {
  background: var(--surface-tint);
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.engine-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.engine-dot.codex { background: #3570b5; }
.engine-dot.claude { background: #d97757; }
.engine-dot.antigravity { background: #2c866a; }

.stage-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.wss-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}

/* Desktop + Wire + Phone Grid */
.handoff-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) 88px minmax(275px, 0.62fr);
  align-items: stretch;
  gap: 0;
}

.handoff-grid > * {
  min-width: 0;
}

/* Desktop Window Mockup */
.desktop-frame {
  background: var(--app-paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  min-width: 0;
}

.window-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 1rem;
  background: var(--app-canvas);
  border-bottom: 1px solid var(--app-line);
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
}

.traffic-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.traffic-lights span:nth-child(1) { background: #f26c62; }
.traffic-lights span:nth-child(2) { background: #f5bd4f; }
.traffic-lights span:nth-child(3) { background: #62c554; }

.window-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--app-soft);
  padding: 3px;
  border-radius: 9px;
}

.window-tab {
  padding: 0.24rem 0.68rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--app-muted);
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.window-tab[aria-selected="true"] {
  background: var(--app-paper);
  color: var(--app-ink);
  box-shadow: var(--shadow-xs);
}

.host-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--app-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.desktop-body {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  flex: 1;
  min-height: 416px;
}

.mock-sidebar {
  background: var(--app-canvas);
  border-right: 1px solid var(--app-line);
  padding: 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--app-muted);
  padding: 0 0.45rem;
}

.session-item {
  text-align: left;
  padding: 0.5rem 0.58rem;
  border-radius: 9px;
  display: grid;
  gap: 0.14rem;
  color: var(--app-ink);
  font-size: 0.79rem;
  background: transparent;
  transition: background-color 140ms var(--ease-out);
}

.session-item.is-active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 620;
}

.session-item small {
  font-size: 0.69rem;
  color: var(--app-muted);
  font-family: var(--font-mono);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid var(--app-line);
  display: grid;
  gap: 0.35rem;
}

.mini-meter {
  background: var(--app-paper);
  border: 1px solid var(--app-line);
  border-radius: 9px;
  padding: 0.48rem 0.58rem;
  font-size: 0.72rem;
  color: var(--app-muted);
}

.mini-meter strong {
  display: block;
  color: var(--app-ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  margin-top: 2px;
}

/* Desktop Main Workspace Area */
.mock-main {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem;
  color: var(--app-ink);
  background: var(--app-paper);
  min-width: 0;
}

.mock-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.6rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid var(--app-line);
  margin-bottom: 0.85rem;
}

.mock-title-wrap {
  min-width: 0;
}

.mock-session-title {
  font-size: 0.9rem;
  font-weight: 680;
  color: var(--app-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-cwd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--app-muted);
}

.mock-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: var(--app-soft);
  color: var(--app-ink);
  border: 1px solid var(--app-line);
}

.chip.bolt {
  background: var(--surface-tint);
  color: var(--brand-deep);
  border-color: var(--brand-line);
}

.mock-view {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  flex: 1;
}

.mock-view[hidden] {
  display: none !important;
}

.msg-bubble {
  padding: 0.68rem 0.85rem;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.55;
}

.msg-user {
  align-self: flex-end;
  max-width: 86%;
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  color: var(--app-ink);
}

.msg-assistant {
  background: var(--app-canvas);
  border: 1px solid var(--app-line);
  color: var(--app-ink);
}

.msg-assistant .file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.08rem 0.42rem;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.msg-steer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.48rem 0.72rem;
  border-radius: 10px;
  background: var(--surface-tint);
  border: 1px dashed var(--brand);
  font-size: 0.77rem;
  color: var(--brand-deep);
  animation: fade-slide-in 260ms var(--ease-spring);
}

.mock-composer {
  margin-top: auto;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: var(--app-canvas);
  border: 1px solid var(--app-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--app-muted);
}

.composer-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* Mock Git Diff View */
.diff-box {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.62;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  overflow: hidden;
}

.diff-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.72rem;
  background: var(--app-canvas);
  border-bottom: 1px solid var(--app-line);
  color: var(--app-muted);
}

.diff-line {
  padding: 0.14rem 0.72rem;
  white-space: pre;
  overflow-x: auto;
}

.diff-line.add {
  background: var(--green-soft);
  color: var(--green);
}

.diff-line.del {
  background: var(--red-soft);
  color: var(--red);
}

.git-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.git-pill {
  padding: 0.3rem 0.62rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--app-soft);
  border: 1px solid var(--app-line);
  color: var(--app-ink);
}

.git-pill.primary-git {
  background: var(--brand);
  color: var(--on-brand);
  border-color: transparent;
}

/* Mock Usage View */
.usage-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.usage-card {
  padding: 0.65rem 0.75rem;
  border-radius: 11px;
  background: var(--app-canvas);
  border: 1px solid var(--app-line);
}

.usage-card span {
  font-size: 0.71rem;
  color: var(--app-muted);
}

.usage-card strong {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--app-ink);
}

.usage-bars {
  display: grid;
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: 11px;
  background: var(--app-canvas);
  border: 1px solid var(--app-line);
}

.bar-row {
  display: grid;
  gap: 0.25rem;
  font-size: 0.76rem;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
}

.bar-track {
  height: 7px;
  border-radius: 999px;
  background: var(--app-soft);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
}

/* Signal Wire Bridge between Desktop & Phone */
.wire-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wire-svg {
  width: 88px;
  height: 180px;
  overflow: visible;
}

.wire-path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.wire-pulse {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 24 200;
  animation: wire-flow 2.4s linear infinite;
}

.wire-bridge.is-burst .wire-pulse {
  stroke: var(--green);
  animation-duration: 0.7s;
}

@keyframes wire-flow {
  from { stroke-dashoffset: 224; }
  to { stroke-dashoffset: 0; }
}

.wire-node-badge {
  position: absolute;
  padding: 0.22rem 0.42rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* Phone Handoff Mockup */
.phone-frame {
  background: var(--ink-strong);
  padding: 9px;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

:root[data-theme="dark"] .phone-frame {
  background: #1e2530;
  border: 1px solid #333f50;
}

.phone-screen {
  background: var(--app-paper);
  border-radius: 26px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: var(--app-ink);
}

.phone-notch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62rem 0.95rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--app-muted);
  background: var(--app-canvas);
}

.phone-pill-island {
  width: 58px;
  height: 15px;
  border-radius: 999px;
  background: #11161d;
}

.phone-header {
  padding: 0.55rem 0.85rem;
  background: var(--app-canvas);
  border-bottom: 1px solid var(--app-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.phone-device-name {
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.phone-content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  flex: 1;
}

.phone-card {
  padding: 0.65rem 0.72rem;
  border-radius: 12px;
  background: var(--app-canvas);
  border: 1px solid var(--app-line);
  font-size: 0.76rem;
  line-height: 1.5;
}

.phone-approval {
  padding: 0.7rem;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid var(--brand-line);
  display: grid;
  gap: 0.5rem;
}

.phone-approval-title {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-cmd {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  padding: 0.4rem 0.52rem;
  border-radius: 8px;
  background: var(--app-paper);
  border: 1px solid var(--app-line);
  color: var(--app-ink);
  word-break: break-all;
}

.phone-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
}

.phone-action-btn {
  padding: 0.44rem 0.5rem;
  border-radius: 9px;
  font-size: 0.74rem;
  font-weight: 650;
  transition: transform 140ms var(--ease-out), background-color 140ms var(--ease-out);
}

.phone-action-btn.approve {
  background: var(--green);
  color: var(--on-brand);
}

.phone-action-btn.steer {
  background: var(--brand);
  color: var(--on-brand);
}

.phone-action-btn:hover {
  filter: brightness(1.05);
}

.phone-action-btn:active {
  transform: scale(0.96);
}

.phone-toast {
  margin-top: auto;
  padding: 0.48rem 0.65rem;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */
.section {
  padding: 5.2rem 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2.6rem;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 0.7rem;
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.18;
  font-weight: 780;
  letter-spacing: -0.035em;
  color: var(--ink-strong);
}

.section-desc {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.68;
  color: var(--muted);
}

/* ==========================================================================
   Three Engines Section
   ========================================================================== */
.engines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.engine-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.55rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.engine-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.engine-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.engine-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 740;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.cli-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.22rem 0.58rem;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

.engine-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.62;
}

.engine-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.engine-tag {
  font-size: 0.75rem;
  font-weight: 550;
  padding: 0.22rem 0.55rem;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted);
}

/* ==========================================================================
   Relay Interactive Architecture Section
   ========================================================================== */
.relay-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.relay-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr) 88px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 1.4rem 0 1.8rem;
}

.relay-node {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.15rem;
  display: grid;
  gap: 0.45rem;
  position: relative;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.relay-node.is-highlight {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.relay-node.center-node {
  background: var(--surface-tint);
  border-color: var(--brand-line);
}

.node-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-deep);
}

.relay-node h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 720;
  color: var(--ink-strong);
}

.relay-node p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.relay-pipe {
  position: relative;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pipe-line {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0 6px,
    transparent 6px 11px
  );
  position: relative;
}

.pipe-label {
  position: absolute;
  top: -12px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.pipe-sub {
  position: absolute;
  bottom: -10px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--muted-soft);
  white-space: nowrap;
}

.packet-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.packet-dot.fwd {
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.packet-dot.wss {
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}

.packet-dot.back {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.packet-dot.animate-right {
  animation: move-right 750ms var(--ease-out) forwards;
}

.packet-dot.animate-left {
  animation: move-left 750ms var(--ease-out) forwards;
}

@keyframes move-right {
  0% { left: 4%; opacity: 0; }
  18% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 90%; opacity: 0; }
}

@keyframes move-left {
  0% { left: 90%; opacity: 0; }
  18% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 4%; opacity: 0; }
}

.relay-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.sim-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sim-btn {
  padding: 0.48rem 0.9rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.sim-btn:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.sim-btn.is-active {
  background: var(--surface-tint);
  border-color: var(--brand);
  color: var(--brand-deep);
}

.telemetry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.telemetry-item strong {
  color: var(--ink-strong);
}

.telemetry-item.safe strong {
  color: var(--green);
}

.relay-log {
  margin-top: 1.15rem;
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.honest-note {
  margin-top: 1.15rem;
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  font-size: 0.86rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.honest-note strong {
  color: var(--blue);
}

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem;
}

.bento-card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.55rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-6 { grid-column: span 6; }

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--surface-tint);
  color: var(--brand-deep);
  border: 1px solid var(--brand-line);
}

.bento-card h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 730;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.bento-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.62;
}

.bento-visual {
  margin-top: auto;
  padding: 0.9rem;
  border-radius: 13px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.queue-stack {
  display: grid;
  gap: 0.45rem;
}

.queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.68rem;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.queue-row small {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  padding: 0.14rem 0.48rem;
  border-radius: 6px;
  background: var(--surface-tint);
  color: var(--brand-deep);
  font-weight: 600;
}

.mini-diff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.34rem 0;
  border-bottom: 1px solid var(--line);
}

.mini-diff-row:last-child {
  border-bottom: 0;
}

.stat-pos { color: var(--green); font-weight: 600; }
.stat-neg { color: var(--red); font-weight: 600; }

.qr-preview {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.qr-box {
  width: 66px;
  height: 66px;
  flex: none;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.pair-code {
  font-family: var(--font-mono);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-strong);
}

.spec-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.spec-pill {
  padding: 0.32rem 0.65rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 560;
  color: var(--ink);
}

/* ==========================================================================
   3-Step Workflow Strip
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.55rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--surface-tint);
  width: fit-content;
  padding: 0.2rem 0.58rem;
  border-radius: 8px;
  border: 1px solid var(--brand-line);
}

.step-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 720;
  color: var(--ink-strong);
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.62;
}

/* ==========================================================================
   Self-Host & Deploy Code Studio
   ========================================================================== */
.deploy-studio {
  background: var(--surface-code);
  color: #e6edf5;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(130, 183, 245, 0.14);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.deploy-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem;
  background: var(--surface-code-bar);
  border-bottom: 1px solid rgba(130, 183, 245, 0.12);
}

.code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.code-tab {
  padding: 0.4rem 0.82rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #a6b3c5;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.code-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.code-tab[aria-selected="true"] {
  background: rgba(130, 183, 245, 0.18);
  color: #82b7f5;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.4rem 0.8rem;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dce5f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 150ms var(--ease-out);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.code-body {
  padding: 1.45rem 1.5rem;
  margin: 0;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.72;
  color: #e6edf5;
}

.env-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.env-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.05rem;
}

.env-card code {
  display: block;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 0.35rem;
  word-break: break-word;
}

.env-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   Closing CTA & Footer
   ========================================================================== */
.closing-cta {
  background:
    radial-gradient(480px 260px at 90% 10%, var(--brand-soft), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 3.2rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.closing-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 1.2rem;
  display: block;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 5px;
}

.closing-cta h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}

.closing-cta p {
  margin: 0 auto 1.8rem;
  max-width: 520px;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

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

/* ==========================================================================
   Reveal & Animations
   ========================================================================== */
@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-spring);
}

.reveal.is-pending {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse-dot,
  .wire-pulse,
  .packet-dot {
    animation: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1020px) {
  .handoff-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .wire-bridge {
    height: 44px;
    flex-direction: row;
  }

  .wire-svg {
    width: 160px;
    height: 36px;
    transform: rotate(90deg);
  }

  .phone-frame {
    max-width: 360px;
    margin-inline: auto;
    width: 100%;
  }

  .relay-diagram {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .relay-pipe {
    height: 42px;
  }

  .pipe-line {
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(
      to bottom,
      var(--line-strong) 0 6px,
      transparent 6px 11px
    );
  }

  .pipe-label {
    top: 50%;
    left: calc(50% + 14px);
    transform: translateY(-50%);
  }

  .pipe-sub {
    display: none;
  }

  .engines-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-6 {
    grid-column: span 12;
  }

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

@media (max-width: 720px) {
  .container {
    width: calc(100% - 1.75rem);
  }

  .nav-links,
  .version-pill,
  .nav-cta-text,
  .host-tag,
  #mock-perm-chip {
    display: none;
  }

  .nav-cta {
    padding: 0.5rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .desktop-frame {
    min-height: 0;
  }

  .desktop-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-main {
    padding: 0.85rem;
  }

  .mock-composer {
    flex-wrap: wrap;
  }

  .usage-cards {
    grid-template-columns: 1fr;
  }

  .relay-panel {
    padding: 1.25rem;
  }

  .relay-log {
    flex-direction: column;
    align-items: flex-start;
  }

  .env-strip {
    grid-template-columns: 1fr;
  }
}
