/* 1VISION — Brand Guidelines v1.0 */
:root {
  --cobalt: #2747F5;
  --cobalt-hover: #1E3BE0;
  --ink: #0E1525;
  --lime: #C8F25A;
  --paper: #F5F6F2;
  --mist: #E2E5EC;
  --slate: #4A5468;
  --white: #FFFFFF;
  --task: #2747F5;
  --meet: #D9480F;
  --spa: #0F7A6A;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 246, 242, .88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--mist);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.wordmark { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -0.04em; line-height: 1; }
.brand-sm .wordmark { font-size: 16px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--cobalt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 20px; border: 0; border-radius: 10px;
  font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 999px; }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1C2539; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt);
  margin-bottom: 16px;
}
.eyebrow-lime { color: var(--lime); }
.display, .display-2, .h2, .h2-cta, h3 { font-family: var(--f-display); color: inherit; }
.display {
  font-weight: 800; font-size: clamp(44px, 7.4vw, 84px); line-height: 1.02;
  letter-spacing: -0.04em; max-width: 13.5ch;
}
.accent { color: var(--cobalt); }
.lime { color: var(--lime); }
.display-2 {
  font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1.07;
  letter-spacing: -0.035em; max-width: 22ch;
}
.h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.025em; max-width: 16ch; }
.h2.wide { max-width: none; }
.h2.narrow { max-width: 21ch; }
h3 { font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--mist); }
.hero-inner { position: relative; padding-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(64px, 10vw, 104px); }
.lens {
  position: absolute; top: 50%; right: max(-240px, calc(50% - 820px));
  width: min(820px, 95vw); height: auto; transform: translateY(-52%);
  fill: none; stroke: #DADFF5; stroke-width: 1.4; pointer-events: none;
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 24px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 242, 90, .3); }
.lead { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: #2A3247; }

/* ---------- Signup ---------- */
.signup { margin-top: 32px; max-width: 560px; }
.signup label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.signup-row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px;
  border: 1px solid #CDD2DC; border-radius: 10px; background: #fff; color: var(--ink);
  font: 400 15px/1 var(--f-body);
}
.signup input[type="email"]::placeholder { color: #8A92A3; }
.signup input[type="email"]:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(39, 71, 245, .18); }
.signup input[aria-invalid="true"] { border-color: var(--meet); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.5em; margin-top: 10px; font-size: 14px; color: var(--slate); }
.form-msg.ok { color: var(--spa); font-weight: 500; }
.form-msg.err { color: var(--meet); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section + .section:not(.section-ink):not(.section-mist):not(.section-cta) { border-top: 1px solid var(--mist); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { color: var(--ink); font-size: 15px; line-height: 1.75; padding-top: 4px; }
.prose p + p { margin-top: 16px; }

.section-ink { background: var(--ink); color: #F5F6F2; }
.muted-dark { margin-top: 32px; max-width: 34em; color: #A9B0C0; font-size: 15px; line-height: 1.75; }

.section-mist { background: var(--mist); }

/* Cards */
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); padding: 24px 22px 28px; }
.num { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--cobalt); margin-bottom: 14px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 14px; line-height: 1.65; color: var(--slate); }

/* Audience */
.audience { border-top: 1px solid #C9CEDA; }
.audience li { display: grid; grid-template-columns: 40px 1fr; padding: 20px 0; border-bottom: 1px solid #C9CEDA; }
.letter { font-family: var(--f-mono); font-size: 12px; color: var(--slate); padding-top: 3px; }
.audience h3 { font-family: var(--f-body); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.audience p { font-size: 14px; color: var(--slate); }

/* Principles */
.principles { margin-top: 40px; padding-top: 28px; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.principles h3 { font-size: 24px; margin-bottom: 10px; }
.principles p { font-size: 14px; line-height: 1.65; color: var(--slate); }

/* CTA */
.section-cta { padding-top: clamp(48px, 7vw, 72px); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  background: var(--cobalt); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 64px);
}
.cta-deco { position: absolute; z-index: -1; background: rgba(255, 255, 255, .16); pointer-events: none; }
.cta-circle { width: 60px; height: 60px; border-radius: 50%; top: -20px; right: 112px; }
.cta-bar { width: 50px; height: 180px; border-radius: 0 0 10px 10px; top: 0; right: 44px; }
.h2-cta { font-weight: 800; font-size: clamp(30px, 3.8vw, 42px); line-height: 1.08; letter-spacing: -0.035em; max-width: 13ch; }
.cta-copy p:last-child { margin-top: 16px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .9); max-width: 30em; }
.signup-on-cobalt { margin-top: 0; }
.signup-on-cobalt input[type="email"] { border-color: transparent; }
.signup-on-cobalt input[type="email"]:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 242, 90, .45); }
.signup-on-cobalt .form-msg { color: rgba(255, 255, 255, .9); }
.signup-on-cobalt .form-msg.ok { color: var(--lime); }
.signup-on-cobalt .form-msg.err { color: #FFD9C9; }

/* Footer */
.site-footer { border-top: 1px solid var(--mist); margin-top: clamp(48px, 7vw, 72px); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--slate); flex-wrap: wrap; }
.footer-meta { display: flex; gap: 16px; font-size: 12px; color: var(--slate); flex-wrap: wrap; }
.footer-meta a { color: var(--cobalt); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .principles { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .split { grid-template-columns: 1fr; }
  .h2 { max-width: none; }
  .lens { width: 520px; right: -260px; top: 120px; transform: none; opacity: .7; }
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; }
  .cta-circle { right: 80px; } .cta-bar { right: 20px; height: 120px; width: 40px; }
}
@media (max-width: 520px) {
  .cards, .principles { grid-template-columns: 1fr; }
}
