/* ==========================================================================
   SmartCube — shared page components
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--head-h) + 78px) 0 74px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 1000px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(159, 180, 216, 0.14), transparent 64%);
  pointer-events: none;
}

.page-hero .shell {
  position: relative;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crumbs a:hover {
  color: var(--text);
}

.crumbs .sep {
  opacity: 0.5;
}

.crumbs .here {
  color: var(--violet-2);
}

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.9;
  text-wrap: pretty;
}

.page-hero .lead strong {
  color: var(--text-2);
  font-weight: 600;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-chips .chip {
  height: 30px;
  padding-inline: 12px;
  font-size: 11.5px;
}

.page-hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.page-hero-stat {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.page-hero-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.page-hero-stat b {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.page-hero-stat span {
  color: var(--dim);
  font-size: 11px;
}

/* ---------- Sub navigation ---------- */
.subnav {
  position: sticky;
  top: var(--head-h);
  z-index: 40;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 17, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

[data-theme="light"] .subnav {
  background: rgba(241, 237, 228, 0.84);
}

.subnav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 58px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar {
  display: none;
}

.subnav a {
  flex: none;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}

.subnav a:hover {
  color: var(--text);
  background: var(--surface);
}

.subnav a.active {
  color: var(--text);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.subnav .subnav-spacer {
  flex: 1;
}

.subnav .subnav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet-2);
  font-weight: 600;
}

.subnav .subnav-cta .icon {
  width: 13px;
  height: 13px;
}

/* ---------- Screenshot frame ---------- */
.shot-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.shot-frame:hover {
  border-color: rgba(201, 216, 240, 0.45);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.shot-bar .win-dots i {
  width: 7px;
  height: 7px;
}

.shot-bar .shot-title {
  flex: 1;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-bar .shot-zoom {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--dim);
  font-size: 8.5px;
}

.shot-bar .shot-zoom .icon {
  width: 11px;
  height: 11px;
}

.shot-frame > img {
  width: 100%;
  display: block;
}

.shot-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 11px;
  color: var(--dim);
  font-size: 10.5px;
}

.shot-caption .mono {
  font-size: 9px;
  letter-spacing: 0.06em;
}

/* ---------- Feature split ---------- */
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 68px;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.feature-split:first-of-type {
  border-top: 0;
}

.feature-split.reverse .feature-copy {
  order: 2;
}

.feature-split.reverse .feature-visual {
  order: 1;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--violet-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-index::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--violet-2);
}

.feature-copy h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.feature-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.bullet-list {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.bullet-list li .check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(159, 180, 216, 0.13);
  color: var(--violet-2);
  flex: none;
}

.bullet-list li .check .icon {
  width: 11px;
  height: 11px;
}

.bullet-list li small {
  display: block;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.65;
}

.bullet-list li b {
  color: var(--text);
  font-weight: 600;
}

.mini-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--line);
  overflow: hidden;
}

.mini-specs div {
  padding: 13px 15px;
  background: var(--bg-2);
}

.mini-specs dt {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-specs dd {
  margin-top: 4px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-visual {
  position: relative;
}

.feature-visual .shot-frame {
  transform: rotate(0.8deg);
}

.feature-split.reverse .feature-visual .shot-frame {
  transform: rotate(-0.8deg);
}

.feature-badge {
  position: absolute;
  z-index: 2;
  right: -14px;
  bottom: 24px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(8, 13, 24, 0.9);
  color: #fff;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 10.5px;
}

.feature-badge small {
  display: block;
  color: #8e88a8;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-badge b {
  font-size: 12px;
}

/* ---------- Code block ---------- */
.code-block {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #080810;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.code-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.code-head .win-dots i {
  width: 7px;
  height: 7px;
}

.code-head span {
  flex: 1;
  text-align: center;
  color: #6f6987;
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.code-block pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  color: #c9c4e0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.9;
  tab-size: 2;
}

.code-block .c-com {
  color: #5d5775;
}

.code-block .c-key {
  color: #dbe4f4;
}

.code-block .c-val {
  color: #a9cfc0;
}

.code-block .c-str {
  color: #d8b573;
}

.code-block .c-cmd {
  color: #e2e9f5;
}

/* ---------- Role map ---------- */
.role-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.role-card {
  padding: 15px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.role-card .role-code {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.role-card b {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.role-card p {
  margin-top: 4px;
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.55;
}

.role-card.active {
  border-color: rgba(201, 216, 240, 0.4);
  background: linear-gradient(160deg, rgba(159, 180, 216, 0.16), transparent);
}

.role-card.active .role-code {
  color: var(--violet-2);
}

/* ---------- Tabs ---------- */
.tabs {
  margin-top: 10px;
}

.tab-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 550;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.tab-btn .icon {
  width: 14px;
  height: 14px;
}

.tab-btn:hover {
  color: var(--text);
  border-color: var(--line-2);
  background: var(--surface);
}

.tab-btn[aria-selected="true"],
.tab-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #9fb4d8, #5b46d8);
  box-shadow: 0 8px 24px -10px rgba(159, 180, 216, 0.8);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  animation: panel-in 0.4s var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.scene-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 46px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface), transparent 70%), var(--bg-2);
}

.scene-copy .chip {
  margin-bottom: 14px;
}

.scene-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.scene-copy > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.scene-steps {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.scene-steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.scene-steps .s-num {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--violet-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.scene-steps b {
  font-size: 12.5px;
  font-weight: 600;
}

.scene-steps span {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.6;
}

.scene-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.scene-meta span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

/* ---------- Day line ---------- */
.dayline {
  margin-top: 30px;
}

.dayline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.dayline-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), var(--line-2), transparent);
}

.day-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 6px;
  border-radius: 12px;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}

