:root {
  color-scheme: light;
  --ink: #142039;
  --muted: #47566d;
  --blue: #1b4dcc;
  --blue-dark: #153aa2;
  --paper: #f6f8fb;
  --line: #d6deea;
  --width: 74rem;
  --gap: clamp(1rem, 4vw, 3rem);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #244fbd; color: #fff; }
.wrap { width: min(calc(100% - 2 * var(--gap)), var(--width)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; padding: .6rem 1rem; z-index: 5; background: #fff; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.3rem; }
.header-inner { min-height: 4.3rem; padding-block: .65rem; }
.brand { display: inline-flex; gap: .55rem; align-items: center; color: var(--ink); font-weight: 760; letter-spacing: -.02em; text-decoration: none; }
.header nav { display: flex; flex-wrap: wrap; gap: .1rem 1.15rem; }
.header nav a { padding-block: .45rem; color: var(--muted); font-size: .91rem; font-weight: 600; text-decoration: none; }
.header nav a:hover, .header [aria-current="page"] { color: var(--blue); text-decoration: underline; }
.header nav .language-switch { color: var(--blue-dark); font-weight: 700; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.025em; }
h1 { font-size: clamp(2.55rem, 5.4vw, 4.55rem); font-weight: 780; letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 3.35vw, 3rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.42rem); }
p { color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4.5vw, 4rem); padding-block: clamp(3rem, 7.8vw, 6.5rem); }
.intro { margin-top: 1.35rem; max-width: 45ch; font-size: clamp(1.04rem, 1.5vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .55rem .95rem; border: 1px solid var(--line); border-radius: .55rem; font-weight: 700; text-decoration: none; }
.primary { border-color: var(--blue); color: #fff; background: var(--blue); }
.primary:hover { background: var(--blue-dark); }
.secondary { color: var(--ink); background: #fff; }
.secondary:hover { border-color: #93a9cf; background: #eef3fd; }
.compat { margin-top: .9rem; font-size: .87rem; }
.hero-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .74fr); grid-template-rows: auto auto; align-items: center; margin: 0; isolation: isolate; }
.hero-background { z-index: -1; grid-area: 1 / 1 / 2 / 3; width: 100%; height: 100%; background: #e6edfa; border-radius: 1rem; }
.printer-photo { grid-area: 1 / 1; width: 106%; max-width: none; margin-left: 3%; border-radius: 1rem; mix-blend-mode: multiply; }
.dashboard-shot { grid-area: 1 / 2; justify-self: center; width: 88%; padding: .5rem; border: 1px solid #2c3545; border-radius: .65rem; background: #11151d; box-shadow: 0 .75rem 1.8rem rgba(0,0,0,.14); overflow: hidden; }
.dashboard-shot img { width: 100%; border-radius: .25rem; }
.hero-visual figcaption { grid-area: 2 / 1 / 3 / 3; margin-top: .6rem; text-align: center; color: var(--muted); font-size: .84rem; }
.feature-section { padding-block: clamp(2.6rem, 6vw, 5rem); background: #eaf0fa; border-block: 1px solid var(--line); }
.section-heading p { max-width: 62ch; margin-top: .8rem; }
.panel-story { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3.5vw, 3rem); margin-top: 2rem; padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid #cedaec; border-radius: .95rem; background: #f9fbff; }
.panel-story p, .examples p, .setup-steps p, .resource-row p { margin-top: .5rem; }
.screen { display: block; min-width: 0; padding: .5rem; border: 1px solid #243046; border-radius: .6rem; overflow: hidden; background: #1a1d24; }
.screen img { width: 100%; border-radius: .25rem; transition: filter 150ms ease; }
.screen:hover img { filter: brightness(1.09); }
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); margin-top: 2rem; }
.examples .screen { display: grid; align-content: center; min-height: 0; aspect-ratio: 1.9; }
.examples .screen img { width: 100%; height: 100%; object-fit: contain; }
.examples h3 { margin-top: .8rem; }
.setup { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(1.5rem, 7vw, 6rem); padding-block: clamp(2.6rem, 7vw, 5rem); }
.setup .button { margin-top: 1.2rem; }
.setup-steps { display: grid; gap: 1rem; margin: 0; padding: 0 0 0 1.65rem; }
.setup-steps li { padding: .75rem; border-bottom: 1px solid var(--line); }
.setup-steps li::marker { color: var(--blue-dark); font-weight: 750; }
.setup-steps a { display: inline-block; margin-top: .3rem; }
.resource-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.resource-row article { padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.resource-row h2 { font-size: clamp(1.28rem, 2.4vw, 1.8rem); }
.resource-row a { display: inline-block; margin-top: .55rem; font-weight: 640; }
.faq { max-width: 50rem; padding-block: clamp(2.6rem, 6vw, 4rem); }
.faq h2 { margin-bottom: 1rem; }
details { padding: .9rem .75rem; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: .5rem; }
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { padding-block: 1.25rem; color: var(--muted); font-size: .9rem; }
.docs { max-width: 54rem; padding-block: clamp(2.5rem, 6vw, 4.3rem); }
.docs h1 { max-width: 19ch; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.docs .section-heading p { max-width: 68ch; }
.anycubic-guide { display: grid; gap: 1rem; margin: 1.6rem 0; padding: 0 0 0 1.5rem; }
.anycubic-guide li::marker { color: var(--blue-dark); font-weight: 750; }
.anycubic-guide li, .release-item { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; overflow-wrap: anywhere; }
.anycubic-guide h2, .release-item h2 { font-size: clamp(1.12rem, 3vw, 1.45rem); }
.anycubic-guide p, .release-item p { margin-top: .5rem; }
.anycubic-guide img { margin-top: .85rem; border-radius: .55rem; }
.anycubic-sample, .anycubic-example { overflow: auto; padding: .8rem; border-radius: .5rem; background: #edf2fc; }
.anycubic-sample mark { color: #18316a; background: #cfe0ff; }
.release-list { display: grid; gap: .8rem; margin-top: 1.6rem; }
.release-item a { display: inline-block; margin-top: .5rem; }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 34rem; justify-self: center; }
  .desktop-break { display: none; }
  .setup { gap: 1.5rem; }
}
@media (max-width: 590px) {
  .header nav { gap: 0 .85rem; }
  .header nav a { font-size: .83rem; }
  .panel-story, .examples, .setup, .resource-row { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2.25rem; }
  .dashboard-shot { width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen img { transition: none; }
}
