@font-face {
  font-family: "Ritfit Mechanical";
  src: url("assets/fonts/ritfit-mechanical.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --red: #d8101a;
  --red-soft: #ff4b55;
  --navy: #071a3d;
  --navy-2: #0b2f68;
  --cyan: #88d7ff;
  --ink: #f7fbff;
  --muted: rgba(230, 239, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.2);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 16, 26, 0.42), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(136, 215, 255, 0.26), transparent 34rem),
    linear-gradient(135deg, #030816 0%, var(--navy) 42%, #071021 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-red {
  left: -14vw;
  top: 8vh;
  background: var(--red);
}

.ambient-blue {
  right: -12vw;
  top: -10vh;
  background: var(--cyan);
}

.site-nav,
.single-stage,
.step-sheet {
  position: relative;
  z-index: 1;
}

.glass-panel,
.site-nav {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
}

.site-nav {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 22px clamp(18px, 3vw, 48px) 0;
  min-height: 72px;
  padding: 12px 18px;
  border-radius: 8px;
}

.logo-link img {
  display: block;
  width: 122px;
  max-height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.anchor-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-pill,
.slider-button,
.primary-action,
.secondary-action,
.sheet-close {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 850;
  backdrop-filter: blur(16px);
}

.nav-pill {
  min-width: 66px;
  padding: 11px 16px;
}

.nav-pill.is-active,
.nav-pill:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.22);
}

.nav-status {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-status strong {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.single-stage {
  min-height: calc(100vh - 116px);
  padding: clamp(18px, 3vw, 48px);
}

.story-section {
  position: relative;
  min-height: calc(100vh - 164px);
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(18px, 2.6vw, 34px);
}

.story-section::before {
  content: "RITFIT";
  position: absolute;
  top: 4%;
  right: 4%;
  color: rgba(255, 255, 255, 0.045);
  font-family: "Ritfit Mechanical", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(96px, 17vw, 280px);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  color: #fff;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.rail-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 clamp(16px, 3vw, 30px);
}

.progress-copy {
  display: grid;
  gap: 6px;
}

.progress-copy span {
  color: #fff;
  font-size: 36px;
  font-weight: 950;
}

.progress-copy small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rail-actions {
  display: flex;
  gap: 10px;
}

.slider-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  font-size: 28px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  padding: 12px 20px;
}

.primary-action {
  border-color: rgba(216, 16, 26, 0.9);
  background: linear-gradient(135deg, var(--red), #ff3541);
}

.secondary-action {
  margin-top: 18px;
  border-color: rgba(255, 255, 255, 0.24);
}

.story-board {
  position: relative;
  z-index: 1;
}

.rail-mask {
  margin-right: -54px;
  overflow: hidden;
}

.step-rail {
  display: grid;
  grid-auto-columns: minmax(280px, 21vw);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 54px 26px 4px;
  scroll-snap-type: x mandatory;
}

.step-rail::-webkit-scrollbar {
  height: 10px;
}

.step-rail::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.step-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.step-card {
  min-height: clamp(350px, 48vh, 460px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(235, 245, 255, 0.72);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.26);
  scroll-snap-align: start;
  text-align: left;
  transform: rotate(-1.2deg);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(18px);
}

.process-map-section {
  display: grid;
  gap: 22px;
  margin-top: clamp(28px, 5vw, 72px);
  padding: clamp(22px, 3vw, 38px);
  border-radius: 8px;
}

.process-map-copy {
  max-width: 760px;
}

.process-map-copy h2 {
  margin-bottom: 10px;
}

.process-map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 14% 20%, rgba(216, 16, 26, 0.24), transparent 22rem),
    radial-gradient(circle at 88% 16%, rgba(136, 215, 255, 0.2), transparent 24rem),
    linear-gradient(145deg, rgba(4, 16, 39, 0.76), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.24);
}

.process-map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.process-topline,
.process-flow,
.process-feedback,
.process-legend {
  position: relative;
  z-index: 1;
}

.process-topline {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.process-topline span,
.process-feedback span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 11px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.44);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.process-main-row,
.process-tool-row {
  display: grid;
  min-width: 1180px;
}

