/* Image-to-3D SEO cluster. Loaded only by the five cluster pages, on top of
   site.css, so nothing here can regress the rest of the site. Reuses the site
   tokens (--accent, --stroke, --card, etc.) for a native look. */

/* Source -> 3D Mate -> result transform strip (the signature hero visual). */
.xform { display: grid; grid-template-columns: 1fr auto 1.15fr; gap: 20px; align-items: center; margin-top: 8px; }
.xform .tile { position: relative; border-radius: 18px; border: 1px solid var(--stroke); background: radial-gradient(70% 70% at 50% 35%, #1a2433, #0d1320 80%); overflow: hidden; }
.xform .tile.src { background: #0f1319; aspect-ratio: 3/4; }
.xform .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xform .tile .lbl { position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); background: rgba(10,14,20,.66); border: 1px solid rgba(255,255,255,.1); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.xform .arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--accent); }
.xform .arrow .mark { font-size: 26px; font-weight: 800; line-height: 1; opacity: .85; }
.xform .arrow .via { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--text-3); white-space: nowrap; }
@media (max-width: 760px) {
  .xform { grid-template-columns: 1fr; gap: 14px; max-width: 380px; margin-inline: auto; }
  .xform .arrow { flex-direction: row; }
  .xform .arrow .mark { transform: rotate(90deg); }
}

/* Engine cards: real engines, honest one-liners, RAM where documented. */
.engines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 880px) { .engines { grid-template-columns: 1fr; } }
.engine { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px 22px 20px; transition: border-color .15s, background .15s; }
a.engine:hover { border-color: var(--stroke-strong); background: var(--card-hover); }
.engine .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.engine h3 { font-size: 17px; font-weight: 650; color: var(--text); letter-spacing: -.01em; }
.engine .ram { font-size: 12px; font-weight: 700; color: var(--accent-strong); background: rgba(94,162,239,.1); border: 1px solid rgba(94,162,239,.25); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.engine p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.engine .use { margin-top: 12px; font-size: 12.5px; color: var(--text-3); }
.engine .use b { color: var(--text-2); font-weight: 600; }

/* Intent paths: the four supporting-page routes, visually distinct. */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 720px) { .paths { grid-template-columns: 1fr; } }
.path { display: block; background: linear-gradient(180deg, rgba(94,162,239,.08), rgba(94,162,239,.015)); border: 1px solid rgba(94,162,239,.2); border-radius: var(--radius); padding: 24px; transition: transform .15s, border-color .15s; }
.path:hover { transform: translateY(-2px); border-color: rgba(94,162,239,.42); }
.path .k { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-strong); }
.path h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 8px 0 6px; letter-spacing: -.01em; }
.path p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.path .go { margin-top: 12px; font-size: 13.5px; font-weight: 650; color: var(--accent-strong); }

/* Good / bad input examples. */
.io-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
@media (max-width: 720px) { .io-grid { grid-template-columns: 1fr; } }
.io { border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.io .io-head { display: flex; align-items: center; gap: 9px; padding: 14px 18px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--stroke); }
.io.good .io-head { color: #7ce0a3; }
.io.bad .io-head { color: #f0a4a4; }
.io .io-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.io.good .io-head .dot { background: #7ce0a3; }
.io.bad .io-head .dot { background: #e07c7c; }
.io ul { margin: 0; padding: 16px 20px 18px 34px; }
.io li { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-bottom: 8px; }

/* Long-form prose blocks, wider than the narrow guide .art column. */
.prose { max-width: 760px; }
.prose p { font-size: 15.5px; line-height: 1.75; color: var(--text-2); margin-bottom: 16px; }
.prose h2 { margin-top: 10px; }
.prose strong { color: var(--text); }
.lead { font-size: 18px !important; line-height: 1.65 !important; color: var(--text-2) !important; }

/* Format-use table (what each export is for). */
.fmt-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 28px; }
.fmt-table th, .fmt-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.fmt-table thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); font-weight: 700; }
.fmt-table td:first-child, .fmt-table th:first-child { color: var(--text); font-weight: 700; }
.fmt-table td { color: var(--text-2); line-height: 1.55; }
.fmt-table-wrap { overflow-x: auto; }

/* Breadcrumb trail. */
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 7px; opacity: .6; }
