/* InkPeach — trade desk / ink-shop system
   UI: Archivo · Reading: Source Serif 4 */

:root {
  --white: #F4F5F3;
  --paper: #FFFFFF;
  --panel: #ECEEEA;
  --ink: #121412;
  --muted: #5C635C;
  --line: rgba(18, 20, 18, .16);
  --line-soft: rgba(18, 20, 18, .08);
  --stamp: #E4572E;
  --stamp-hi: #F06A42;
  --stamp-text: #B83A18;
  --forest: #16352E;
  --forest-d: #0F2621;
  --mint: #D7E5DF;
  /* aliases so existing rules keep working */
  --blush: var(--panel);
  --blush-2: #E2E5E0;
  --peach: var(--stamp);
  --peach-hi: var(--stamp-hi);
  --peach-text: var(--stamp-text);
  --olive: var(--forest);
  --olive-d: var(--forest-d);
  --sage: var(--mint);
  --display: "Archivo", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --body: "Archivo", "Avenir Next", system-ui, sans-serif;
  --r: 2px;
  --wrap: 1180px;
  --gut: clamp(18px, 3.8vw, 44px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--olive-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 2px; }
::selection { background: #FFD8CC; color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.15; letter-spacing: -.02em; }
h4 { font-size: .92rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
p { margin: 0 0 1.1em; }
em, .it { font-style: italic; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 200; border-radius: var(--r); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 900px; }
.sec { padding-block: clamp(72px, 10vw, 150px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.sec--blush { background: var(--blush); }
.sec--sage { background: var(--sage); }
.sec--olive { background: var(--olive); color: var(--white); }
.sec--olive h2, .sec--olive h3 { color: var(--white); }
.sec--olive a { color: var(--white); }
.rule-top { border-top: 1px solid var(--line); }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.small { font-size: .9rem; }

.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--stamp-text); margin-bottom: 12px;
}

/* Peach underline that draws itself */
.draw { background-image: linear-gradient(var(--peach), var(--peach)); background-repeat: no-repeat; background-position: 0 94%; background-size: 100% .09em; padding-bottom: .02em; transition: background-size 1.1s var(--ease) .35s; }
.js .draw { background-size: 0% .09em; }
.js .draw.is-in { background-size: 100% .09em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 16px 26px; border-radius: var(--r); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--stamp); color: #fff; border-color: var(--ink); }
.btn--primary:hover { background: var(--stamp-hi); color: #fff; }
.btn--olive { background: var(--forest); color: #fff; border-color: var(--ink); }
.btn--olive:hover { background: var(--olive-d); color: var(--white); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: 12px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(244, 245, 243, .97); border-bottom: 1px solid var(--line-soft);
  animation: headerIn .9s var(--ease) backwards;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
@keyframes headerIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 30px; height: 30px; flex: none; display: block;
}
.logo__word {
  font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -.035em; line-height: 1;
}
.logo__word span { color: var(--stamp); }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); list-style: none; }
.nav a:not(.btn) {
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0;
  background-image: linear-gradient(var(--peach), var(--peach)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: background-size .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 22px; padding-left: clamp(8px, 1.2vw, 20px); border-left: 1px solid var(--line); margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); width: 46px; height: 46px; cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--white);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px var(--gut) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav a:not(.btn) { display: block; padding: 16px 0; font-family: var(--body); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; background-image: none; }
  .nav a[aria-current="page"] { color: var(--peach-text); }
  .nav__actions { flex-direction: column; align-items: stretch; border: 0; padding: 24px 0 0; margin: 0; gap: 14px; }
  .nav__actions a:not(.btn) { font-family: var(--body); font-size: 1rem; padding: 14px 0; text-align: center; border: 1px solid var(--line); border-radius: var(--r); }
  body.menu-open { overflow: hidden; }
}

/* Hero — brand-forward (original layout) */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(40px, 7vh, 80px);
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero__brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .88;
  font-size: clamp(4rem, 11vw, 8rem);
  margin: 0 0 clamp(16px, 2.5vh, 28px);
  color: var(--ink);
  text-transform: none;
}
.hero__brand span { color: var(--stamp); font-style: normal; font-weight: 700; }
.hero__copy { max-width: 38rem; }
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: none;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .hero__inner { min-height: 0; }
  .hero__brand { font-size: clamp(3.6rem, 18vw, 5.5rem); }
}