.process-main-row {
  grid-template-columns: repeat(8, minmax(128px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.process-tool-row {
  grid-template-columns: repeat(8, minmax(128px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.process-flow {
  overflow-x: auto;
  padding: 4px 2px 14px;
}

.process-flow::-webkit-scrollbar {
  height: 8px;
}

.process-flow::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.process-flow::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.process-node,
.process-tool {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  text-align: left;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.process-spacer {
  min-height: 1px;
}

.process-node {
  display: grid;
  align-content: start;
  min-height: 164px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.1);
}

.process-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.process-node:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: -15px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.72);
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  transform: rotate(45deg);
}

.process-node.is-ai {
  background: linear-gradient(145deg, rgba(216, 16, 26, 0.76), rgba(216, 16, 26, 0.42));
}

.process-node.is-design {
  background: linear-gradient(145deg, rgba(61, 118, 211, 0.82), rgba(75, 137, 225, 0.46));
}

.process-node.is-io {
  background: linear-gradient(145deg, rgba(123, 92, 217, 0.86), rgba(136, 215, 255, 0.22));
}

.process-node small,
.process-tool small {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-node strong,
.process-tool strong {
  color: #fff;
  line-height: 1.25;
}

.process-node strong {
  min-height: 2.5em;
  font-size: 17px;
}

.process-node span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.55;
}

.process-tool {
  display: grid;
  align-content: center;
  min-height: 104px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.process-tool::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  width: 1px;
  height: 22px;
  border-left: 1px dashed rgba(255, 255, 255, 0.42);
}

.process-node:hover,
.process-tool:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.process-feedback {
  display: flex;
  justify-content: center;
  margin: 22px 0 24px;
}

.process-feedback span {
  border-color: rgba(216, 16, 26, 0.4);
  background: rgba(216, 16, 26, 0.62);
}

.process-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.process-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.legend-dot.is-io {
  background: #8665d8;
}

.legend-dot.is-ai {
  background: var(--red);
}

.legend-dot.is-design {
  background: #4d7fd5;
}

.legend-dot.is-tool {
  background: #05070c;
}

.step-card:nth-child(even) {
  transform: rotate(1deg);
}

.step-card:hover,
.step-card.is-active {
  background: rgba(246, 251, 255, 0.86);
  box-shadow: 0 30px 66px rgba(0, 0, 0, 0.34);
  transform: translateY(-10px) rotate(0deg);
}

.asset-placeholder {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(7, 26, 61, 0.26);
  border-radius: 8px;
  padding: 18px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(216, 16, 26, 0.08), transparent 42%),
    repeating-linear-gradient(45deg, rgba(7, 26, 61, 0.05) 0 10px, transparent 10px 20px),
    rgba(255, 255, 255, 0.66);
  text-align: center;
}

.asset-placeholder strong {
  max-width: 15em;
  font-size: 18px;
  line-height: 1.2;
}

.asset-placeholder span {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.asset-placeholder small {
  display: block;
  margin-top: 8px;
  color: rgba(7, 26, 61, 0.58);
  font-size: 12px;
}

.card-icon-stage {
  display: grid;
  min-height: 158px;
  margin: 16px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.72), transparent 13rem),
    linear-gradient(135deg, rgba(216, 16, 26, 0.1), rgba(136, 215, 255, 0.2));
}

.card-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(7, 26, 61, 0.12);
  border-radius: 8px;
  color: #cd001a;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 42px rgba(7, 26, 61, 0.16);
}

.card-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.card-asset-hint {
  display: grid;
  justify-items: center;
  gap: 6px;
  max-width: 15em;
  color: var(--navy);
  text-align: center;
}

.card-asset-hint span {
  font-size: 14px;
  font-weight: 950;
  line-height: 1.3;
}

.card-asset-hint small {
  color: rgba(7, 26, 61, 0.56);
  font-size: 11px;
  font-weight: 850;
}

.card-copy {
  padding: 6px 20px 22px;
}

.card-copy span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 950;
}

.card-copy h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.98;
  text-transform: uppercase;
}

.card-copy p {
  margin-bottom: 0;
  color: rgba(7, 26, 61, 0.78);
  font-weight: 650;
  font-size: 15px;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  background: rgba(3, 8, 22, 0);
  transition: background 240ms ease;
}

body.sheet-open .sheet-backdrop {
  pointer-events: auto;
  background: rgba(3, 8, 22, 0.38);
}

.step-sheet {
  position: fixed;
  top: 88px;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  display: grid;
  grid-template-rows: auto auto 1fr;
  width: min(50vw, 1040px);
  overflow: auto;
  border-color: rgba(203, 225, 255, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(40, 79, 132, 0.7), rgba(10, 31, 70, 0.62)),
    rgba(10, 31, 70, 0.62);
  box-shadow:
    0 30px 84px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(46px) saturate(142%);
  -webkit-backdrop-filter: blur(46px) saturate(142%);
  transform: translateX(calc(100% + 48px));
  transition: transform 280ms cubic-bezier(.22, .61, .36, 1);
}

.step-sheet.is-open {
  transform: translateX(0);
}

.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  font-size: 26px;
}

.sheet-media {
  display: grid;
  justify-items: center;
  padding: 22px 24px 0;
}

.sheet-media .asset-placeholder {
  width: min(100%, 360px);
  min-height: 0;
  aspect-ratio: 9 / 13;
  border: 1px dashed rgba(255, 255, 255, 0.36);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(216, 16, 26, 0.2), transparent 44%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px),
    rgba(255, 255, 255, 0.08);
}

.sheet-media .asset-placeholder span,
.sheet-media .asset-placeholder small {
  color: rgba(255, 255, 255, 0.76);
}

.sheet-media .asset-placeholder.is-wide {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.sheet-media .asset-placeholder.is-square {
  width: min(100%, 340px);
  aspect-ratio: 1 / 1;
}

.sheet-media .asset-placeholder.is-long {
  width: min(100%, 330px);
  aspect-ratio: 9 / 14;
}

.sheet-media .asset-placeholder strong {
  font-size: 17px;
}

.brief-board {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(136, 215, 255, 0.16), transparent 12rem),
    radial-gradient(circle at 0% 100%, rgba(216, 16, 26, 0.17), transparent 13rem),
    rgba(4, 24, 57, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brief-board-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.brief-board-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brief-board-heading strong {
  font-size: 18px;
  line-height: 1;
}

.brief-board-heading span {
  border-radius: 4px;
  padding: 4px 7px;
  color: #fff;
  background: rgba(61, 137, 223, 0.74);
  font-size: 10px;
  font-weight: 900;
}

.brief-board-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  line-height: 1.4;
}

.brief-board-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.12fr 1.08fr;
  gap: 8px;
}

.brief-column {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.brief-column h3 {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 900;
}

.requirement-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
}

.requirement-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.brief-text-link,
.brief-original-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 800;
}

.brief-text-link {
  display: block;
  margin-top: 8px;
  text-align: center;
}

