/* ==========================================================================
   Solutions pages in the GEO Guide hub language: a bordered grid of cells (step chip, line glyph, title,
   description, link on hover), one restrained demo window, plain lists. Loads after styles.css and
   platform-pages.css. One accent (cyan), thin lines, no gradients.
   ========================================================================== */
.sc { --expo: cubic-bezier(.19, 1, .22, 1); --cell-line: rgba(255,255,255,.1); --fl-a: #01c2e1; --fl-warn: #d8a35e; }

/* ---------- Hero ---------- */
.sc-hero { padding: 88px 0 48px; }
.sc-hero .eyebrow { display: block; font-size: 13px; color: var(--fg-3); margin-bottom: 16px; }
.sc-hero h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; max-width: 820px; }
.sc-hero p { max-width: 620px; margin-top: 20px; font-size: 17px; color: var(--fg-2); }
.sc-hero .hero-cta { justify-content: flex-start; margin-top: 26px; }
.sc-hero .sc-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 12px; border: 1px solid var(--cell-line); border-radius: 999px; font-size: 13px; color: var(--fg-3); }
.sc-hero .sc-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--fg-3); }

/* ---------- Section heads ---------- */
.sc-head { padding: 72px 0 28px; max-width: 680px; }
.sc-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.sc-head p { margin-top: 14px; color: var(--fg-2); font-size: 16px; }

/* ---------- Cell grid ---------- */
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--cell-line); border-left: 1px solid var(--cell-line); }
.sc-cell { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 30px 32px 66px; border-right: 1px solid var(--cell-line); border-bottom: 1px solid var(--cell-line); background: #0b0b0c; overflow: hidden; color: inherit; transition: background .5s; }
.sc-cell::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.07), transparent 70%); }
.sc-cell:hover::after { opacity: 1; }
.sc-cell:hover, .sc-cell.pulse { background: #101012; }
.sc-cell .no { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-3); }
.sc-cell .no em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(1,194,225,.12); color: var(--fl-a); }
.sc-cell h3 { margin-top: auto; padding-top: 48px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; transition: transform .6s var(--expo); }
.sc-cell p { margin-top: 10px; color: var(--fg-2); font-size: 15px; max-width: 380px; transition: transform .6s var(--expo); }
.sc-cell .go { position: absolute; right: 30px; bottom: 30px; font-size: 13px; color: var(--fg); opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .6s var(--expo); }
.sc-cell:hover .go, .sc-cell.pulse .go { opacity: 1; transform: none; }
.sc-cell:hover h3, .sc-cell:hover p { transform: translateY(-4px); }