.fade-up { opacity: 1; }

/* Scroll reveals — short, no floaty travel */
.js .reveal { opacity: 0; transition: opacity .4s var(--ease); }
.js .reveal.is-in { opacity: 1; }
.js .reveal[data-d="1"] { transition-delay: .04s; } .js .reveal[data-d="2"] { transition-delay: .08s; } .js .reveal[data-d="3"] { transition-delay: .12s; } .js .reveal[data-d="4"] { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .fade-up, .js .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .draw { background-size: 100% .09em; }
  .hero__art .kb { animation: none !important; }
}

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--white); }
.trust__inner { display: grid; grid-template-columns: 150px 1fr; align-items: center; }
.trust__label { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 26px 24px 26px 0; border-right: 1px solid var(--line); }
.trust__names { display: flex; flex-wrap: wrap; list-style: none; }
.trust__names li { font-family: var(--body); font-size: .92rem; font-weight: 700; letter-spacing: -.01em; padding: 20px clamp(10px, 1.4vw, 18px); border-right: 1px solid var(--line-soft); white-space: nowrap; }
.trust__names li:last-child { border-right: 0; }
@media (max-width: 900px) { .trust__inner { grid-template-columns: 1fr; } .trust__label { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; } .trust__names li { padding: 12px 16px 12px 0; font-size: 1.05rem; border-right: 0; } }

/* Section heads */
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); align-items: end; }
.sec-head > :first-child { grid-column: 1 / span 7; }
.sec-head > :last-child { grid-column: 9 / span 4; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .sec-head > :first-child, .sec-head > :last-child { grid-column: 1 / -1; } }

/* Steps (editorial list) */
.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps .num { font-family: var(--display); font-style: normal; font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; color: var(--stamp); }
.steps h3 { margin: 0; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps li { grid-template-columns: 64px 1fr; } .steps li p { grid-column: 2; } .steps .num { font-size: 2.6rem; } }

/* Split layouts */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split__a { grid-column: 1 / span 6; }
.split__b { grid-column: 8 / span 5; }
.split--rev .split__a { grid-column: 7 / span 6; order: 2; }
.split--rev .split__b { grid-column: 1 / span 5; order: 1; }
.split--wide .split__a { grid-column: 1 / span 7; }
.split--wide .split__b { grid-column: 9 / span 4; }
@media (max-width: 900px) { .split__a, .split__b, .split--rev .split__a, .split--rev .split__b, .split--wide .split__a, .split--wide .split__b { grid-column: 1 / -1; order: 0; } }

