/* Media in Gear — one stylesheet, tokens first.
   Colors are process inks; overprints are what two inks make together. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-wdth.woff2") format("woff2-variations"),
       url("/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* inks */
  --cyan: #00aeef;
  --magenta: #ec008c;
  --yellow: #fff200;
  --key: #000;
  --paper: #fff;
  /* overprints (multiply of two inks) */
  --blue: #2e3192;   /* cyan + magenta */
  --red: #ed1c24;    /* magenta + yellow */
  --green: #00a651;  /* cyan + yellow */
  /* tints for quiet surfaces */
  --cyan-10: #e5f6fd;
  --rule: #d9d9d9;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;
  --wide-mid: 112%;

  /* type scale (traditional: 14 16 18 21 24 36 48 60 72) */
  --t-small: 0.875rem;
  --t-body: 1.125rem;
  --t-lead: 1.3125rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(2.25rem, 4.6vw, 3.75rem);
  --t-hero: clamp(3rem, 9.4vw, 8.25rem);

  --measure: 34em;
  --page: 75rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --band: clamp(4.5rem, 10vw, 8.5rem);
  --radius-s: 4px;
  --radius-m: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--key);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  font-stretch: 100%;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: var(--measure); }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: var(--t-h2); font-stretch: var(--wide); }
h3 { font-size: var(--t-h3); font-stretch: var(--wide-mid); line-height: 1.15; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--yellow); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--key); color: var(--paper); padding: .6rem 1rem; border-radius: var(--radius-s);
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- press-sheet color bar (top edge, like a printed sheet) ---------- */
.colorbar { display: grid; grid-template-columns: repeat(8, 1fr); height: 8px; }
.colorbar span:nth-child(1) { background: var(--cyan); }
.colorbar span:nth-child(2) { background: var(--magenta); }
.colorbar span:nth-child(3) { background: var(--yellow); }
.colorbar span:nth-child(4) { background: var(--key); }
.colorbar span:nth-child(5) { background: var(--blue); }
.colorbar span:nth-child(6) { background: var(--red); }
.colorbar span:nth-child(7) { background: var(--green); }
.colorbar span:nth-child(8) { background: var(--key); }

/* ---------- header ---------- */
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; font-weight: 800; font-stretch: var(--wide); font-size: 1.1875rem; letter-spacing: -0.01em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a { text-decoration: none; font-size: 1rem; font-weight: 500; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }
.brand span { white-space: nowrap; }
@media (max-width: 480px) { .nav .btn { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.35rem;
  border-radius: 999px; border: 2px solid var(--key);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  background: var(--key); color: var(--paper);
  position: relative; isolation: isolate;
}
/* the plates behind a primary button sit just off register; on hover they come in */
.btn--plates::before, .btn--plates::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  mix-blend-mode: multiply; transition: transform .25s ease;
}
.btn--plates::before { background: var(--cyan); transform: translate(-4px, 3px); }
.btn--plates::after { background: var(--magenta); transform: translate(4px, -3px); }
.btn--plates:hover::before, .btn--plates:hover::after,
.btn--plates:focus-visible::before, .btn--plates:focus-visible::after { transform: none; }
@media (prefers-reduced-motion: reduce) { .btn--plates::before, .btn--plates::after { transition: none; } }

