/* ============================================================================
   CHIPREADY.AI — product components (extends styles.css / Silicon Foundry)
   ========================================================================= */

[hidden] { display: none !important; }

.nav .word .ai { color: var(--ember); font-weight: 800; }

/* ---- Hero ---------------------------------------------------------------- */
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: flex-start; min-height: 100svh; justify-content: center; padding-block: 7rem 4rem; gap: 1.6rem; }
.hero-inner h1 { font-family: var(--f-sans); font-weight: 800; font-stretch: 120%;
  font-size: clamp(2.8rem, 1.4rem + 6vw, 6.4rem); line-height: 0.95; letter-spacing: -0.035em; color: var(--text); }
.hero-inner h1 em { font-style: normal; color: var(--ember); }
.hero-sub { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); line-height: 1.5; color: var(--text-dim); max-width: 62ch; }
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.6rem; }
.hero-ribbon { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line); width: 100%; }
.hero-ribbon .cell { padding: 1.3rem 1.4rem 0 0; }
.hero-ribbon .n { display: block; font-family: var(--f-sans); font-weight: 800; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); letter-spacing: -0.02em; color: var(--text); }
.hero-ribbon .l { display: block; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.5rem; }
@media (max-width: 720px) { .hero-ribbon { grid-template-columns: 1fr 1fr; gap: 1px; } }

/* ---- Copilot ------------------------------------------------------------- */
.copilot-sec { background: linear-gradient(180deg, var(--void), var(--void-2)); }
.copilot { max-width: 860px; margin: 0 auto; border: 1px solid var(--line-strong); border-radius: 4px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,106,44,0.05), var(--surface) 60%);
  padding: clamp(1.4rem, 3vw, 2.6rem); min-height: 420px; position: relative; overflow: hidden; }
.cop-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.cop-prog { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); }
.cop-restart { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-faint); background: none; border: 0; cursor: pointer; transition: color 0.3s; }
.cop-restart:hover { color: var(--text); }

.cop-q { animation: copIn 0.45s var(--ease) both; }
@keyframes copIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cop-prompt { font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); font-weight: 600; letter-spacing: -0.01em; color: var(--text); line-height: 1.25; margin-bottom: 1.6rem; }
.cop-ai { display: inline-block; font-family: var(--f-mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); border: 1px solid rgba(255,106,44,0.4); border-radius: 2px; padding: 0.25em 0.55em; margin-right: 0.7em; vertical-align: 0.18em; }
.cop-opts { display: grid; gap: 0.7rem; }
.cop-opt { text-align: left; font-family: var(--f-sans); font-size: 1rem; color: var(--text); background: var(--void); border: 1px solid var(--line-strong); border-radius: 3px; padding: 1rem 1.2rem; cursor: pointer; transition: border-color 0.25s, background 0.25s, transform 0.25s; }
.cop-opt:hover { border-color: var(--ember); background: var(--void-2); transform: translateX(4px); }

.cop-think { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; min-height: 340px; }
.cop-dots { display: flex; gap: 0.5rem; }
.cop-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); animation: copPulse 1s ease-in-out infinite; }
.cop-dots i:nth-child(2) { animation-delay: 0.15s; } .cop-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes copPulse { 0%,100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } }
.cop-think-txt { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }

/* ---- Generated path result ---------------------------------------------- */
.res { animation: copIn 0.5s var(--ease) both; }
.res-kicker { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); }
.res-role { font-family: var(--f-sans); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -0.025em; line-height: 1.05; margin: 0.5rem 0 0.6rem; color: var(--text); }
.res-why { color: var(--text-dim); line-height: 1.5; max-width: 60ch; }
.res-stats { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin: 1.2rem 0 1.8rem; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--text-faint); }
.res-stats b { color: var(--text); font-weight: 600; }

.path { display: grid; gap: 0; position: relative; border-left: 1px solid var(--line-strong); margin-left: 0.6rem; padding-left: 0; }
.path-step { display: grid; grid-template-columns: 2.6rem 1fr; align-items: start; gap: 0.4rem; padding: 0.85rem 0 0.85rem 0; position: relative; }
.path-step .ps-k { grid-row: 1 / span 2; margin-left: -1.3rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--f-mono); font-size: 0.78rem; color: var(--text-dim); }
.path-step .ps-t { font-weight: 600; font-size: 1.02rem; color: var(--text); line-height: 1.25; }
.path-step .ps-m { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.25rem; }
.path-step.cred .ps-k, .path-step.job .ps-k { background: var(--ember); border-color: var(--ember); color: #0a0a0a; font-weight: 700; }
.path-step.cred .ps-t, .path-step.job .ps-t { color: var(--ember); }
.path-step.cred { margin-top: 0.4rem; }

.coros-note { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; margin: 1.8rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.5; color: var(--text-dim); }
.coros-note em { font-style: normal; color: var(--ember); }
.res-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.6rem; }
.res-foot .note { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--text-faint); }

.pip { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); display: inline-block; flex: none; margin-top: 0.5em; box-shadow: 0 0 12px var(--ember); }

