
:root {
  --ink: #172333;
  --muted: #5f6b76;
  --cream: #f7f1e7;
  --surface: #fffdf9;
  --blue: #1f6392;
  --sky: #4aa9e9;
  --rose: #d54179;
  --gold: #f4ca45;
  --orange: #e07c3c;
  --green: #2d9b6f;
  --line: rgba(23,35,51,.12);
  --shadow: 0 22px 58px rgba(35,48,64,.12);
  --radius: 26px;
  --shell: 1180px;
  --headline: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
  --body: Georgia, Times, "Times New Roman", serif;
  --accent: Copperplate, "Copperplate Gothic Light", fantasy;
  --industrial: Rockwell, "Rockwell Extra Bold", "Courier New", serif;
  --ui: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top left, #edf8ff 0, transparent 34rem), var(--cream);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.68;
}

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

a { color: inherit; }

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: #0b2135;
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,241,231,.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23,35,51,.08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: #273449;
  font-family: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  padding: .8rem .95rem;
  border-radius: 999px;
  text-align: center;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(31,99,146,.1);
  color: #0d4d7f;
}

.nav-cta {
  background: #0b2135 !important;
  color: white !important;
}

.prepress-link { background: #1f6392 !important; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #0b2135;
  color: #fff;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.menu-toggle-lines::before { transform: translateY(-7px); }
.menu-toggle-lines::after { transform: translateY(5px); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.7rem, 5.5vw, 5rem) 0 clamp(2.4rem, 4.5vw, 4.2rem);
  background: #0b2135;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(74,169,233,.32), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(213,65,121,.18), transparent 24rem),
    linear-gradient(135deg, #081522, #163b5d 60%, #0a1725);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .64fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 .8rem;
  color: #f2a36c;
  font-family: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1,
.section-title {
  font-family: var(--headline);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
  margin: 0;
}

.hero h1 {
  max-width: 590px;
  font-size: clamp(1.406rem, 3vw, 2.594rem);
}

.hero-lede {
  max-width: 650px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(.98rem, 1.55vw, 1.15rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .84rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--accent);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #081522;
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.hero-panel { display: grid; gap: .9rem; }

.metric-card,
.mini-card,
.process-card,
.info-card,
.contact-card,
.canvas-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,249,.94);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 1.15rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
  border-color: rgba(255,255,255,.18);
}

.metric-card span {
  font-family: var(--accent);
  font-size: .76rem;
  color: rgba(255,255,255,.68);
}

.metric-card strong {
  display: block;
  margin: .35rem 0;
  font-family: var(--headline);
  font-size: clamp(.813rem, 1.531vw, 1.125rem);
  line-height: 1.12;
}

.metric-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
}

.mini-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.mini-card {
  padding: .9rem;
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
}

.mini-card b,
.tag { font-family: var(--industrial); }

.mini-card b {
  display: block;
  font-size: 1.22rem;
  line-height: 1.05;
}

.mini-card span {
  display: block;
  font-family: var(--accent);
  font-size: .68rem;
  color: rgba(255,255,255,.72);
}

.section {
  padding: clamp(3.4rem, 7vw, 6rem) 0;
  scroll-margin-top: 90px;
}

.section-title { font-size: clamp(2.25rem, 5vw, 4.35rem); }

.section-subtitle {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.intro-strip .section-title,
.intro-strip .section-subtitle,
.compare-section .section-title,
.compare-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.1rem;
}

.process-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 1.35rem;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--sky);
}

.accent-rose::before { background: var(--rose); }
.accent-gold::before { background: var(--gold); }

.process-card span {
  font-family: var(--industrial);
  color: rgba(23,35,51,.32);
  font-weight: 900;
  letter-spacing: .08em;
}

.process-card h3,
.info-card h3 {
  font-family: var(--headline);
  font-size: 1.55rem;
  line-height: 1.1;
  margin: .65rem 0 .45rem;
}

.process-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.dark-feature {
  color: white;
  background: #12171e;
}

.dark-feature .section-subtitle { color: rgba(255,255,255,.70); }

.chart-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 2rem;
  align-items: center;
}