/* Formats */
.formats { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border: 1px solid var(--ink); }
.format { padding: clamp(28px, 4vw, 56px); position: relative; }
.format + .format { border-left: 1px solid var(--ink); background: var(--sage); }
.format h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 12px; }
.format__art { height: 150px; margin-bottom: 28px; }
.format__art svg { height: 100%; width: auto; }
.spec { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { font-weight: 600; text-align: right; }
@media (max-width: 860px) { .formats { grid-template-columns: 1fr; } .format + .format { border-left: 0; border-top: 1px solid var(--ink); } }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; }
.cap { grid-column: span 4; padding: 32px 0 44px; border-top: 1px solid var(--ink); }
.cap h3 { margin-bottom: 10px; }
.cap p { color: var(--muted); margin: 0; }
.cap__tag { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--peach-text); margin-bottom: 18px; }
.cap--feature { grid-column: span 8; }
.cap--feature h3 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); max-width: 14em; }
.cap--feature p { max-width: 36em; font-size: 1.08rem; }
@media (max-width: 900px) { .cap, .cap--feature { grid-column: 1 / -1; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 48px; }
.quote-lg { grid-column: 1 / span 7; margin: 0; }
.quote-lg p { font-family: var(--display); font-style: normal; font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.3; letter-spacing: -.025em; }
.quote-side { grid-column: 9 / span 4; display: grid; gap: 0; align-content: start; }
.quote-sm { margin: 0; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.quote-sm + .quote-sm { padding-top: 28px; }
.quote-sm p { font-size: 1.02rem; margin-bottom: 14px; }
.who { display: block; font-size: .9rem; color: var(--muted); }
.who strong { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 900px) { .quote-lg, .quote-side { grid-column: 1 / -1; } .quote-side { margin-top: 36px; } }

/* CTA band */
.cta-band { position: relative; background: var(--panel); overflow: hidden; border-top: 1.5px solid var(--ink); }
.cta-band__inner { padding-block: clamp(72px, 9vw, 130px) clamp(110px, 12vw, 170px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; }
.cta-band h2 { grid-column: 1 / span 8; margin: 0; font-size: clamp(2.6rem, 6vw, 5.2rem); }
.cta-band__side { grid-column: 9 / span 4; }
.cta-band__side p { color: var(--muted); }
.cta-band__spines { display: none; }
.cta-band__spines svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .cta-band h2, .cta-band__side { grid-column: 1 / -1; } }

/* Page head (interior) */
.page-head { background: var(--blush); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 90px); align-items: end; }
.page-head__copy { grid-column: 1 / span 8; }
.page-head h1 { margin-bottom: 22px; }
.page-head .lede { margin: 0; }
.page-head__art { grid-column: 10 / span 3; align-self: end; justify-self: end; width: 100%; max-width: 280px; }
@media (max-width: 900px) { .page-head__copy { grid-column: 1 / -1; } .page-head__art { display: none; } }

/* Prose + lists */
.prose p, .prose li { color: #3b332e; }
.prose h2 { margin-top: 1.4em; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .45em; }
.ticks { list-style: none; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line-soft); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 12px; height: 7px; border-left: 2px solid var(--peach); border-bottom: 2px solid var(--peach); transform: rotate(-45deg); }
.ticks li:first-child { border-top: 1px solid var(--line-soft); }
.ticks strong { font-weight: 600; }

/* Process timeline (distribution) */
.pipeline { list-style: none; position: relative; }
.pipeline li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 20px clamp(24px, 5vw, 80px); padding: 48px 0; border-top: 1px solid var(--line); position: relative; }
.pipeline li:last-child { border-bottom: 1px solid var(--line); }
.pipeline__k { font-family: var(--display); font-style: normal; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stamp-text); }
.pipeline__k b { display: block; font-size: 3.6rem; line-height: .9; font-weight: 800; color: var(--stamp); font-style: normal; letter-spacing: -.04em; }
.pipeline h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.pipeline__time { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); border: 1px solid var(--olive); padding: 6px 10px; border-radius: var(--r); }
@media (max-width: 760px) { .pipeline li { grid-template-columns: 1fr; padding: 34px 0; } .pipeline__k b { display: inline; font-size: 3rem; margin-right: 10px; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--blush); border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.compare th:first-child, .compare td:first-child { width: 36%; font-weight: 500; }
.compare td, .compare th { text-align: left; }
.compare td.yes { color: var(--olive); font-weight: 600; }
.compare td.no { color: #8a7f78; }

/* Pricing plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: var(--white); }
.plan { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--ink); }
.plan--hl { background: var(--blush); }
.plan__name { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--peach-text); margin-bottom: 18px; display: flex; justify-content: space-between; gap: 8px; }
.plan__flag { color: var(--olive); }
.plan__price { font-family: var(--display); font-weight: 600; font-size: clamp(4rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -.03em; margin-bottom: 6px; }
.plan__price small { font-size: .32em; font-family: var(--body); font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan__desc { color: var(--muted); margin-bottom: 22px; min-height: 3.2em; }
.plan .ticks { margin-bottom: 30px; flex: 1; }
.plan .ticks li { font-size: .96rem; padding-block: 10px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--ink); } }

.calc { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--white); }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.calc__row:last-child { border-bottom: 0; }
.calc__row strong { font-weight: 600; }
.calc__total { font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--olive); }

/* Partners */
.pgroup { border-top: 1px solid var(--ink); padding: 34px 0 54px; display: grid; grid-template-columns: 280px 1fr; gap: 24px 40px; }
.pgroup h3 { margin: 0 0 8px; }
.pgroup p { color: var(--muted); font-size: .95rem; margin: 0; }
.pgrid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); align-self: start; }
.pgrid li { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background-color .25s; }
.pgrid li:hover { background: var(--blush); }
.pgrid b { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; font-weight: 600; }
.pgrid span { display: block; margin-top: 4px; font-size: .8rem; color: var(--muted); }
@media (max-width: 960px) { .pgroup { grid-template-columns: 1fr; } .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }

