/* NoPeeking landing page. Colours, radii, shadows and fonts come from brand/tokens.css (--pc-*). */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--pc-paper);
  color: var(--pc-ink);
  font: 400 17px/1.55 var(--pc-font-body);
  overflow-x: clip;
}

img,
svg { display: block; max-width: 100%; }

a { color: var(--pc-violet-deep); }
a:hover { color: var(--pc-ink); }

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

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  padding: 12px 16px; border-radius: var(--pc-radius-sm);
  background: var(--pc-yellow); color: var(--pc-ink); font-weight: 700;
}
.skip:focus { top: 16px; }

.label {
  margin: 0;
  font: 500 12px/1.4 var(--pc-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-muted);
}
.on-dark .label { color: var(--pc-muted-on-dark); }

h1, h2, h3, .big, .mid {
  font-family: var(--pc-font-display);
  font-weight: 800;
  margin: 0;
}

.big { font-size: clamp(40px, 5.6vw, 72px); line-height: 0.98; letter-spacing: -0.04em; }
.mid { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -0.03em; }

/* Buttons: ink outline and a hard ink shadow, the "sticker" look. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 24px;
  border: var(--pc-outline) solid var(--pc-ink); border-radius: var(--pc-radius-md);
  font: 800 18px/1 var(--pc-font-display);
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--pc-yellow); color: var(--pc-ink); box-shadow: var(--pc-shadow-button); }
.btn-primary:hover { color: var(--pc-ink); }
.btn-primary:active { box-shadow: 1px 1px 0 var(--pc-ink); transform: translate(4px, 4px); }
.btn-on-ink { border-color: var(--pc-white); box-shadow: 5px 5px 0 var(--pc-violet); }
.btn-ghost { border-color: var(--pc-white); color: var(--pc-white); font: 700 16px/1 var(--pc-font-body); }
.btn-ghost:hover { background: var(--pc-violet-deep); color: var(--pc-white); }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease; }
  .btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 var(--pc-ink); }
  .btn-on-ink:hover { box-shadow: 7px 7px 0 var(--pc-violet); }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--pc-violet); color: var(--pc-white); }
.hero-rings { position: absolute; right: -220px; top: -160px; max-width: none; pointer-events: none; }

.nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--pc-white); text-decoration: none; font: 800 24px/1 var(--pc-font-display); letter-spacing: -0.02em; }
.brand:hover { color: var(--pc-white); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--pc-white); text-decoration: none; padding: 6px 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-body { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 150px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.badge {
  margin: 0; padding: 6px 12px; border-radius: var(--pc-radius-pill);
  background: var(--pc-violet-deep); color: var(--pc-white);
  font: 500 13px/1.4 var(--pc-font-mono);
}

.hero h1 { font-size: clamp(48px, 7.4vw, 108px); line-height: 0.92; letter-spacing: -0.045em; }
.hero h1 .hl { color: var(--pc-yellow); }
.lede { margin: 0; max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fine { margin: 0; font-size: 14px; }

/* What Claude sees */
.sees {
  flex: 1 1 340px; max-width: 420px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: var(--pc-white); color: var(--pc-ink);
  border: var(--pc-outline) solid var(--pc-ink); border-radius: 26px;
  box-shadow: var(--pc-shadow-card);
  transform: rotate(-2deg);
}
.sees-head { display: flex; align-items: center; justify-content: space-between; }
.sees .label { color: var(--pc-muted); }
.sees-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sees-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: var(--pc-paper);
}
.sees-list b { display: block; }
.sees-list small { display: block; font-size: 13px; color: var(--pc-muted); }
.dots { font: 500 15px/1 var(--pc-font-mono); letter-spacing: 0.1em; color: var(--pc-muted); }
.sees-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--pc-muted); }

/* Install strip, pulled up over the hero */
.install {
  position: relative; z-index: 1; margin-top: -100px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-radius: 22px;
  background: var(--pc-ink); color: var(--pc-white);
  width: calc(100% - 48px);
}
.install-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cmd {
  margin: 0; overflow-x: auto; white-space: pre;
  font: 500 clamp(14px, 1.5vw, 18px)/1.5 var(--pc-font-mono);
}
.kw { color: var(--pc-yellow); }
.btn-copy {
  min-height: 46px; padding: 0 18px; border-color: var(--pc-white); border-radius: var(--pc-radius-sm);
  background: transparent; color: var(--pc-white); font: 700 15px/1 var(--pc-font-body);
}
.btn-copy:hover { background: var(--pc-violet-deep); }
.btn-copy[hidden] { display: none; }

/* Three steps */
.how { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 40px; }
.how .big { max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.step {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  border: var(--pc-outline) solid var(--pc-ink); border-radius: var(--pc-radius-lg);
  box-shadow: 6px 6px 0 var(--pc-ink);
}
.step-yellow { background: var(--pc-yellow); }
.step-white { background: var(--pc-white); }
.step-violet { background: var(--pc-violet); color: var(--pc-white); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-n { font: 800 56px/1 var(--pc-font-display); letter-spacing: -0.04em; }
.step-white .step-n { color: var(--pc-violet); }
.step-violet .step-n { color: var(--pc-yellow); }
.step h3 { font-size: 26px; line-height: 1.1; }
.step p { margin: 0; font-size: 16px; line-height: 1.5; }

/* API keys */
.keys {
  display: flex; flex-wrap: wrap; align-items: center; gap: 36px;
  margin-top: 40px; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(24px, 4vw, 48px);
  background: var(--pc-white); border-radius: 28px;
  width: calc(100% - 48px);
}
.keys-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.keys-text p:last-child { margin: 0; color: var(--pc-muted); }
.term {
  flex: 1 1 420px; min-width: 0; margin: 0; padding: 22px; overflow-x: auto;
  border-radius: 20px; background: var(--pc-ink); color: var(--pc-white);
  font: 500 14px/1.7 var(--pc-font-mono); white-space: pre;
}
.term .dim { color: var(--pc-muted-on-dark); }
.term mark { padding: 1px 6px; border-radius: 6px; background: var(--pc-violet); color: var(--pc-white); }

/* Requirements and limits */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
  padding-top: 40px; padding-bottom: 96px;
}
.card {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px);
  background: var(--pc-white); border: var(--pc-outline) solid var(--pc-ink); border-radius: var(--pc-radius-lg);
}
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card li { position: relative; padding-left: 30px; }
.ticks li::before,
.limits li::before {
  content: ''; position: absolute; left: 0; top: 0.3em;
  width: 18px; height: 18px; border-radius: 50%;
}
.ticks li::before { background: var(--pc-mint); }
.limits li::before { background: var(--pc-coral); }
.card p { margin: 0; }
.fine-dark { font-size: 15px; color: var(--pc-muted); }
.more { font-weight: 700; }

/* Footer */
.foot { background: var(--pc-ink); color: var(--pc-white); }
.foot .wrap { display: flex; flex-direction: column; gap: 28px; padding-top: 88px; padding-bottom: 40px; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.foot-cta .big { flex: 1 1 520px; margin: 0; letter-spacing: -0.045em; }
.foot hr { width: 100%; height: 2px; margin: 0; border: 0; background: #2B2550; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--pc-muted-on-dark); }
.foot-note { display: flex; align-items: center; gap: 10px; margin: 0; }
.foot-links { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.foot a { color: var(--pc-white); }
.foot a.btn-primary { color: var(--pc-ink); }

@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .install, .keys { width: calc(100% - 32px); }
  .hero-body { padding-top: 24px; gap: 40px; }
  .btn { width: 100%; justify-content: center; }
  .btn-copy { width: auto; }
  .sees { transform: none; }
}
