@layer reset, tokens, base, components, motion, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; }
}

@layer tokens {
  :root {
    color-scheme: light;
    --bg: #f1efe8;
    --bg-soft: #e5e2d9;
    --ink: #101216;
    --muted: #686b69;
    --line: rgba(16, 18, 22, 0.16);
    --glass: rgba(255, 255, 255, 0.56);
    --glass-strong: rgba(255, 255, 255, 0.82);
    --coral: #ff5c35;
    --coral-2: #c73518;
    --mint: #087c6b;
    --amber: #e1ae00;
    --carbon: #101216;
    --paper: #fffdf8;
    --blue: #1647ff;
    --shadow: 0 28px 80px rgba(16, 18, 22, 0.18);
    --radius: 8px;
    --header: 72px;
    --max: 1180px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  }
}

@layer base {
  body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image:
      linear-gradient(rgba(16, 18, 22, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(16, 18, 22, 0.055) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--ink);
    font-family: var(--font);
    letter-spacing: 0;
  }

  body::selection {
    background: var(--blue);
    color: white;
  }

  .signal-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    opacity: 0.24;
    pointer-events: none;
  }

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

  .eyebrow {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  h1, h2, h3, p { margin-top: 0; }

  h1 {
    margin-bottom: 24px;
    max-width: 720px;
    font-size: clamp(4rem, 10.5vw, 8.6rem);
    line-height: 0.83;
    font-weight: 850;
    letter-spacing: 0;
  }

  h2 {
    margin-bottom: 0;
    max-width: 820px;
    font-size: clamp(2rem, 4.6vw, 4.3rem);
    line-height: 1;
    font-weight: 760;
    letter-spacing: 0;
  }

  h3 {
    margin-bottom: 14px;
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: 0;
  }
}

