:root {
  --ink: #142521;
  --muted: #5f706b;
  --paper: #f6f8f5;
  --panel: #ffffff;
  --line: #dce5e0;
  --green: #0c584d;
  --green-2: #167769;
  --mint: #d7efea;
  --sns: #df7554;
  --cds: #e3b84c;
  --zno: #52aaa2;
  --al: #8a9698;
  --blue: #1376a2;
  --shadow: 0 24px 70px rgba(26, 64, 55, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(90, 184, 174, .12), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(19, 118, 162, .35); outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 20; padding: .8rem 1rem; color: white; background: var(--green); border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.topbar {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: auto;
  padding: 0 34px;
  position: relative;
  z-index: 10;
}
.brand { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-size: .95rem; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: .68rem; margin-top: 4px; }
.brand-mark { width: 38px; height: 38px; display: grid; gap: 3px; transform: skewY(-7deg); }
.brand-mark i { display: block; border-radius: 3px; }
.brand-mark i:nth-child(1) { background: var(--zno); }
.brand-mark i:nth-child(2) { background: var(--cds); }
.brand-mark i:nth-child(3) { background: var(--sns); }
.topbar nav { display: flex; gap: 30px; }
.topbar nav a { color: var(--muted); text-decoration: none; font-size: .84rem; font-weight: 650; }
.topbar nav a:hover { color: var(--green); }
.private-badge { font-size: .7rem; color: var(--green); background: rgba(255,255,255,.64); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; }
.private-badge span { color: #35a37f; margin-right: 4px; }

.hero {
  min-height: 710px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 78px 34px 44px;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: 1fr auto;
  gap: 48px 34px;
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0 34px; border-top: 1px solid var(--line); pointer-events: none; }
.hero-copy { width: 100%; max-width: 740px; align-self: center; }
.eyebrow { color: var(--green-2); letter-spacing: .19em; font-weight: 800; font-size: .69rem; margin: 0 0 20px; }
.hero-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 4.7vw, 4.25rem); line-height: .94; letter-spacing: -.067em; font-weight: 500; }
.hero-title span, .hero-title em { display: block; white-space: nowrap; }
.hero-title em { color: var(--green); font-weight: inherit; }
.lede { max-width: 580px; color: var(--muted); font-size: 1.06rem; line-height: 1.7; margin: 28px 0 34px; }
.lede strong { color: var(--ink); }
.primary-action { display: inline-flex; gap: 28px; align-items: center; color: white; background: var(--green); padding: 15px 17px 15px 20px; border-radius: 10px; font-size: .82rem; font-weight: 750; text-decoration: none; box-shadow: 0 14px 30px rgba(12,88,77,.16); }
.primary-action span { width: 27px; height: 27px; display: grid; place-items: center; color: var(--green); background: white; border-radius: 6px; transition: transform .2s; }
.primary-action:hover span { transform: translateY(3px); }

.hero-visual { min-height: 470px; align-self: center; position: relative; display: grid; place-items: center; perspective: 1000px; }
.hero-visual::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border: 1px solid rgba(19, 90, 79, .1); border-radius: 50%; }
.hero-visual::after { content: ""; position: absolute; width: 65%; aspect-ratio: 1; border: 1px solid rgba(19, 90, 79, .14); border-radius: 50%; }
.mini-stack { width: min(420px, 82%); transform: rotateX(56deg) rotateZ(-34deg); position: relative; z-index: 3; filter: drop-shadow(30px 40px 26px rgba(16,53,45,.17)); }
.mini-layer { height: 69px; margin-top: -10px; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border: 1px solid rgba(255,255,255,.4); clip-path: polygon(7% 0,100% 0,93% 100%,0 100%); }
.mini-layer span { color: rgba(17,37,33,.88); font-weight: 850; font-size: 1.25rem; }
.mini-layer small { color: rgba(17,37,33,.57); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .58rem; }
.mini-layer.zno { background: linear-gradient(90deg, rgba(128,215,204,.7), #b7e8e2); z-index: 4; }
.mini-layer.cds { background: linear-gradient(90deg, #e4b54c, #f2d27d); z-index: 3; }
.mini-layer.sns { background: linear-gradient(90deg, #db6f4d, #ec9b7f); z-index: 2; }
.mini-layer.al { background: linear-gradient(90deg, #7a8788, #b5c0c1); z-index: 1; }
.light-rays { position: absolute; z-index: 4; top: 44px; left: 20%; display: flex; gap: 30px; transform: rotate(20deg); }
.light-rays i { width: 3px; height: 160px; border-radius: 10px; background: linear-gradient(180deg, rgba(240,190,48,0), rgba(240,190,48,.7)); animation: ray 2.4s infinite ease-in; }
.light-rays i:nth-child(2) { animation-delay: -.6s; height: 185px; }
.light-rays i:nth-child(3) { animation-delay: -1.2s; }
.light-rays i:nth-child(4) { animation-delay: -1.8s; height: 190px; }
@keyframes ray { 0%,22% { opacity: 0; transform: translateY(-25px); } 55%,80% { opacity: 1; } 100% { opacity: 0; transform: translateY(45px); } }
.orbital { position: absolute; border: 1px dashed rgba(20,83,72,.23); border-radius: 50%; z-index: 1; }
.orbital::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--green-2); border-radius: 50%; top: 50%; left: -4px; }
.orbital-a { width: 470px; height: 160px; transform: rotate(22deg); }
.orbital-b { width: 390px; height: 120px; transform: rotate(100deg); }
.hero-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-metrics article { padding: 22px 0 8px; border-right: 1px solid var(--line); }
.hero-metrics article + article { padding-left: 28px; }
.hero-metrics article:last-child { border-right: 0; }
.hero-metrics span { font-family: Georgia, serif; font-size: 1.75rem; letter-spacing: -.04em; }
.hero-metrics span small { color: var(--muted); font-family: inherit; font-size: .8rem; }
.hero-metrics p { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .59rem; font-weight: 700; margin: 5px 0 0; }

.section-shell { max-width: 1320px; margin: 0 auto; padding: 100px 34px; }
.explorer { max-width: none; padding-left: max(34px, calc((100vw - 1252px)/2)); padding-right: max(34px, calc((100vw - 1252px)/2)); background: #e8efec; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.65rem); letter-spacing: -.045em; line-height: 1; }
.section-heading > p { max-width: 390px; color: var(--muted); font-size: .86rem; line-height: 1.65; margin: 0; }
.explorer .section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 28px; }
.explorer .architecture-title { font-size: clamp(1.8rem, 2.55vw, 2.25rem); letter-spacing: -.052em; white-space: nowrap; }

.control-strip { min-height: 126px; display: flex; align-items: center; gap: 28px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9); border-radius: 16px 16px 0 0; padding: 18px 24px; box-shadow: 0 -10px 30px rgba(27,74,64,.03); }
.control-group { display: grid; gap: 9px; }
.component-control-group { min-width: 510px; }
.component-toggles { display: grid; grid-template-columns: repeat(4, minmax(95px, 1fr)); gap: 7px; }
.component-toggle { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: background .2s, border-color .2s; }
.component-toggle:hover { background: white; border-color: #c5d3ce; }
.component-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.component-toggle > span:last-child { min-width: 0; display: grid; transition: opacity .2s; }
.component-toggle strong { font-size: .69rem; }
.component-toggle small { overflow: hidden; color: var(--muted); font-size: .51rem; text-overflow: ellipsis; white-space: nowrap; }
.component-toggle input:not(:checked) ~ span:last-child { opacity: .43; }
.control-label, .architecture-readout span { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .56rem; font-weight: 800; }
.switch-row { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 42px; height: 23px; position: relative; border-radius: 999px; background: #bdc8c4; transition: .25s; }
.switch::after { content: ""; position: absolute; width: 17px; height: 17px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: .25s; }
.switch-row input:checked + .switch { background: var(--zno); }
.switch-row input:checked + .switch.amber { background: #dfa72d; }
.switch-row input:checked + .switch::after { transform: translateX(19px); }
.switch.compact { width: 34px; height: 19px; flex: 0 0 auto; }
.switch.compact::after { width: 13px; height: 13px; }
.component-toggle input:checked + .switch.compact::after { transform: translateX(15px); }
.toggle-al input:checked + .switch { background: var(--al); }
.toggle-sns input:checked + .switch { background: var(--sns); }
.toggle-cds input:checked + .switch { background: var(--cds); }
.toggle-zno input:checked + .switch { background: var(--zno); }
.switch-row > span:last-child { display: grid; }
.switch-row strong { font-size: .76rem; }
.switch-row small { color: var(--muted); font-size: .62rem; margin-top: 2px; }
.control-divider { height: 48px; width: 1px; background: var(--line); }.control-divider.tall { height: 66px; }
.architecture-readout { margin-left: auto; display: grid; gap: 7px; text-align: right; }
.architecture-readout strong { font-family: Georgia, serif; font-size: 1rem; letter-spacing: .02em; }

.explorer-grid { display: grid; grid-template-columns: 1.55fr .75fr; min-height: 595px; box-shadow: var(--shadow); }
.device-stage { min-height: 595px; position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(83,165,151,.13), transparent 17rem), #0e2e29; border-radius: 0 0 0 16px; }
.device-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.device { width: min(570px, 74%); display: grid; gap: 8px; position: relative; z-index: 2; transform: perspective(800px) rotateX(3deg); }
.device-layer { width: 100%; height: var(--layer-height, 86px); display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 18px; padding: 0 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; color: rgba(13,35,31,.9); cursor: pointer; text-align: left; box-shadow: 0 13px 18px rgba(0,0,0,.12); transition: transform .24s, opacity .24s, filter .24s, height .25s, margin .25s; }
.device-layer:hover { transform: translateX(7px); }
.device-layer.active { transform: translateX(12px); filter: brightness(1.07); box-shadow: -5px 0 0 white, 0 17px 25px rgba(0,0,0,.22); }
.device-layer.removed { height: 0; margin: -4px 0; opacity: 0; pointer-events: none; overflow: hidden; }
.device-empty { display: none; min-height: 150px; place-items: center; align-content: center; gap: 8px; color: rgba(255,255,255,.78); border: 1px dashed rgba(255,255,255,.2); border-radius: 10px; text-align: center; }
.device-empty strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }.device-empty span { max-width: 250px; color: rgba(255,255,255,.46); font-size: .67rem; line-height: 1.5; }
.device-stage.no-components .device-empty { display: grid; }
.layer-code { font-family: Georgia, serif; font-size: 1.82rem; font-weight: 700; }
.layer-caption { font-size: .78rem; font-weight: 750; }
.layer-thickness { text-transform: uppercase; font-size: .54rem; letter-spacing: .13em; font-weight: 850; opacity: .58; }
.layer-zno { background: linear-gradient(90deg, #72c9c0, #b7e5df); }
.layer-cds { background: linear-gradient(90deg, #e1b041, #f1d27c); }
.layer-sns { background: linear-gradient(90deg, #dc6d4b, #eca087); }
.layer-al { background: linear-gradient(90deg, #8d9999, #c1c9c9); }
.incident-light { position: absolute; z-index: 3; left: 7%; top: 2.5rem; display: flex; gap: 25px; color: #f6d67d; text-transform: uppercase; font-size: .55rem; letter-spacing: .16em; transform: rotate(-12deg); transition: opacity .3s; }
.incident-light span { position: absolute; top: -16px; left: 0; }
.incident-light i { width: 2px; height: 150px; background: linear-gradient(rgba(245,204,91,.05), rgba(245,204,91,.8)); animation: ray 2.2s infinite; }
.incident-light i:nth-of-type(2) { animation-delay: -.7s; }
.incident-light i:nth-of-type(3) { animation-delay: -1.4s; }
.carrier-flow { position: absolute; inset: 0; z-index: 4; pointer-events: none; transition: opacity .3s; }
.carrier-flow span { position: absolute; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .65rem; font-weight: 900; box-shadow: 0 0 16px currentColor; }
.electron { color: #70d3f1; animation: drift-up 3.4s infinite ease-in-out; }
.hole { color: #ffa48d; animation: drift-down 3.8s infinite ease-in-out; }
.e1 { left: 78%; top: 50%; }.e2 { left: 23%; top: 46%; animation-delay: -1.5s; }
.h1 { left: 72%; top: 57%; }.h2 { left: 28%; top: 58%; animation-delay: -1.8s; }
@keyframes drift-up { 0%,100% { transform: translateY(55px); opacity: .1; } 50% { transform: translateY(-100px); opacity: 1; } }
@keyframes drift-down { 0%,100% { transform: translateY(-20px); opacity: .1; } 50% { transform: translateY(125px); opacity: 1; } }
.device-stage:not(.illuminated) .incident-light, .device-stage:not(.show-carriers) .carrier-flow { opacity: 0; }
.device-stage:not(.show-carriers) .stage-legend { opacity: .25; }
.stage-legend { position: absolute; bottom: 24px; left: 28px; display: flex; gap: 22px; color: rgba(255,255,255,.62); font-size: .63rem; }
.stage-legend span { display: flex; gap: 7px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; }.electron-dot { background: #70d3f1; }.hole-dot { background: #ffa48d; }

.layer-panel { min-width: 0; display: flex; flex-direction: column; padding: 44px 38px 28px; background: white; border-radius: 0 0 16px 0; }
.panel-kicker { display: flex; align-items: center; justify-content: space-between; color: var(--muted); letter-spacing: .16em; font-size: .58rem; font-weight: 800; }
.panel-kicker i { width: 34px; height: 5px; background: var(--zno); border-radius: 4px; }
.layer-panel h3 { font-family: Georgia, serif; font-size: 2.15rem; letter-spacing: -.04em; font-weight: 500; line-height: 1; margin: 25px 0 16px; }
.layer-panel h3 span { display: block; color: var(--zno); font-family: Inter, sans-serif; font-size: .72rem; letter-spacing: .12em; margin-top: 10px; }
.layer-panel > p { color: var(--muted); font-size: .84rem; line-height: 1.65; margin: 0 0 25px; }
.layer-facts { margin: 0; border-top: 1px solid var(--line); }
.layer-facts div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.layer-facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .54rem; font-weight: 800; }
.layer-facts dd { margin: 0; font-size: .7rem; font-weight: 700; line-height: 1.35; }
.why-card { background: #eff5f2; border-radius: 10px; padding: 16px; margin-top: 22px; }
.why-card span { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .54rem; font-weight: 850; }
.why-card p { color: #3f5650; font-size: .7rem; line-height: 1.5; margin: 7px 0 0; }
.layer-nav { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; }
.layer-nav button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: white; cursor: pointer; }
.layer-nav button:hover { background: var(--green); color: white; }
.layer-nav button:disabled { opacity: .35; cursor: not-allowed; background: white; color: var(--muted); }
.layer-nav span { color: var(--muted); font-size: .62rem; text-align: center; }

.bands { padding-top: 115px; }
.segmented { display: flex; background: #e7ece9; padding: 4px; border-radius: 9px; }
.segmented button { border: 0; padding: 10px 14px; border-radius: 7px; color: var(--muted); background: transparent; font-size: .67rem; font-weight: 750; cursor: pointer; }
.segmented button.active { color: white; background: var(--green); box-shadow: 0 5px 12px rgba(12,88,77,.14); }
.energy-controls { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; margin-bottom: 18px; }
.parameter-card { min-width: 0; background: #edf3f0; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.parameter-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.parameter-heading > div { display: grid; gap: 2px; }.parameter-heading strong { font-family: Georgia, serif; font-size: 1rem; font-weight: 500; }.parameter-heading small { color: var(--muted); font-size: .55rem; }
.parameter-icon { width: 29px; height: 29px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 8px; font-family: Georgia, serif; font-size: .8rem; font-weight: 700; }
.range-control { display: grid; gap: 7px; margin-top: 12px; }
.range-control > span { display: flex; align-items: center; justify-content: space-between; font-size: .67rem; }.range-control b { color: var(--ink); }.range-control output { min-width: 65px; color: var(--green); background: white; border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; font-size: .6rem; font-weight: 800; text-align: center; }
.range-control input { width: 100%; height: 5px; appearance: none; background: linear-gradient(90deg, var(--green) var(--range-progress, 30%), #cfdad5 var(--range-progress, 30%)); border-radius: 99px; cursor: pointer; }
.range-control input::-webkit-slider-thumb { width: 17px; height: 17px; appearance: none; background: white; border: 4px solid var(--green); border-radius: 50%; box-shadow: 0 2px 5px rgba(20,50,44,.2); }
.range-control input::-moz-range-thumb { width: 10px; height: 10px; background: white; border: 4px solid var(--green); border-radius: 50%; box-shadow: 0 2px 5px rgba(20,50,44,.2); }
.parameter-note { margin: 14px 0 0; color: var(--muted); font-size: .53rem; line-height: 1.45; }
.electronic-card { display: grid; grid-template-columns: 1fr; }
.display-select { display: grid; grid-template-columns: auto minmax(190px, 1fr); align-items: center; gap: 15px; margin-bottom: 14px; }.display-select > span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .52rem; font-weight: 800; }.display-select select { width: 100%; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px 30px 8px 10px; font-size: .64rem; font-weight: 700; }
.numeric-parameters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.numeric-parameters > label { display: grid; gap: 5px; color: var(--muted); font-size: .53rem; font-weight: 800; }.numeric-parameters > label > span { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 7px; }.numeric-parameters input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; padding: 7px 4px 7px 8px; font-size: .66rem; font-weight: 750; }.numeric-parameters small { padding-right: 7px; color: var(--muted); font-size: .5rem; font-weight: 600; }
.band-grid { display: grid; grid-template-columns: .87fr 1.33fr; gap: 18px; }
.gap-card, .diagram-card { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 27px; box-shadow: 0 14px 40px rgba(26,64,55,.045); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.card-heading > div { display: flex; align-items: center; gap: 12px; }
.card-heading h3 { margin: 0; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.card-index { width: 29px; height: 29px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: .62rem; font-weight: 800; }
.micro-label { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .5rem; font-weight: 800; }
.gap-comparison { display: grid; gap: 8px; }
.gap-row { display: grid; grid-template-columns: 105px 1fr 70px; align-items: center; gap: 12px; width: 100%; padding: 13px 10px; background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; text-align: left; transition: .2s; }
.gap-row:hover, .gap-row.selected { background: #f3f6f4; border-color: var(--line); }
.material-name { display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; }
.material-name i { grid-row: 1 / 3; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; }
.material-name strong { font-size: .76rem; }.material-name small { color: var(--muted); font-size: .55rem; margin-top: 2px; }
.sns-dot { background: var(--sns); }.cds-dot { background: var(--cds); }.zno-dot { background: var(--zno); }
.gap-track { height: 7px; background: #e8eeeb; border-radius: 99px; overflow: hidden; }
.gap-track i { display: block; width: var(--gap); height: 100%; background: var(--sns); border-radius: inherit; transform-origin: left; animation: grow .7s ease both; }
.gap-row[data-gap="cds"] .gap-track i { background: var(--cds); }.gap-row[data-gap="zno"] .gap-track i { background: var(--zno); }
@keyframes grow { from { transform: scaleX(0); } }
.gap-value { font-family: Georgia, serif; font-size: 1rem; text-align: right; }.gap-value small { font-family: Inter, sans-serif; color: var(--muted); font-size: .52rem; }
.gap-row.hidden { display: none; }
.gap-empty { display: none; padding: 28px 20px; color: var(--muted); background: #f3f6f4; border: 1px dashed var(--line); border-radius: 10px; font-size: .67rem; line-height: 1.5; text-align: center; }
.gap-comparison.no-semiconductors .gap-empty { display: block; }
.gap-explainer { min-height: 94px; background: #edf4f1; border-left: 3px solid var(--sns); margin-top: 22px; padding: 15px 17px; }
.gap-explainer.empty { border-color: var(--al); }
.gap-explainer span { color: var(--green); text-transform: uppercase; letter-spacing: .1em; font-size: .53rem; font-weight: 850; }
.gap-explainer p { color: #3d554f; font-size: .7rem; line-height: 1.55; margin: 7px 0 0; }
.data-note { color: var(--muted); font-size: .6rem; line-height: 1.55; margin: 18px 4px 0; }
.diagram-card { min-width: 0; }
.band-diagram-wrap { width: 100%; overflow: hidden; }
#band-diagram { width: 100%; height: auto; min-height: 265px; }
.grid-lines line { stroke: #e8eeeb; stroke-width: 1; stroke-dasharray: 3 5; }
.axis-arrow { stroke: #83908c; stroke-width: 1.5; fill: none; }.axis-label { fill: #667570; font: 600 11px Inter, sans-serif; transform: rotate(-90deg); transform-origin: 24px 50px; }
.fermi { stroke: #697973; stroke-width: 1.5; stroke-dasharray: 7 6; }.fermi-label { fill: #5c6e68; font: italic 11px Georgia,serif; }.energy-param-label { fill: #17695e; font: 800 9px Inter,sans-serif; paint-order: stroke; stroke: white; stroke-width: 3px; stroke-linejoin: round; }
.region-divider { stroke: rgba(24,67,58,.12); stroke-width: 1; }.region-label { fill: #30473f; font: 700 13px Inter,sans-serif; }.region-sub { fill: #73817c; font: 600 9px Inter,sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.conduction-line { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: .35s; }.valence-line { fill: none; stroke: var(--sns); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: .35s; }
.metal-line { stroke: var(--al); stroke-width: 8; stroke-linecap: round; }.empty-diagram-label { fill: #7b8985; font: 600 14px Inter,sans-serif; }
.band-gap-label { fill: #30473f; font: 700 11px Inter,sans-serif; }.carrier-label { font: 800 10px Inter,sans-serif; }
.arrow-electron { stroke: var(--blue); fill: none; stroke-width: 2; marker-end: url(#arrowBlue); }.arrow-hole { stroke: #d8674f; fill: none; stroke-width: 2; marker-end: url(#arrowRed); }
.diagram-legend { display: flex; justify-content: center; gap: 25px; color: var(--muted); font-size: .58rem; margin-top: -2px; }
.line-swatch { width: 19px; display: inline-block; margin-right: 6px; vertical-align: middle; border-top: 3px solid; }.line-swatch.conduction { border-color: var(--blue); }.line-swatch.valence { border-color: var(--sns); }.line-swatch.fermi-line { border-top: 1px dashed #697973; }
.band-insight { color: #3d554f; background: #f0f5f3; padding: 14px 17px; border-radius: 9px; font-size: .66rem; line-height: 1.55; margin-top: 22px; }
.band-insight strong { color: var(--green); }
.interface-analysis { margin-top: 18px; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 14px 40px rgba(26,64,55,.045); }
.interface-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }.interface-heading > div { display: flex; align-items: center; gap: 12px; }.interface-heading h3 { margin: 0 0 3px; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }.interface-heading p { margin: 0; color: var(--muted); font-size: .57rem; }.formula-chip { color: var(--green); background: #e7f1ed; border-radius: 7px; padding: 8px 10px; font-family: Georgia, serif; font-size: .66rem; }
.offset-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.offset-card { min-width: 0; padding: 16px; background: #f4f7f5; border: 1px solid var(--line); border-radius: 10px; }.offset-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }.offset-card-header strong { font-family: Georgia, serif; font-size: .88rem; }.offset-type { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .47rem; font-weight: 850; }.offset-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }.offset-values div { display: grid; gap: 4px; }.offset-values span { color: var(--muted); font-size: .52rem; }.offset-values b { color: var(--ink); font-family: Georgia, serif; font-size: 1.15rem; font-weight: 500; }.offset-values small { font-family: Inter, sans-serif; font-size: .48rem; }.offset-shape { display: inline-flex; align-items: center; gap: 5px; color: var(--green); background: #e5f0ec; border-radius: 99px; padding: 5px 7px; font-size: .47rem; font-weight: 800; }.offset-shape.cliff { color: #a34f3e; background: #f8e9e4; }.offset-metal { margin: 12px 0 0; color: var(--muted); font-size: .57rem; line-height: 1.5; }.offset-empty { grid-column: 1 / -1; padding: 24px; color: var(--muted); border: 1px dashed var(--line); border-radius: 9px; font-size: .64rem; text-align: center; }.offset-note { margin: 17px 0 0; padding-top: 15px; color: var(--muted); border-top: 1px solid var(--line); font-size: .54rem; line-height: 1.55; }.offset-note strong { color: var(--ink); }

.photovoltaic-module { margin-top: 70px; padding-top: 68px; border-top: 1px solid var(--line); }
.simulation-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }.simulation-heading .eyebrow { margin-bottom: 11px; }.simulation-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 3.7vw, 3.3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }.model-badge { flex: 0 0 auto; color: var(--green); background: #e4efeb; border: 1px solid #cfdfd8; border-radius: 99px; padding: 9px 12px; font-size: .55rem; font-weight: 850; letter-spacing: .09em; }
.model-scope { margin: 22px 0; padding: 13px 16px; color: #47605a; background: #edf3f0; border-left: 3px solid var(--green); border-radius: 0 9px 9px 0; font-size: .64rem; line-height: 1.55; }.model-scope strong { color: var(--green); }
.simulation-inputs { display: flex; flex-wrap: wrap; gap: 9px; padding: 18px; background: #0f312b; border-radius: 14px; }
.simulation-range { flex: 1 1 275px; display: grid; gap: 10px; padding: 12px 14px; color: white; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 9px; }.simulation-range > span { display: flex; justify-content: space-between; gap: 12px; font-size: .6rem; }.simulation-range output { color: #9de0d4; font-weight: 800; }.simulation-range input { width: 100%; height: 4px; appearance: none; background: linear-gradient(90deg, #6dc8b9 var(--range-progress, 50%), rgba(255,255,255,.18) var(--range-progress, 50%)); border-radius: 99px; cursor: pointer; }.simulation-range input::-webkit-slider-thumb { width: 16px; height: 16px; appearance: none; background: #d9f3ee; border: 3px solid #298778; border-radius: 50%; }.simulation-range input::-moz-range-thumb { width: 10px; height: 10px; background: #d9f3ee; border: 3px solid #298778; border-radius: 50%; }
.simulation-number { flex: 1 1 140px; display: grid; align-content: center; gap: 7px; padding: 10px 12px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 9px; font-size: .55rem; font-weight: 750; }.simulation-number .parameter-symbol { display: inline-block; width: max-content; color: rgba(255,255,255,.72); font-size: .75rem; line-height: 1; white-space: nowrap; }.simulation-number .parameter-symbol sub { position: relative; bottom: -.08em; font-size: .7em; line-height: 0; }.simulation-number .parameter-field { min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; background: rgba(255,255,255,.09); border-radius: 6px; }.simulation-number input { min-width: 0; width: 100%; color: white; background: transparent; border: 0; outline: 0; padding: 8px; font-size: .67rem; font-weight: 800; }.simulation-number small { padding-right: 7px; color: rgba(255,255,255,.5); font-size: .46rem; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 13px; }.metric-card { display: grid; grid-template-columns: 1fr auto; align-items: end; min-height: 106px; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 11px; }.metric-card > span { grid-column: 1 / -1; align-self: start; color: var(--muted); font-size: .62rem; font-weight: 800; }.metric-card strong { color: var(--ink); font-family: Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: -.04em; }.metric-card small { color: var(--muted); font-size: .5rem; margin-bottom: 5px; }.metric-card.accent { color: white; background: var(--green); border-color: var(--green); }.metric-card.accent > span, .metric-card.accent strong { color: white; }.metric-card.accent small { color: rgba(255,255,255,.6); }
.model-equations { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 13px 0 24px; padding: 12px; color: var(--muted); background: #edf2ef; border-radius: 9px; font-family: Georgia, serif; font-size: .62rem; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.analysis-card { min-width: 0; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 14px; }.analysis-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }.analysis-heading > div { display: flex; align-items: center; gap: 10px; }.analysis-heading h3 { margin: 0 0 3px; font-family: Georgia, serif; font-size: 1.02rem; font-weight: 500; }.analysis-heading p { margin: 0; color: var(--muted); font-size: .53rem; }.analysis-heading select { max-width: 145px; color: var(--ink); background: #f1f5f3; border: 1px solid var(--line); border-radius: 7px; padding: 7px; font-size: .55rem; font-weight: 700; }
#profile-chart, #sensitivity-chart { display: block; width: 100%; height: auto; min-height: 235px; background: linear-gradient(180deg, #fbfcfb, #f5f8f6); border-radius: 8px; }.chart-grid { stroke: #dae4df; stroke-width: 1; stroke-dasharray: 3 5; }.chart-axis { stroke: #71817c; stroke-width: 1.2; }.chart-tick { fill: #71817c; font: 600 9px Inter,sans-serif; }.chart-region-label { fill: #4a605a; font: 800 9px Inter,sans-serif; letter-spacing: .08em; }.profile-generation { fill: none; stroke: var(--sns); stroke-width: 3; }.profile-collection { fill: none; stroke: var(--blue); stroke-width: 3; }.sensitivity-jsc { fill: none; stroke: var(--blue); stroke-width: 3; }.sensitivity-efficiency { fill: none; stroke: var(--green-2); stroke-width: 3; }.chart-point { stroke: white; stroke-width: 2; }.current-point { stroke: var(--ink); stroke-width: 3; }
.chart-legend { display: flex; justify-content: center; gap: 20px; margin-top: 9px; color: var(--muted); font-size: .54rem; }.chart-legend i { display: inline-block; width: 18px; margin-right: 5px; vertical-align: middle; border-top: 3px solid; }.generation-swatch { border-color: var(--sns) !important; }.collection-swatch, .jsc-swatch { border-color: var(--blue) !important; }.efficiency-swatch { border-color: var(--green-2) !important; }
.sensitivity-table-wrap { max-height: 174px; margin-top: 13px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }.sensitivity-table-wrap table { width: 100%; border-collapse: collapse; font-size: .52rem; }.sensitivity-table-wrap th { position: sticky; top: 0; color: var(--green); background: #edf3f0; text-align: right; }.sensitivity-table-wrap th:first-child, .sensitivity-table-wrap td:first-child { text-align: left; }.sensitivity-table-wrap th, .sensitivity-table-wrap td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }.sensitivity-table-wrap tr.current { background: #fff6df; font-weight: 800; }
.export-panel { margin-top: 14px; padding: 22px; color: white; background: #173b34; border-radius: 14px; }
.export-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.export-heading > div { display: flex; align-items: center; gap: 11px; }.export-heading h3 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 500; }.export-heading p { margin: 0; color: rgba(255,255,255,.56); font-size: .56rem; }
.export-status { min-height: 22px; max-width: 290px; padding: 5px 9px; color: #a9ddd3; background: rgba(255,255,255,.07); border-radius: 99px; font-size: .5rem; font-weight: 750; text-align: center; }.export-status:empty { visibility: hidden; }.export-status.error { color: #ffd2c7; background: rgba(223,117,84,.16); }
.export-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.export-option { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px; color: white; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; text-align: left; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }.export-option:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.26); transform: translateY(-1px); }.export-option:focus-visible { outline-color: #9de0d4; }.export-option > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }.export-option strong { font-size: .64rem; }.export-option small { overflow: hidden; color: rgba(255,255,255,.52); font-size: .49rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }.export-option i { color: #9de0d4; font-style: normal; font-size: .86rem; }
.export-option.featured { min-height: 74px; background: rgba(215,237,231,.09); }
.format-badge { min-width: 43px; padding: 7px 6px; color: #173b34; background: #9de0d4; border-radius: 6px; font-size: .49rem; font-weight: 900; letter-spacing: .06em; text-align: center; }.format-badge.report { background: #efc66a; }.format-badge.origin { color: white; background: #2775a0; }
.origin-export-option { grid-column: 1 / -1; min-width: 0; display: grid; grid-template-columns: auto minmax(180px,1fr) minmax(220px,.8fr) auto; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }.origin-copy { min-width: 0; display: grid; gap: 3px; }.origin-copy strong { font-size: .64rem; }.origin-copy small { color: rgba(255,255,255,.52); font-size: .49rem; line-height: 1.35; }.origin-dataset { display: grid; gap: 5px; color: rgba(255,255,255,.55); font-size: .49rem; font-weight: 750; }.origin-dataset select { min-width: 0; width: 100%; padding: 8px 28px 8px 9px; color: white; background: #254840; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; font-size: .55rem; font-weight: 700; }.origin-download { align-self: end; padding: 9px 11px; color: #173b34; background: #d7ede7; border: 0; border-radius: 7px; font-size: .56rem; font-weight: 850; white-space: nowrap; cursor: pointer; }.origin-download:hover { background: white; }.origin-download span { margin-left: 7px; }
.export-note { margin: 14px 0 0; padding-top: 12px; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); font-size: .52rem; line-height: 1.5; }.export-note strong { color: rgba(255,255,255,.82); }

footer { max-width: 1252px; margin: 0 auto; display: grid; grid-template-columns: .72fr 1.8fr; gap: 32px 70px; padding: 54px 0 44px; border-top: 1px solid var(--line); color: var(--muted); }
.credit-heading { display: flex; align-items: flex-start; gap: 16px; }
.credit-heading .eyebrow { margin: 3px 0 9px; font-size: .57rem; }
.credit-heading h2 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.035em; }
.credit-mark { width: 31px; height: 42px; display: grid; gap: 3px; flex: 0 0 auto; transform: skewY(-7deg); }
.credit-mark i { display: block; border-radius: 2px; }
.credit-mark i:nth-child(1) { background: var(--zno); }
.credit-mark i:nth-child(2) { background: var(--cds); }
.credit-mark i:nth-child(3) { background: var(--sns); }
.research-credits { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.research-credits div { padding: 15px 18px 17px 0; border-bottom: 1px solid var(--line); }
.research-credits div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.research-credits dt { margin-bottom: 7px; color: var(--green-2); font-size: .53rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.research-credits dd { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: .88rem; line-height: 1.36; }
.research-credits dd span { display: block; margin-top: 4px; color: var(--muted); font-family: Inter, sans-serif; font-size: .55rem; font-weight: 800; letter-spacing: .1em; }
.research-note { grid-column: 1 / -1; margin: 0; padding-top: 19px; border-top: 1px solid var(--line); font-size: .58rem; line-height: 1.55; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; margin: auto; }.lede { margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 410px; }
  .explorer-grid, .band-grid, .energy-controls { grid-template-columns: 1fr; }
  .device-stage { border-radius: 0; }
  .layer-panel { border-radius: 0 0 16px 16px; min-height: 465px; }
  .control-strip { flex-wrap: wrap; }.component-control-group { width: 100%; min-width: 0; }.control-divider.tall { display: none; }.architecture-readout { width: 100%; margin-left: 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
  .offset-cards { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  footer { margin: 0 34px; grid-template-columns: 1fr; }
  .research-note { grid-column: 1; }
}
@media (max-width: 1100px) {
  .explorer .section-heading { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .explorer .section-heading > p { max-width: 560px; }
}
@media (max-width: 660px) {
  .topbar { height: 70px; padding: 0 20px; }.topbar nav, .private-badge { display: none; }
  .hero { min-height: auto; padding: 56px 20px 36px; }.hero::before { inset-left: 20px; inset-right: 20px; }
  .hero-title { font-size: clamp(1.55rem, 8vw, 3rem); line-height: .98; letter-spacing: -.065em; }.lede { font-size: .92rem; }.hero-visual { min-height: 340px; }.hero-metrics { grid-template-columns: 1fr; }.hero-metrics article { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 0 !important; }
  .section-shell { padding: 78px 20px; }.section-heading { display: grid; align-items: start; }.section-heading > p { font-size: .78rem; }
  .explorer .architecture-title { font-size: clamp(.78rem, 4vw, 1.18rem); letter-spacing: -.06em; }
  .control-strip { display: grid; gap: 19px; }.control-divider { display: none; }.component-toggles { grid-template-columns: repeat(2, 1fr); }.component-toggle { padding: 10px 9px; }
  .device-stage { min-height: 520px; }.device { width: 88%; }.device-layer { height: 76px; grid-template-columns: 60px 1fr; padding: 0 18px; }.layer-thickness { display: none; }.layer-code { font-size: 1.5rem; }
  .incident-light { left: 4%; }.stage-legend { right: 20px; left: 20px; flex-direction: column; gap: 6px; }
  .layer-panel { padding: 36px 25px 25px; }
  .bands .section-heading { margin-bottom: 25px; }.segmented { justify-self: start; }
  .gap-card, .diagram-card { padding: 20px 16px; }.gap-row { grid-template-columns: 88px 1fr 58px; gap: 8px; padding-left: 3px; padding-right: 3px; }.diagram-legend { flex-wrap: wrap; gap: 12px; }
  .parameter-card, .interface-analysis { padding: 19px 16px; }.display-select { grid-template-columns: 1fr; gap: 6px; }.numeric-parameters { grid-template-columns: repeat(2, 1fr); }.interface-heading { align-items: flex-start; }.formula-chip { display: none; }
  .simulation-heading { display: grid; align-items: start; }.model-badge { justify-self: start; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.analysis-card { padding: 18px 12px; }.analysis-heading { align-items: flex-start; }.analysis-heading select { max-width: 125px; }.export-panel { padding: 18px 14px; }.export-heading { align-items: flex-start; }.export-status { max-width: 155px; }.export-grid { grid-template-columns: 1fr; }.export-option small { white-space: normal; }.origin-export-option { grid-template-columns: auto 1fr; }.origin-dataset, .origin-download { grid-column: 1 / -1; }.origin-download { width: 100%; }
  .micro-label { display: none; }
  footer { margin: 0 20px; padding-top: 42px; line-height: 1.45; }
  .research-credits { grid-template-columns: 1fr; }
  .research-credits div:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
