/* TextToImg.org — Brutalist Minimal · Cyan + Black
   CSS naming convention: BEM .tti__block__element--modifier */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c: #00e5ff;       /* cyan accent */
  --c2: #00b8d4;
  --c3: #80deea;
  --bg: #000;
  --bg2: #0a0a0a;
  --bg3: #111;
  --bg4: #1a1a1a;
  --txt: #fff;
  --txt2: #aaa;
  --txt3: #555;
  --bdr: #222;
  --danger: #ff3b3b;
  --ok: #00e676;
  --r: 0px;           /* brutalist: sharp corners by default */
  --r2: 4px;
  --mono: 'Courier New', Courier, monospace;
  --sans: 'Arial', system-ui, sans-serif;
  --serif: 'Georgia', serif;
  --transition: 0.15s ease;
}

html { scroll-behavior: smooth; }

body.tti-body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--c); text-decoration: underline; transition: color var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Highlight ─────────────────────── */
.tti__highlight { color: var(--c); }
.tti__mono { font-family: var(--mono); }

/* ── Containers ─────────────────────── */
.tti__wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.tti__wrap--narrow { max-width: 740px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────── */
.tti__btn {
  display: inline-block; padding: 12px 28px; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; border: 2px solid var(--txt);
  background: transparent; color: var(--txt); text-decoration: none;
  transition: all var(--transition); cursor: pointer; font-family: inherit;
}
.tti__btn:hover { background: var(--txt); color: var(--bg); }
.tti__btn--primary { border-color: var(--c); color: var(--c); }
.tti__btn--primary:hover { background: var(--c); color: var(--bg); }
.tti__btn--fill { background: var(--c); color: var(--bg); border-color: var(--c); }
.tti__btn--fill:hover { background: #fff; border-color: #fff; color: var(--bg); }
.tti__btn--sm { padding: 8px 16px; font-size: 12px; }
.tti__btn--full { display: block; width: 100%; text-align: center; }
.tti__btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Header ──────────────────────────── */
.tti__header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg); border-bottom: 2px solid var(--bdr);
}
.tti__nav {
  display: flex; align-items: center; gap: 0;
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 60px;
}
.tti__logo {
  font-family: var(--mono); font-size: 16px; font-weight: 700;
  color: var(--txt); text-decoration: none; margin-right: auto;
  display: flex; align-items: center; gap: 8px;
}
.tti__logo-mark { color: var(--c); }
.tti__logo:hover { color: var(--c); text-decoration: none; }
.tti__nav-list { display: flex; list-style: none; border-left: 2px solid var(--bdr); }
.tti__nav-list li { border-right: 2px solid var(--bdr); }
.tti__nav-list a {
  display: block; padding: 0 20px; height: 60px; line-height: 60px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--txt2); text-decoration: none; transition: all var(--transition);
}
.tti__nav-list a:hover, .tti__nav-list a.active { color: var(--c); background: var(--bg2); }
.tti__nav-cta {
  margin-left: 16px; padding: 10px 20px; background: var(--c); color: var(--bg);
  font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em;
  border: 2px solid var(--c); text-decoration: none; transition: all var(--transition);
}
.tti__nav-cta:hover { background: #fff; border-color: #fff; color: var(--bg); }
.tti__nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; margin-left: auto; }

/* ── Page offset ─────────────────────── */
.tti__page { padding-top: 60px; }

/* ── Hero — brutalist full screen ────── */
.tti__hero {
  min-height: 90vh; display: flex; align-items: center;
  border-bottom: 2px solid var(--bdr); position: relative; overflow: hidden;
}
.tti__hero::after {
  content: 'T2I'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 280px; font-weight: 900; color: var(--c);
  opacity: 0.04; pointer-events: none; line-height: 1; user-select: none;
}
.tti__hero-inner { padding: 80px 0; position: relative; z-index: 1; }
.tti__hero-label {
  font-family: var(--mono); font-size: 12px; color: var(--c); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.tti__hero-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--c); }
.tti__hero h1 {
  font-family: var(--mono); font-size: clamp(48px, 8vw, 110px); font-weight: 900; line-height: 0.95;
  letter-spacing: -0.03em; color: var(--txt); margin-bottom: 32px;
}
.tti__hero h1 em { color: var(--c); font-style: normal; display: block; }
.tti__hero-sub {
  font-size: 18px; color: var(--txt2); max-width: 540px;
  margin-bottom: 40px; line-height: 1.6;
}
.tti__hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }

/* Inline prompt demo */
.tti__hero-demo {
  border: 2px solid var(--bdr); background: var(--bg2);
  display: flex; max-width: 640px;
}
.tti__hero-demo input {
  flex: 1; background: transparent; border: none; padding: 16px 20px;
  color: var(--txt); font-family: var(--mono); font-size: 14px; outline: none;
}
.tti__hero-demo input::placeholder { color: var(--txt3); }
.tti__hero-demo button {
  padding: 0 28px; background: var(--c); color: var(--bg); border: none;
  font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer; transition: background var(--transition);
}
.tti__hero-demo button:hover { background: #fff; }

/* Stats row */
.tti__hero-stats {
  display: flex; gap: 0; border-top: 2px solid var(--bdr); padding-top: 32px;
}
.tti__hero-stat {
  padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--bdr);
}
.tti__hero-stat:last-child { border-right: none; }
.tti__hero-stat-num { font-family: var(--mono); font-size: 28px; font-weight: 900; color: var(--c); }
.tti__hero-stat-lbl { font-size: 11px; color: var(--txt3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* ── How it works ────────────────────── */
.tti__section { padding: 80px 0; border-bottom: 2px solid var(--bdr); }
.tti__section-label {
  font-family: var(--mono); font-size: 11px; color: var(--c); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 12px;
}
.tti__section-title {
  font-family: var(--mono); font-size: clamp(28px, 4vw, 52px); font-weight: 900;
  color: var(--txt); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 48px;
}
.tti__steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.tti__step {
  padding: 36px; border-right: 2px solid var(--bdr);
}
.tti__step:last-child { border-right: none; }
.tti__step-num {
  font-family: var(--mono); font-size: 64px; font-weight: 900; color: var(--bg3);
  line-height: 1; margin-bottom: 20px;
}
.tti__step h3 { font-family: var(--mono); font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--c); text-transform: uppercase; letter-spacing: 0.04em; }
.tti__step p { font-size: 14px; color: var(--txt2); line-height: 1.65; }

/* ── Model selector cards ────────────── */
.tti__models { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--bdr); }
.tti__model-card {
  padding: 28px; border-right: 2px solid var(--bdr);
  transition: background var(--transition); position: relative;
}
.tti__model-card:last-child { border-right: none; }
.tti__model-card:hover { background: var(--bg2); }
.tti__model-tag {
  display: inline-block; font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 2px 8px; border: 1px solid var(--c); color: var(--c);
  margin-bottom: 12px; font-family: var(--mono);
}
.tti__model-card h3 { font-family: var(--mono); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.tti__model-card p { font-size: 13px; color: var(--txt2); line-height: 1.55; margin-bottom: 16px; }
.tti__model-link { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--c); }

/* ── Gallery grid ────────────────────── */
.tti__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.tti__gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.tti__gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; filter: grayscale(20%); }
.tti__gallery-item:hover img { transform: scale(1.05); filter: grayscale(0); }
.tti__gallery-cap {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  opacity: 0; transition: opacity 0.2s; font-size: 12px; color: #fff; font-family: var(--mono);
}
.tti__gallery-item:hover .tti__gallery-cap { opacity: 1; }

/* ── Benchmark table ─────────────────── */
.tti__bench { width: 100%; border-collapse: collapse; font-family: var(--mono); }
.tti__bench th { text-align: left; padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--txt3); border-bottom: 2px solid var(--bdr); }
.tti__bench td { padding: 14px 16px; font-size: 13px; border-bottom: 1px solid var(--bdr); }
.tti__bench tr:hover td { background: var(--bg2); }
.tti__bench .c--best { color: var(--c); font-weight: 700; }
.tti__bench .c--ok { color: var(--ok); }
.tti__bench .c--no { color: var(--txt3); }

/* ── Use case row ────────────────────── */
.tti__use-cases { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 2px solid var(--bdr); }
.tti__use-case {
  padding: 32px; border-right: 2px solid var(--bdr);
}
.tti__use-case:last-child { border-right: none; }
.tti__use-case-icon { font-size: 36px; margin-bottom: 14px; }
.tti__use-case h3 { font-family: var(--mono); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; color: var(--c); }
.tti__use-case p { font-size: 14px; color: var(--txt2); line-height: 1.6; }

