:root {
  color-scheme: light;
  --paper: #fbfaf5;
  --paper-2: #f2efe6;
  --ink: #10212b;
  --muted: #5b6470;
  --line: #d8d3c5;
  --panel: #ffffff;
  --panel-strong: #fff8df;
  --coral: #ef476f;
  --mint: #06d6a0;
  --cyan: #118ab2;
  --sun: #ffd166;
  --violet: #6f4bd8;
  --green: #2f855a;
  --shadow: 0 22px 60px rgba(16, 33, 43, 0.14);
  --radius: 8px;
  --shell: 1180px;
  --demo-primary: #3d5afe;
  --demo-accent: #06d6a0;
  --demo-highlight: #ffd166;
  --demo-surface: #fbfaf5;
  --demo-text: #10212b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: rgba(251, 250, 245, 0.92);
  border-block-end: 1px solid rgba(16, 33, 43, 0.12);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-lockup img {
  display: block;
  width: 176px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #263844;
  font-weight: 700;
  text-decoration: none;
}

.nav-menu a:hover {
  background: rgba(17, 138, 178, 0.1);
}

.nav-menu .nav-cta {
  color: #fff;
  background: var(--ink);
}

.nav-menu .nav-cta:hover {
  background: #263844;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block-end: 1px solid rgba(16, 33, 43, 0.12);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 250, 245, 0.72);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #f8f5ed;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 72px 54px;
  max-width: 840px;
  margin-inline-start: max(20px, calc((100vw - var(--shell)) / 2));
  margin-inline-end: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #364a54;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: #2f414b;
  font-size: 1.12rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-block-start: 28px;
}

.button,
.small-button,
.icon-button {
  min-height: 44px;
  border: 1px solid rgba(16, 33, 43, 0.18);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
}

.button {
  padding: 0 18px;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
}

.button:hover,
.small-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 36px 0 0;
}

.hero-facts div {
  min-height: 94px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 33, 43, 0.14);
  border-radius: var(--radius);
}

.hero-facts dt {
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding-block: 88px;
}

.section-heading {
  max-width: 820px;
  margin-block-end: 32px;
}

.section-heading.compact {
  max-width: 740px;
}

.section-heading h2,
.library-grid h2 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.library-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.color-tools {
  background: #ffffff;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.tool-panel {
  grid-column: span 6;
  min-width: 0;
  background: var(--panel);
  border: 1px solid rgba(16, 33, 43, 0.14);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 26px rgba(16, 33, 43, 0.08);
}

.export-panel {
  background: #101820;
  color: #fff;
}

.panel-header {
  display: flex;
  min-height: 52px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 14px;
}

.panel-header h3 {
  margin: 2px 0 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.panel-kicker {
  margin: 0;
  color: #697581;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.export-panel .panel-kicker {
  color: #b3c0c8;
}

.icon-button {
  width: 44px;
  padding: 0;
  background: var(--sun);
  color: var(--ink);
}

.small-button,
select {
  min-height: 40px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

select {
  border: 1px solid rgba(16, 33, 43, 0.2);
  border-radius: var(--radius);
  font-weight: 800;
}

.input-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-block-end: 12px;
}

.input-row label {
  color: #394b55;
  font-weight: 800;
}

.input-row input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 33, 43, 0.22);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

input[type="color"] {
  padding: 4px;
}

.field-note {
  margin: -4px 0 14px 122px;
  color: var(--muted);
  font-size: 0.9rem;
}

.format-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.format-chip {
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(16, 33, 43, 0.12);
  border-radius: var(--radius);
  background: #f8f7f1;
  overflow: hidden;
}

.format-chip span {
  display: block;
  color: #61707a;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.format-chip code {
  display: block;
  margin-block-start: 5px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.88rem;
}

.palette-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(16, 33, 43, 0.14);
  border-radius: var(--radius);
}

.swatch {
  min-width: 0;
  padding: 12px 8px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
}

.swatch span {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  font-weight: 900;
}

.metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-block-start: 12px;
}

.metadata-grid div {
  min-height: 56px;
  border: 1px solid rgba(16, 33, 43, 0.12);
  border-radius: var(--radius);
  padding: 10px;
  background: #f8f7f1;
}

.metadata-grid span {
  display: block;
  color: #61707a;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metadata-grid strong {
  display: block;
  margin-block-start: 3px;
  overflow-wrap: anywhere;
}

.score-pill {
  min-width: 76px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.contrast-preview {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 43, 0.16);
  border-radius: var(--radius);
}

.contrast-preview strong {
  font-size: 1.25rem;
}

.contrast-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.contrast-results div {
  min-height: 60px;
  padding: 10px;
  border-radius: var(--radius);
  background: #f8f7f1;
}

.contrast-results dt {
  color: #61707a;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contrast-results dd {
  margin: 2px 0 0;
  font-weight: 900;
}

textarea {
  width: 100%;
  min-height: 280px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: #071016;
  color: #eaf7fa;
  line-height: 1.5;
}

.export-panel .button-row {
  margin-block-start: 12px;
}

.platform {
  background: var(--paper-2);
}

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

.feature-card {
  min-height: 230px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(16, 33, 43, 0.12);
  border-radius: var(--radius);
}

.feature-token {
  display: inline-flex;
  width: 44px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--demo-highlight);
  color: var(--ink);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-token,
