:root {
  --bg: #070914;
  --bg-soft: #0d1122;
  --panel: rgba(16, 21, 41, .78);
  --panel-solid: #11172b;
  --panel-2: #151d35;
  --text: #f6f8ff;
  --muted: #aeb8d2;
  --line: rgba(190, 205, 255, .15);
  --line-strong: rgba(190, 205, 255, .28);
  --cyan: #91f8ee;
  --blue: #7b8cff;
  --violet: #d29bff;
  --peach: #ffc78d;
  --danger: #ff9ca8;
  --success: #8ef0b5;
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --max: 1180px;
  --project-accent: var(--blue);
  --project-accent-2: var(--violet);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 3%, rgba(123, 140, 255, .18), transparent 24rem),
    radial-gradient(circle at 88% 20%, rgba(210, 155, 255, .12), transparent 26rem),
    linear-gradient(180deg, #070914 0%, #080b18 48%, #050711 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(145,248,238,.55) 0 1px, transparent 1.5px);
  background-size: 66px 66px, 103px 103px;
  background-position: 0 0, 25px 38px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.45) 52%, transparent 100%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: auto -10vw -38vh auto;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 140, 255, .13), transparent 66%);
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  color: #06101a;
  background: var(--cyan);
  border-radius: 10px;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 850px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(7, 9, 20, .72);
  border-bottom: 1px solid rgba(190, 205, 255, .1);
}
.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 47px; height: 47px; flex: 0 0 auto; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -.02em; }
.brand-text span { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #dfe5fa;
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
  transition: background .18s ease, color .18s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(145, 248, 238, .1); color: #fff; }
.nav-cta { border: 1px solid rgba(145, 248, 238, .28); }
.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span { margin: 5px 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero { padding: 88px 0 68px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: 58px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 900;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1, .page-hero h1 {
  margin: 0;
  max-width: 830px;
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero h1 .gradient, .gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #fff 8%, var(--cyan) 42%, var(--blue) 70%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: #c3cce3;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #07101b;
  background: linear-gradient(130deg, var(--cyan), #aab4ff 58%, #e2b9ff);
  box-shadow: 0 15px 35px rgba(123, 140, 255, .18);
}
.btn-secondary { color: #f7f9ff; background: rgba(255,255,255,.055); border-color: var(--line-strong); }
.btn-ghost { color: var(--cyan); background: transparent; border-color: rgba(145,248,238,.25); }
.btn-facebook { color: #fff; background: #1877f2; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .52; cursor: not-allowed; pointer-events: none; transform: none; }
.btn-small { min-height: 41px; padding: 8px 13px; border-radius: 11px; font-size: .9rem; }

.cosmos-card {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.cosmos-card::before {
  content: "";
  position: absolute;
  inset: 7% 3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145,248,238,.17), rgba(123,140,255,.09) 38%, transparent 68%);
  filter: blur(7px);
  z-index: -1;
}
.orbit { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(190,205,255,.17); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-a { width: 390px; height: 260px; }
.orbit-b { width: 285px; height: 410px; transform: translate(-50%, -50%) rotate(28deg); }
.identity-core {
  width: 195px;
  height: 195px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #1b3155, #090c19 72%);
  border: 1px solid rgba(210, 155, 255, .5);
  box-shadow: 0 0 75px rgba(123, 140, 255, .22), inset 0 0 45px rgba(145, 248, 238, .07);
}
.identity-core img { width: 150px; height: 150px; }
.orbit-node {
  position: absolute;
  width: 70px;
  height: 70px;
  padding: 9px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(9, 13, 28, .92);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.orbit-node img { width: 100%; height: 100%; }
.node-1 { left: 2%; top: 24%; }
.node-2 { right: 3%; top: 15%; }
.node-3 { right: 4%; bottom: 18%; }
.node-4 { left: 8%; bottom: 12%; }
.node-5 { left: 44%; top: 1%; }
.cosmos-label {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 100%;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.identity-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.025); }
.identity-strip .container { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.identity-name { display: flex; align-items: center; gap: 14px; }
.identity-name img { width: 48px; height: 48px; }
.identity-name strong { display: block; font-size: 1.15rem; }
.identity-name span { display: block; color: var(--muted); font-size: .9rem; }
.identity-quote { max-width: 560px; margin: 0; color: #cbd4ea; font-style: italic; text-align: right; }

.section { padding: 88px 0; }
.section-tight { padding: 62px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-head h2 { margin: 0; font-size: clamp(2.15rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -.05em; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }

.project-grid-compact { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.project-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 16px 45px rgba(0,0,0,.12);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.project-card::before { content: ""; position: absolute; inset: auto -38px -62px auto; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, var(--card-glow, rgba(123,140,255,.23)), transparent 68%); }
.project-card:hover { transform: translateY(-5px); border-color: rgba(145,248,238,.35); background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.035)); }
.project-icon { width: 54px; height: 54px; margin-bottom: 23px; }
.project-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .68rem; }
.project-card h3 { margin: 6px 0 5px; font-size: 1.15rem; line-height: 1.15; letter-spacing: -.025em; }
.project-card p { margin: 0; color: #aeb9d2; font-size: .85rem; line-height: 1.45; }
.project-card .arrow { margin-top: auto; padding-top: 14px; color: var(--cyan); font-weight: 900; }

.manifesto-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; }
.manifesto-panel, .feature-panel, .content-card, .notice, .form-shell, .admin-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.manifesto-panel { min-height: 440px; padding: 42px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(123,140,255,.16), rgba(14,18,36,.78)); }
.manifesto-panel .number { color: var(--cyan); font-size: 4rem; font-weight: 900; letter-spacing: -.08em; }
.manifesto-panel blockquote { margin: 0; font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1.15; letter-spacing: -.04em; }
.feature-panel { padding: 38px; }
.principle-list { display: grid; gap: 14px; }
.principle { display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.principle:last-child { border-bottom: 0; }
.principle strong { width: 42px; height: 42px; border: 1px solid var(--line-strong); display: grid; place-items: center; border-radius: 13px; color: var(--cyan); }
.principle h3 { margin: 0 0 4px; font-size: 1rem; }
.principle p { margin: 0; color: var(--muted); }

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(145,248,238,.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(145,248,238,.11), rgba(123,140,255,.1) 55%, rgba(210,155,255,.1));
}
.cta-panel h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1; letter-spacing: -.045em; }
.cta-panel p { margin: 0; color: #c4cde4; }

.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: rgba(2,4,10,.52); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 58px; height: 58px; }
.footer-brand h2 { margin: 0; font-size: 1.15rem; }
.footer-brand p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.footer-col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin: 0 0 13px; }
.footer-col a { display: block; color: #c8d0e6; text-decoration: none; margin: 7px 0; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); color: #7f8ba9; font-size: .82rem; }

/* Project pages */
.project-page { --project-accent: var(--blue); --project-accent-2: var(--violet); }
.project-page .site-header { border-bottom-color: color-mix(in srgb, var(--project-accent) 28%, transparent); }
.project-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 750; }
.project-back:hover { color: #fff; }
.page-hero { padding: 82px 0 54px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
.page-hero p { margin: 24px 0 0; max-width: 710px; color: #c3cce3; font-size: 1.12rem; }
.project-hero-icon { width: min(100%, 360px); aspect-ratio: 1; margin-inline: auto; padding: 64px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--project-accent) 24%, transparent), transparent 68%); border: 1px solid color-mix(in srgb, var(--project-accent) 35%, transparent); box-shadow: 0 0 90px color-mix(in srgb, var(--project-accent) 17%, transparent); }
.project-hero-icon img { width: 100%; height: 100%; }
.project-tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.tag { padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); color: #d6def0; background: rgba(255,255,255,.035); font-size: .8rem; font-weight: 750; }
.content-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.content-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.content-card { padding: 30px; }
.content-card h2, .content-card h3 { margin-top: 0; letter-spacing: -.03em; }
.content-card p:last-child { margin-bottom: 0; }
.content-card p, .content-card li { color: var(--muted); }
.content-card ul { padding-left: 20px; }
.highlight-card { border-color: color-mix(in srgb, var(--project-accent) 30%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--project-accent) 11%, transparent), rgba(15,20,39,.82)); }
.timeline { display: grid; gap: 14px; }
.timeline-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.timeline-item .step { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--project-accent) 18%, transparent); color: #fff; border: 1px solid color-mix(in srgb, var(--project-accent) 35%, transparent); font-weight: 900; }
.timeline-item h3 { margin: 0 0 4px; }
.timeline-item p { margin: 0; color: var(--muted); }
.notice { padding: 24px 26px; border-left: 5px solid var(--project-accent); }
.notice strong { color: #fff; }
.notice p { margin: 6px 0 0; color: var(--muted); }
.download-panel { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; }
.download-panel h2 { margin-bottom: 8px; }
.download-panel p { margin: 0; }

/* Forms */
.form-page { background: radial-gradient(circle at 50% -10%, rgba(216,140,255,.13), transparent 42rem), var(--bg); }
.form-intro { padding: 64px 0 28px; }
.form-intro h1 { margin: 0; font-size: clamp(2.65rem, 6vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.form-intro p { max-width: 800px; color: var(--muted); font-size: 1.04rem; }
.form-principle { margin: 24px 0; padding: 22px; border-radius: 18px; border: 1px solid rgba(255,199,141,.25); background: rgba(255,199,141,.07); }
.form-principle strong { color: var(--peach); }
.progress-wrap { position: sticky; top: 78px; z-index: 80; padding: 13px 0; background: rgba(7,9,20,.9); backdrop-filter: blur(16px); border-block: 1px solid var(--line); }
.progress-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .82rem; color: var(--muted); }
.progress-track { height: 7px; margin-top: 9px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--peach), var(--violet), var(--cyan)); transition: width .25s ease; }
.form-section-wrap { padding: 32px 0 88px; }
.form-shell { padding: clamp(22px, 4vw, 42px); }
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn .24s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-step-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-step-header span { color: var(--peach); text-transform: uppercase; letter-spacing: .15em; font-weight: 900; font-size: .75rem; }
.form-step-header h2 { margin: 7px 0 7px; font-size: clamp(1.75rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -.04em; }
.form-step-header p { margin: 0; color: var(--muted); }
.form-subsection { margin: 34px 0; padding-top: 26px; border-top: 1px solid var(--line); }
.form-subsection:first-of-type { border-top: 0; padding-top: 0; }
.form-subsection h3 { margin: 0 0 5px; font-size: 1.28rem; }
.form-subsection > p { margin: 0 0 18px; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label, .field > span { color: #e9edfa; font-weight: 800; font-size: .91rem; }
.field small { color: #8592b0; }
.field input, .field select, .field textarea {
  width: 100%;
  color: #f7f9ff;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 13px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(145,248,238,.1); background: rgba(255,255,255,.065); }
.field select option { color: #111; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 12px 0 20px; }
.choice-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: #dce3f4;
  font-size: .88rem;
  cursor: pointer;
}
.choice:hover { border-color: var(--line-strong); background: rgba(255,255,255,.05); }
.choice input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--violet); }
.scale-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; font-size: .85rem; }
.scale-table th, .scale-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.scale-table th:first-child, .scale-table td:first-child { text-align: left; }
.scale-table th:last-child, .scale-table td:last-child { text-align: right; }
.scale-table tr:last-child td { border-bottom: 0; }
.scale-table thead { background: rgba(255,255,255,.055); color: #fff; }
.scale-table tbody tr:nth-child(even) { background: rgba(255,255,255,.018); }
.scale-table input { accent-color: var(--violet); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-actions-right { display: flex; gap: 10px; }
.draft-status { color: #8996b5; font-size: .82rem; }
.error-summary { display: none; margin-bottom: 20px; padding: 15px 18px; border-radius: 13px; border: 1px solid rgba(255,156,168,.3); background: rgba(255,156,168,.08); color: #ffd5da; }
.error-summary.visible { display: block; }
.consent-box { padding: 20px; border: 1px solid rgba(145,248,238,.24); border-radius: 18px; background: rgba(145,248,238,.055); }
.consent-box .choice { background: rgba(5,14,20,.3); }
.privacy-summary { margin-top: 24px; display: grid; gap: 10px; }
.privacy-line { display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--muted); }
.privacy-line strong { color: var(--cyan); }
.hidden { display: none !important; }

/* Generic pages */
.prose { color: #c5cee3; }
.prose h1, .prose h2, .prose h3 { color: #fff; letter-spacing: -.035em; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; }
.prose h2 { margin-top: 2.2em; }
.prose a { color: var(--cyan); }
.prose li { margin: .45em 0; }
.legal-note { color: var(--muted); font-size: .9rem; }
.admin-card { padding: 30px; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 850; border: 1px solid var(--line); }
.status-chip.pending { color: var(--peach); background: rgba(255,199,141,.08); }
.status-chip.ready { color: var(--success); background: rgba(142,240,181,.08); }

:focus-visible { outline: 3px solid rgba(145,248,238,.48); outline-offset: 3px; }
::selection { background: rgba(123,140,255,.35); color: #fff; }

@media (max-width: 1050px) {
  .project-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .cosmos-card { min-height: 440px; max-width: 650px; width: 100%; margin-inline: auto; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .content-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(7,9,20,.97);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-radius: 11px; padding: 12px 14px; }
  .nav-shell { min-height: 70px; }
  .brand-text span { display: none; }
  .hero { padding-top: 58px; }
  .hero h1, .page-hero h1 { font-size: clamp(3.1rem, 14vw, 5.5rem); }
  .identity-strip .container { padding-block: 20px; flex-direction: column; align-items: flex-start; }
  .identity-quote { text-align: left; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .project-grid-compact { grid-template-columns: 1fr 1fr; }
  .project-card { min-height: 205px; }
  .cta-panel, .download-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .field-grid, .field-grid-3 { grid-template-columns: 1fr; }
  .choice-grid, .choice-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid-2, .content-grid-3 { grid-template-columns: 1fr; }
  .progress-wrap { top: 70px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 44px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.8rem, 16vw, 4.3rem); }
  .hero-actions, .form-actions, .form-actions-right { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { width: 100%; }
  .cosmos-card { min-height: 355px; }
  .identity-core { width: 145px; height: 145px; }
  .identity-core img { width: 112px; height: 112px; }
  .orbit-a { width: 290px; height: 195px; }
  .orbit-b { width: 205px; height: 300px; }
  .orbit-node { width: 54px; height: 54px; border-radius: 17px; padding: 7px; }
  .node-1 { left: 0; top: 27%; }
  .node-2 { right: 0; top: 18%; }
  .node-3 { right: 1%; bottom: 17%; }
  .node-4 { left: 5%; bottom: 12%; }
  .node-5 { left: 42%; top: 1%; }
  .project-grid-compact { grid-template-columns: 1fr; }
  .project-card { min-height: 175px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .choice-grid, .choice-grid.cols-2, .choice-grid.cols-4 { grid-template-columns: 1fr; }
  .scale-table { display: block; overflow-x: auto; white-space: nowrap; }
  .form-shell { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}


/* Official project artwork — integrated August 2026 */
.project-icon-art{width:62px;height:62px;border-radius:16px;object-fit:cover;box-shadow:0 10px 28px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.12)}
.project-icon-logo{width:70px;height:62px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.28))}
.project-icon-cover{object-position:center 42%}
.orbit-node img.orbit-art{object-fit:cover;border-radius:15px}
.orbit-node img.orbit-logo{object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.3))}
.orbit-node img.orbit-cover{object-position:center 43%}
.project-banner-section{padding:34px 0 4px}
.project-banner{position:relative;margin:0;overflow:hidden;border-radius:30px;border:1px solid color-mix(in srgb,var(--project-accent) 30%,transparent);box-shadow:0 28px 80px rgba(0,0,0,.36);background:#05070d}
.project-banner img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover}
.project-banner figcaption{position:absolute;right:18px;bottom:16px;padding:7px 11px;border-radius:999px;background:rgba(3,6,12,.72);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.13);color:#d9dfec;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.project-hero-art{width:min(100%,390px);aspect-ratio:1;margin-inline:auto;overflow:hidden;border-radius:34px;border:1px solid color-mix(in srgb,var(--project-accent) 38%,transparent);box-shadow:0 32px 90px color-mix(in srgb,var(--project-accent) 20%,transparent)}
.project-hero-art img{display:block;width:100%;height:100%;object-fit:cover}
.project-hero-art-round{border-radius:50%}
.project-hero-art-square{border-radius:30px}
.project-cover-art{width:min(100%,390px);margin-inline:auto;padding:10px;border-radius:28px;background:linear-gradient(150deg,color-mix(in srgb,var(--project-accent) 22%,transparent),rgba(255,255,255,.035));border:1px solid color-mix(in srgb,var(--project-accent) 35%,transparent);box-shadow:0 34px 100px color-mix(in srgb,var(--project-accent) 19%,transparent)}
.project-cover-art img{display:block;width:100%;height:auto;border-radius:20px;box-shadow:0 20px 50px rgba(0,0,0,.38)}
@media(max-width:820px){.project-banner{border-radius:22px}.project-banner figcaption{display:none}.project-banner-section{padding-top:22px}.project-hero-art,.project-cover-art{width:min(88vw,390px)}}

/* Architecture par univers — v3 */
.universe-subnav {
  position: sticky;
  top: 78px;
  z-index: 40;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 20, .88);
  backdrop-filter: blur(18px);
}
.universe-subnav .container {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  padding-block: 11px;
  scrollbar-width: thin;
}
.universe-subnav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: #cbd4e9;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: .82rem;
  font-weight: 800;
}
.universe-subnav a:hover,
.universe-subnav a[aria-current="page"] {
  color: #fff;
  border-color: color-mix(in srgb, var(--project-accent) 38%, transparent);
  background: color-mix(in srgb, var(--project-accent) 12%, transparent);
}
.universe-intro {
  max-width: 820px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}
.creation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.creation-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.creation-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--project-accent) 42%, transparent);
  background: linear-gradient(155deg, color-mix(in srgb, var(--project-accent) 10%, transparent), rgba(255,255,255,.03));
}
.creation-card h3 {
  margin: 12px 0 8px;
  font-size: 1.45rem;
  letter-spacing: -.025em;
}
.creation-card p {
  margin: 0;
  color: var(--muted);
}
.creation-card .arrow {
  margin-top: auto;
  padding-top: 24px;
  color: var(--project-accent);
  font-weight: 900;
}
.creation-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--project-accent) 32%, transparent);
  background: color-mix(in srgb, var(--project-accent) 12%, transparent);
  font-size: 1.55rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #d7def0;
  background: rgba(255,255,255,.035);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--project-accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--project-accent) 60%, transparent);
}
.universe-map {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 22px;
  align-items: start;
}
.universe-map-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}
.universe-map-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.universe-map-item strong { display: block; margin-bottom: 3px; }
.universe-map-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.universe-map-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--project-accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--project-accent) 30%, transparent);
  font-weight: 900;
}
.placeholder-panel {
  border-style: dashed;
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}
.related-note {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 13px;
  color: #c7d0e5;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  font-size: .9rem;
}
@media (max-width: 980px) {
  .creation-grid { grid-template-columns: 1fr 1fr; }
  .universe-map { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .universe-subnav { top: 70px; }
  .creation-grid { grid-template-columns: 1fr; }
  .creation-card { min-height: 245px; }
}

/* ======================================================================
   Professional layout refinement — v4.0
   ====================================================================== */
body { overflow-x: hidden; }
.home-page .hero { padding: clamp(54px, 6vw, 82px) 0 clamp(54px, 6vw, 76px); }
.home-page .hero-grid {
  grid-template-columns: minmax(420px, .88fr) minmax(520px, 1.12fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}
.home-page .hero-copy { max-width: 660px; }
.home-page .hero h1 {
  max-width: 660px;
  font-size: clamp(3.4rem, 5.3vw, 5.75rem);
  line-height: .96;
  letter-spacing: -.058em;
}
.home-page .hero-copy > p {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}
.home-page .hero-actions { margin-top: 28px; }
.home-page .cosmos-card {
  min-height: clamp(530px, 42vw, 650px);
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}
.home-page .cosmos-card::before { inset: 8% 4%; }
.home-page .orbit-a { width: min(72%, 500px); height: min(46%, 300px); }
.home-page .orbit-b { width: min(48%, 340px); height: min(72%, 500px); }
.home-page .identity-core {
  width: clamp(190px, 17vw, 245px);
  height: clamp(190px, 17vw, 245px);
}
.home-page .identity-core img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.home-page .orbit-node {
  width: clamp(76px, 6.6vw, 96px);
  height: clamp(76px, 6.6vw, 96px);
  padding: 10px;
  border-radius: 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.home-page .orbit-node:hover,
.home-page .orbit-node:focus-visible {
  transform: translateY(-5px) scale(1.035);
  border-color: rgba(145,248,238,.5);
  box-shadow: 0 22px 50px rgba(0,0,0,.35), 0 0 32px rgba(123,140,255,.15);
}
.home-page .orbit-node img { width: 100%; height: 100%; object-fit: contain; }
.home-page .orbit-node img.orbit-art { object-fit: cover; border-radius: 18px; }
.home-page .orbit-node img.orbit-logo { object-fit: contain; padding: 2px; }
.home-page .orbit-node span {
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translateX(-50%) translateY(-3px);
  width: max-content;
  max-width: 180px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7,9,20,.94);
  color: #e9edfa;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.home-page .orbit-node:hover span,
.home-page .orbit-node:focus-visible span { opacity: 1; transform: translateX(-50%) translateY(0); }
.home-page .node-1 { left: 0; top: 25%; }
.home-page .node-2 { right: 1%; top: 17%; }
.home-page .node-3 { right: 3%; bottom: 18%; }
.home-page .node-4 { left: 7%; bottom: 11%; }
.home-page .node-5 { left: 45%; top: 0; }
.home-page .cosmos-label {
  bottom: 0;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7,9,20,.7);
  font-size: .76rem;
  letter-spacing: .1em;
}
.home-page .identity-strip .container { min-height: 88px; }
.home-page .section { padding: clamp(62px, 6vw, 82px) 0; }
.home-page .section-tight { padding: clamp(48px, 4.5vw, 64px) 0; }
.home-page .section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}
.home-page .section-head h2 { font-size: clamp(2.25rem, 3.8vw, 3.75rem); line-height: 1.02; }
.home-page .section-head p { max-width: 560px; line-height: 1.7; }
.home-page .project-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.home-page .project-card {
  min-height: 286px;
  padding: 22px;
  border-radius: 22px;
}
.home-page .project-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  object-fit: contain;
}
.home-page .project-icon-art { border-radius: 18px; object-fit: cover; }
.home-page .project-icon-logo { width: 76px; }
.home-page .project-card h3 { font-size: 1.2rem; margin-top: 8px; }
.home-page .project-card p { font-size: .88rem; line-height: 1.55; }
.home-page .manifesto-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 22px; }
.home-page .manifesto-panel {
  min-height: 370px;
  padding: clamp(28px, 3vw, 40px);
}
.home-page .manifesto-panel .number { font-size: clamp(2.8rem, 4vw, 4rem); }
.home-page .manifesto-panel blockquote { font-size: clamp(1.55rem, 2.2vw, 2.15rem); line-height: 1.25; }
.home-page .feature-panel { padding: clamp(26px, 3vw, 38px); }
.home-page .principle { padding: 13px 0; }
.home-page .principle p { line-height: 1.55; }
.home-page .cta-panel { padding: clamp(28px, 3.5vw, 42px); }

