/* ============================================================
   Checkpointer — Landing Page styles
   Stripe-style: light, calm, typography-led, no chrome.
   ============================================================ */

/* ----------- Accent system (swapped by Tweaks) -------------- */
:root {
  /* Default accent: design-system indigo, deepened one stop for
     a quieter, more enterprise tone — still on-brand. */
  --accent:        #4F29E5;       /* indigo-800 */
  --accent-soft:   #F0ECFE;       /* indigo-100 */
  --accent-line:   #DBD3FE;       /* indigo-200 */
  --accent-deep:   #3A16C9;       /* indigo-900 */

  /* Page surface — can flip between pure-white & warm off-white */
  --surface:       #FAFAFA;
  --surface-deep:  #F4F4F5;

  /* Editorial text colors — slightly customized over tokens for
     the Stripe-y restraint (PRD §5.2). */
  --ink-1:         #0A0A0A;       /* primary text */
  --ink-2:         #5C5C5C;       /* secondary */
  --ink-3:         #9A9A9A;       /* tertiary / captions */
  --rule:          #EAEAEA;
}

[data-accent="navy"] {
  --accent:      #1E2A4A;
  --accent-soft: #E8ECF5;
  --accent-line: #C8D1E5;
  --accent-deep: #14213C;
}
[data-accent="ink"] {
  --accent:      #1B3D5C;
  --accent-soft: #E5EEF6;
  --accent-line: #BFD3E4;
  --accent-deep: #0E2A45;
}
[data-accent="forest"] {
  --accent:      #1F4D3A;
  --accent-soft: #E3F0EA;
  --accent-line: #BDD6CA;
  --accent-deep: #133829;
}

[data-bg="white"]  { --surface: #FFFFFF; --surface-deep: #F7F7F8; }

/* ----------- Reset / base ----------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--surface);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss06", "ss07", "tnum" 0;
  word-break: keep-all;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--accent-deep); }

/* ----------- Layout shell ----------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}
.column { max-width: 880px; }
.column-wide { max-width: 1040px; }

@media (max-width: 720px) {
  .container { padding-left: 24px; padding-right: 24px; }
}

/* ----------- Header ----------------------------------------- */
.cp-header {
  padding: 28px 0;
}
.cp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-1);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.018em;
  line-height: 1;
}
.wordmark .wm-symbol {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wordmark .wm-symbol svg { width: 100%; height: 100%; }
.wordmark[data-concept="a"] .wm-symbol { display: none; }
.wordmark[data-concept="c"] .wm-symbol { display: none; }

/* Hide/show variants of the text part */
.wordmark .wm-text { display: inline; }
.wordmark .wm-text-c { display: none; }
.wordmark[data-concept="c"] .wm-text   { display: none; }
.wordmark[data-concept="c"] .wm-text-c { display: inline-flex; align-items: baseline; }

/* ----------- Sections --------------------------------------- */
section.section {
  padding: 80px 0;
}
section.hero { padding: 96px 0 160px; }

@media (min-width: 900px) {
  section.section { padding: 120px 0; }
  section.hero { padding: 120px 0 200px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.eyebrow .ko {
  color: var(--ink-3);
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}

/* ----------- Hero ------------------------------------------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
}
.hero-headline {
  font-size: clamp(36px, 5.8vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--ink-1);
  margin: 0 0 32px;
  word-break: keep-all;
}
.hero-headline .br {
  display: block;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hero-headline .br { white-space: normal; }
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-2);
  margin: 0;
  max-width: 36ch;
}

/* Hero variant switcher */
.hero-copy { display: none; }
.hero-copy.is-active { display: block; }

/* Subtle accent wash behind hero — single-color, almost invisible */
.hero-wash {
  position: absolute;
  inset: -120px -20% auto -20%;
  height: 600px;
  background:
    radial-gradient(60% 50% at 80% 30%, color-mix(in oklab, var(--accent) 7%, transparent) 0%, transparent 70%),
    radial-gradient(40% 40% at 10% 60%, color-mix(in oklab, var(--accent) 4%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Anchor mark near the top right — restrained brand presence */
.hero-mark {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 720px) { .hero-mark { display: none; } }

/* ----------- Body sections ---------------------------------- */
.section-headline {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink-1);
  margin: 0 0 40px;
  max-width: 26ch;
  word-break: keep-all;
}
.body-para {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 56ch;
}
.body-para strong { color: var(--ink-1); font-weight: 500; }

/* ----------- The Integration (diagram) ---------------------- */
.integration {
  background: var(--surface-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.diagram-wrap {
  margin-top: 64px;
  position: relative;
  display: flex;
  justify-content: center;
}
.diagram {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 10;
  display: block;
}
@media (max-width: 720px) {
  .diagram { aspect-ratio: 5 / 6; }
}

/* ----------- Principles ------------------------------------- */
.principles-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.principle {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
}
.principle-num {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.principle-num::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  margin-top: 14px;
  opacity: 0.4;
}
.principle-body { max-width: 56ch; }
.principle-title {
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--ink-1);
  margin: 0 0 12px;
}
.principle-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  font-weight: 400;
}

@media (max-width: 640px) {
  .principle { grid-template-columns: 1fr; gap: 12px; }
  .principle-num::after { display: none; }
}

/* ----------- Where we're going ------------------------------ */
.going .section-headline {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.028em;
  max-width: 18ch;
}

/* ----------- Footer ----------------------------------------- */
.cp-footer {
  border-top: 1px solid var(--rule);
  padding: 56px 0 48px;
  margin-top: 80px;
}
.cp-footer .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) {
  .cp-footer .container {
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
  }
}
.cp-footer .wordmark { font-size: 16px; }
.cp-footer .contact {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.cp-footer .contact a {
  color: var(--ink-1);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color 150ms ease;
}
.cp-footer .contact a:hover { border-color: var(--accent); color: var(--accent); }
.cp-footer .biz {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
  margin-top: 6px;
}
.cp-footer .biz span { display: block; }
.cp-footer .copy {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: left;
  align-self: end;
}
@media (min-width: 720px) {
  .cp-footer .copy { text-align: right; }
}

/* ----------- Reveal: no-op -------------------------------- */
/* Content is always visible. Stripe-style restraint: skip motion
   altogether so the layout stays readable in any environment. */
.reveal { opacity: 1; }

/* ----------- Custom letterform (Concept C) ------------------ */
.wm-c-letter {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  position: relative;
  margin-right: -0.06em;
  vertical-align: -0.06em;
}