.feature-card:nth-child(5) .feature-token {
  background: var(--mint);
}

.feature-card:nth-child(3) .feature-token,
.feature-card:nth-child(6) .feature-token {
  background: var(--coral);
  color: #fff;
}

.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.layout-preview {
  background: #fff;
}

.layout-frame {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(16, 33, 43, 0.16);
  border-radius: var(--radius);
  background: #f7f4ec;
  box-shadow: var(--shadow);
}

.layout-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: #10212b;
  color: #fff;
}

.rail-item {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.rail-item.active {
  background: #fff;
  color: var(--ink);
}

.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 16px;
  padding: 18px;
}

.tool-surface-preview,
.result-stack > div {
  border: 1px solid rgba(16, 33, 43, 0.13);
  border-radius: var(--radius);
  background: #fff;
}

.tool-surface-preview {
  min-height: 390px;
  padding: 16px;
}

.preview-toolbar {
  display: flex;
  gap: 8px;
  margin-block-end: 16px;
}

.preview-toolbar span {
  display: block;
  width: 56px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--ink);
}

.preview-toolbar span:nth-child(2) {
  background: var(--coral);
}

.preview-toolbar span:nth-child(3) {
  background: var(--mint);
}

.preview-work-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 16px;
}

.preview-spectrum {
  min-height: 290px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, #ef476f 0 16.6%, #ffd166 16.6% 33.2%, #06d6a0 33.2% 49.8%, #118ab2 49.8% 66.4%, #6f4bd8 66.4% 83%, #10212b 83% 100%);
}

.preview-controls {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.preview-controls span {
  display: block;
  border: 1px solid rgba(16, 33, 43, 0.12);
  border-radius: var(--radius);
  background: #f8f7f1;
}

.result-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.machine-library {
  background: var(--ink);
  color: #fff;
}

.machine-library .eyebrow,
.machine-library p {
  color: #c6d3d8;
}

.library-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.fact-list {
  display: grid;
  gap: 12px;
}

.fact-list article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.fact-list h3 {
  margin: 0 0 8px;
}

.next-tools {
  background: var(--paper);
}

.next-tools-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: next-tools;
}

.next-tools-list li {
  min-height: 190px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(16, 33, 43, 0.12);
  background: #fff;
  counter-increment: next-tools;
}

.next-tools-list li::before {
  content: counter(next-tools);
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-block-end: 18px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #fff;
  font-weight: 900;
}

.next-tools-list strong,
.next-tools-list span {
  display: block;
}

.next-tools-list strong {
  font-size: 1.12rem;
}

.next-tools-list span {
  margin-block-start: 8px;
  color: var(--muted);
}

.waitlist-form {
  max-width: 720px;
  margin-block-start: 22px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 43, 0.14);
  border-radius: var(--radius);
  background: #fff;
}

.waitlist-form label {
  display: block;
  margin-block-end: 8px;
  font-weight: 900;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-block-end: 10px;
}

.waitlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist-row input,
.name-row input {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(16, 33, 43, 0.22);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.consent-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-block-start: 12px;
  color: #3b4b54;
  font-size: 0.9rem;
  font-weight: 700;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.waitlist-form p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

details {
  border: 1px solid rgba(16, 33, 43, 0.14);
  border-radius: var(--radius);
  background: #f8f7f1;
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  background: #0a1116;
  color: #fff;
  padding-block: 34px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 520px;
  margin: 12px 0 0;
  color: #c4d2d8;
}

.footer-grid .footer-credit {
  margin-block-start: 8px;
  color: #8fa4ad;
  font-size: 0.9rem;
}

.footer-credit a {
  color: #d9e6eb;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-grid a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: #eaf7fa;
  text-decoration: none;
}

.footer-grid a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.toast,
.noscript {
  position: fixed;
  inset-inline: 20px;
  inset-block-end: 20px;
  z-index: 200;
  max-width: 420px;
  min-height: 48px;
  display: none;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.toast.is-visible,
.noscript {
  display: flex;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    min-height: calc(100svh - 76px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px;
    background: var(--paper);
    border-block-start: 1px solid rgba(16, 33, 43, 0.12);
  }

  body.nav-open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    min-height: 54px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.55rem;
  }

  .tool-panel,
  .feature-card {
    grid-column: span 12;
  }

  .feature-grid,
  .next-tools-list,
  .library-grid,
  .layout-main {
    grid-template-columns: 1fr;
  }

  .layout-frame {
    grid-template-columns: 1fr;
  }

  .layout-rail {
    flex-direction: row;
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .brand-lockup img {
    width: 148px;
  }

  .hero-content {
    padding-block: 52px 38px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .format-list,
  .metadata-grid,
  .contrast-results {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-block-start: 24px;
  }

  .hero-facts div {
    min-height: 68px;
    padding: 10px;
  }

  .hero-facts dt {
    font-size: 1.25rem;
  }

  .hero-facts dd {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .section {
    padding-block: 64px;
  }

  .section-heading h2,
  .library-grid h2 {
    font-size: 2.05rem;
  }

  .tool-panel {
    padding: 14px;
  }

  .input-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .field-note {
    margin-inline-start: 0;
  }

  .palette-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatch {
    min-height: 88px;
  }

  .preview-work-area {
    grid-template-columns: 1fr;
  }

  .preview-spectrum {
    min-height: 210px;
  }

  .waitlist-row,
  .name-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }
}

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