@layer components {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 max(20px, calc((100vw - var(--max)) / 2));
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(24px);
    transition: background 220ms ease, border-color 220ms ease;
  }

  .site-header.is-elevated {
    background: rgba(13, 13, 12, 0.74);
    border-color: var(--line);
  }

  .brand, .header-download, .button, .icon-button, .format-tab {
    -webkit-tap-highlight-color: transparent;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 730;
  }

  .brand__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--paper), var(--coral));
    color: #111;
    box-shadow: 0 14px 36px rgba(255, 106, 61, 0.26);
  }

  .brand__name { white-space: nowrap; }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
  }

  .site-nav a {
    padding: 9px 13px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 0.92rem;
    transition: color 180ms ease, background 180ms ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.09);
    outline: none;
  }

  .header-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 106, 61, 0.38);
    border-radius: var(--radius);
    background: rgba(255, 106, 61, 0.12);
    color: var(--ink);
    font-weight: 650;
  }

  .hero {
    min-height: calc(88svh - var(--header));
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
    align-items: center;
    gap: 44px;
    padding: 52px 0 76px;
  }

  .hero__lead {
    max-width: 680px;
    margin-bottom: 30px;
    color: rgba(248, 244, 236, 0.82);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
    line-height: 1.72;
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
  }

  .button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 720;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  }

  .button::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: transform 640ms ease;
  }

  .button:hover::after { transform: translateX(120%); }
  .button:hover { transform: translateY(-2px); }

  .button--primary {
    background: linear-gradient(135deg, var(--paper), var(--coral));
    color: #111;
    box-shadow: 0 18px 44px rgba(255, 106, 61, 0.24);
  }

  .button--ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
  }

  .button--wide { width: 100%; }
  .button__icon { font-size: 1.1rem; line-height: 1; }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 560px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
  }

  .trust-strip div {
    padding: 16px;
    border-right: 1px solid var(--line);
  }

  .trust-strip div:last-child { border-right: 0; }
  .trust-strip dt { margin-bottom: 6px; color: var(--muted); font-size: 0.76rem; }
  .trust-strip dd { margin: 0; font-weight: 720; }

  .hero__visual {
    perspective: 1200px;
    min-width: 0;
  }

  .visual-stage {
    position: relative;
    min-height: 520px;
    transform-style: preserve-3d;
    transition: transform 240ms ease-out;
  }

  .aura-grid {
    position: absolute;
    inset: 10% 0 0 6%;
    transform: translateZ(-110px) rotateX(62deg) rotateZ(-18deg);
    background:
      linear-gradient(rgba(248, 244, 236, 0.14) 1px, transparent 1px),
      linear-gradient(90deg, rgba(248, 244, 236, 0.13) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(ellipse at center, black 8%, transparent 68%);
    opacity: 0.54;
  }

  .product-window {
    position: absolute;
    inset: 40px 0 auto auto;
    width: min(100%, 760px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(245, 239, 228, 0.95);
    box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: rotateX(9deg) rotateY(-14deg) rotateZ(1deg) translateZ(68px);
  }

  .window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
  }

  .window-bar span:nth-child(1) { background: #ff5f57; }
  .window-bar span:nth-child(2) { background: #ffbd2e; }
  .window-bar span:nth-child(3) { background: #28c840; }
  .product-window img { width: 100%; }

  .conversion-core {
    position: absolute;
    right: 18px;
    bottom: 72px;
    width: 230px;
    height: 230px;
    transform-style: preserve-3d;
    transform: translateZ(130px);
  }

  .core-dot {
    position: absolute;
    inset: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--paper), var(--coral));
    box-shadow: 0 0 44px rgba(255, 106, 61, 0.56), 0 0 110px rgba(255, 106, 61, 0.28);
  }

  .orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    animation: orbit-spin 16s linear infinite;
  }

  .orbit b {
    position: absolute;
    top: -15px;
    left: 50%;
    display: grid;
    place-items: center;
    min-width: 50px;
    height: 30px;
    transform: translateX(-50%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 13, 12, 0.74);
    color: var(--ink);
    font-size: 0.78rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  }

  .orbit--two {
    inset: 26px;
    animation-duration: 11s;
    animation-direction: reverse;
    transform: rotateX(70deg);
  }

  .orbit--three {
    inset: 48px;
    animation-duration: 9s;
    transform: rotateY(64deg);
  }

  .format-ribbon {
    position: absolute;
    left: 22px;
    bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 600px;
    transform: translateZ(180px);
  }

  .format-ribbon span {
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(15, 15, 14, 0.76);
    color: rgba(248, 244, 236, 0.86);
    font-size: 0.78rem;
    backdrop-filter: blur(14px);
  }

  .marquee-band {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
  }

  .marquee-track {
    display: flex;
    width: max-content;
    gap: 44px;
    padding: 22px 0;
    color: rgba(248, 244, 236, 0.66);
    font-weight: 720;
    animation: marquee 30s linear infinite;
  }

  .marquee-track span { white-space: nowrap; }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 104px 0;
  }

  .section-heading {
    grid-column: 1 / -1;
    margin-bottom: 28px;
  }

  .feature-card, .download-card, .faq-item, .lab-shell {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  }

  .feature-card {
    min-height: 260px;
    padding: 26px;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  }

  .feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 61, 0.34);
    background: linear-gradient(180deg, rgba(255, 106, 61, 0.12), rgba(255, 255, 255, 0.045));
  }

  .feature-card__index {
    display: inline-flex;
    margin-bottom: 80px;
    color: var(--amber);
    font-size: 0.88rem;
    font-weight: 780;
  }

  .feature-card p, .download-panel__copy p, .faq-item p, .lab-output__meta p {
    color: var(--muted);
    line-height: 1.74;
  }

  .converter-lab {
    padding: 20px 0 110px;
  }

  .lab-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .format-tabs {
    display: grid;
    gap: 8px;
    align-content: start;
  }

  .format-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
    color: var(--muted);
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
  }

  .format-tab::after {
    content: "→";
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .format-tab.is-active {
    border-color: rgba(255, 106, 61, 0.42);
    background: rgba(255, 106, 61, 0.14);
    color: var(--ink);
  }

  .format-tab.is-active::after {
    opacity: 1;
    transform: translateX(0);
  }

  .lab-output {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 16px;
  }

  .lab-output__screen {
    min-height: 304px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: #10100f;
  }

  .code-line {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
    color: rgba(248, 244, 236, 0.64);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.92rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .code-line--active {
    background: rgba(114, 228, 193, 0.12);
    color: var(--mint);
    box-shadow: 0 0 0 1px rgba(114, 228, 193, 0.22) inset;
  }

  .lab-output__meta {
    display: flex;
    min-height: 304px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background:
      linear-gradient(145deg, rgba(255, 106, 61, 0.16), transparent 52%),
      rgba(255, 255, 255, 0.045);
  }

  .lab-output__meta span {
    margin-bottom: 14px;
    font-size: 1.7rem;
    font-weight: 760;
  }

  .download-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.62fr);
    align-items: center;
    gap: 28px;
    padding: 94px 0 112px;
  }

  .download-panel__copy p {
    max-width: 640px;
    margin-top: 26px;
    font-size: 1.05rem;
  }

  .download-card {
    padding: 28px;
    background:
      linear-gradient(145deg, rgba(244, 201, 93, 0.12), transparent 46%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.048));
  }

  .package-badge {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: #f5efe4;
    color: #111;
    font-size: 0.84rem;
    font-weight: 820;
  }

  .download-card p { color: var(--muted); line-height: 1.6; }

  .hash-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.2);
  }

  .hash-box span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 760;
  }

  .hash-box code {
    color: rgba(248, 244, 236, 0.86);
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .icon-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.075);
    color: var(--ink);
    cursor: pointer;
  }

  .download-status {
    min-height: 26px;
    margin: 12px 0 0;
    color: var(--mint) !important;
    font-size: 0.9rem;
  }

  .faq {
    padding: 8px 0 104px;
  }

  .faq-item {
    margin-bottom: 12px;
    padding: 0 22px;
  }

  .faq-item summary {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 720;
  }

  .faq-item summary::after {
    content: "+";
    color: var(--coral-2);
    font-size: 1.2rem;
  }

  .faq-item[open] summary::after { content: "-"; }
  .faq-item p { margin-bottom: 22px; }

  .site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px max(20px, calc((100vw - var(--max)) / 2));
    border-top: 1px solid var(--line);
    color: var(--muted);
  }
}