/* Novel demo */
.novel-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  align-items: stretch;
}
.novel-demo-card { display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
.novel-demo-card h2 { margin: 16px 0 10px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.novel-demo-card p { max-width: 680px; font-size: 1.04rem; line-height: 1.7; }
.novel-demo-aside {
  display: grid;
  grid-template-rows: minmax(170px, 1fr) auto;
  gap: 22px;
  overflow: hidden;
}
.novel-demo-aside > img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 20px;
}
.pdf-reader-shell { padding: 36px 0 48px; }
.pdf-reader-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.pdf-reader-head h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.pdf-reader-head p { margin: 8px 0 0; color: var(--muted); }
.pdf-reader {
  display: block;
  width: 100%;
  height: min(82vh, 1040px);
  min-height: 680px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #11172b;
  box-shadow: var(--shadow);
}
.pdf-fallback { padding: 42px; color: var(--text); }
.reader-actions { display: flex; gap: 10px; margin-left: auto; }

@media (min-width: 1440px) {
  :root { --max: 1360px; }
}
@media (max-width: 1190px) {
  .home-page .hero-grid { grid-template-columns: minmax(360px,.9fr) minmax(460px,1.1fr); }
  .home-page .project-grid-compact { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .home-page .project-card { min-height: 250px; }
}
@media (max-width: 980px) {
  .home-page .hero-grid { grid-template-columns: 1fr; }
  .home-page .hero-copy { max-width: 760px; }
  .home-page .hero h1 { max-width: 760px; }
  .home-page .cosmos-card { min-height: 520px; max-width: 700px; }
  .home-page .section-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .home-page .manifesto-grid { grid-template-columns: 1fr; }
  .novel-feature { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .home-page .hero h1 { font-size: clamp(2.8rem, 14vw, 4.35rem); }
  .home-page .cosmos-card { min-height: 410px; }
  .home-page .identity-core { width: 155px; height: 155px; }
  .home-page .orbit-node { width: 60px; height: 60px; border-radius: 18px; padding: 7px; }
  .home-page .orbit-node span { display: none; }
  .home-page .orbit-a { width: 330px; height: 215px; }
  .home-page .orbit-b { width: 230px; height: 335px; }
  .home-page .project-grid-compact { grid-template-columns: 1fr; }
  .home-page .project-card { min-height: 205px; }
  .home-page .manifesto-panel { min-height: 310px; }
  .pdf-reader-head { grid-template-columns: 1fr; align-items: start; }
  .pdf-reader { min-height: 560px; height: 76vh; border-radius: 16px; }
  .reader-actions { gap: 6px; }
  .reader-actions .btn { width: auto; }
}
@media (max-width: 430px) {
  .home-page .cosmos-card { min-height: 365px; }
  .home-page .orbit-a { width: 285px; height: 188px; }
  .home-page .orbit-b { width: 200px; height: 288px; }
  .home-page .orbit-node { width: 52px; height: 52px; }
  .home-page .identity-core { width: 132px; height: 132px; }
  .home-page .cosmos-label { font-size: .65rem; letter-spacing: .07em; }
}