.day-node:hover {
  color: var(--text);
  background: var(--surface);
}

.day-node .dn-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.day-node .dn-dot {
  width: 9px;
  height: 9px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.day-node .dn-label {
  font-size: 11px;
}

.day-node[aria-selected="true"] {
  color: var(--text);
}

.day-node[aria-selected="true"] .dn-dot {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(201, 139, 168, 0.12), 0 0 18px rgba(201, 139, 168, 0.6);
}

.day-node[aria-selected="true"] .dn-time {
  color: var(--cyan);
}

.day-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}

.day-panel-copy .chip {
  margin-bottom: 14px;
}

.day-panel-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.26;
  font-weight: 600;
}

.day-panel-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.day-checks {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.day-checks li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 12px;
}

.day-checks .icon {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  color: var(--green);
}

.day-panel-inner .shot-frame {
  transform: rotate(0.6deg);
}

/* ---------- Table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  background: var(--bg-2);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 13px;
}

.spec-table th {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.7;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table td:first-child {
  color: var(--text-2);
  font-weight: 600;
  white-space: nowrap;
}

.spec-table td .mono {
  color: var(--text-2);
  font-size: 11px;
}

.spec-table td strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Notice ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(216, 181, 115, 0.24);
  border-radius: 12px;
  background: rgba(216, 181, 115, 0.06);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.notice .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--amber);
  flex: none;
}

.notice b {
  color: var(--text-2);
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), transparent 70%), var(--bg-2);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.product-card:hover {
  border-color: rgba(201, 216, 240, 0.35);
  transform: translateY(-4px);
}

.product-card.flagship {
  border-color: rgba(201, 216, 240, 0.3);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(201, 139, 168, 0.1), transparent 45%),
    radial-gradient(90% 120% at 0% 100%, rgba(159, 180, 216, 0.15), transparent 50%),
    var(--bg-2);
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-id img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.product-id h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-id small {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.product-card > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.product-features {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.product-features li {
  display: flex;
  gap: 9px;
  font-size: 12px;
  color: var(--text-2);
}

.product-features .icon {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  color: var(--violet-2);
  flex: none;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.product-foot .mono {
  color: var(--dim);
  font-size: 9.5px;
}

.product-card .text-link {
  font-size: 12.5px;
}

/* Whiteboard mock */
.whiteboard {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(120% 120% at 90% 0%, rgba(201, 139, 168, 0.14), transparent 50%),
    #0a0a13;
  color: #f4f1ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wb-top .wb-time {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wb-top span:last-child {
  color: #8e88a8;
  font-size: 8.5px;
}

.wb-main {
  padding: 18px 4px 12px;
}