/* glyphs: line drawings, one accent on hover */
.sc-glyph { position: absolute; right: 26px; top: 24px; width: 96px; height: 76px; color: #4a4a4d; transition: color .5s; }
.sc-cell:hover .sc-glyph, .sc-cell.pulse .sc-glyph { color: var(--fl-a); }
.sc-glyph svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sc-glyph .a, .sc-glyph .b, .sc-glyph .c, .sc-glyph .d { transform-box: fill-box; transform-origin: center; }
.sc-cell:hover .g1 .a, .sc-cell.pulse .g1 .a { animation: scRing 1.8s ease-out infinite; }
.sc-cell:hover .g1 .b, .sc-cell.pulse .g1 .b { animation: scRing 1.8s ease-out .5s infinite; }
@keyframes scRing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.g2 .a, .g2 .c { transition: transform .6s var(--expo); }
.sc-cell:hover .g2 .a, .sc-cell.pulse .g2 .a { transform: translateY(-9px); }
.sc-cell:hover .g2 .c, .sc-cell.pulse .g2 .c { transform: translateY(9px); }
.g3 .a { stroke-dasharray: 46; stroke-dashoffset: 46; }
.sc-cell:hover .g3 .a, .sc-cell.pulse .g3 .a { animation: scType 1.6s steps(8) infinite; }
.sc-cell:hover .g3 .b, .sc-cell.pulse .g3 .b { animation: scBlink .7s steps(2) infinite; }
@keyframes scType { to { stroke-dashoffset: 0; } }
@keyframes scBlink { 50% { opacity: 0; } }
.g4 .a, .g4 .b, .g4 .c { stroke-dasharray: 24; stroke-dashoffset: 24; }
.sc-cell:hover .g4 .a, .sc-cell.pulse .g4 .a { animation: scTick .5s var(--expo) forwards; }
.sc-cell:hover .g4 .b, .sc-cell.pulse .g4 .b { animation: scTick .5s var(--expo) .25s forwards; }
.sc-cell:hover .g4 .c, .sc-cell.pulse .g4 .c { animation: scTick .5s var(--expo) .5s forwards; }
@keyframes scTick { to { stroke-dashoffset: 0; } }
.g5 .a { stroke-dasharray: 6 8; }
.sc-cell:hover .g5 .a, .sc-cell.pulse .g5 .a { animation: scDash .6s linear infinite; }
@keyframes scDash { to { stroke-dashoffset: -14; } }
.g6 .a, .g6 .b, .g6 .c, .g6 .d { fill: currentColor; stroke: none; transform-origin: bottom; transform: scaleY(.35); transition: transform .6s var(--expo); }
.sc-cell:hover .g6 .a, .sc-cell.pulse .g6 .a, .sc-cell:hover .g6 .b, .sc-cell.pulse .g6 .b, .sc-cell:hover .g6 .c, .sc-cell.pulse .g6 .c, .sc-cell:hover .g6 .d, .sc-cell.pulse .g6 .d { transform: scaleY(1); }
.sc-cell:hover .g6 .b, .sc-cell.pulse .g6 .b { transition-delay: .08s; } .sc-cell:hover .g6 .c, .sc-cell.pulse .g6 .c { transition-delay: .16s; } .sc-cell:hover .g6 .d, .sc-cell.pulse .g6 .d { transition-delay: .24s; }

/* ---------- Demo window: two quiet panels ---------- */
.sc-win { margin-top: 8px; border: 1px solid var(--cell-line); border-radius: 14px; background: #0b0b0c; overflow: hidden; }
.sc-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--cell-line); }
.sc-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2e; }
.sc-bar b { flex: 1; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--fg-2); }
.sc-body { display: grid; grid-template-columns: 1fr 1fr; }
.sc-panel { padding: 20px 22px 22px; }
.sc-panel + .sc-panel { border-left: 1px solid var(--cell-line); }
.sc-panel > small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.sc-panel ul { margin: 0; padding: 0; list-style: none; }
.sc-panel li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; color: var(--fg); }
.sc-panel li:first-child { border-top: 0; padding-top: 0; }
.sc-panel li em { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--cell-line); color: var(--fg-2); white-space: nowrap; }
.sc-panel li em.bad { color: var(--fl-warn); border-color: rgba(216,163,94,.4); }
.sc-panel li em.ok { color: var(--fl-a); border-color: rgba(1,194,225,.4); }
.sc-panel li em.none { color: var(--fg-3); border-style: dashed; }
.sc-panel li q { quotes: "“" "”"; color: var(--fg-2); }
.sc-foot { padding: 10px 14px; border-top: 1px solid var(--cell-line); font-size: 11.5px; color: var(--fg-4); }

/* ---------- Plain list + note ---------- */
.sc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; margin: 0; padding: 0 0 16px; list-style: none; }
.sc-list li { position: relative; padding-left: 18px; font-size: 15px; color: var(--fg-2); line-height: 1.5; }
.sc-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--fg-3); }
.sc-cta { padding: 8px 0 72px; }

@media (max-width: 860px) {
  .sc-grid { grid-template-columns: 1fr; }
  .sc-cell { min-height: 210px; padding: 24px 22px; }
  .sc-cell h3 { padding-top: 48px; }
  .sc-glyph { right: 18px; top: 18px; width: 76px; height: 60px; }
  .sc-body { grid-template-columns: 1fr; }
  .sc-panel + .sc-panel { border-left: 0; border-top: 1px solid var(--cell-line); }
  .sc-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sc-cell *, .sc-cell::after { animation: none !important; transition: none !important; } }