/* ── FAQ ─────────────────────────────── */
.tti__faq-item { border-bottom: 2px solid var(--bdr); }
.tti__faq-q {
  width: 100%; background: none; border: none; display: flex; justify-content: space-between;
  align-items: center; padding: 20px 0; font-family: var(--mono); font-size: 15px;
  font-weight: 700; color: var(--txt); text-align: left; gap: 16px; cursor: pointer;
}
.tti__faq-q .arrow { font-size: 20px; color: var(--c); flex-shrink: 0; transition: transform 0.2s; }
.tti__faq-item.open .arrow { transform: rotate(45deg); }
.tti__faq-a { display: none; padding: 0 0 20px; font-size: 14px; color: var(--txt2); line-height: 1.7; }
.tti__faq-item.open .tti__faq-a { display: block; }

/* ── CTA strip ───────────────────────── */
.tti__cta-strip {
  background: var(--c); padding: 48px 0; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.tti__cta-strip h2 { font-family: var(--mono); font-size: clamp(22px,3vw,36px); font-weight: 900; color: var(--bg); }
.tti__cta-strip .tti__btn { border-color: var(--bg); color: var(--bg); }
.tti__cta-strip .tti__btn:hover { background: var(--bg); color: var(--c); }

/* ── Create page (generator) ─────────── */
.tti__create-page { padding: 80px 0 60px; min-height: 100vh; }
.tti__create-layout { display: grid; grid-template-columns: 340px 1fr; gap: 2px; border: 2px solid var(--bdr); }
.tti__create-panel { background: var(--bg2); padding: 28px; border-right: 2px solid var(--bdr); }
.tti__create-output { padding: 28px; background: var(--bg); }

.tti__create-page h1 {
  font-family: var(--mono); font-size: 32px; font-weight: 900; color: var(--txt);
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--bdr);
}

/* Form fields */
.tti__field { margin-bottom: 20px; }
.tti__lbl {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--c);
  margin-bottom: 8px;
}
.tti__textarea {
  width: 100%; background: var(--bg3); border: 2px solid var(--bdr); color: var(--txt);
  font-family: var(--mono); font-size: 13px; padding: 12px; resize: vertical;
  min-height: 100px; outline: none; transition: border-color var(--transition);
}
.tti__textarea:focus { border-color: var(--c); }
.tti__textarea::placeholder { color: var(--txt3); }
.tti__select {
  width: 100%; background: var(--bg3); border: 2px solid var(--bdr); color: var(--txt);
  font-family: var(--mono); font-size: 13px; padding: 10px 12px; outline: none; cursor: pointer;
  transition: border-color var(--transition);
}
.tti__select:focus { border-color: var(--c); }
option { background: var(--bg3); }
.tti__prompt-row { display: flex; gap: 8px; }
.tti__prompt-row .tti__textarea { flex: 1; }
.tti__enhance-btn {
  padding: 8px 12px; background: var(--bg3); border: 2px solid var(--bdr); color: var(--c);
  font-size: 14px; cursor: pointer; transition: all var(--transition); align-self: flex-start;
}
.tti__enhance-btn:hover { background: var(--c); color: var(--bg); border-color: var(--c); }

/* Usage bar */
.tti__usage { margin-bottom: 20px; padding: 12px; border: 1px solid var(--bdr); background: var(--bg3); }
.tti__usage-label { font-family: var(--mono); font-size: 11px; color: var(--txt3); margin-bottom: 8px; }
.tti__usage-track { background: var(--bdr); height: 4px; }
.tti__usage-fill { height: 4px; background: var(--c); transition: width 0.4s; }
.tti__usage-text { font-family: var(--mono); font-size: 11px; color: var(--c); margin-top: 6px; }