/* ---- Platform flow ------------------------------------------------------ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow-step { background: var(--void); padding: clamp(1.4rem, 2.6vw, 2rem); }
.flow-step .fk { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ember); }
.flow-step h3 { font-family: var(--f-sans); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; margin: 0.7rem 0 0.5rem; color: var(--text); }
.flow-step p { font-size: 0.95rem; line-height: 1.5; color: var(--text-dim); }
.flow-step p b { color: var(--text); }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .flow { grid-template-columns: 1fr; } }
.moat { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; margin-top: 2rem; max-width: 80ch; color: var(--text-dim); line-height: 1.6; }
.moat em { font-style: normal; color: var(--ember); } .moat b { color: var(--text); }

/* ---- Split sections (SEMI / employers) ---------------------------------- */
.semi-sec { background: linear-gradient(180deg, var(--void-2), var(--void)); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.split h2 { font-family: var(--f-sans); font-weight: 700; font-stretch: 110%; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.025em; margin-top: 1rem; color: var(--text); }
.split h2 em { font-style: normal; color: var(--ember); }
.split-body p { color: var(--text-dim); line-height: 1.6; margin-bottom: 1rem; }
.split-body p b { color: var(--text); }
.split .tick { margin-top: 1.2rem; display: grid; gap: 0.5rem; }
.split .tick li { list-style: none; padding-left: 1.5rem; position: relative; color: var(--text-dim); line-height: 1.5; }
.split .tick li::before { content: "▟"; position: absolute; left: 0; color: var(--ember); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.logos { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 1.6rem; }
.logos span { font-family: var(--f-sans); font-weight: 700; font-size: 1.1rem; color: var(--text-faint); letter-spacing: -0.01em; transition: color 0.3s; }
.logos span:hover { color: var(--text); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { border: 1px solid var(--line-strong); border-radius: 4px; padding: clamp(2rem, 5vw, 4rem);
  background: radial-gradient(100% 120% at 0% 0%, rgba(255,106,44,0.08), transparent 55%); }
.cta-band h2 { font-family: var(--f-sans); font-weight: 800; font-stretch: 115%; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--text); margin-bottom: 1rem; }
.cta-band h2 em { font-style: normal; color: var(--ember); }
.cta-band p { color: var(--text-dim); line-height: 1.6; max-width: 56ch; margin-bottom: 1.8rem; }

/* footer .ai */
.footer .word .ai { color: var(--ember); }

/* employer logos — monochrome */
.logos .elogo { height: 28px; max-width: 134px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.5; transition: opacity 0.3s; }
.logos .elogo:hover { opacity: 0.92; }
.dash-cta { margin-top: 1.5rem; }

/* ============================================================================
   SEMI DASHBOARD
   ========================================================================= */
.dash { padding-top: clamp(7rem, 12vh, 9rem); padding-bottom: clamp(4rem, 8vh, 7rem); }
.dash-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.dash-head h1 { font-family: var(--f-sans); font-weight: 800; font-stretch: 115%; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.02; margin: 1rem 0 0.9rem; color: var(--text); }
.dash-head h1 em { font-style: normal; color: var(--ember); }
.dash-sub { color: var(--text-dim); line-height: 1.55; }
.demo-tag { display: inline-block; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--line-strong); border-radius: 2px; padding: 0.25em 0.6em; margin-left: 0.4em; vertical-align: 0.15em; }

.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.kpi { background: var(--void); padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.kpi .kn { font-family: var(--f-sans); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.1vw, 2rem); letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.kpi .kl { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); line-height: 1.35; }
.kpi .kd { font-family: var(--f-mono); font-size: 0.66rem; margin-top: 0.15rem; }
.kpi .kd.up { color: var(--ember); }
.kpi .kd.down { color: #8fc7a0; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 820px) { .dash-grid { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); background: var(--void-2); border-radius: 3px; padding: clamp(1.4rem, 2.5vw, 2rem); }
.panel-h { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); margin-bottom: 1.6rem; }

.funnel { display: grid; gap: 1rem; }
.fn { display: grid; grid-template-columns: 7rem 1fr; align-items: center; gap: 1rem; }
.fn-l { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); }
.fn-bar { height: 2.5rem; width: var(--w); min-width: 6rem; background: linear-gradient(90deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); border-radius: 2px; display: flex; align-items: center; padding: 0 1rem; }
.fn-bar span { font-family: var(--f-sans); font-weight: 700; color: var(--text); font-size: 0.95rem; }
.fn-bar.hot { background: linear-gradient(90deg, rgba(255,106,44,0.28), rgba(255,106,44,0.06)); border-color: var(--ember); }
.fn-bar.hot span { color: var(--ember); }

.bars { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(0.5rem, 2vw, 1.3rem); height: 220px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 0.5rem; }
.bar .bv { font-family: var(--f-mono); font-size: 0.66rem; color: var(--text-dim); }
.bar i { width: 60%; max-width: 48px; height: calc(var(--h) * 0.82); min-height: 6px; background: linear-gradient(180deg, var(--ember), var(--ember-deep)); border-radius: 2px 2px 0 0; }
.bar .bx { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); }

.breakdown { display: grid; gap: 1.1rem; }
.bd { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: baseline; }
.bd-l { color: var(--text-dim); font-size: 0.92rem; }
.bd-v { font-family: var(--f-mono); font-size: 0.82rem; color: var(--text); }
.bd-track { grid-column: 1 / -1; height: 6px; background: var(--surface); border-radius: 3px; overflow: hidden; }
.bd-track i { display: block; height: 100%; background: var(--ember); border-radius: 3px; }

.emp-table { width: 100%; border-collapse: collapse; }
.emp-table td { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--text-dim); }
.emp-table td:first-child { color: var(--text); font-weight: 600; }
.emp-table td:last-child { text-align: right; font-family: var(--f-mono); font-size: 0.8rem; color: var(--ember); }
.emp-table tr:last-child td { border-bottom: 0; }

.dash-foot { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; margin-top: 2rem; color: var(--text-faint); font-size: 0.85rem; line-height: 1.55; }
.dash-foot b { color: var(--text-dim); } .dash-foot em { font-style: italic; }
.dash-back { margin-top: 2rem; }