@layer motion {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .hero .reveal {
    transition-delay: 80ms;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes orbit-spin {
    to { rotate: 360deg; }
  }

  @keyframes marquee {
    to { transform: translateX(-50%); }
  }
}

@layer responsive {
  @media (max-width: 980px) {
    .site-nav { display: none; }

    .hero,
    .download-panel,
    .lab-shell,
    .lab-output {
      grid-template-columns: 1fr;
    }

    .hero {
      min-height: auto;
      padding-top: 42px;
    }

    .visual-stage { min-height: 430px; }
    .product-window { inset: 32px 0 auto 0; width: 100%; }
    .conversion-core { right: 8px; bottom: 52px; transform: translateZ(90px) scale(0.78); transform-origin: right bottom; }

    .feature-grid {
      grid-template-columns: 1fr;
      padding-top: 84px;
    }

    .feature-card { min-height: 210px; }
    .feature-card__index { margin-bottom: 52px; }
  }

  @media (max-width: 620px) {
    .section-shell { width: min(100% - 28px, var(--max)); }
    .site-header { padding-inline: 14px; }
    .brand__name { display: none; }
    .header-download { padding-inline: 10px; }
    .hero__actions { flex-direction: column; }
    .button { width: 100%; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-strip div:last-child { border-bottom: 0; }
    .visual-stage { min-height: 360px; }
    .product-window { transform: rotateX(7deg) rotateY(-8deg) translateZ(40px); }
    .format-ribbon { left: 0; right: 0; bottom: 0; }
    .format-ribbon span { font-size: 0.7rem; padding: 8px 9px; }
    .conversion-core { display: none; }
    .lab-output__screen, .lab-output__meta { min-height: auto; }
    .hash-box { grid-template-columns: 1fr auto; }
    .hash-box span { grid-column: 1 / -1; }
    .site-footer { flex-direction: column; align-items: flex-start; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 1ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 1ms !important;
    }
    .signal-canvas { display: none; }
  }
}

/* Editorial override: a paper-and-ink system replaces the previous glass interface. */
:root {
  --line: rgba(16, 18, 22, 0.18);
  --shadow: 14px 14px 0 rgba(16, 18, 22, 0.11);
}

body {
  background-color: #f1efe8;
  background-image:
    linear-gradient(rgba(16, 18, 22, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 22, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #f6f4ed 0%, #eeece3 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}

.site-header {
  background: rgba(241, 239, 232, 0.86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-elevated { background: rgba(241, 239, 232, 0.94); }

.brand__mark {
  border-color: var(--ink);
  border-radius: 4px;
  background: var(--blue);
  color: white;
  box-shadow: 4px 4px 0 var(--ink);
}

.site-nav {
  border-color: var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.72);
}

.site-nav a { border-radius: 2px; color: var(--ink); }
.site-nav a:hover, .site-nav a:focus-visible { background: var(--amber); color: var(--ink); }

.header-download {
  border-color: var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 58px;
  padding-top: 80px;
}

.hero::before {
  content: "01 / INTRO";
  position: absolute;
  top: 26px;
  right: 0;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero__copy { position: relative; z-index: 1; }
.eyebrow { color: var(--blue); font-family: "SFMono-Regular", Consolas, monospace; }

h1 {
  color: var(--ink);
  text-shadow: 8px 8px 0 rgba(22, 71, 255, 0.16);
}

.hero__lead { color: #3e4142; max-width: 570px; }

.button {
  border-radius: 4px;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.button:hover { box-shadow: 2px 2px 0 var(--ink); }
.button--primary { background: var(--blue); color: white; box-shadow: 4px 4px 0 var(--ink); }
.button--ghost { background: transparent; color: var(--ink); }
.button__icon { font-family: "SFMono-Regular", Consolas, monospace; }

.trust-strip {
  border-color: var(--ink);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.58);
  box-shadow: 4px 4px 0 rgba(16, 18, 22, 0.15);
}

.trust-strip div { border-color: var(--line); }
.trust-strip dt { color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; }

.hero__visual { filter: drop-shadow(10px 12px 0 rgba(16, 18, 22, 0.12)); }
.visual-stage { min-height: 500px; }

.aura-grid {
  inset: 8% 0 0 8%;
  transform: translateZ(-110px) rotateX(62deg) rotateZ(-18deg);
  background:
    linear-gradient(rgba(22, 71, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 71, 255, 0.3) 1px, transparent 1px);
  opacity: 0.52;
}

.product-window {
  inset: 30px 0 auto auto;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--blue);
  transform: rotateX(7deg) rotateY(-12deg) rotateZ(2deg) translateZ(68px);
}

.window-bar { height: 34px; padding: 0 12px; background: var(--paper); border-bottom-color: var(--ink); }
.window-bar span { border-radius: 1px; }
.product-window img { height: clamp(290px, 29vw, 382px); object-fit: cover; object-position: center top; }

.conversion-core { right: 0; bottom: 55px; }
.core-dot { background: var(--amber); box-shadow: 0 0 0 10px rgba(225, 174, 0, 0.18), 0 0 0 1px var(--ink); }
.orbit { border-color: var(--blue); }
.orbit b { border-color: var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }

.format-ribbon { left: 4px; bottom: 5px; }
.format-ribbon span { border-color: var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; box-shadow: 3px 3px 0 var(--ink); }

.marquee-band { border-color: var(--ink); background: var(--blue); color: white; }
.marquee-track { padding: 18px 0; color: white; font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.8rem; text-transform: uppercase; }

.feature-grid { gap: 0; padding: 112px 0; }
.section-heading { margin-bottom: 38px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { max-width: 700px; }

.feature-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease;
}

.feature-card + .feature-card { border-left: 0; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--ink); background: var(--amber); }
.feature-card__index { margin-bottom: 88px; color: var(--blue); font-family: "SFMono-Regular", Consolas, monospace; }
.feature-card p, .download-panel__copy p, .lab-output__meta p { color: #4f5352; }

.converter-lab { padding-bottom: 112px; }
.lab-shell { border: 1px solid var(--ink); border-radius: 0; background: rgba(255, 253, 248, 0.62); box-shadow: none; }
.format-tabs { gap: 0; border-right: 1px solid var(--ink); }
.format-tab { border-radius: 0; border-color: transparent; background: transparent; color: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.84rem; }
.format-tab:hover { background: rgba(22, 71, 255, 0.1); }
.format-tab.is-active { border-color: var(--ink); background: var(--amber); color: var(--ink); }
.format-tab.is-active::after { color: var(--blue); }

.lab-output__screen { border: 1px solid var(--ink); border-radius: 0; background: var(--carbon); }
.code-line { border-radius: 0; background: rgba(255, 255, 255, 0.08); color: #c9cbc4; }
.code-line--active { background: var(--blue); color: white; box-shadow: none; }
.lab-output__meta { border: 1px solid var(--ink); border-radius: 0; background: var(--amber); }

.download-panel { padding: 104px 0 124px; border-top: 2px solid var(--ink); }
.download-card { border: 2px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: 10px 10px 0 var(--blue); }
.package-badge { border: 1px solid var(--ink); border-radius: 2px; background: var(--amber); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.hash-box { border-color: var(--ink); border-radius: 0; background: #e8e5db; }
.hash-box code { color: var(--ink); }
.icon-button { border-color: var(--ink); border-radius: 2px; background: transparent; color: var(--ink); }
.download-status { color: var(--mint) !important; }

.site-footer { border-top-color: var(--ink); color: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.78rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { max-width: 760px; width: 100%; margin-inline: auto; }
  .format-tabs { border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature-card + .feature-card { border-left: 1px solid var(--ink); border-top: 0; }
}

@media (max-width: 620px) {
  .hero { padding-top: 64px; }
  .hero::before { top: 20px; }
  .product-window { transform: rotateX(5deg) rotateY(-7deg) translateZ(40px); }
  .product-window img { height: 250px; }
  .feature-card + .feature-card { border-left: 1px solid var(--ink); }
  .download-card { box-shadow: 6px 6px 0 var(--blue); }
}