/* Output area */
.tti__output-canvas {
  background: var(--bg2); border: 2px solid var(--bdr);
  min-height: 500px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.tti__output-ph { text-align: center; font-family: var(--mono); color: var(--txt3); }
.tti__output-ph-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.3; }
.tti__output-ph p { font-size: 13px; letter-spacing: 0.04em; }
.tti__output-img { width: 100%; height: 100%; object-fit: contain; display: none; }
.tti__output-loading {
  position: absolute; inset: 0; background: rgba(0,0,0,0.9);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
}
.tti__output-loading.on { display: flex; }
.tti__loader {
  width: 36px; height: 36px; border: 2px solid var(--bdr);
  border-top-color: var(--c); border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tti__loader-txt { font-family: var(--mono); font-size: 13px; color: var(--c); letter-spacing: 0.06em; }

.tti__output-actions {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}

/* History */
.tti__history { margin-top: 20px; }
.tti__history-label { font-family: var(--mono); font-size: 11px; color: var(--txt3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.tti__history-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.tti__history-item {
  width: 68px; height: 68px; flex-shrink: 0; object-fit: cover;
  border: 2px solid var(--bdr); cursor: pointer; filter: grayscale(30%); transition: all 0.15s;
}
.tti__history-item:hover, .tti__history-item.sel { border-color: var(--c); filter: none; }

/* Limit modal */
.tti__modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 500; align-items: center; justify-content: center; }
.tti__modal-bg.on { display: flex; }
.tti__modal { background: var(--bg2); border: 2px solid var(--c); padding: 40px; max-width: 400px; text-align: center; }
.tti__modal h3 { font-family: var(--mono); font-size: 22px; font-weight: 900; margin-bottom: 12px; color: var(--c); }
.tti__modal p { font-size: 14px; color: var(--txt2); margin-bottom: 24px; font-family: var(--mono); }

/* ── Content pages ───────────────────── */
.tti__content { padding: 80px 0; }
.tti__page-hero { padding-bottom: 48px; border-bottom: 2px solid var(--bdr); margin-bottom: 56px; }
.tti__page-hero-label { font-family: var(--mono); font-size: 11px; color: var(--c); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.tti__page-hero h1 { font-family: var(--mono); font-size: clamp(32px,5vw,64px); font-weight: 900; line-height: 1.0; }
.tti__page-hero p { font-size: 17px; color: var(--txt2); margin-top: 16px; max-width: 560px; }

.tti__prose { color: var(--txt2); font-size: 15px; line-height: 1.75; }
.tti__prose h2 { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--c); margin: 36px 0 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.tti__prose h3 { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--txt); margin: 24px 0 10px; }
.tti__prose p { margin-bottom: 16px; }
.tti__prose ul, .tti__prose ol { margin: 10px 0 18px 20px; }
.tti__prose li { margin-bottom: 6px; }
.tti__prose strong { color: var(--txt); font-weight: 700; }
.tti__prose a { color: var(--c); }
.tti__prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-family: var(--mono); font-size: 13px; }
.tti__prose th { background: var(--c); color: var(--bg); padding: 10px 14px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.tti__prose td { padding: 10px 14px; border-bottom: 1px solid var(--bdr); }
.tti__prose tr:hover td { background: var(--bg2); }

/* Prompt cards */
.tti__prompt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tti__prompt-card { background: var(--bg2); border: 2px solid var(--bdr); overflow: hidden; transition: border-color var(--transition); }
.tti__prompt-card:hover { border-color: var(--c); }
.tti__prompt-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(20%); transition: filter 0.3s; }
.tti__prompt-card:hover .tti__prompt-thumb { filter: none; }
.tti__prompt-body { padding: 14px; }
.tti__prompt-cat { font-family: var(--mono); font-size: 10px; color: var(--c); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.tti__prompt-body h3 { font-family: var(--mono); font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--txt); }
.tti__prompt-body p { font-size: 12px; color: var(--txt2); line-height: 1.5; margin-bottom: 10px; }
.tti__prompt-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tti__prompt-tag { font-size: 10px; font-family: var(--mono); padding: 2px 8px; border: 1px solid var(--bdr); color: var(--txt3); }
.tti__prompt-use {
  display: block; width: 100%; padding: 10px; background: var(--c); color: var(--bg);
  font-family: var(--mono); font-size: 11px; font-weight: 900; text-align: center;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em;
  border: 2px solid var(--c); transition: all var(--transition);
}
.tti__prompt-use:hover { background: #fff; border-color: #fff; color: var(--bg); }

.tti__cat-filters { display: flex; gap: 2px; margin-bottom: 28px; flex-wrap: wrap; }
.tti__cat-btn {
  padding: 8px 16px; font-family: var(--mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; background: var(--bg3);
  border: 2px solid var(--bdr); color: var(--txt2); cursor: pointer; transition: all var(--transition);
}
.tti__cat-btn.active, .tti__cat-btn:hover { background: var(--c); border-color: var(--c); color: var(--bg); }

/* Blog */
.tti__blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tti__blog-card { background: var(--bg2); border: 2px solid var(--bdr); overflow: hidden; transition: border-color var(--transition); }
.tti__blog-card:hover { border-color: var(--c); }
.tti__blog-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: grayscale(30%); transition: filter 0.3s; }
.tti__blog-card:hover .tti__blog-img { filter: grayscale(0); }
.tti__blog-body { padding: 20px; }
.tti__blog-tag { font-family: var(--mono); font-size: 10px; color: var(--c); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.tti__blog-card h3 { font-family: var(--mono); font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.tti__blog-card h3 a { color: var(--txt); text-decoration: none; }
.tti__blog-card h3 a:hover { color: var(--c); }
.tti__blog-card p { font-size: 13px; color: var(--txt2); margin-bottom: 12px; line-height: 1.5; }
.tti__blog-date { font-family: var(--mono); font-size: 11px; color: var(--txt3); }

/* Breadcrumb */
.tti__breadcrumb { font-family: var(--mono); font-size: 11px; color: var(--txt3); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.tti__breadcrumb a { color: var(--txt3); }
.tti__breadcrumb a:hover { color: var(--c); }

/* ── Footer ──────────────────────────── */
.tti__footer { background: var(--bg2); border-top: 2px solid var(--bdr); margin-top: 0; }
.tti__footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 56px 0; border-bottom: 2px solid var(--bdr); }
.tti__footer-brand { }
.tti__footer-logo { font-family: var(--mono); font-size: 18px; font-weight: 900; color: var(--txt); text-decoration: none; display: block; margin-bottom: 12px; }
.tti__footer-logo:hover { color: var(--c); }
.tti__footer-tagline { font-size: 13px; color: var(--txt3); font-family: var(--mono); }
.tti__footer-col h4 { font-family: var(--mono); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--txt3); margin-bottom: 16px; }
.tti__footer-col ul { list-style: none; }
.tti__footer-col li { margin-bottom: 8px; }
.tti__footer-col a { font-size: 13px; color: var(--txt3); text-decoration: none; font-family: var(--mono); transition: color var(--transition); }
.tti__footer-col a:hover { color: var(--c); }
.tti__footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.tti__footer-bottom p { font-family: var(--mono); font-size: 11px; color: var(--txt3); }

/* Toast */
.tti__toast {
  position: fixed; bottom: 20px; right: 20px; z-index: 600; padding: 12px 20px;
  background: var(--bg2); border: 2px solid var(--c); font-family: var(--mono);
  font-size: 13px; color: var(--txt); max-width: 300px;
  transform: translateY(80px); opacity: 0; transition: all 0.25s; pointer-events: none;
}
.tti__toast.show { transform: translateY(0); opacity: 1; }
.tti__toast.err { border-color: var(--danger); color: var(--danger); }

/* ── Responsive ──────────────────────── */
@media(max-width:1024px) {
  .tti__models { grid-template-columns: repeat(2, 1fr); }
  .tti__gallery { grid-template-columns: repeat(3, 1fr); }
  .tti__footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tti__prompt-grid { grid-template-columns: repeat(2, 1fr); }
  .tti__blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width:768px) {
  .tti__nav-list { display: none; }
  .tti__nav-toggle { display: block; }
  .tti__nav-cta { display: none; }
  .tti__nav-list.open { display: flex; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: var(--bg); border-bottom: 2px solid var(--bdr); z-index: 99; }
  .tti__nav-list.open li { border-right: none; border-bottom: 1px solid var(--bdr); }
  .tti__steps { grid-template-columns: 1fr; }
  .tti__step { border-right: none; border-bottom: 2px solid var(--bdr); }
  .tti__models { grid-template-columns: 1fr; }
  .tti__gallery { grid-template-columns: repeat(2, 1fr); }
  .tti__use-cases { grid-template-columns: 1fr; }
  .tti__use-case { border-right: none; border-bottom: 2px solid var(--bdr); }
  .tti__create-layout { grid-template-columns: 1fr; }
  .tti__create-panel { border-right: none; border-bottom: 2px solid var(--bdr); }
  .tti__footer-top { grid-template-columns: 1fr; gap: 24px; }
  .tti__footer-bottom { flex-direction: column; gap: 8px; }
  .tti__prompt-grid { grid-template-columns: 1fr; }
  .tti__blog-grid { grid-template-columns: 1fr; }
  .tti__hero-stats { flex-wrap: wrap; }
  .tti__cta-strip .tti__wrap { flex-direction: column; }
}