.brief-module-stack {
  display: grid;
  gap: 6px;
}

.brief-module {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 7px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.brief-module-index {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 9px;
  font-weight: 950;
}

.brief-module small,
.brief-module strong,
.brief-module p {
  display: block;
}

.brief-module small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  font-weight: 850;
}

.brief-module strong {
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
}

.brief-module p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  line-height: 1.4;
}

.brief-module.is-banner {
  border-color: rgba(136, 215, 255, 0.34);
  background: linear-gradient(90deg, rgba(136, 215, 255, 0.14), rgba(255, 255, 255, 0.05));
}

.brief-module.is-promotion {
  border-color: rgba(216, 16, 26, 0.32);
  background: rgba(216, 16, 26, 0.1);
}

.brief-module.is-reserved {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.045);
}

.brief-module.is-scene {
  background: linear-gradient(90deg, rgba(66, 118, 205, 0.16), rgba(255, 255, 255, 0.045));
}

.brief-original-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.brief-original-link span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-original-link b {
  color: #fff;
  font-size: 13px;
}

.brief-product-list {
  display: grid;
  gap: 6px;
}

.brief-product {
  display: grid;
  grid-template-columns: 43px 1fr 12px;
  gap: 7px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.065);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.brief-product:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(2px);
}

.brief-product img {
  display: block;
  width: 43px;
  height: 43px;
  border-radius: 4px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.86);
}

.brief-product span {
  min-width: 0;
}

.brief-product strong,
.brief-product small {
  display: block;
}