/* Accordion */
.faq-tools { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 22px; margin-bottom: 8px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.faq-cats a { display: inline-block; padding: 8px 14px; font-size: .88rem; font-weight: 500; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: background-color .2s, border-color .2s; }
.faq-cats a:hover { background: var(--blush); border-color: var(--ink); }
.faq-group { display: grid; grid-template-columns: 300px 1fr; gap: 24px 48px; padding: 48px 0 24px; border-bottom: 1px solid var(--line); }
.faq-group > h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin: 0; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.faq-group > h2 small { display: block; font-family: var(--body); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--peach-text); margin-bottom: 12px; }
details.q { border-bottom: 1px solid var(--line-soft); }
details.q:first-of-type { border-top: 1px solid var(--line-soft); }
details.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--peach); border-bottom: 2px solid var(--peach); transform: rotate(45deg); transition: transform .3s var(--ease); margin-right: 4px; }
details.q[open] summary::after { transform: rotate(-135deg); }
details.q summary:hover { color: var(--peach-text); }
details.q .a { padding: 0 40px 26px 0; color: #3b332e; max-width: 46em; animation: fadeUp .5s var(--ease) both; }
details.q .a p:last-child { margin-bottom: 0; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; }
.nores { display: none; padding: 40px 0; color: var(--muted); }
@media (max-width: 900px) { .faq-group { grid-template-columns: 1fr; } .faq-group > h2 { position: static; } details.q .a { padding-right: 0; } }

/* Forms */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 7px; }
.field label, .field legend, .label { font-size: .88rem; font-weight: 600; }
.field .hint { font-size: .84rem; color: var(--muted); font-weight: 400; }
.req { color: var(--peach-text); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid rgba(31, 26, 23, .42); border-radius: var(--r); padding: 13px 14px; transition: border-color .2s, background-color .2s;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--olive); outline-offset: 1px; border-color: var(--olive); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3321B; background: #FFF6F3; }
.err { display: none; color: #A12E18; font-size: .86rem; font-weight: 500; }
.field.has-error .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); cursor: pointer; display: grid; place-content: center; }
.check input[type=radio] { border-radius: 50%; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) scale(0); transition: transform .15s; margin-top: -2px; }
.check input[type=radio]::after { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--ink); transform: scale(0); margin: 0; }
.check input:checked { background: var(--peach); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input[type=radio]:checked::after { transform: scale(1); }
.form-status { display: none; padding: 16px 18px; border-radius: var(--r); font-weight: 500; border: 1px solid var(--olive); background: var(--sage); }
.form-status.is-on { display: block; }
.form-status.is-error { border-color: #A12E18; background: #FFF1EC; color: #7e2412; }
.form-shell { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.form-card { grid-column: 1 / span 7; }
.form-aside { grid-column: 9 / span 4; }
.form-aside .ticks { margin-top: 16px; }
.contact-lines { list-style: none; margin-top: 24px; border-top: 1px solid var(--ink); }
.contact-lines li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.contact-lines b { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--peach-text); font-weight: 600; }
@media (max-width: 900px) { .form-card, .form-aside { grid-column: 1 / -1; } }

/* Auth layout */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h)); }
.auth__art { background: var(--ink); color: #F4F5F3; position: relative; overflow: hidden; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 72px); }
.auth__art svg.bg { display: none; }
.auth__art blockquote { position: relative; margin: 0; max-width: 28em; }
.auth__art blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.25; font-weight: 400; color: #F4F5F3; }
.auth__art .who { color: #B8C0B8; }
.auth__art .who strong { color: #FFB39A; }
.auth__form { padding: clamp(32px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; max-width: 620px; width: 100%; }
.auth__form h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
.auth__alt { margin-top: 24px; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__art { display: none; } .auth__form { margin-inline: auto; } }

/* App (dashboard / upload) */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: calc(100svh - var(--header-h)); }
.app__side { border-right: 1px solid var(--line); background: var(--blush); padding: 28px 20px; position: sticky; top: var(--header-h); align-self: start; height: calc(100svh - var(--header-h)); overflow-y: auto; }
.app__who { padding: 0 8px 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.app__who b { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.app__who span { font-size: .85rem; color: var(--muted); }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; border-left: 2px solid transparent; }
.side-nav a:hover { background: rgba(215, 106, 74, .12); }
.side-nav a[aria-current="page"] { background: var(--white); border-left-color: var(--peach); font-weight: 600; }
.side-nav small { font-size: .72rem; font-weight: 600; color: var(--olive); }
.side-label { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 26px 12px 8px; display: block; }
.app__main { padding: clamp(24px, 3.4vw, 52px); min-width: 0; }
.app__main > * { max-width: 1280px; }
.app__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.app__top h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 0; }
.app__top p { margin: 6px 0 0; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin-bottom: 36px; }
.metric { padding: 22px 24px; border-right: 1px solid var(--line-soft); }
.metric:last-child { border-right: 0; }
.metric > span { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.metric b { display: block; font-family: var(--display); font-size: 2.5rem; font-weight: 600; line-height: 1.1; margin-top: 6px; }
.metric small { color: var(--olive); font-weight: 600; font-size: .82rem; }
@media (max-width: 900px) { .metrics { grid-template-columns: 1fr 1fr; } .metric:nth-child(2) { border-right: 0; } .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); } }
.panel-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; margin-bottom: 36px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 24px; }
.panel h2 { font-size: 1.6rem; margin-bottom: 18px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; border-bottom: 1px solid var(--ink); padding-bottom: 0; }
.bars i { flex: 1; background: var(--peach); display: block; border-radius: 2px 2px 0 0; position: relative; transform-origin: bottom; animation: grow .9s var(--ease) both; }
.bars i:nth-child(even) { background: var(--olive); }
@keyframes grow { from { transform: scaleY(0); } }
.bars-x { display: flex; gap: 10px; font-size: .74rem; color: var(--muted); margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; }
.chan-list { list-style: none; }
.chan-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .94rem; }
.chan-list li:last-child { border-bottom: 0; }
@media (max-width: 1000px) { .panel-grid { grid-template-columns: 1fr; } }
.status { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; border: 1px solid; white-space: nowrap; }
.status--live { color: var(--olive); border-color: var(--olive); background: var(--sage); }
.status--qc { color: #8d3a1f; border-color: var(--peach); background: var(--blush); }
.status--draft { color: var(--muted); border-color: var(--line); background: var(--white); }
td .t { font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; display: block; }
td .s { font-size: .84rem; color: var(--muted); }
.table-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.table-tools h2 { margin: 0; font-size: 1.9rem; }
.num-r { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px var(--gut); }
  .app__who, .side-label { display: none; }
  .side-nav { display: flex; overflow-x: auto; gap: 6px; }
  .side-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .side-nav a[aria-current="page"] { border-bottom-color: var(--peach); }
}

