/* Brand tokens mirror styles.css. Isolated from the editor's layout rules. */
:root {
  color-scheme: dark;
  --bg-primary: #1e1e22;
  --bg-secondary: #27272b;
  --bg-tertiary: #2f2f35;
  --border: #3a3a42;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a8;
  --accent: #0078d4;
  --accent-hover: #1a8ae8;
  --gold: #fdcb6e;
  --teal: #16c2b2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; background: radial-gradient(ellipse 100% 500px at 50% 0, #23252e, transparent); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #59b6ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 36px, 1000px); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 10; background: var(--accent); color: white; padding: 12px; }
.skip-link:focus { top: 10px; }
.site-header { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 180px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 13px; font-size: 12px; }
.site-header nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { color: white; }
.eyebrow { margin: 0 0 12px; font-size: 10px; letter-spacing: 1.15px; line-height: 1.6; font-weight: 650; color: #aeb9cb; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(39px, 11vw, 64px); letter-spacing: -1.8px; line-height: 1.08; font-weight: 720; color: #fff; }
h1 span { color: var(--gold); }
h2 { font-size: 29px; line-height: 1.18; letter-spacing: -.8px; font-weight: 650; color: #f2f2f5; }
h2 span { color: #54b1f9; }
h3 { font-size: 14px; line-height: 1.35; font-weight: 600; }
p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.hero { padding-block: 28px 25px; }
.hero-copy { font-size: 16px; margin-top: 12px; }
.button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; min-height: 50px; border-radius: 7px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid #2495e9; }
.primary { background: var(--accent); color: #fff; box-shadow: 0 3px 12px #0003; }
.primary:hover { background: var(--accent-hover); }
.button > span { font-size: 20px; font-weight: 400; }
.hero-perks { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; color: #bec3cd; font-size: 10px; }
.hero-perks > span { display: flex; align-items: center; gap: 5px; }
.hero-perks .icon { width: 15px; height: 15px; color: #839eb7; }
.section-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.section-heading h2 { font-size: 19px; letter-spacing: -.3px; }
.section-heading > .icon { color: var(--teal); width: 22px; height: 22px; }
.small-label { margin-left: auto; font: 8px Consolas, Monaco, monospace; color: #9696a0; letter-spacing: .4px; }
.showcase-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-secondary); }
.sample-switch { display: flex; gap: 5px; padding: 6px; background: var(--bg-tertiary); border-bottom: 1px solid var(--border); }
.sample-switch button { flex: 1; display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--text-secondary); font-size: 12px; }
.sample-switch .icon { width: 18px; height: 18px; }
.sample-switch button[aria-pressed=true] { color: #eef7ff; border-color: #3479af; background: #24405a; }
.sample-switch button[aria-pressed=true] .icon { color: #72c3ff; }
.model-stage { position: relative; height: 330px; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #34353e, #252529 76%); }
.model-stage::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#a3afc108 1px, transparent 1px), linear-gradient(90deg, #a3afc108 1px, transparent 1px); background-size: 35px 35px; pointer-events: none; z-index: -1; }
.model-stage > img { position: absolute; width: 100%; height: 100%; object-fit: contain; background: #2a2a2e; transition: opacity .2s; }
.model-stage.ready > img { opacity: 0; pointer-events: none; }
.stage-top { position: absolute; top: 16px; left: 15px; right: 15px; display: flex; justify-content: space-between; gap: 10px; z-index: 2; pointer-events: none; font: 9px Consolas, Monaco, monospace; letter-spacing: .5px; color: #b5b5be; }
.stage-badge::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--gold); }
.stage-number { color: #83838d; font-size: 8px; }
#model-canvas { position: absolute; inset: 33px 8px 12px; touch-action: none; cursor: grab; }
#model-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; }
#model-canvas:active { cursor: grabbing; }
.viewer-message { position: absolute; top: 45px; left: 12px; right: 12px; color: #e0e0e8; font-size: 11px; text-align: center; pointer-events: none; }
.viewer-message:empty { display: none; }
.preview-load { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap; min-height: 44px; border: 1px solid #5b6272; padding: 10px 18px; border-radius: 7px; background: #303039; color: #ededf3; font-size: 12px; }
.no-script { position: absolute; bottom: 50px; left: 20px; right: 20px; color: white; font-size: 12px; text-align: center; }
.viewer-controls { padding: 5px 14px 9px; }
.view-buttons { display: flex; justify-content: center; gap: 7px; }
.view-buttons button { min-width: 44px; min-height: 44px; border: 1px solid #46464f; border-radius: 5px; color: #cccdd5; background: #2f2f35; font-size: 18px; }
.view-buttons button:last-child { font-size: 11px; padding-inline: 11px; }
.view-buttons button:hover { border-color: var(--accent); color: white; }
.explode-control { display: flex; align-items: center; gap: 13px; margin-top: 6px; }
.explode-control label { font-size: 11px; white-space: nowrap; color: #c4c4ce; }
.explode-control input { min-width: 0; flex: 1; height: 44px; accent-color: var(--accent-hover); cursor: ew-resize; }
.touch-hint { text-align: center; color: #9b9ba6; font-size: 10px; line-height: 1.5; }
.model-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); }
.model-caption h3 { font-size: 15px; color: #eeeef4; }
.model-caption p { font-size: 11px; line-height: 1.5; margin-top: 3px; }
.model-index { flex-shrink: 0; color: #85858f; font: 10px Consolas, Monaco, monospace; }
.stl-section, .local-section, .engine-section, .pricing { padding-top: 36px; }
.stl-section > p:not(.eyebrow), .engine-section > p:not(.eyebrow) { margin-top: 11px; }
.stl-workflow { margin-top: 17px; border: 1px solid var(--border); background: var(--bg-secondary); border-radius: 9px; overflow: hidden; }
.workflow-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #a9adba; font: 8px/1.5 Consolas, Monaco, monospace; letter-spacing: .3px; padding-inline: 13px 5px; border-bottom: 1px solid var(--border); }
.workflow-caption button { min-width: 68px; min-height: 44px; padding: 8px; border: 0; background: none; color: #8acbff; font-size: 11px; }
.edit-stage { height: 310px; position: relative; background: radial-gradient(ellipse at 50% 50%, #363b47, #26272e 80%); }
#edit-canvas { position: absolute; inset: 32px 0 0; pointer-events: none; }
#edit-canvas canvas { display: block; width: 100%; height: 100%; }
.edit-poster { position: absolute; inset: 32px 0 0; width: 100%; height: calc(100% - 32px); object-fit: contain; }
.demo-ready .edit-poster { visibility: hidden; }
.edit-readout { position: absolute; top: 13px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #c4cbd8; }
.edit-readout strong { font: 12px Consolas, monospace; color: #6ef0d2; }
.edit-loading { position: absolute; bottom: 12px; left: 18px; right: 18px; text-align: center; font-size: 11px; color: #bcc7da; }
.edit-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--border); }
.edit-steps button { min-height: 49px; border: 0; border-right: 1px solid var(--border); border-bottom: 2px solid transparent; color: #b1b6c1; background: #2d2f37; font-size: 11px; }
.edit-steps button:last-child { border-right: 0; }
.edit-steps button span { margin-right: 4px; color: #818d9e; font: 9px Consolas, monospace; }
.edit-steps button[aria-pressed=true] { background: #233e52; border-bottom-color: #63daca; color: #e1faff; }
.edit-steps button[aria-pressed=true] span { color: #6ef0d2; }
.edit-caption { padding: 12px 13px 4px; min-height: 34px; font-size: 12px; color: #d6dbe6; }
.model-credit { padding: 4px 13px 13px; font-size: 10px; line-height: 1.5; color: #929aa9; }
.model-credit a { color: #a7b8ce; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; gap: 8px; }
.feature-grid article { display: flex; align-items: flex-start; gap: 9px; padding: 14px 11px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-secondary); }
.feature-grid .icon { width: 25px; height: 25px; color: var(--teal); }
.feature-grid article:nth-child(3) .icon, .feature-grid article:nth-child(4) .icon { color: #ef963f; }
.feature-grid article:nth-child(5) .icon, .feature-grid article:nth-child(6) .icon { color: #b99aee; }
.feature-grid h3 { font-size: 12px; }
.feature-grid p { font-size: 10px; line-height: 1.45; margin-top: 4px; }
.cut-icon { transform: rotate(180deg); }
.parametric-strip { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 14px; background: #222e3c; border: 1px solid #354960; border-radius: 7px; }
.parametric-strip > .icon { color: #70bbff; }
.parametric-strip strong { font-size: 12px; font-weight: 600; color: #d6eaff; }
.parametric-strip p { font-size: 11px; line-height: 1.5; margin-top: 4px; color: #a6b6c9; }
.local-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 6px; margin-block: 19px 15px; padding: 18px 8px; border: 1px solid var(--border); background: var(--bg-secondary); border-radius: 8px; }
.local-flow > div { display: flex; align-items: center; text-align: center; flex-direction: column; gap: 5px; min-width: 0; }
.local-flow .icon { width: 31px; height: 31px; color: #73bfff; margin-bottom: 6px; }
.local-flow > div:last-child .icon { color: var(--teal); }
.local-flow strong { font-size: 11px; font-weight: 600; }
.local-flow div > span { font-size: 9px; line-height: 1.4; color: var(--text-secondary); }
.flow-arrow { font-size: 17px; color: #737c8e; padding-top: 7px; }
.local-section > p:not(.eyebrow) { font-size: 13px; }
.local-section > .connected-note { margin-top: 8px; font-size: 10px !important; color: #92929e; }
.engine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.engine-grid article { border: 1px solid var(--border); border-radius: 8px; background: var(--bg-secondary); padding: 15px 13px; }
.engine-grid .icon { width: 26px; height: 26px; color: #73bfff; margin-bottom: 10px; }
.engine-grid article:nth-child(2) .icon { color: var(--teal); }
.engine-grid article:nth-child(3) .icon { color: var(--gold); }
.engine-grid article:nth-child(4) .icon { color: #b99aee; }
.engine-grid h3 { font-size: 13px; }
.engine-grid p { margin-top: 6px; font-size: 11px; line-height: 1.6; }
.engine-grid h3 a { text-decoration: none; }
.engine-grid p a { color: #8fc7f1; }
.price-grid { display: block; }
.price-grid article { padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 9px; }
.price-grid .paid-plan { background: #222e3c; border-color: #3c76a4; }
.price-label { grid-column: 1 / -1; font: 9px/1.5 Consolas, Monaco, monospace; letter-spacing: .4px; color: #aeb8cb; }
.price-grid h3 { font-size: 43px; letter-spacing: -2px; font-weight: 600; line-height: 1.2; margin-block: 10px; color: white; }
.price-grid h3 > span { font-size: 11px; font-weight: 400; letter-spacing: 0; margin-left: 3px; color: #a8bad1; }
.price-grid p { font-size: 11px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 7px; font-size: 12px; font-weight: 500; color: #8acbff; text-decoration: none; }
.pricing-foot { display: flex; flex-direction: column; gap: 9px; align-items: center; margin-top: 13px; font-size: 10px; color: #9696a2; }
.pricing-foot > span:last-child { display: flex; align-items: center; gap: 6px; color: #b6bcc6; }
.pricing-foot .icon { width: 16px; height: 16px; color: var(--teal); }
.maker-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 32px; padding-block: 22px; border-block: 1px solid var(--border); }
.maker-avatar { display: grid; place-items: center; flex: 0 0 37px; width: 37px; height: 37px; border: 1px solid #53505a; border-radius: 50%; background: #302e32; color: var(--gold); font-size: 17px; }
.maker-note h2 { font-size: 16px; letter-spacing: -.2px; }
.maker-note p { margin-top: 7px; font-size: 12px; line-height: 1.6; }
.maker-note a { display: inline-flex; min-height: 44px; align-items: center; font-size: 11px; color: #8acbff; text-decoration: none; }
.closing { padding-block: 29px 27px; }
.closing h2 { font-size: 31px; }
.closing .button { margin-top: 16px; }
.micro { font-size: 10px; margin-top: 10px; }
.site-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; border-top: 1px solid var(--border); padding-block: 8px; }
.site-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 11px; color: #8acbff; text-decoration: none; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--border); padding-block: 13px 24px; }
footer .brand img { width: 147px; }
footer > span { font-size: 9px; color: #878791; }
@media (min-width: 760px) {
  main { width: min(100% - 64px, 1000px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 34px; }
  main > .wrap { width: 100%; }
  .site-header { width: min(100% - 64px, 1000px); }
  .site-header nav { gap: 22px; }
  .hero { padding-top: 46px; align-self: center; }
  h1 { font-size: clamp(41px, 4.8vw, 57px); }
  .showcase { padding-top: 29px; grid-column: 2; grid-row: 1 / span 2; }
  .model-stage { height: 330px; }
  .stl-section { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 25px; padding-top: 30px; }
  .stl-section > .eyebrow, .stl-section > h2, .stl-section > p { grid-column: 1; }
  .stl-workflow { grid-column: 1; grid-row: 4 / span 2; align-self: center; }
  .feature-grid { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; align-self: start; }
  .feature-grid article { min-height: 84px; }
  .parametric-strip { grid-column: 2; grid-row: 5; }
  .local-section, .engine-section { padding-top: 40px; }
  .pricing { grid-column: 1; }
  .maker-note { grid-column: 2; align-self: center; margin-top: 46px; }
  .closing { grid-column: 1 / -1; text-align: center; padding-top: 35px; }
  .closing .button { max-width: 370px; margin-inline: auto; }
  footer { width: min(100% - 64px, 1000px); padding-bottom: 20px; }
  .site-links { width: min(100% - 64px, 1000px); }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 28px); }
  .brand img { width: 157px; }
  .site-header nav { gap: 9px; font-size: 11px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .8px; }
  h1 { font-size: 38px; }
  .hero-perks { font-size: 9px; }
  .hero-perks .icon { width: 13px; height: 13px; }
  .section-heading h2 { font-size: 17px; }
  .small-label { font-size: 7px; }
  .model-stage { height: 310px; }
  .viewer-controls { padding-inline: 9px; }
  .view-buttons { gap: 6px; }
  .feature-grid article { gap: 7px; padding: 12px 8px; }
  .feature-grid .icon { width: 21px; height: 21px; }
  .feature-grid h3 { font-size: 11px; }
  .feature-grid p { font-size: 9px; }
  .price-grid article { padding-inline: 11px; }
  .price-label { font-size: 8px; }
  .price-grid h3 { font-size: 38px; }
  .price-grid h3 > span { font-size: 10px; }
  .local-flow { gap: 4px; padding-inline: 5px; }
  .local-flow strong { font-size: 10px; }
  .local-flow div > span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