.brief-product strong {
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-product small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brief-product b {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 500;
}

.spec-board-shell { width: 100%; }

.eagle-board-shell { width: 100%; }

.banner-workflow-shell { width: 100%; }

.figma-board-shell { width: 100%; }

.export-board-shell { width: 100%; }

.export-board {
  overflow: hidden;
  border: 1px solid rgba(184, 219, 255, 0.3);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 24px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(91, 166, 234, 0.15), transparent 18rem),
    linear-gradient(145deg, rgba(18, 49, 96, 0.54), rgba(5, 23, 57, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.export-board-heading { display: grid; gap: 5px; margin-bottom: 14px; }
.export-board-heading p, .export-board-heading h3, .export-board-heading span { margin: 0; }
.export-board-heading p { color: rgba(255, 255, 255, 0.74); font-size: 11px; font-weight: 950; letter-spacing: 0.1em; }
.export-board-heading h3 { color: #fff; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1; }
.export-board-heading span { color: rgba(255, 255, 255, 0.68); font-size: 12px; }

.export-board-grid { display: grid; grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1.18fr); gap: 14px; align-items: start; }
.export-preview-panel, .export-check-group, .export-ready { border: 1px solid rgba(184, 219, 255, 0.24); border-radius: 7px; background: rgba(3, 19, 48, 0.22); }
.export-preview-panel { display: grid; justify-items: center; gap: 12px; padding: 14px; }
.export-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.export-panel-heading strong { font-size: 14px; }
.export-panel-heading span { border-radius: 4px; padding: 5px 8px; color: rgba(220, 238, 255, 0.82); background: rgba(99, 151, 214, 0.22); font-size: 9px; font-weight: 850; }
.export-email-frame { width: min(100%, 260px); overflow: hidden; border: 1px solid rgba(184, 219, 255, 0.42); border-radius: 4px; background: #06152d; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24); }
.export-email-frame img { display: block; width: 100%; height: auto; }

.export-checks { display: grid; gap: 12px; }
.export-check-group { padding: 16px; }
.export-check-group h4 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.export-check-group ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.export-check-group li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 34px; color: rgba(240, 248, 255, 0.84); font-size: 11px; font-weight: 750; }
.export-check-group li i, .export-ready > i { display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #3dcc7c, #118d55); box-shadow: 0 5px 14px rgba(23, 178, 96, 0.28); font-style: normal; font-weight: 950; }
.export-check-group li i { width: 24px; height: 24px; font-size: 12px; }
.export-ready { display: grid; justify-items: center; gap: 8px; padding: 18px; text-align: center; }
.export-ready > i { width: 58px; height: 58px; border: 4px solid rgba(123, 237, 166, 0.36); font-size: 30px; }
.export-ready strong { font-size: 24px; line-height: 1.1; }
.export-ready span { color: rgba(220, 238, 255, 0.58); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; }
.export-ready button { width: 100%; min-height: 38px; margin-top: 5px; border: 0; border-radius: 4px; color: #fff; background: #cd001a; font-size: 12px; font-weight: 900; }

.figma-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(187, 220, 255, 0.38);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 38px) clamp(14px, 3.6vw, 50px) clamp(22px, 3vw, 38px);
  color: #fff;
  background:
    radial-gradient(circle at 95% 3%, rgba(71, 172, 239, 0.2), transparent 18rem),
    radial-gradient(circle at 5% 56%, rgba(205, 0, 26, 0.13), transparent 19rem),
    linear-gradient(145deg, rgba(36, 75, 128, 0.64), rgba(4, 20, 50, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 46px rgba(0, 0, 0, 0.2);
}

.figma-board-mark {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  object-fit: contain;
}

.figma-width-guide { position: relative; color: #85baff; font-size: 11px; font-weight: 850; text-align: center; }
.figma-width-guide::before,
.figma-width-guide::after { position: absolute; top: 50%; width: 28%; border-top: 1px solid currentColor; content: ""; opacity: 0.8; }
.figma-width-guide::before { left: 0; }
.figma-width-guide::after { right: 0; }
.figma-width-guide span { display: inline-block; padding-inline: 10px; background: rgba(19, 53, 102, 0.76); }
.figma-width-guide.is-outer { margin: 0 4px 14px; }

.figma-canvas {
  position: relative;
  padding: 42px clamp(16px, 3vw, 52px) clamp(16px, 3vw, 44px);
  border: 1px dashed rgba(186, 221, 255, 0.44);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(92, 164, 226, 0.07));
}

.figma-width-guide.is-safe { position: absolute; top: 13px; right: 5.5%; left: 5.5%; }
.figma-width-guide.is-safe span { background: rgba(28, 70, 126, 0.84); }

.figma-module-label { margin: 0 0 10px; color: #fff; font-size: clamp(12px, 1.6vw, 15px); font-weight: 900; line-height: 1.3; }
.figma-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 1.04fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
.figma-image-frame, .figma-scene-frame { overflow: hidden; border: 1px solid rgba(177, 217, 255, 0.58); border-radius: 4px; background: #06152d; box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); }
.figma-image-frame { width: 100%; min-width: 0; aspect-ratio: 1 / 1; }
.figma-image-frame img, .figma-scene-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.figma-copy-wrap { display: grid; gap: 10px; align-self: center; width: 100%; min-width: 0; }
.figma-copy-label, .figma-cta-component span { color: rgba(230, 243, 255, 0.82); font-size: 13px; font-weight: 850; }
.figma-copy-component { position: relative; display: grid; align-content: center; justify-items: start; gap: 26px; min-height: 270px; padding: 54px 48px 50px; border: 1px dashed rgba(135, 186, 255, 0.7); border-radius: 5px; background: rgba(4, 24, 57, 0.24); }
.figma-copy-component strong { color: #fff; font-size: clamp(18px, 2.1vw, 30px); line-height: 1.1; white-space: nowrap; }
.figma-copy-component button, .figma-cta-component button { border: 0; border-radius: 3px; color: #fff; background: #cd001a; box-shadow: 0 8px 18px rgba(205, 0, 26, 0.24); font-size: 11px; font-weight: 850; }
.figma-copy-component button { justify-self: center; width: 156px; min-height: 44px; padding: 10px 20px; }
.copy-measure { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 5px; color: #ff91ab; line-height: 1; text-shadow: 0 0 10px rgba(255, 78, 113, 0.22); }
.copy-measure b { color: #ff91ab; font-size: 9px; font-weight: 850; }
.copy-measure i { position: relative; display: block; font-style: normal; }
.copy-measure.is-top,
.copy-measure.is-bottom { flex-direction: column; }
.copy-measure.is-top { top: 9px; left: 50%; transform: translateX(-50%); }
.copy-measure.is-bottom { bottom: 9px; left: 50%; flex-direction: column-reverse; transform: translateX(-50%); }
.copy-measure.is-top i,
.copy-measure.is-bottom i { width: 1px; height: 26px; background: currentColor; }
.copy-measure.is-top i::before,
.copy-measure.is-top i::after,
.copy-measure.is-bottom i::before,
.copy-measure.is-bottom i::after { position: absolute; left: -3px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; content: ""; }
.copy-measure.is-top i::before,
.copy-measure.is-bottom i::before { top: -1px; transform: rotate(225deg); }
.copy-measure.is-top i::after,
.copy-measure.is-bottom i::after { bottom: -1px; transform: rotate(45deg); }
.copy-measure.is-left { top: 51%; left: 12px; transform: translateY(-50%); }
.copy-measure.is-right { top: 51%; right: 12px; flex-direction: row-reverse; transform: translateY(-50%); }
.copy-measure.is-left i,
.copy-measure.is-right i { width: 42px; height: 1px; background: currentColor; }
.copy-measure.is-left i::before,
.copy-measure.is-left i::after,
.copy-measure.is-right i::before,
.copy-measure.is-right i::after { position: absolute; top: -3px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; content: ""; }
.copy-measure.is-left i::before,
.copy-measure.is-right i::before { left: -1px; transform: rotate(135deg); }
.copy-measure.is-left i::after,
.copy-measure.is-right i::after { right: -1px; transform: rotate(-45deg); }

.figma-promo-module { margin-top: clamp(22px, 4vw, 40px); }
.figma-promo-layout { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(190px, 0.97fr); gap: clamp(18px, 4vw, 56px); align-items: center; }
.figma-promo-layout > p { margin: 0; padding: 18px; border: 1px dashed rgba(135, 186, 255, 0.68); border-radius: 5px; color: #fff; font-size: 11px; line-height: 1.5; text-align: center; }
.figma-cta-component { display: grid; gap: 12px; }
.figma-cta-component button { min-height: 30px; width: 100%; }

.figma-gift-module { margin-top: clamp(20px, 3.5vw, 34px); max-width: 52%; }
.figma-gift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; border: 1px dashed rgba(135, 186, 255, 0.68); border-radius: 5px; }
.figma-gift-grid > div { display: grid; min-height: 118px; place-items: center; align-content: center; gap: 7px; border: 1px solid rgba(210, 231, 255, 0.46); border-radius: 5px; background: rgba(240, 248, 255, 0.12); text-align: center; }
.figma-gift-grid strong { color: #fff; font-size: 13px; }
.figma-gift-grid span { color: rgba(241, 248, 255, 0.76); font-size: 10px; }

.figma-scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 4vw, 52px); margin-top: clamp(22px, 4vw, 42px); }
.figma-scene-frame { aspect-ratio: 0.75 / 1; }

.banner-workflow {
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(187, 220, 255, 0.36);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 24px);
  background:
    radial-gradient(circle at 88% 4%, rgba(91, 166, 234, 0.15), transparent 18rem),
    linear-gradient(145deg, rgba(18, 49, 96, 0.54), rgba(5, 23, 57, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.banner-workflow-heading { display: grid; gap: 5px; margin-bottom: 2px; }
.banner-workflow-heading p, .banner-workflow-heading h3, .banner-workflow-heading span { margin: 0; }
.banner-workflow-heading p { color: rgba(255, 255, 255, 0.74); font-size: 11px; font-weight: 950; letter-spacing: 0.1em; }
.banner-workflow-heading h3 { color: #fff; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1; }
.banner-workflow-heading span { color: rgba(255, 255, 255, 0.68); font-size: 12px; }

.banner-workflow-stage {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid rgba(184, 219, 255, 0.22);
  border-radius: 7px;
  padding: 14px;
  background: rgba(3, 19, 48, 0.22);
}

.banner-workflow-label {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: stretch;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.banner-workflow-label b,
.transform-heading b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: rgba(205, 0, 26, 0.78);
  font-size: 10px;
}

.banner-workflow-image {
  width: min(100%, 540px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 219, 255, 0.42);
  border-radius: 5px;
  background: #06162e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.banner-workflow-image img { display: block; width: 100%; height: auto; }

.banner-workflow-image.is-reference { aspect-ratio: 1134 / 1250; }
.banner-workflow-image.is-reference img { height: 100%; object-fit: contain; object-position: center; }
.banner-workflow-image.is-generated { aspect-ratio: 1 / 1; }
.banner-workflow-image.is-generated img { height: 100%; object-fit: cover; }

.banner-transform {
  display: grid;
  justify-items: center;
  width: 100%;
  margin: 0 auto;
  gap: 9px;
  border: 1px solid rgba(184, 219, 255, 0.22);
  border-radius: 7px;
  padding: 12px 14px;
  background: rgba(3, 19, 48, 0.22);
}

.transform-arrow {
  color: #ff2037;
  text-shadow: 0 0 8px rgba(255, 32, 55, 0.62);
  font-size: 34px;
  font-weight: 300;
  line-height: 0.92;
}

.transform-arrow.is-bottom { margin-top: 0; }

.transform-heading { display: flex; align-items: center; gap: 9px; width: min(100%, 470px); color: #fff; font-size: 16px; font-weight: 850; }

.transform-card {
  display: grid;
  width: min(100%, 470px);
  overflow: hidden;
  border: 1px solid rgba(184, 219, 255, 0.26);
  border-radius: 6px;
  background: rgba(3, 19, 48, 0.18);
  box-shadow: none;
}

.transform-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  border-bottom: 1px dashed rgba(194, 224, 255, 0.2);
}

.transform-item:last-child { border-bottom: 0; }
.transform-item b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 48, 66, 0.84);
  border-radius: 5px;
  color: #ff3042;
  font-size: 18px;
  font-weight: 700;
}
.transform-item span { color: #fff; font-size: clamp(13px, 1.75vw, 16px); font-weight: 800; line-height: 1.3; }

.transform-prompt {
  width: min(100%, 470px);
  margin: 0;
  color: rgba(222, 239, 255, 0.78);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.eagle-board {
  width: 100%;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, rgba(205, 0, 26, 0.1), transparent 28%), linear-gradient(180deg, rgba(13, 50, 94, 0.9), rgba(4, 27, 62, 0.94));
  border: 1px solid rgba(147, 205, 255, 0.34);
  border-radius: 8px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 8, 26, 0.24);
}

.eagle-board-heading { display: grid; gap: 5px; margin-bottom: 16px; }
.eagle-board-heading p, .eagle-board-heading h3, .eagle-board-heading span { margin: 0; }
.eagle-board-heading p { color: rgba(255, 255, 255, 0.72); font-size: 11px; font-weight: 950; letter-spacing: 0.1em; }
.eagle-board-heading h3 { font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1; }
.eagle-board-heading span { color: rgba(226, 238, 255, 0.7); font-size: 12px; }

.eagle-source-grid, .eagle-match-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 12px; }
.eagle-library-preview, .eagle-brief-card, .eagle-hard-filter, .eagle-weight-panel, .eagle-candidate-section, .eagle-output-card {
  border: 1px solid rgba(147, 205, 255, 0.28);
  background: rgba(113, 154, 205, 0.1);
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}
.eagle-library-preview, .eagle-brief-card, .eagle-hard-filter, .eagle-weight-panel, .eagle-candidate-section { padding: 13px; }

.eagle-panel-heading { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; margin-bottom: 11px; }
.eagle-panel-heading > b { display: grid; place-items: center; width: 34px; height: 30px; color: #fff; background: #cd001a; border-radius: 5px; font-size: 12px; }
.eagle-panel-heading > strong { font-size: 14px; }
.eagle-panel-heading > span { color: rgba(224, 238, 255, 0.58); font-size: 10px; text-align: right; }

.eagle-library-preview figure { position: relative; overflow: hidden; height: 214px; margin: 0; border: 1px solid rgba(160, 211, 255, 0.32); background: #050b13; border-radius: 5px; }
.eagle-library-preview figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(3, 20, 48, 0.76)); }
.eagle-library-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.eagle-tag-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.eagle-tag-strip span, .eagle-brief-fields em { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; color: #d8e9ff; background: rgba(112, 166, 226, 0.14); border: 1px solid rgba(152, 207, 255, 0.3); border-radius: 4px; font-size: 9px; font-style: normal; }

.eagle-brief-fields { display: grid; gap: 7px; }
.eagle-brief-fields > div { display: grid; grid-template-columns: minmax(68px, 0.7fr) minmax(74px, 0.85fr) minmax(96px, 1.35fr); align-items: center; gap: 7px; min-height: 42px; padding: 7px 9px; border: 1px solid rgba(151, 202, 255, 0.18); background: rgba(255, 255, 255, 0.035); border-radius: 5px; }
.eagle-brief-fields span { color: rgba(221, 235, 255, 0.62); font-size: 10px; }
.eagle-brief-fields strong { font-size: 11px; }
.eagle-brief-fields em { justify-content: center; text-align: center; }

.eagle-flow-arrow { display: grid; place-items: center; gap: 1px; min-height: 54px; color: rgba(223, 238, 255, 0.62); font-size: 10px; }
.eagle-flow-arrow i { color: #ff243f; font-size: 24px; font-style: normal; line-height: 1; filter: drop-shadow(0 0 8px rgba(255, 35, 63, 0.7)); }

.eagle-filter-route { display: grid; grid-template-columns: 0.72fr auto 1.4fr auto 0.72fr; align-items: stretch; gap: 7px; }
.eagle-filter-route > div { display: grid; place-items: center; align-content: center; gap: 3px; min-height: 92px; padding: 8px; text-align: center; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(149, 203, 255, 0.18); border-radius: 5px; }
.eagle-filter-route > i { align-self: center; color: rgba(170, 210, 255, 0.58); font-size: 17px; font-style: normal; }
.eagle-filter-route small, .eagle-filter-route span { color: rgba(222, 237, 255, 0.56); font-size: 9px; }
.eagle-filter-route strong { font-size: 18px; }
.eagle-filter-route .is-rule { border-color: rgba(255, 84, 105, 0.48); background: rgba(205, 0, 26, 0.1); }
.eagle-filter-route .is-rule strong { color: #ff96a4; font-size: 11px; }
.eagle-filter-route .is-result strong { color: #7bc6ff; }

.eagle-weight-list { display: grid; gap: 7px; }
.eagle-weight-list > div { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(70px, 1.35fr) 23px; align-items: center; gap: 7px; font-size: 9px; }
.eagle-weight-list span { color: rgba(226, 238, 255, 0.72); }
.eagle-weight-list > div > i { overflow: hidden; height: 5px; background: rgba(255, 255, 255, 0.1); }
.eagle-weight-list > div > i b { display: block; height: 100%; background: linear-gradient(90deg, #cd001a, #ff5267); }
.eagle-weight-list > div > strong { color: #ff9dab; font-size: 10px; text-align: right; }

.eagle-candidate-section { margin-top: 12px; }
.eagle-candidate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 8px; }
.eagle-candidate { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 7px; align-items: center; min-width: 0; padding: 9px; border: 1px solid rgba(153, 207, 255, 0.18); background: rgba(255, 255, 255, 0.035); border-radius: 5px; }
.eagle-candidate.is-selected { border-color: rgba(255, 70, 92, 0.68); background: linear-gradient(160deg, rgba(205, 0, 26, 0.18), rgba(66, 137, 211, 0.08)); box-shadow: 0 0 20px rgba(205, 0, 26, 0.12); }
.eagle-email-mini { position: relative; grid-column: 1 / -1; display: grid; align-content: start; gap: 3px; width: min(100%, 82px); aspect-ratio: 0.62; margin: 0 auto 2px; padding: 5px; background: #f6f8fb; border: 1px solid rgba(255, 255, 255, 0.58); }
.eagle-email-mini::before, .eagle-email-mini::after { content: ""; position: absolute; top: 18%; width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22); }
.eagle-email-mini::before { left: 25%; background: #cd001a; }
.eagle-email-mini::after { right: 25%; background: #5b8ed1; }
.eagle-email-mini i { display: block; background: #6e8fb5; }
.eagle-email-mini i:first-child { height: 43%; background: linear-gradient(160deg, #162e51, #315f8e); }
.eagle-email-mini i:nth-child(2) { height: 12px; background: #cd001a; }
.eagle-email-mini i:nth-child(3), .eagle-email-mini i:nth-child(4) { height: 20px; background: #cfdae7; }
.eagle-email-mini.is-center-grid i:first-child { height: 36%; }
.eagle-email-mini.is-hero-scene i:first-child { height: 52%; }
.eagle-email-mini.is-still-grid i:nth-child(3), .eagle-email-mini.is-still-grid i:nth-child(4) { height: 25px; }
.eagle-email-mini.is-promo-grid i:first-child { order: 2; height: 34%; }
.eagle-email-mini.is-promo-grid i:nth-child(2) { order: 1; }
.eagle-candidate > span { color: rgba(220, 237, 255, 0.45); font-size: 9px; }
.eagle-candidate > strong { overflow: hidden; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; }
.eagle-candidate > div:not(.eagle-email-mini) { grid-column: 1 / -1; overflow: hidden; height: 4px; background: rgba(255, 255, 255, 0.1); }
.eagle-candidate > div:not(.eagle-email-mini) i { display: block; height: 100%; background: #72bdf7; }
.eagle-candidate > em { color: #9fd7ff; font-size: 9px; font-style: normal; }
.eagle-candidate > b { justify-self: end; color: #ff8c9b; font-size: 9px; }

.eagle-output-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border-color: rgba(122, 199, 255, 0.4); background: linear-gradient(100deg, rgba(39, 117, 189, 0.18), rgba(205, 0, 26, 0.07)); }
.eagle-output-icon { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: #cd001a; border-radius: 50%; font-size: 20px; box-shadow: 0 0 18px rgba(205, 0, 26, 0.25); }
.eagle-output-card small { display: block; color: #83c8ff; font-size: 9px; font-weight: 800; }
.eagle-output-card strong { display: block; margin-top: 3px; font-size: 12px; }
.eagle-output-card p { margin: 4px 0 0; color: rgba(222, 237, 255, 0.62); font-size: 9px; line-height: 1.5; }
.eagle-output-card > span { padding: 7px 9px; color: #dcecff; border: 1px solid rgba(147, 205, 255, 0.28); font-size: 9px; white-space: nowrap; }

.spec-board {
  overflow: hidden;
  border: 1px solid rgba(184, 219, 255, 0.3);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 24px);
  background: radial-gradient(circle at 88% 4%, rgba(91, 166, 234, 0.15), transparent 18rem), linear-gradient(145deg, rgba(18, 49, 96, 0.54), rgba(5, 23, 57, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.spec-board-heading { display: grid; gap: 5px; margin-bottom: 14px; }
.spec-board-heading p, .spec-board-heading h3, .spec-board-heading span { margin: 0; }
.spec-board-heading p { color: rgba(255, 255, 255, 0.74); font-size: 11px; font-weight: 950; letter-spacing: 0.1em; text-transform: uppercase; }
.spec-board-heading h3 { color: #fff; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1; }
.spec-board-heading span { color: rgba(255, 255, 255, 0.68); font-size: 12px; }

.spec-section { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; margin-top: 10px; border: 1px solid rgba(184, 219, 255, 0.22); border-radius: 7px; padding: 14px; background: rgba(3, 19, 48, 0.22); }
.spec-section-label { display: grid; align-content: start; gap: 8px; padding-right: 14px; border-right: 1px solid rgba(184, 219, 255, 0.18); }
.spec-section-label b { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 5px; color: #fff; background: rgba(205, 0, 26, 0.78); font-size: 10px; }
.spec-section-label strong { color: #fff; font-size: 16px; line-height: 1.2; }
.spec-section-label span { color: rgba(255, 255, 255, 0.6); font-size: 10px; line-height: 1.45; }

.spec-safe-diagram { position: relative; display: grid; min-height: 178px; place-items: center; padding: 32px 52px 10px; }
.spec-width-label { position: absolute; top: 0; left: 50%; width: calc(100% - 54px); border-bottom: 1px dashed rgba(184, 219, 255, 0.62); color: #76c8ff; font-size: 12px; font-weight: 900; text-align: center; transform: translateX(-50%); }
.spec-email-frame { display: grid; width: 100%; min-height: 126px; place-items: center; border: 1px dashed rgba(184, 219, 255, 0.72); border-radius: 4px; }
.spec-safe-frame { display: grid; width: calc(100% - 80px); min-height: 90px; place-items: center; align-content: center; gap: 8px; border: 1px solid rgba(82, 170, 238, 0.72); border-radius: 4px; color: #fff; text-align: center; }
.spec-safe-frame strong { color: #7bcaff; font-size: 16px; }
.spec-safe-frame span { max-width: 24em; color: rgba(255, 255, 255, 0.72); font-size: 11px; }
.spec-margin { position: absolute; top: 50%; color: rgba(184, 219, 255, 0.82); font-size: 10px; }
.spec-margin.left { left: 0; }
.spec-margin.right { right: 0; }

.spec-type-list { display: grid; }
.spec-type-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: end; padding: 10px 0; border-bottom: 1px solid rgba(184, 219, 255, 0.18); }
.spec-type-list > div:last-child { border-bottom: 0; }
.spec-type-list small { color: rgba(184, 219, 255, 0.76); font-size: 10px; }
.spec-type-list strong { color: #fff; font-size: 22px; line-height: 1.1; }
.spec-type-list p { margin: 0; color: rgba(255, 255, 255, 0.74); font-size: 11px; line-height: 1.5; }
.spec-type-list em, .spec-cta-grid em { color: rgba(184, 219, 255, 0.72); font-size: 10px; font-style: normal; line-height: 1.45; }

.spec-cta-grid { display: grid; grid-template-columns: 0.9fr 0.85fr 1.8fr; gap: 14px; align-items: end; }
.spec-cta-grid > div { display: grid; gap: 8px; }
.spec-cta-grid small, .spec-banner-grid small, .spec-product-layouts > div > small { color: rgba(184, 219, 255, 0.76); font-size: 10px; font-weight: 850; }
.spec-cta { display: grid; min-height: 32px; place-items: center; border: 0; border-radius: 4px; color: #fff; background: #cd001a; box-shadow: 0 8px 18px rgba(205, 0, 26, 0.22); font-size: 10px; font-weight: 850; }
.spec-cta.short { width: min(156px, 100%); min-height: 44px; }
.spec-cta.compact { width: min(114px, 100%); }
.spec-cta.long { width: 100%; }
.spec-cta.mini { min-height: 26px; padding: 5px 10px; font-size: 9px; }

.spec-banner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.spec-banner-grid article { display: grid; min-height: 178px; place-items: center; align-content: center; gap: 9px; border: 1px solid rgba(184, 219, 255, 0.26); border-radius: 6px; padding: 10px; color: #fff; text-align: center; }
.spec-banner-grid article strong { font-size: 12px; line-height: 1.35; }
.spec-banner-grid article em { color: rgba(184, 219, 255, 0.74); font-size: 9px; font-style: normal; line-height: 1.35; }
.spec-banner-grid .split { grid-template-columns: 0.78fr 1fr; text-align: left; }
.spec-banner-grid .split small, .spec-banner-grid .split em { grid-column: 1 / -1; text-align: center; }
.spec-banner-grid .split div { display: grid; gap: 7px; }
.spec-banner-grid .split i, .spec-feature i { display: block; height: 5px; border-radius: 99px; background: rgba(184, 219, 255, 0.32); }
.spec-image-box { display: grid; width: 100%; min-height: 70px; place-items: center; border: 1px dashed rgba(184, 219, 255, 0.48); border-radius: 5px; color: rgba(184, 219, 255, 0.8); font-size: 28px; }
.spec-tag-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(184, 219, 255, 0.42); border-radius: 8px; color: rgba(184, 219, 255, 0.86); font-size: 22px; }

.spec-product-layouts { display: grid; gap: 10px; }
.spec-feature, .spec-product-row { display: grid; grid-template-columns: 105px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; }
.spec-feature > small, .spec-product-row > small { align-self: start; padding-top: 10px; }
.spec-feature > .spec-image-box { min-height: 112px; }
.spec-feature > div { display: grid; gap: 8px; }
.spec-feature strong { color: #fff; font-size: 15px; }
.spec-product-card { display: grid; justify-items: center; gap: 5px; min-height: 128px; border: 1px solid rgba(184, 219, 255, 0.24); border-radius: 6px; padding: 8px; text-align: center; }
.spec-product-card .spec-image-box { min-height: 54px; font-size: 20px; }
.spec-product-card strong { color: #fff; font-size: 11px; }
.spec-product-card span { color: rgba(255, 255, 255, 0.62); font-size: 9px; }
.spec-product-card em { color: #f14a53; font-size: 11px; font-style: normal; font-weight: 900; }
.spec-product-card .mini { min-height: 24px; }
.spec-product-row.is-three { grid-template-columns: 105px repeat(3, minmax(0, 1fr)); }

.sheet-copy,
.detail-panel {
  padding: 14px 24px;
}

.sheet-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1;
}

.sheet-copy p {
  margin-bottom: 0;
  color: rgba(244, 249, 255, 0.84);
  font-size: 14px;
  line-height: 1.55;
}

.step-sheet .detail-section {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.step-sheet .pill-list li,
.step-sheet .check-list li {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.13);
}

.detail-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-section h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-list,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li,
.check-list li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 850;
}

.check-list {
  display: grid;
}

.feedback-callout {
  display: none;
  margin-top: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 12px;
  background: rgba(216, 16, 26, 0.18);
}

.feedback-callout.is-visible {
  display: block;
}

body.feedback-mode .step-card[data-rail-step="step-1"],
body.feedback-mode .step-card[data-rail-step="step-4"],
body.feedback-mode .step-card[data-rail-step="step-6"] {
  outline: 3px dashed rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr;
  }

  .anchor-nav {
    justify-content: start;
    overflow-x: auto;
  }

  .nav-status {
    justify-items: start;
  }

  .step-rail {
    grid-auto-columns: minmax(300px, 72vw);
  }

  .step-sheet {
    right: 20px;
    width: min(680px, calc(100vw - 40px));
  }
}

@media (max-width: 640px) {
  .site-nav,
  .single-stage {
    margin-inline: 12px;
    padding-inline: 0;
  }

  .story-section {
    padding: 22px 14px;
  }

  h1 {
    font-size: 42px;
  }

  .rail-header {
    align-items: start;
    flex-direction: column;
  }

  .step-sheet {
    top: 86px;
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .brief-board-grid {
    grid-template-columns: 1fr;
  }

  .eagle-board { padding: 16px 12px; }
  .eagle-source-grid,
  .eagle-match-grid { grid-template-columns: 1fr; }
  .eagle-panel-heading { grid-template-columns: 34px 1fr; }
  .eagle-panel-heading > span { grid-column: 2; text-align: left; }
  .eagle-candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eagle-output-card { grid-template-columns: 42px 1fr; }
  .eagle-output-card > span { grid-column: 2; justify-self: start; }
  .eagle-filter-route { grid-template-columns: 1fr; }
  .eagle-filter-route > i { transform: rotate(90deg); justify-self: center; }

  .spec-section {
    grid-template-columns: 1fr;
  }

  .spec-section-label {
    grid-template-columns: 28px 1fr;
    align-items: center;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(184, 219, 255, 0.18);
  }

  .spec-section-label span { grid-column: 2; }

  .spec-cta-grid,
  .spec-banner-grid,
  .spec-feature,
  .spec-product-row,
  .spec-product-row.is-three {
    grid-template-columns: 1fr;
  }

  .banner-workflow { padding: 16px 12px; }
  .banner-workflow-label { padding-inline: 18px; }
  .banner-transform { padding-inline: 10px; }
  .transform-item { grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding-inline: 12px; }
  .transform-item b { width: 27px; height: 27px; font-size: 15px; }

  .figma-board { padding-inline: 13px; }
  .figma-board-mark { margin-bottom: 14px; }
  .figma-canvas { padding: 38px 13px 15px; }
  .figma-hero-layout,
  .figma-promo-layout,
  .figma-scene-grid { grid-template-columns: 1fr; }
  .figma-copy-component { justify-items: center; text-align: center; }
  .figma-gift-module { max-width: none; }
  .figma-width-guide::before,
  .figma-width-guide::after { width: 18%; }

  .export-board-grid { grid-template-columns: 1fr; }
  .export-email-frame { width: min(100%, 230px); }

  .spec-feature > small,
  .spec-product-row > small { padding-top: 0; }

}
