/* ===========================
   Anchorline — Styles v1.1
   Full stylesheet (base + hero edge)
   =========================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (from guidelines) */
  --anchor-blue: #2F5D7C;     /* Primary */
  --charcoal: #2B2E34;        /* Text */
  --horizon: #F4F6F8;         /* Section background */
  --offwhite: #FAFBFC;        /* Main background */
  --divider: #D8DDE3;         /* Borders */
  --mist: #8FB3C9;            /* Accent */
  --signal: #4F8F6F;          /* CTA */

  /* Layout */
  --container: 1120px;
  --pad: 24px;
  --radius: 16px;

  /* Effects */
  --shadow: 0 18px 45px rgba(43, 46, 52, 0.10);
  --shadow-soft: 0 10px 30px rgba(43, 46, 52, 0.08);

  /* Type */
  --h1: clamp(2rem, 2.7vw, 3.05rem);
  --h2: clamp(1.4rem, 1.9vw, 2.05rem);
  --h3: 1.1rem;
  --body: 16px;
  --lh: 1.65;

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --fast: 140ms var(--ease);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

/* ---------- Base ---------- */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--body);
  line-height: var(--lh);
  color: var(--charcoal);
  background: var(--offwhite);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page { min-height: 100%; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Links ---------- */
a { color: var(--anchor-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

/* Brand lockup */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.brand-word {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--charcoal);
}
.brand-underline {
  width: 138px;
  height: 3px;
  background: var(--charcoal);
  border-radius: 999px;
  opacity: 0.92;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  font-weight: 700;
  color: var(--charcoal);
}
.nav a:hover {
  color: var(--anchor-blue);
  text-decoration: none;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
  text-align: left;
}

.section-muted {
  background: var(--horizon);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.hero {
  padding: 92px 0 72px;
}

.cta {
  padding: 84px 0;
}

/* ---------- Typography ---------- */
h1 {
  font-size: var(--h1);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  max-width: 24ch;
}
h2 {
  font-size: var(--h2);
  margin-bottom: 14px;
  max-width: 42ch;
}
h3 {
  font-size: var(--h3);
  margin-bottom: 10px;
}

p {
  margin-bottom: 14px;
  max-width: 74ch;
}

.lead {
  font-size: 1.1rem;
  color: rgba(43, 46, 52, 0.86);
  max-width: 68ch;
}

.small {
  font-size: 0.95rem;
  color: rgba(43, 46, 52, 0.85);
}

.muted { color: rgba(43, 46, 52, 0.65); }
.note  { margin-top: 10px; color: rgba(43, 46, 52, 0.78); }
.quiet { margin-top: 18px; color: rgba(43, 46, 52, 0.75); }

/* ---------- Layout Grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.cards { margin-top: 16px; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

/* ---------- Lists ---------- */
.list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}

.list li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid rgba(216, 221, 227, 0.6);
  position: relative;
}

.list li:last-child { border-bottom: none; }

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mist);
  opacity: 0.6;
}

/* ---------- Steps ---------- */
.steps {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: var(--anchor-blue);
}

.step-body p { margin-bottom: 0; }

/* ---------- Disclosure Block ---------- */
.disclosure {
  margin-top: 14px;
  border-left: 4px solid var(--anchor-blue);
  padding: 14px 16px;
  background: rgba(250, 251, 252, 0.55);
  border-radius: 12px;
}

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--divider);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast), border-color var(--fast);
  will-change: transform;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0px); }

.btn-primary {
  background: var(--signal);
  color: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 16px 36px rgba(79, 143, 111, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(79, 143, 111, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
}
.btn-ghost:hover {
  background: rgba(47, 93, 124, 0.06);
  border-color: rgba(47, 93, 124, 0.22);
}

/* ---------- HERO EDGE (Below header design) ---------- */
.hero-edge {
  position: relative;
  overflow: hidden;
  padding: 108px 0 82px;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(43, 46, 52, 0.70);
  margin-bottom: 14px;
}

/* Frame layers */
.hero-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Blueprint grid (subtle) */
.hero-grid {
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(to right, rgba(47, 93, 124, 0.085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 93, 124, 0.085) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.95;
  /* Fade it so it doesn’t get loud */
  mask-image: radial-gradient(circle at 35% 20%, rgba(0,0,0,0.92), rgba(0,0,0,0.0) 62%);
}

/* Scan line (quiet motion) */
.hero-scan {
  position: absolute;
  left: -20%;
  top: 12%;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 93, 124, 0.45), transparent);
  opacity: 0.55;
  transform: rotate(-2.5deg);
  animation: heroScan 8s ease-in-out infinite;
}

@keyframes heroScan {
  0%   { top: 10%; opacity: 0.30; }
  50%  { top: 38%; opacity: 0.60; }
  100% { top: 10%; opacity: 0.30; }
}

/* Diagonal cut into next section */
.hero-cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(244, 246, 248, 0.92));
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%);
}

/* Spotlight behind text */
.hero-edge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(143, 179, 201, 0.22), transparent 55%);
  z-index: 0;
}

/* Optional micro-noise (uncomment if you want texture)
.hero-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
*/

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--divider);
  background: #fff;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.footer-col a { color: var(--charcoal); }
.footer-col a:hover { color: var(--anchor-blue); text-decoration: none; }

.footer-brand .brand-word { font-weight: 900; }
.footer-brand .brand-underline { width: 120px; height: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { max-width: 28ch; }
}

@media (max-width: 520px) {
  .header-inner { align-items: flex-start; }
  .brand-underline { width: 118px; }
  .section { padding: 58px 0; }
  .hero { padding: 74px 0 58px; }
  .hero-edge { padding: 88px 0 64px; }
  .hero-grid { background-size: 36px 36px; }
  .hero-cut  { height: 92px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .hero-scan { animation: none; }
}
jnbkj