:root {
  color-scheme: dark;
  --bg: #0c0e16; --panel: #151924; --edge: #30364b;
  --text: #f1f2ff; --muted: #b6bed2; --muted-2: #a3aec8;
  --accent: #c9ceff; --bright: #e4e5ff; --bezel: #a0abe654;
  --pad: clamp(20px, 6vw, 96px);
  --content-inset: max(var(--pad), calc((100% - 1260px)/2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
header, main > section, footer { padding-inline: var(--content-inset); }
header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--edge); }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #fff2a8; outline-offset: 4px; }
.skip { position: absolute; top: 10px; left: 10px; transform: translateY(-160%); z-index: 4; background: var(--bright); color: #111425; padding: 8px 14px; border-radius: 4px; }
.skip:focus { transform: none; }
.brand { display: inline-flex; flex: none; gap: 13px; align-items: center; text-decoration: none; }
.brand img { width: 34px; height: 37px; object-fit: contain; }
.brand span { font-size: 1rem; line-height: 1.18; font-weight: 720; letter-spacing: -.025em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; font-weight: 550; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; gap: clamp(.8rem, 2.2vw, 2rem); align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; white-space: nowrap; }
nav a:hover, .text-link:hover { color: white; }
.primary, .outline, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 19px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; line-height: 1.3; font-weight: 680; }
.primary { background: var(--bright); color: #13152b; box-shadow: 0 5px 24px #8887e420, inset 0 1px 0 #fff; }
.primary:hover { background: #fafaff; }
.outline, .secondary { border-color: var(--bezel); color: var(--text); }
.outline:hover, .secondary:hover { border-color: var(--accent); background: #bec7ff10; }

.hero { min-height: 632px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(22px, 4vw, 70px); padding-block: clamp(50px, 8vw, 115px); overflow: hidden; background: radial-gradient(ellipse at 80% 10%, #232842 0%, transparent 57%), linear-gradient(147deg, #0c0e16 38%, #171929); }
.heroCopy { min-width: 0; }
.eyebrow, .orbit-tag { color: var(--accent); font: 650 .875rem/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; }
.eyebrow b { display: inline-block; width: 18px; height: 1px; margin-right: 6px; vertical-align: middle; background: currentColor; }
h1, h2, h3 { margin: 0; font-weight: 650; line-height: 1.08; letter-spacing: -.043em; }
h1 { margin-block: 16px 22px; font-size: clamp(2.65rem, 5.85vw, 6.2rem); letter-spacing: -.075em; max-width: 10ch; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.hero p, .intro, .estimate p, .journey p, .contact p, .security p { color: var(--muted); }
.hero p { max-width: 39ch; margin-block: 0 24px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.text-link { color: var(--accent); }
figure { position: relative; isolation: isolate; margin: 0; border: 1px solid #94a4ef52; border-radius: 14px; min-width: 0; aspect-ratio: 1.1; background: radial-gradient(ellipse at 53% 44%, #394576 0%, transparent 68%), linear-gradient(155deg, #1b223b, #14172a 52%, #121524); overflow: hidden; box-shadow: inset 0 0 0 3px #11192a45, 0 25px 75px #06070e60; }
.sculpture { position: absolute; inset: 0 0 45px; display: grid; place-items: center; }
.sculpture:before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#adbaff10 1px, transparent 1px), linear-gradient(90deg, #adbaff10 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at center, black 22%, transparent 75%); }
.orbit-tag { position: absolute; top: 16px; left: 18px; color: #c3cbea; font-size: .75rem; }
.metal { position: relative; width: 42%; aspect-ratio: 150/165; transform: perspective(620px) rotateY(-14deg) rotateZ(7deg); filter: drop-shadow(1px 1px 0 #d2d5f7) drop-shadow(3px 2px 0 #7f88af) drop-shadow(5px 6px 0 #555d82) drop-shadow(10px 15px 9px #080918a8); animation: float 10s ease-in-out infinite; }
.metal:after { content: ''; position: absolute; inset: 0; mask: url(gs-mark.png) center/contain no-repeat; background: linear-gradient(122deg, #686581 2%, #f7f7ff 19%, #9b9bb8 33%, #e4e7ff 41%, #b8badb 56%, #535979 64%, #dad9f6 82%, #8e9dce 90%, #fff); }
@keyframes float { 50% { transform: perspective(620px) rotateY(-5deg) rotateZ(3deg) translateY(-6px); } }
.orbit { position: absolute; width: 84%; height: 44%; border: 1px solid #929dd693; border-radius: 50%; transform: rotate(-29deg); }
.o2 { border-style: dashed; opacity: .48; transform: rotate(-43deg); }
.o3 { width: 79%; border-color: #abafe34b; transform: rotate(28deg); }
.o1:after, .o3:after { content: ''; width: 6px; height: 6px; position: absolute; top: 47%; right: -3px; border-radius: 50%; background: #e7eaff; box-shadow: 0 0 12px #bdceff; }
figcaption { position: absolute; bottom: 0; width: 100%; display: grid; min-height: 45px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #9faff34d; background: #111526d9; color: #cfd5f2; text-align: center; font-size: .76rem; line-height: 1.3; }
figcaption span { display: grid; align-items: center; padding: 5px; }
figcaption span + span { border-left: 1px solid #9faff34d; }

.section { padding-block: clamp(48px, 7.5vw, 108px); border-top: 1px solid var(--edge); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 18px 36px; }
h2 { font-size: clamp(2.22rem, 4.7vw, 4.55rem); margin-block: 12px 0; }
h3 { font-size: 1.4rem; }
.intro { max-width: 39ch; margin: 0; }
.workspace, .estimate { border: 1px solid #3b4561; border-radius: 14px; overflow: hidden; }
.workspace { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); margin-top: 36px; }
.workspace > * { min-width: 0; padding: clamp(20px, 3.6vw, 46px); }
.workspace form, .estimate { background: var(--panel); }
.workspace label, .small { display: block; margin-block: 18px 7px; }
.small, .hint, .metric small { color: var(--muted-2); font-size: .875rem; }
.hint { margin-top: 8px; }
textarea, input { max-width: 100%; width: 100%; min-height: 44px; border: 1px solid #4d5877; border-radius: 7px; background: #101421; color: var(--text); padding: 9px 10px; }
textarea { min-height: 111px; resize: vertical; }
textarea::placeholder { color: #a6afc7; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.chips button { border: 1px solid #535d80; border-radius: 30px; background: #1c2334; color: var(--text); padding: 4px 12px; min-height: 42px; font-size: .875rem; }
.chips button:hover { background: #303951; }
.map { background: radial-gradient(ellipse at right top, #29304a, transparent 80%), #1a2030; border-left: 1px solid var(--edge); }
.map h3 { margin: 9px 0 24px; }
.map ol { list-style: none; padding: 0; margin: 0; }
.map li { position: relative; padding: 0 0 14px 29px; overflow-wrap: anywhere; }
.map li:before { content: ''; position: absolute; top: 8px; left: 3px; width: 9px; height: 9px; border: 1px solid var(--accent); background: #383f63; box-shadow: 0 0 12px #b1b4ff40; transform: rotate(45deg); }
.map li:not(:last-child):after { content: ''; position: absolute; inset: 24px auto 0 8px; border-left: 1px solid #7480a5; }
.map li strong, .map li span { display: block; }
.map li span { color: #c4cde0; }
.guard { border-left: 2px solid var(--accent); background: #c8cfff10; margin-top: 8px; padding: 11px 14px; }
.guard strong { color: var(--bright); }
.guard p { margin: 2px 0 0; color: #c9d0e3; }
.estimate { margin-top: 18px; padding: clamp(18px, 2.8vw, 34px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .55fr); align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.estimate h3 { margin-block: 7px; }
.estimate p { margin: 0; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.numbers label { font-size: .875rem; }
.numbers input { margin-top: 5px; }
.metric { padding: 12px 14px; background: #252c44; border: 1px solid #444e72; border-radius: 8px; }
.metric output, .metric small { display: block; }
.metric output { color: var(--bright); font-size: clamp(1.45rem, 2.4vw, 2.15rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.approach { background: linear-gradient(132deg, #111523, #15192a); }
.journey { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 32px; gap: 12px; }
.journey article { position: relative; border: 1px solid #3b455e; border-top-color: #858bb5; border-radius: 8px; padding: 20px; background: #101421; }
.journey article>span { color: var(--accent); font-weight: 650; font-size: .875rem; }
.journey h3 { margin-top: 10px; }
.journey p { margin-bottom: 0; }
.security { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; gap: clamp(20px, 6vw, 94px); }
.security p { max-width: 49ch; }
.rules details { border: 1px solid #37425f; border-radius: 8px; margin-block: 0 8px; padding: 2px 17px; background: #141a2b; }
.rules summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 670; }
.rules p { margin: 2px 0 15px; }
.contact { background: radial-gradient(ellipse at 92% 109%, #343753, transparent 62%), #15192a; }
.contact a { margin: 5px 7px 0 0; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--edge); padding-block: 24px; }

@media (max-width: 1000px) { .journey { grid-template-columns: repeat(2, minmax(0,1fr)); } .estimate { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); } .estimate > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 780px) { nav a:not(:last-child) { display: none; } header { min-height: 65px; } .hero, .section-head, .workspace, .security { grid-template-columns: minmax(0, 1fr); } .hero { min-height: 0; } .hero h1 { font-size: clamp(2.85rem, 9vw, 5.4rem); } .hero figure { width: min(100%, 520px); aspect-ratio: 1.33; } .metal { width: 37%; } .map { border: 0; border-top: 1px solid var(--edge); } }
@media (max-width: 510px) { .hero { padding-block: 42px 28px; } .hero-actions { column-gap: 15px; } .journey, .estimate { grid-template-columns: minmax(0, 1fr); } .section-head { gap: 12px; } .workspace { margin-top: 24px; } nav a { padding-inline: 12px; } .numbers label { font-size: .875rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .metal { animation: none; } }

/* The hero card is a self-contained, fictional interaction. */
.hero-lab { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.hero-lab-stage { position: relative; min-height: 0; isolation: isolate; }
.hero-lab-logo { position: absolute; inset: 0; }
.hero-lab .sculpture { inset: 0; }
.hero-lab [hidden] { display: none !important; }
.hero-lab-nav { position: relative; min-height: 45px; }
.hero-lab-nav button {
  min-width: 0; min-height: 44px; padding: 5px 4px; border: 0;
  background: none; color: inherit; font-size: inherit; line-height: 1.3;
  font-weight: 560; text-wrap: balance; position: relative;
}
.hero-lab-nav button + button { border-left: 1px solid #9faff34d; }
.hero-lab-nav button:hover, .hero-lab-nav button[aria-pressed="true"] { background: #d2d5ff23; color: #fff; }
.hero-lab-nav button[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
.hero-lab-nav button:focus-visible { outline-offset: -4px; z-index: 1; }
.hero-lab-panel {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(13px, 2.25vw, 32px); background: #131929;
  scrollbar-width: thin;
}
.hero-lab .hero-lab-kicker {
  margin: 0 0 4px; color: var(--accent);
  font: 650 .73rem/1.4 ui-monospace, monospace;
  letter-spacing: .045em; text-transform: uppercase;
}
.hero-lab-panel h2 {
  font-size: clamp(1.19rem, 2.3vw, 2rem); line-height: 1.12;
  margin: 0 0 10px; overflow-wrap: anywhere;
}
.hero-lab-choices { display: grid; gap: 6px; }
.hero-lab-choice {
  text-align: left; padding: 6px 10px; min-height: 44px; color: var(--text);
  background: #242d48; border: 1px solid #505b7e; border-radius: 6px;
  font-size: .87rem; line-height: 1.32; overflow-wrap: anywhere;
}
.hero-lab-choice:hover { border-color: var(--accent); background: #303a59; }
.hero-lab-choice span { display: block; color: #d1d8ef; }
.hero-lab-steps {
  margin: 0; padding: 0 0 0 1.45em; color: #e2e7fb;
  font-size: .93rem; line-height: 1.38;
}
.hero-lab-steps li { padding-inline-start: 4px; margin-block: 0 5px; }
.hero-lab-steps li::marker { color: var(--accent); font-weight: 700; }
.hero-lab .hero-lab-review, .hero-lab .hero-lab-checkpoint {
  font-size: .93rem; line-height: 1.37; margin: 0 0 6px; color: #e2e7fb;
}
.hero-lab .hero-lab-checkpoint { border-left: 2px solid var(--accent); padding-left: 8px; }
.hero-lab-tools { display: flex; flex-wrap: wrap; gap: 3px 13px; margin-top: 5px; }
.hero-lab-tools button {
  border: 0; background: none; color: var(--accent); padding: 2px 0;
  min-height: 32px; text-align: left; font-size: .83rem;
  text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 420px) {
  .hero-lab-nav button { font-size: .72rem; }
  .hero-lab-tools button { min-height: 32px; }
}
.hero-lab-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:10px;background:#14192a}.hero-lab-nav .demo-invite{grid-column:1/-1;text-align:left;color:#e6e9ff;font:600 .94rem/1.4 Arial,sans-serif;letter-spacing:0;text-transform:none}.hero-lab-nav button,.hero-lab-nav button+button{min-height:44px;border:1px solid #697398;border-radius:7px;background:#252d47;color:#f2f3ff;cursor:pointer}.hero-lab-nav button:first-of-type{background:#d2d8ff;color:#171c32}

/* Small-screen release: give the wordmark, demo logo, and section rhythm room. */
@media (max-width: 780px) {
  :root { --pad: clamp(18px, 5.5vw, 42px); }
  header { min-height: 74px; padding-block: 10px; gap: 12px; }
  .brand { flex: 0 1 auto; min-width: 0; gap: 10px; min-height: 44px; }
  .brand img { flex: none; width: 34px; height: auto; aspect-ratio: 149 / 165; }
  .brand span { min-width: 0; line-height: 1.2; }
  .brand small { letter-spacing: .105em; }
  nav { flex: none; }
  .hero { gap: clamp(28px, 7vw, 42px); padding-block: clamp(44px, 9vw, 64px) clamp(36px, 7vw, 54px); }
  .hero figure.hero-lab { aspect-ratio: auto; grid-template-rows: auto auto; }
  .hero-lab-stage { min-height: clamp(208px, 56vw, 310px); }
  .hero-lab .metal {
    width: clamp(104px, 34vw, 168px); aspect-ratio: 149 / 165;
    transform: none; animation: none;
  }
  .hero-lab .orbit-tag { top: 12px; left: 14px; }
  .hero-lab-panel { position: relative; min-height: inherit; padding: 16px; overflow: visible; }
  .hero-lab-nav { gap: 6px; padding: 10px; }
  .hero-lab-tools button { min-height: 44px; }
  .section { padding-block: clamp(48px, 9vw, 72px); }
}
@media (max-width: 360px) {
  header { gap: 8px; }
  .brand { gap: 8px; }
  .brand span { font-size: .93rem; }
  .brand small { font-size: .66rem; }
  nav a.outline { padding-inline: 9px; }
}