.wb-main h4 {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.wb-main p {
  margin-top: 6px;
  color: #a7abc0;
  font-size: 10.5px;
  line-height: 1.7;
}

.wb-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wb-widgets div {
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.wb-widgets .icon {
  width: 14px;
  height: 14px;
  color: #e2e9f5;
}

.wb-widgets b {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
}

.wb-widgets small {
  color: #726c8b;
  font-size: 8px;
}

.product-card.legacy {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 24px 30px;
}

.product-card.legacy .legacy-main {
  flex: 1;
}

.product-card.legacy h3 {
  font-size: 17px;
}

.product-card.legacy p {
  margin-top: 4px;
  color: var(--dim);
  font-size: 12px;
}

/* ---------- Architecture ---------- */
.arch {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}

.arch-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
}

.arch-row + .arch-row {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.arch-label {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
}

.arch-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-box {
  flex: 1 1 120px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.arch-box small {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
}

.arch-box.core {
  border-color: rgba(201, 216, 240, 0.3);
  background: linear-gradient(150deg, rgba(159, 180, 216, 0.16), transparent);
}

.arch-box.os {
  border-color: rgba(201, 139, 168, 0.25);
  background: rgba(201, 139, 168, 0.06);
}

.arch-box.cloud {
  border-color: rgba(201, 216, 240, 0.28);
  background: linear-gradient(150deg, rgba(201, 216, 240, 0.12), rgba(201, 139, 168, 0.05));
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--line-2), var(--line));
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 36px;
  padding: 22px 0;
}

.timeline .t-year {
  padding-top: 2px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: right;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 30px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 0 1px var(--line-2);
}

.timeline li.current::before {
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(201, 139, 168, 0.5), 0 0 16px rgba(201, 139, 168, 0.6);
}

.timeline .t-body {
  padding-bottom: 6px;
}

.timeline .t-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.timeline .t-body p {
  max-width: 660px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.timeline .t-body .chip {
  margin-bottom: 8px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--violet-2);
}

.faq-item summary .plus {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  flex: none;
  transition: transform 0.3s var(--ease), border-color 0.2s;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-item summary .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s;
}

.faq-item[open] summary .plus {
  transform: rotate(180deg);
  border-color: var(--violet-2);
  color: var(--violet-2);
}

.faq-item[open] summary .plus::after {
  opacity: 0;
}

.faq-body {
  max-width: 800px;
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.faq-body b {
  color: var(--text-2);
}

.faq-body code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

/* ---------- Release panel ---------- */
.release-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  padding: 44px;
  border: 1px solid rgba(201, 216, 240, 0.3);
  border-radius: var(--r-xl);
  background:
    radial-gradient(110% 140% at 100% 0%, rgba(201, 139, 168, 0.15), transparent 48%),
    radial-gradient(100% 130% at 0% 100%, rgba(185, 200, 224, 0.26), transparent 55%),
    #080d18;
  color: #fff;
  overflow: hidden;
}

.release-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  pointer-events: none;
}

.release-main {
  position: relative;
  z-index: 1;
}

.release-main .chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #dbe4f4;
}

.release-main h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.release-main h2 span {
  font-family: var(--font-mono);
  font-size: 0.52em;
  letter-spacing: -0.02em;
  color: #dbe5f4;
}

.release-main > p {
  max-width: 540px;
  margin-top: 16px;
  color: #a9a2c6;
  font-size: 14px;
  line-height: 1.85;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.release-side {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.release-side div {
  padding: 15px;
  background: rgba(10, 9, 21, 0.72);
}

.release-side dt {
  color: #726c8b;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

[data-theme="light"] .release-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #f3eee4;
}

[data-theme="light"] .release-panel .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
}

.release-side dd {
  margin-top: 5px;
  color: #f4f1ff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
}

/* ---------- Deploy steps ---------- */
.deploy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.deploy-step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
}

.deploy-step .ds-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 216, 240, 0.35);
  border-radius: 50%;
  color: var(--violet-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.deploy-step h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
}

.deploy-step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.deploy-step code {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

/* ---------- Package grid ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.package-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.package-item .icon {
  width: 16px;
  height: 16px;
  color: var(--violet-2);
}

.package-item b {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.package-item small {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 9.5px;
  line-height: 1.5;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 22px;
}

.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}

.contact-card h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.contact-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.contact-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-info {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(159, 180, 216, 0.12), transparent 55%),
    var(--bg-2);
}

.contact-info h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.contact-info > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact-points {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.contact-points li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.contact-points .cp-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--violet-2);
}

.contact-points .cp-icon .icon {
  width: 15px;
  height: 15px;
}

.contact-points b {
  font-size: 12.5px;
}

.contact-points p {
  margin-top: 2px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.65;
}

.contact-points a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(201, 139, 168, 0.3);
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

/* ---------- Principles ---------- */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.principle {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), transparent);
}

.principle .p-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.principle .icon {
  width: 22px;
  height: 22px;
  margin-top: 20px;
  color: var(--violet-2);
}

.principle h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
}

