.tip { position: relative; }
.tip .tip-tip {
  position: absolute;
  display: none;
}
.tip:hover .tip-tip { display: block; }
.fit { display: inline-block; }
.grid { display: grid; }
.flex { display: flex; }
.pool { display: grid; }
.insert { outline: 0; }
.dropdown {
  cursor: pointer;
  outline: 0;
}
.handle {
  cursor: pointer;
  outline: 0;
}
.full-height { height: 100%; }
.absolute { position: absolute; }
.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 11;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.modal-content {
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  height: 100%;
}
.grafou-gallery-footer {
  display: none;
}
#grafou-gallery {
  position: absolute;
}
.grafou-img-button {
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
}
.grafou-label-container {
  display: grid;
  grid-template-columns: auto min-content;
  width: calc(100% - 12px);
  margin: 0 0 0 5px;
}
.grafou-img-label {
  border: 0;
  text-align: center;
  display: block;
  padding: 4px 0;
}
.grafou-img-label:hover {
  background: #ffffff87;
}
.grafou-gallery-container {
  background: #00000045;
  border: 1px solid gray;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  display: grid;
  grid-template-rows: auto min-content;
  font-family: sans-serif;
}
.grafou-gallery-inner {
  max-height: 80svh;
  overflow: auto;
}
.grafou-gallery-images-api, .grafou-gallery-images-www {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px;
}
.grafou-img {
  max-width: 200px;
  padding: 5px;
  cursor: pointer;
  display: block;
}
.grafou-gallery-image-edit:hover, .grafou-gallery-container .selected-grafou-img {
  border: 1px solid red;
}
.grafou-gallery-header {
  position: sticky;
  top: 0;
  background: lightgray;
  box-shadow: -1px 0px 3px black;
  padding: 4px 0;
}
.grafou-gallery-footer {
  background: black;
  padding: 4px 0;
  border-top: 1px solid gray;
  text-align: end;
}
.select-grafou-images {
  font-size: 20px;
  margin-right: 20px;
  background: transparent;
  color: green;
  border: 0;
  padding: 0;
  padding-top: 3px;
}
.select-grafou-images:hover {
  color: #116611;
}
#alert {
  color: black;
  font-size: 16px;
  bottom: 20px;
  position: absolute;
  left: 20px;
  padding: 10px;
  z-index: 10001 !important;
  display: none;
  background: white;
  border: 1px solid gray;
  height: min-content !important;
}
#alert.alert-error {
  color: white;
  background: #b10c0c;
  border: 1px solid darkred;
}
#alert.alert-success {
  color: white;
  background: green;
  border: 1px solid darkgreen;
}
#alert.alert-active { display: block; }
.hide-handle .togglerarrow-icons { padding: 0; }
.preview-wrapper-handles {
  display: grid;
  grid-template-columns: min-content 1fr min-content;
  white-space: nowrap;
}
.selected-element-title {
  background: lightgray;
  display: flex;
  white-space: break-spaces;
  font-size: 10px;
  margin-right: 5px;
  height: 27px;
  overflow-y: auto;
  overflow-x: hidden;
}
.preview-selected-element {
  display: grid;
  grid-template-columns: 1fr min-content;
}
.grafou-redo-view .bi {
  transform: rotate(180deg);
  display: block;
}
.data-handle {
  display: none !important;
}
.full-width { width: 100% !important; }
.ai-handle button { color: orange; }
.dashboard-wrappers {
  height: 100%;
  display: grid;
  grid-template-rows: auto min-content min-content;
}
.dashboard-wrappers .dashboard-handle {
  background: transparent;
  color: white;
  border: 1px solid gray;
  margin: 0;
}
.dashboard-wrappers .dashboard-handle:hover,
.dashboard-wrappers .active-dashboard-handle { background: #5d5d5d; }
.dashboard-wrappers .dashboard-wrapper { width: 100%; }
.preview-frame {
  background: white;
  width: 100%;
  height: 100%;
  transform-origin: top left;
}
.dashboard-wrapper {
  display: grid;
  height: 100%;
}
.dashboard-container {
  overflow: auto;
}
.preview-container {
  max-width: 100vw;
  display: grid;
  grid-template-rows: 1fr min-content min-content;
}
.preview-container-inner {
  overflow: auto;
  padding: 15px 5px;
}
.preview-wrapper {
  margin: 0 auto;
  height: 100%;
  background: white;
  color: black;
  overflow: hidden;
}
.rules-grid-normal {
  grid-template-rows: 1fr !important;
}
.dashboard-container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.preview-wrapper-yr {
  display: grid;
  justify-content: center;
  padding: 20px;
}
.preview-handles-collapsed {
  padding: 0 !important;
  display: block;
  width: 100%;
}
.dashboard-handles-collapsed {
  padding: 0 !important;
  display: flex;
}
.rules-grid {
  height: 100%;
  display: grid;
}
.rules-overlay {
  position: fixed;
  width: 100vw;
  height: 100svh;
  z-index: 999999;
}
.rules-grid-item {
  border: 2px solid gray;
  cursor: row-resize;
  position: relative;
  z-index: 1;
  top: 0 !important;
  left: 0 !important;
}
.rules-grid-item:hover {
  border: 6px solid gray;
}
/* ===== BASE ===== */
.words-code-container {
  display: grid;
  grid-template-rows: 1fr min-content;
  height: 100%;
  overflow: hidden;
}
.words-code {
  display: grid;
  grid-template-columns: min-content auto;
  background-color: #1f1f1f;
  height: 100%;
}
.line-numbers {
  text-align: end;
  overflow: hidden;
  padding: 10px;
  padding-top: 0;
  color: #617668;
  user-select: none;
  height: 150%;
}
.line-numbers, .words-code-insert, .highlight {
  font-size: 12px;
  line-height: 1.4;
  font-family: monospace;
}
.words-code-insert {
  white-space: pre;
  resize: none;
  height: 100%;
  margin: 0;
  outline: 0;
  border: 0;
  width: 100%;
  background-color: inherit;
  color: transparent;
  caret-color: gray;
  padding: 10px 0 10px 2px;
  border-left: 1px solid #3e3e3e;
}
.highlight-container {
  position: relative;
  overflow: hidden;
}
.highlight {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  white-space: pre;
  padding-left: 2px;
  border-left: 1px solid #3e3e3e;
  color: #9CDCFE;
  background-image: linear-gradient(to right, transparent calc(79ch + 3px), #ffb10038 calc(79ch + 3px), #ffb10038 calc(80ch + 2px), transparent calc(80ch + 2px));
  min-width: 85ch;
}
/* yr tokens */
.yr-comment { color: gray !important; }
.yr-trigger, .yr-section, .yr-macro { color: #e90; }
.yr-html-selector { color: #569CD6; }
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  background: transparent !important;
}
.words-code-insert {
  overflow: auto; /* 🔥 ESSENCIAL */
}
.words-code {
  height: 100%;
  max-height: 100%;
  overflow: hidden; /* 🔥 impede crescer infinito */
}
.highlight-container {
  position: relative;
  overflow: hidden; /* ok manter */
}
.words-code-handles {
  display: flex;
  gap: 10px;
  padding: 6px 10px;
  font-size: 11px;
  background: #181818;
  color: #aaa;
  border-top: 1px solid #333;
  align-items: center;
  white-space: nowrap;
}
.words-code-info {
  display: flex;
  gap: 10px;
}
.words-code-search {
  margin-left: auto;
}
.search-words-code {
  background: #222;
  border: 1px solid #333;
  color: #ccc;
  padding: 2px 6px;
  width: 11ch;
  font-family: inherit;
}
.toggle-macros, .search-prev, .search-next, .search-clear {
  background: #222;
  border: 1px solid #333;
  color: #ccc;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 3px;
}
.toggle-macros {
  color: #aaa !important;
}
.toggle-macros.active {
  color: green !important;
}
.search-prev:disabled, .search-next:disabled, .search-clear:disabled {
  opacity: 0;
  cursor: default;
  display: none;
}
.search-count {
  font-size: 11px;
  color: #888;
  min-width: 50px;
  text-align: center;
}
.font-inc, .font-dec, .search-clear {
  background: #222;
  border: 1px solid #333;
  color: #ccc;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 3px;
}
.font-inc:hover, .font-dec:hover, .search-clear:hover {
  background: #2a2a2a;
}
/* cursor char highlight */
.cursor-char {
  background: #ffffff22;
  outline: 1px solid #ffffff33;
}
.highlight {
  /* existing styles... */
  overflow: scroll;        /* was: nothing / hidden */
  scrollbar-width: none;   /* hide the scrollbar */
}
.highlight::-webkit-scrollbar {
  display: none;
}
.iframe-console {
  font-family: monospace;
  font-size: 12px;
  background: #1e1e1e;
  color: #ddd;
  padding: 8px;
  overflow-y: auto;
}
.entry {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid gray;
}
.time { color: #777; }
.level-log { color: #ccc; }
.level-warn { color: #e5c07b; }
.string { color: #98c379; }
.number { color: #d19a66; }
.boolean { color: #56b6c2; }
.null, .undefined { color: #c678dd; }
.function {
  color: #61afef;
  cursor: pointer;
}
.dom-node { color: #e5c07b; }
.object-key { color: #abb2bf; }
.level-error, .level-error .object-key { color: #e06c75; }
.collapsible { cursor: pointer; }
.children { margin-left: 15px; }
.stack-line {
  font-family: monospace;
  padding-left: 1em;
  white-space: pre;
}
.stack-line.clickable {
  cursor: pointer;
  color: #4ea1ff;
  text-decoration: underline;
}
.stack-line.clickable:hover {
  color: #1e90ff;
}
.entry > span { margin-right: 7px; }
.entry > span:first-child { margin-right: 0; }
.code-snippet {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 0.5em;
  margin: 0.25em 0;
  border-radius: 4px;
  overflow-x: auto;
  text-decoration: none !important;
}
.elements-tab {
  font-family: monospace;
  font-size: 12px;
  white-space: pre;
  line-height: 1.6;
  background: #111;
  color: #eee;
  overflow: auto;
  height: 100%;
  padding: 10px 0;
}
.node {
  cursor: pointer;
}
.collapsed > .el-children {
  display: none;
}
.entry-label {
  color: #8cf;
}
.entry-label:hover {
  background: gray;
}
.highlight-locked {
  background: blue;
  color: gray;
}
.chat-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f0f4f8, #e1e9f0);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d1d1d1;
  transition: all 0.3s ease;
  color: black;
}
.input-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.button-container {
  display: flex;
  justify-content: space-between;
  padding: 5px 0 0;
}
.chat-history {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  height: 100%;
  transition: background-color 0.3s ease;
}
.chat-user, .chat-assistant {
  max-width: 75%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 24px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.chat-user {
  background-color: #d1e7dd;
  align-self: end;
}
.chat-assistant {
  background-color: #f8d7da;
  align-self: start;
}
.message-role {
  font-weight: bold;
  margin-bottom: 4px;
}
.copy-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6c757d;
}
.typing-indicator {
  font-style: italic;
  color: black;
  margin: 16px 24px;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    background-color: #cce5ff;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
.dots::after {
  content: '...';
  animation: blink 1.5s steps(3, end) infinite;
}
@keyframes blink {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}
.chat-form {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-top: 1px solid #e0e0e0;
  background-color: #ffffff;
}
.chat-user-input {
  flex: 1;
  height: 39px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 9px;
  border: none;
  outline: none;
  margin-bottom: 0;
  transition: border-color 0.3s;
}
.chat-user-input:focus {
  border-color: #007bff;
}
.chat-user-submit, .chat-audio-input, .chat-audio-stop {
  padding: 8px 10px;
  border: 1px solid #ced4da;
  border-radius: 12px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  flex: 0 0 auto;
}
.chat-user-submit:hover, .chat-audio-input:hover, .chat-audio-stop:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  transform: scale(1.05);
}
.chat-user-submit:focus, .chat-audio-input:focus, .chat-audio-stop:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}
#theme-toggle {
  position: absolute;
  top: 10px;
  right: 20px;
  padding: 6px 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  z-index: 99;
}
.chat-container pre, .chat-container code {
  background: #2d2d2d;
  color: #f8f8f2;
  font-family: 'Courier New', Courier, monospace;
  padding: 8px;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 22px;
}
.chat-disclaimer {
  font-size: 14px;
  color: #6c757d;
  margin: 6px 12px;
  padding: 4px;
  background-color: #f8f9fa;
  border-radius: 6px;
  text-align: center;
}
.chat-msg {
  display: flex;
  flex-direction: row;
  overflow: clip;
}
.chat-msg p {
  margin: 0;
}
.togglerarrow-icons { padding-right: 5px; }
.togglerexpand-icons { padding-right: 5px; }
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root {
  --bg: #070709;
  --ink: #f0ede8;
  --muted: #6b6860;
  --soft: #9e9b95;
  --surface: #0f0f12;
  --surface2: #161619;
  --border: rgba(240,237,232,0.08);
  --border2: rgba(240,237,232,0.16);
  --cyan: #00e5ff;
  --amber: #ffb800;
  --green: #00ff88;
  --purple: #a78bfa;
  --mono: 'Fragment Mono', monospace;
  --display: 'Bebas Neue', sans-serif;
  --body: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); }
/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 56px;
  border-bottom: 1px solid var(--border);
  background: rgba(7,7,9,0.92);
  backdrop-filter: blur(20px);
}
.logo {
  font-family: var(--display);
  font-size: 22px; letter-spacing: 3px;
  color: var(--ink); text-decoration: none;
}
.logo em { color: var(--cyan); font-style: normal; }
.nav-r { display: flex; align-items: center; gap: 28px; }
.nav-r a {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); text-decoration: none; letter-spacing: 0.1em;
  transition: color 0.15s; text-transform: uppercase;
}
.nav-r a:hover { color: var(--ink); }
.nav-cta {
  background: var(--cyan) !important; color: #000 !important;
  padding: 8px 18px; font-weight: 500 !important; font-size: 11px !important;
}
/* ── BTN ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.18s; white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: #000; border-color: var(--cyan); }
.btn-primary:hover { background: transparent; color: var(--cyan); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--ink); border-color: var(--border2); }
/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 40px 60px;
  max-width: 900px; margin: 0 auto;
  position: relative;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
h1 {
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.9; letter-spacing: 1px;
  margin-bottom: 32px;
}
h1 em { color: var(--cyan); font-style: normal; display: block; }
h1 .dim { color: var(--muted); display: block; }
.hero-desc {
  font-size: 16px; color: var(--soft);
  max-width: 520px; line-height: 1.8;
  margin-bottom: 16px;
}
.hero-desc strong { color: var(--ink); font-weight: 500; }
.hero-honest {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); max-width: 520px;
  line-height: 1.8; margin-bottom: 40px;
  padding: 14px 18px;
  border-left: 2px solid var(--border2);
}
.hero-honest strong { color: var(--soft); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* ── BG GRID ── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(240,237,232,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,237,232,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}
/* ── RULE ── */
.rule { border: none; border-top: 1px solid var(--border); max-width: 1200px; margin: 0 auto; }
/* ── SECTION ── */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 40px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px;
  color: var(--cyan); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-h {
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.95; letter-spacing: 1px;
  margin-bottom: 12px;
}
/* ── WHAT IS YR ── */
.what-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.what-cell {
  background: var(--bg); padding: 36px;
  transition: background 0.2s;
}
.what-cell:hover { background: var(--surface); }
.what-cell .glyph {
  font-family: var(--mono); font-size: 28px;
  color: var(--cyan); margin-bottom: 14px;
  display: block; line-height: 1;
}
.what-cell h3 {
  font-family: var(--display); font-size: 24px;
  letter-spacing: 0.5px; margin-bottom: 10px;
}
.what-cell p { font-size: 13px; color: var(--soft); line-height: 1.7; }
.what-cell code {
  font-family: var(--mono); font-size: 12px;
  color: var(--cyan); background: rgba(0,229,255,0.06);
  padding: 1px 6px;
  display: inline-block;
}
/* ── REPL / TRY ── */
.repl-wrap {
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  margin-top: 48px;
}
.repl-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface2);
  justify-content: space-between;
}
.repl-dots { display: flex; gap: 6px; }
.repl-dot { width: 10px; height: 10px; border-radius: 50%; }
.repl-title { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.repl-link {
  font-family: var(--mono); font-size: 10px;
  color: var(--cyan); text-decoration: none; letter-spacing: 0.06em;
}
.repl-link:hover { text-decoration: underline; }
.repl-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 320px;
}
.repl-code {
  padding: 24px; border-right: 1px solid var(--border);
  font-family: var(--mono); font-size: 13px; line-height: 2;
  overflow-x: auto;
}
.repl-preview {
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.repl-preview-label {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.preview-output {
  background: #fff; flex: 1; padding: 16px;
  font-family: sans-serif; font-size: 14px; color: #000;
  min-height: 200px;
}
/* code colors */
.s-sec { color: #a78bfa; }
.s-sel { color: var(--cyan); }
.s-str { color: var(--green); }
.s-prop { color: #fbbf24; }
.s-val { color: #fb923c; }
.s-cm { color: var(--muted); }
.s-tag { color: #f472b6; }
/* ── SYNTAX REFERENCE ── */
.syntax-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.syntax-cell {
  background: var(--bg); padding: 28px 24px;
  transition: background 0.2s;
}
.syntax-cell:hover { background: var(--surface); }
.syntax-trigger {
  font-family: var(--mono); font-size: 20px;
  color: var(--cyan); margin-bottom: 8px; display: block;
}
.syntax-name {
  font-family: var(--display); font-size: 18px;
  letter-spacing: 0.5px; margin-bottom: 6px;
}
.syntax-desc { font-size: 12px; color: var(--soft); line-height: 1.7; }
/* ── YRKIT BRIDGE ── */
.bridge-wrap {
  border: 1px solid rgba(0,229,255,0.2);
  background: rgba(0,229,255,0.03);
  padding: 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.bridge-wrap h2 {
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.95; letter-spacing: 1px;
  margin-bottom: 20px;
}
.bridge-wrap h2 span { color: var(--cyan); display: block; }
.bridge-wrap p { font-size: 14px; color: var(--soft); line-height: 1.8; margin-bottom: 28px; }
.bridge-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.bridge-features li {
  font-family: var(--mono); font-size: 12px; color: var(--soft);
  display: flex; gap: 10px; align-items: flex-start;
}
.bridge-features li .chk { color: var(--green); flex-shrink: 0; }
.bridge-right {
  border: 1px solid var(--border);
  background: var(--surface);
}
.bridge-right .bh {
  background: var(--surface2); border-bottom: 1px solid var(--border);
  padding: 8px 14px; display: flex; align-items: center; gap: 6px;
}
.bh-dot { width: 8px; height: 8px; border-radius: 50%; }
.bh-title { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-left: 4px; }
.bridge-right .bb { padding: 20px; font-family: var(--mono); font-size: 12px; line-height: 2; }
/* ── OPEN SOURCE ── */
.os-wrap {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px; margin-top: 48px;
}
.os-card {
  border: 1px solid var(--border);
  background: var(--surface); padding: 28px;
  transition: border-color 0.2s;
}
.os-card:hover { border-color: var(--border2); }
.os-card .os-icon {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 12px;
}
.os-card h3 {
  font-family: var(--display); font-size: 22px;
  letter-spacing: 0.5px; margin-bottom: 8px;
}
.os-card p { font-size: 13px; color: var(--soft); line-height: 1.7; margin-bottom: 20px; }
/* ── SUPPORT ── */
.support-wrap {
  text-align: center; padding: 80px 40px;
}
.support-wrap h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 1px; margin-bottom: 16px;
}
.support-wrap p { color: var(--soft); max-width: 440px; margin: 0 auto 36px; line-height: 1.8; }
.support-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 16px; }
/* ── FOOTER ── */
.footer-wrap {
  border-top: 1px solid var(--border);
  max-width: 1200px; margin: 0 auto;
  padding: 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--display); font-size: 22px; letter-spacing: 3px; color: var(--muted); text-decoration: none; }
.footer-logo em { color: var(--border2); font-style: normal; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-family: var(--mono); font-size: 11px; color: var(--muted); text-decoration: none; transition: color 0.15s; letter-spacing: 0.06em; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.preview-wrapper-handles {
  margin: 0 5px 7px 5px;
}
.preview-wrapper-handles button {
  background: transparent;
  color: transparent;
  padding: 5px;
  border: 0;
}
.grafou-download-view {
  color: white !important;
}
.preview-wrapper-handles .tip-tip {
  display: none !important;
}
.grafou-download-view:hover {
  color: gray !important;
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-r a:not(.nav-cta) { display: none; }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .what-grid { grid-template-columns: 1fr; }
  .repl-body { grid-template-columns: 1fr; }
  .repl-code { border-right: none; border-bottom: 1px solid var(--border); }
  .syntax-grid { grid-template-columns: 1fr 1fr; }
  .bridge-wrap { grid-template-columns: 1fr; padding: 40px 24px; }
  .os-wrap { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .syntax-grid { grid-template-columns: 1fr; }
  h1 { font-size: 64px; }
}
.hidden {
  display: none !important;
  /*position: absolute !important;
  z-index: -9999 !important;
  top: -20404px !important;
  opacity: 0 !important;*/
}