/* Wizard */
.wiz-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-bottom: 40px; counter-reset: w; }
.wiz-steps li { padding: 14px 12px 0 0; font-size: .9rem; font-weight: 500; color: var(--muted); border-top: 3px solid transparent; margin-top: -2px; counter-increment: w; }
.wiz-steps li::before { content: "0" counter(w); display: block; font-family: var(--display); font-style: normal; font-weight: 800; font-size: 1.35rem; line-height: 1; margin-bottom: 4px; letter-spacing: -.03em; }
.wiz-steps li.is-current { color: var(--ink); font-weight: 600; border-top-color: var(--peach); }
.wiz-steps li.is-done { color: var(--olive); border-top-color: var(--olive); }
.wiz-panel { display: none; max-width: 760px; }
.wiz-panel.is-on { display: block; animation: fadeUp .5s var(--ease) both; }
.wiz-panel h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.wiz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 760px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seg label { border: 1px solid rgba(31,26,23,.42); border-radius: var(--r); padding: 14px 16px; cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s; }
.seg label:hover { border-color: var(--ink); }
.seg label:has(input:checked) { border-color: var(--ink); background: var(--blush); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 560px) { .seg { grid-template-columns: 1fr; } .wiz-steps li { font-size: .78rem; } }
.drop { border: 1.5px dashed var(--ink); border-radius: var(--r); padding: 30px 24px; text-align: center; background: var(--blush); cursor: pointer; transition: background-color .2s, border-color .2s; }
.drop:hover, .drop.is-over { background: var(--blush-2); border-color: var(--peach-text); }
.drop b { font-family: var(--display); font-size: 1.5rem; display: block; }
.drop span { color: var(--muted); font-size: .9rem; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--olive); outline-offset: 3px; }
.files { list-style: none; margin-top: 10px; }
.files li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: .92rem; border: 1px solid var(--line); border-top: 0; background: var(--white); }
.files li:first-child { border-top: 1px solid var(--line); }
.files button { background: none; border: 0; color: var(--peach-text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.chan-group { margin-bottom: 24px; }
.chan-group h3 { font-size: 1.5rem; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.chan-group h3 button { font: inherit; font-family: var(--body); font-size: .85rem; font-weight: 600; background: none; border: 0; color: var(--olive); cursor: pointer; text-decoration: underline; }
.chan-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; border-top: 1px solid var(--line); }
.chan-boxes .check { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 560px) { .chan-boxes { grid-template-columns: 1fr; } }
.review { margin: 0; border-top: 1px solid var(--ink); }
.review div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--muted); font-size: .9rem; }
.review dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 560px) { .review div { grid-template-columns: 1fr; gap: 2px; } }
.success { display: none; max-width: 760px; border-top: 1px solid var(--ink); padding-top: 32px; }
.success.is-on { display: block; animation: fadeUp .6s var(--ease) both; }