.principle p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.manifesto {
  position: relative;
  max-width: 980px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.manifesto em {
  font-style: normal;
  color: var(--violet-2);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 66px;
}

.about-split .shot-frame {
  transform: rotate(-1deg);
}

.about-copy h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.about-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-copy p + p {
  margin-top: 12px;
}

.color-strip {
  display: flex;
  height: 40px;
  margin-top: 26px;
  border-radius: 10px;
  overflow: hidden;
}

.color-strip span {
  flex: 1;
}

.font-specimen {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.font-specimen .fs-big {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.font-specimen .fs-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

/* ---------- Page CTA ---------- */
.page-cta {
  position: relative;
  padding: 56px 54px;
  border: 1px solid rgba(201, 216, 240, 0.26);
  border-radius: var(--r-lg);
  background:
    radial-gradient(100% 150% at 100% 0%, rgba(201, 139, 168, 0.14), transparent 48%),
    radial-gradient(100% 150% at 0% 100%, rgba(185, 200, 224, 0.24), transparent 55%),
    #080d18;
  overflow: hidden;
  color: #fff;
}

.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 82%);
  mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 82%);
  pointer-events: none;
}

.page-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.page-cta h2 {
  max-width: 680px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.page-cta .eyebrow {
  color: #c9d6ee;
}

.page-cta .eyebrow::before {
  background: #c98ba8;
  box-shadow: 0 0 12px rgba(201, 139, 168, 0.7);
}

.page-cta p {
  max-width: 560px;
  margin-top: 12px;
  color: #a9a2c6;
  font-size: 13.5px;
  line-height: 1.8;
}

.page-cta .cta-actions {
  padding-bottom: 2px;
}

.page-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* ---------- Misc blocks ---------- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
}

.info-card .icon {
  width: 20px;
  height: 20px;
  color: var(--violet-2);
}

.info-card h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
}

.info-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.info-card ul {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.info-card li {
  display: flex;
  gap: 8px;
  color: var(--dim);
  font-size: 11.5px;
}

.info-card li .icon {
  width: 11px;
  height: 11px;
  margin-top: 4px;
  color: var(--green);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.pill-row span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.section-cta {
  margin-top: 44px;
}

.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feature-split,
  .scene-panel-inner,
  .day-panel-inner {
    gap: 40px;
  }

  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .deploy-steps {
    grid-template-columns: 1fr;
  }

  .package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .release-panel {
    grid-template-columns: 1fr;
  }

  .release-side {
    max-width: 440px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 6.2vw, 66px);
  }
}

@media (max-width: 960px) {
  .feature-split,
  .feature-split.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 60px 0;
  }

  .feature-split .feature-copy,
  .feature-split.reverse .feature-copy {
    order: 1;
  }

  .feature-split .feature-visual,
  .feature-split.reverse .feature-visual {
    order: 2;
  }

  .feature-split.reverse .feature-visual .shot-frame,
  .feature-visual .shot-frame {
    transform: none;
  }

  .scene-panel-inner,
  .day-panel-inner {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .scene-panel-inner .shot-frame,
  .day-panel-inner .shot-frame {
    transform: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card.legacy {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-grid,
  .about-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-split .shot-frame {
    transform: none;
  }

  .page-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .role-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .arch-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .arch-label {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding-top: calc(var(--head-h) + 48px);
    padding-bottom: 52px;
  }
  .crumbs {
    margin-bottom: 20px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.16;
  }

  .page-hero .lead {
    font-size: 15px;
  }

  .page-hero-foot {
    gap: 14px;
  }

  .page-hero-stat {
    padding-right: 14px;
  }

  .subnav-inner {
    height: 52px;
  }

  .subnav .subnav-cta {
    display: none;
  }

  .feature-copy h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .mini-specs {
    grid-template-columns: 1fr;
  }

  .role-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dayline-track {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .dayline-track::-webkit-scrollbar {
    display: none;
  }

  .dayline-track::before {
    display: none;
  }

  .day-node {
    flex: none;
    min-width: 74px;
  }

  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .tab-list::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: none;
  }

  .scene-panel-inner,
  .day-panel-inner {
    padding: 20px;
  }

  .deploy-step,
  .contact-card,
  .contact-info {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .release-panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .release-side {
    grid-template-columns: 1fr 1fr;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .split-2 {
    grid-template-columns: 1fr;
  }

  .page-cta {
    padding: 32px 22px;
  }

  .package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline::before {
    left: 3px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 26px;
  }

  .timeline li::before {
    left: -1px;
    top: 30px;
  }

  .timeline .t-year {
    text-align: left;
  }

  .arch {
    padding: 16px;
  }

  .arch-box {
    flex-basis: 100%;
  }

  .contact-card h2 {
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .release-side {
    grid-template-columns: 1fr;
  }
}