/* ---------- Platform logo list in the final CTA (quiet version) + demo tag ---------- */
.sc .plat-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; max-width: 780px; padding: 0; list-style: none; }
.sc .plat-list li { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--cell-line); background: #0d0d0e; transition: border-color .3s, transform .5s var(--expo); }
.sc .plat-list li:hover { border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.sc .plat-list .plat-wordmark { display: block; height: 20px; width: auto; }
.sc .demo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--cell-line); border-radius: 999px; font-size: 11px; color: var(--fg-3); white-space: nowrap; }
.sc .demo-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--fl-warn); }

/* ---------- Overview window: metrics, chart, next actions ---------- */
.sc-dash-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.sc-dash-body .sc-panel + .sc-panel { border-left: 1px solid var(--cell-line); }
.sc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.sc-metrics > div { padding: 12px 14px; border: 1px solid var(--cell-line); border-radius: 10px; }
.sc-metrics small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.sc-metrics strong { display: block; margin-top: 4px; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sc-chart { display: block; width: 100%; height: 150px; }
.sc-chart .grid line { stroke: rgba(255,255,255,.08); }
.sc-chart .d { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 800; stroke-dashoffset: 800; }
.sc-chart .d1 { stroke: var(--fl-a); }
.sc-chart .d2 { stroke: #4a4a4d; }
.sc-chart.in .d { animation: scDraw 1.8s ease forwards; }
.sc-chart.in .d2 { animation-delay: .25s; }
@keyframes scDraw { to { stroke-dashoffset: 0; } }
.sc-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--fg-4); }
.sc-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--fg-3); }
.sc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sc-legend i { width: 14px; height: 2px; background: #4a4a4d; }
.sc-legend i.y { background: var(--fl-a); }
.sc-actions li { grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--fg-2); }
.sc-actions li::before { content: ""; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; border: 1px solid var(--fg-4); }
.sc-actions li.done { color: var(--fg); }
.sc-actions li.done::before { background: var(--fl-a); border-color: var(--fl-a); }
.sc-bars li { grid-template-columns: 150px minmax(0, 1fr) 40px; }
.sc-bars li i { display: block; height: 6px; border-radius: 3px; background: #26262a; overflow: hidden; }
.sc-bars li i::after { content: ""; display: block; height: 100%; width: 0; background: var(--fg-3); border-radius: 3px; transition: width 1s var(--expo); }
.sc-bars.in li i::after { width: calc(var(--v) * 2.5%); }
.sc-bars li.you span { color: var(--fg); } .sc-bars li.you i::after { background: var(--fl-a); }
.sc-bars li em { border: 0; padding: 0; text-align: right; font-size: 13px; color: var(--fg-2); }
@media (max-width: 860px) { .sc-dash-body { grid-template-columns: 1fr; } .sc-dash-body .sc-panel + .sc-panel { border-left: 0; border-top: 1px solid var(--cell-line); } .sc-metrics { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .sc-bars li { grid-template-columns: 110px minmax(0, 1fr) 40px; } }
@media (max-width: 600px) { .sc-bar { flex-wrap: wrap; row-gap: 8px; } .sc-bar b { flex: 1 1 100%; order: 3; text-align: left; } .sc-bar .demo-tag { margin-left: auto; } }

/* ---------- Step glyphs, second set: each one drawn for its sentence ---------- */
.g1 .p { opacity: 0; }
.sc-cell:hover .g1 .p, .sc-cell.pulse .g1 .p { animation: scRing 1.8s ease-out infinite; }
.g2 .b { transform-origin: left; transition: transform .7s var(--expo); }
.sc-cell:hover .g2 .b, .sc-cell.pulse .g2 .b { transform: scaleX(1.55); }
.g3 .t { stroke-dasharray: 24; stroke-dashoffset: 0; }
.sc-cell:hover .g3 .t, .sc-cell.pulse .g3 .t { animation: scRedraw .7s var(--expo); }
@keyframes scRedraw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.g4 .ty { stroke-dasharray: 46; stroke-dashoffset: 46; }
.sc-cell:hover .g4 .ty, .sc-cell.pulse .g4 .ty { animation: scType 1.6s steps(8) infinite; }
.sc-cell:hover .g4 .cr, .sc-cell.pulse .g4 .cr { animation: scBlink .7s steps(2) infinite; }