.btn--ghost { background: transparent; color: var(--key); }
.btn--ghost:hover { background: var(--key); color: var(--paper); }
.btn--small { min-height: 40px; padding: .45rem 1rem; font-size: .9375rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 var(--band); }
.hero h1 {
  font-size: var(--t-hero); font-stretch: var(--wide); font-weight: 850; line-height: 1; letter-spacing: -0.025em;
  position: relative; isolation: isolate; max-width: 11.5em; margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
/* three plates; together they print black */
.hero h1 .plate { display: block; }
.hero h1 .plate--c { color: var(--cyan); }
.hero h1 .plate--m, .hero h1 .plate--y { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; }
.hero h1 .plate--m { color: var(--magenta); animation: reg-m 1.6s cubic-bezier(.3,.85,.25,1) .75s both; }
.hero h1 .plate--y { color: var(--yellow); animation: reg-y 1.6s cubic-bezier(.3,.85,.25,1) .9s both; }
.hero h1 .plate--c { animation: reg-c 1.6s cubic-bezier(.3,.85,.25,1) .6s both; }
@keyframes reg-c { from { transform: translate(-.055em, .03em); } to { transform: none; } }
@keyframes reg-m { from { transform: translate(.06em, -.025em); } to { transform: none; } }
@keyframes reg-y { from { transform: translate(.02em, .06em); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .plate--c, .hero h1 .plate--m, .hero h1 .plate--y { animation: none; }
}

.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 30em; }
.lead + .for { font-size: 1rem; color: #3a3a3a; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (max-width: 820px) { .hero-copy { grid-template-columns: 1fr; } }

/* ---------- control strip: the color bar printed along a press sheet ---------- */
.strip { height: 44px; background: repeating-linear-gradient(90deg, #00aeef 0px 45px, #fff 45px 48px, #66cef5 48px 93px, #fff 93px 96px, #b3e7fa 96px 141px, #fff 141px 144px, #ec008c 144px 189px, #fff 189px 192px, #f466ba 192px 237px, #fff 237px 240px, #f9b3dd 240px 285px, #fff 285px 288px, #fff200 288px 333px, #fff 333px 336px, #fff766 336px 381px, #fff 381px 384px, #fffbb3 384px 429px, #fff 429px 432px, #000 432px 477px, #fff 477px 480px, #666 480px 525px, #fff 525px 528px, #b3b3b3 528px 573px, #fff 573px 576px, #2e3192 576px 621px, #fff 621px 624px, #ed1c24 624px 669px, #fff 669px 672px, #00a651 672px 717px, #fff 717px 720px); border-top: 2px solid var(--key); border-bottom: 2px solid var(--key); }
@media (max-width: 600px) { .strip { height: 32px; } }

/* ---------- plates legend + dots ---------- */
.dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; flex: none; }
.dot--c { background: var(--cyan); }
.dot--m { background: var(--magenta); }
.dot--y { background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }

/* ---------- features ---------- */
.features { padding: var(--band) 0; }
.features-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.legend li { display: inline-flex; align-items: center; gap: .5rem; }

.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr; } }
.job h3 { padding-bottom: .75rem; border-bottom: 2px solid var(--key); margin-bottom: .25rem; }
.job ul { list-style: none; margin: 0; padding: 0; }
.job li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .15rem .75rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.job li .dot { margin-top: .42em; }
.job li strong { font-weight: 700; display: block; }
.job li span.d { grid-column: 2; font-size: 1rem; color: #333; line-height: 1.45; }

/* ---------- pricing: the plans stack like plates ---------- */
.pricing { padding: var(--band) 0; background: var(--cyan-10); }
.pricing-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.pricing-head p { margin-top: 1rem; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 34rem; } }

.plan { border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.plan--starter { background: var(--cyan); color: var(--key); }
.plan--pro { background: var(--blue); color: var(--paper); }
.plan--scale { background: var(--key); color: var(--paper); }

.plan-inks { display: flex; gap: 6px; margin-bottom: 1.25rem; }
.plan-inks i { width: 22px; height: 22px; border-radius: 3px; display: block; }
.plan-inks .i-c { background: var(--cyan); }
.plan-inks .i-m { background: var(--magenta); }
.plan-inks .i-y { background: var(--yellow); }
.plan--starter .plan-inks .i-c { box-shadow: inset 0 0 0 2px var(--key); }
.plan-inks-label { font-size: .875rem; margin: -.75rem 0 1.25rem; opacity: .85; }

.plan h3 { font-size: 2.25rem; font-stretch: var(--wide); }
.price { display: flex; align-items: baseline; gap: .35rem; margin: .75rem 0 1.25rem; font-variant-numeric: tabular-nums; }
.price b { font-size: clamp(3rem, 5vw, 3.75rem); font-weight: 800; font-stretch: var(--wide); line-height: 1; letter-spacing: -0.02em; }
.price span { font-size: 1rem; }
.plan .seats { font-weight: 700; margin-bottom: 1rem; }
.plan ul { list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: 1rem; }
.plan li { padding: .5rem 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 28%, transparent); }
.plan li:first-child { border-top: 0; }
.plan .ai { margin-top: auto; padding-top: 1.25rem; border-top: 2px solid currentColor; font-size: 1rem; }
.plan .ai b { font-weight: 800; }

.fine { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; font-size: 1rem; }
.fine p { margin: 0; }
@media (max-width: 760px) { .fine { grid-template-columns: 1fr; } }

/* ---------- your name on it ---------- */
.yours { background: var(--yellow); padding: var(--band) 0; }
.yours .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.yours h2 { max-width: 9em; }
.yours p { font-size: var(--t-lead); }
@media (max-width: 860px) { .yours .wrap { grid-template-columns: 1fr; } }

/* ---------- built in a shop ---------- */
.shop { padding: var(--band) 0; background: var(--cyan); }
.shop .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem 4rem; }
.shop p { font-size: var(--t-lead); }
@media (max-width: 860px) { .shop .wrap { grid-template-columns: 1fr; } }

/* ---------- questions ---------- */
.faq { padding: var(--band) 0; border-top: 2px solid var(--key); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem 4rem; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 2px solid var(--key); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 700; font-size: 1.1875rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--key), var(--key)) center / 14px 2px no-repeat,
    linear-gradient(var(--key), var(--key)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { padding-bottom: 1.25rem; margin: 0; }

/* ---------- early access ---------- */
.early { background: var(--magenta); color: var(--key); padding: var(--band) 0; }
.early h2 { font-size: clamp(2.75rem, 7vw, 5.5rem); max-width: 9em; margin-bottom: 1.5rem; }
.early p { font-size: var(--t-lead); max-width: 28em; }
.early .actions { margin-top: 2rem; align-items: center; }
.early .btn { background: var(--key); border-color: var(--key); color: var(--paper); }
.early .btn:hover { background: var(--paper); color: var(--key); }
.early .addr { font-weight: 700; font-size: 1.125rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--key); color: var(--paper); padding: 2.5rem 0; font-size: 1rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.site-foot nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-foot .brand svg { width: 28px; height: 28px; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; align-content: center; }
.lost h1 { font-size: var(--t-h2); font-stretch: var(--wide); margin-bottom: 1rem; }

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