.run-chart {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #14191f;
  color: #a8adb2;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.run-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.run-chart h3 {
  margin: 0;
  color: #eef0f2;
  font-family: var(--headline);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.run-chart-head span,
.run-name,
.run-value,
.run-axis {
  font-family: var(--accent);
  letter-spacing: .05em;
}

.run-name {
  text-align: right;
  color: #a7adb3;
  font-size: .95rem;
}

.run-chart-body {
  display: grid;
  grid-template-columns: 145px 1fr 120px;
  gap: 1rem 1.4rem;
  align-items: center;
}

.track {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: #292e34;
}

.track span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
}

.track.digital span { left: 0; width: 66%; background: var(--gold); }
.track.sheet span { left: 54%; width: 40%; background: var(--rose); }
.track.web span { left: 80%; width: 20%; background: var(--sky); }

.run-axis {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  text-align: center;
  margin-top: 1rem;
  font-size: .82rem;
  color: #a8adb2;
}

.animation-section { background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0)); }
.animation-section.tinted { background: #eff6fb; }

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.split-heading .section-subtitle { max-width: 450px; }

.animation-shell { text-align: center; }

.canvas-card {
  padding: clamp(.5rem, 1.5vw, 1rem);
  overflow: hidden;
  background: #fff;
}

canvas {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  background: #f8fbfd;
  border-radius: 18px;
}

.web-canvas,
.sheet-canvas,
.digital-canvas { max-width: 900px; }

.caption-pill {
  display: inline-flex;
  margin-top: .9rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  color: #253448;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--accent);
  font-weight: 700;
  font-size: .78rem;
  box-shadow: 0 12px 28px rgba(12,26,42,.08);
}

.content-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.five-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-card { padding: 1.2rem; }

.info-card.highlight {
  background: #0b2135;
  color: white;
}

.info-card.highlight p { color: rgba(255,255,255,.74); }

.table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(17,24,39,.08);
  vertical-align: top;
}

.compare-table th {
  color: #fff;
  background: #0b2135;
  font-family: var(--accent);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.compare-table td:first-child {
  color: #0b2135;
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.tag.green { background: #dff6eb; color: #166247; }
.tag.blue { background: #e0efff; color: #145da0; }
.tag.gold { background: #fff1b8; color: #6b5200; }
.tag.orange { background: #ffe5d1; color: #9d4418; }

.contact-section { padding-top: 0; }

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, #0b2135, #173e5f);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}

.contact-card .section-title { font-size: clamp(2.2rem, 4vw, 3.3rem); }
.contact-card .section-subtitle { color: rgba(255,255,255,.72); }

.site-footer {
  color: rgba(255,255,255,.75);
  background: #081522;
  padding: 1.35rem 0;
  font-family: var(--accent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
}

@media (max-width: 1060px) {
  .five-grid,
  .four-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero-grid,
  .chart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .header-inner {
    justify-content: center;
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-inline: auto;
  }

  .site-nav {
    position: fixed;
    left: 50%;
    right: auto;
    top: 80px;
    width: min(330px, calc(100vw - 42px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    padding: .75rem;
    border-radius: 22px;
    background: rgba(255,253,249,.98);
    box-shadow: var(--shadow);
    transform: translate(-50%, -12px);
    opacity: 0;
    pointer-events: none;
    text-align: center;
  }

  .site-nav.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .62rem .5rem;
    font-size: .78rem;
    line-height: 1.1;
    border-radius: 16px;
  }

  .site-nav .nav-cta { grid-column: auto; }

  .process-cards,
  .three-grid { grid-template-columns: 1fr; }

  .split-heading { display: block; }
  .mini-card-row { grid-template-columns: 1fr; }
  .contact-card,
  .footer-inner { display: grid; }

  .run-chart-body { grid-template-columns: 1fr; }
  .run-name { text-align: left; margin-top: .8rem; }
  .run-axis { grid-column: 1; }
}

@media (max-width: 560px) {
  .shell { width: min(var(--shell), calc(100% - 28px)); }
  .hero-actions,
  .btn { width: 100%; }
  .hero h1 { font-size: clamp(1.375rem, 6.56vw, 1.94rem); }
  .five-grid,
  .four-grid { grid-template-columns: 1fr; }
  .caption-pill { font-size: .72rem; }
}

@media (max-width: 420px) {
  .site-nav {
    width: min(304px, calc(100vw - 34px));
    gap: .42rem;
    padding: .65rem;
  }

  .site-nav a {
    font-size: .72rem;
    min-height: 40px;
    padding: .58rem .38rem;
    border-radius: 14px;
  }
}

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