/* Footer */
.site-footer { background: var(--ink); color: #E9DFD9; padding-top: clamp(56px, 7vw, 96px); }
.site-footer a { color: #E9DFD9; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--peach); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 32px; padding-bottom: 56px; }
.footer__brand .logo { color: var(--white); }
.footer__brand .logo__word { color: #fff; }
.footer__brand p { margin-top: 18px; color: #BFB2AA; max-width: 22em; font-size: .95rem; }
.footer__col h4 { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); margin-bottom: 18px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer__bar { border-top: 1px solid rgba(255, 251, 250, .16); padding-block: 24px 30px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .86rem; color: #A89B93; }
.footer__bar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bar a { color: #A89B93; }
.site-footer--compact { padding-top: 0; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* Misc blocks */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.stat-row div { padding: 28px 24px 8px 0; }
.stat-row b { display: block; font-family: var(--display); font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 600; line-height: 1; color: var(--peach); }
.stat-row span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.cols3 > div { border-top: 1px solid var(--ink); padding: 28px 0 40px; }
.cols3 h3 { margin-bottom: 10px; }
.cols3 p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; } }
.pull { font-family: var(--display); font-style: normal; font-weight: 800; font-size: clamp(1.55rem, 2.8vw, 2.35rem); line-height: 1.15; letter-spacing: -.035em; border-left: 3px solid var(--stamp); padding-left: 22px; margin: 0; }
.figure-art { background: var(--blush); border: 1px solid var(--line); aspect-ratio: 4 / 4.2; display: grid; place-items: center; padding: 8%; }
.figure-art svg { width: 100%; height: auto; max-height: 100%; }
.note { border-left: 3px solid var(--olive); background: var(--sage); padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; font-size: .96rem; }
.note p:last-child { margin: 0; }
.toc { list-style: none; border-top: 1px solid var(--ink); }
.toc a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.toc a::after { content: "\2192"; color: var(--peach-text); transition: transform .25s var(--ease); }
.toc a:hover::after { transform: translateX(4px); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.team div { border-top: 1px solid var(--ink); padding: 18px 0 30px; }
.team b { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.team span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
.timeline-h { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.timeline-h li { padding: 22px 20px 8px 0; }
.timeline-h b { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 600; color: var(--peach); line-height: 1; }
.timeline-h span { font-size: .94rem; color: var(--muted); display: block; margin-top: 8px; }
@media (max-width: 800px) { .timeline-h { grid-template-columns: 1fr 1fr; } }
