/* ============================================
   TOKENS — Norvla brand palette
   ============================================ */
:root {
  /* Brand core */
  --navy:       #042C53;   /* primary — logo circle + wordmark */
  --navy-deep:  #021E3A;   /* darker navy for hover states */
  --navy-mid:   #0D4A7A;   /* mid-navy for softer dark surfaces */
  --teal:       #5DCAA5;   /* signal arc 1 — accent / CTAs */
  --teal-soft:  #9DE3CB;   /* lighter teal for glows, hover */
  --sky:        #85B7EB;   /* signal arc 2 — secondary accent */
  --sky-soft:   #C2DAFA;   /* light sky for muted accents */
  --signal:     #378ADD;   /* baseline line in logo — links, interactive */

  /* Surfaces */
  --white:      #FFFFFF;
  --off-white:  #F4F7FB;   /* very light blue-white body bg */
  --surface:    #EBF1F8;   /* section alt bg */
  --border:     rgba(4,44,83,0.12);
  --border-mid: rgba(4,44,83,0.2);

  /* Text */
  --text-primary:   #042C53;   /* navy on light */
  --text-secondary: #3B5A7A;   /* softer navy */
  --text-muted:     #6B8CAE;   /* muted blue-gray */

  /* Type */
  --font-display: "Fraunces", serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  --max-w: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
ol { padding: 0; margin: 0; }
button { font-family: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* subtle texture overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ============================================
   TYPE
   ============================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-primary);
}
h1 em, h2 em { font-style: italic; font-weight: 450; color: var(--teal); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-soft);
  margin: 0 0 20px;
}
.eyebrow-dark { color: var(--text-muted); }
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.citation-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-soft); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--border-mid); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); padding: 10px 22px; font-size: 14px; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-soft); }
.btn-text { color: var(--white); font-weight: 600; padding: 14px 4px; }
.btn-text:hover { color: var(--teal-soft); }
.btn-block { width: 100%; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 0; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--white);
  font-weight: 600;
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--teal-soft); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--navy);
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(93,202,165,0.12), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(133,183,235,0.08), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.04;
  color: var(--white);
}
.hero-title em { color: var(--teal); }
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 28px 0 36px;
}
.hero-edge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--sky-soft);
  margin: 0 0 24px;
}
.hero-edge i { font-size: 14px; color: var(--teal); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero .btn-text { color: var(--white); }
.hero .btn-text:hover { color: var(--teal-soft); }
.hero-trust {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}
.hero-trust strong { color: rgba(255,255,255,0.72); font-weight: 500; }
.hero-trust .sep { margin: 0 8px; opacity: 0.4; }

/* AI answer card */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ai-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 30px 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px -16px rgba(2,30,58,0.6), 0 0 0 1px rgba(4,44,83,0.08);
}
.ai-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.ai-card-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(93,202,165,0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(93,202,165,0.45); }
  70% { box-shadow: 0 0 0 6px rgba(93,202,165,0); }
  100% { box-shadow: 0 0 0 0 rgba(93,202,165,0); }
}
.ai-card-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.ai-card-query {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.ai-card-divider { height: 1px; background: var(--surface); margin-bottom: 18px; }
.ai-card-answer {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy);
  min-height: 86px;
  margin: 0 0 18px;
}
.cursor { color: var(--teal); animation: blink 1s step-start infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-card-citation {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(93,202,165,0.12);
  border: 1px solid rgba(93,202,165,0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ai-card-citation.show { opacity: 1; transform: translateY(0); }
.citation-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--signal);
}
.hero-visual-caption {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ============================================
   STAT STRIP
   ============================================ */
.stat-strip { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 32px;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid rgba(255,255,255,0.15); padding-left: 20px; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--teal); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* ============================================
   SECTION HEAD (shared)
   ============================================ */
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; }
.section-sub { font-size: 16.5px; color: var(--text-secondary); margin-top: 20px; line-height: 1.6; }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 100px 0; background: var(--off-white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(4,44,83,0.1);
  border: 1px solid rgba(4,44,83,0.1);
}
.service-card {
  background: var(--white);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.service-num { display: block; margin-bottom: 18px; }
.service-card h3 { font-size: 22px; margin-bottom: 14px; }
.service-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.service-card p em { color: var(--navy); font-style: normal; font-weight: 600; }
.service-list { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.service-list li {
  font-size: 13.5px;
  color: var(--text-primary);
  padding-left: 18px;
  position: relative;
  font-family: var(--font-mono);
}
.service-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ============================================
   PROCESS
   ============================================ */
.process { padding: 100px 0; background: var(--navy-deep); }
.process .eyebrow-dark { color: rgba(255,255,255,0.45); }
.process h2 { color: var(--white); }
.process h2 em { color: var(--teal); }
.process-rail { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.process-step:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.process-step .citation-mark { font-size: 15px; padding-top: 4px; }
.process-step h3 { color: var(--white); font-size: 21px; margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,0.62); font-size: 15px; line-height: 1.6; margin: 0; max-width: 560px; }

/* ============================================
   ABOUT / FOUNDER
   ============================================ */
.about { padding: 100px 0; background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo { display: flex; justify-content: center; }
.photo-frame {
  width: 180px;
  height: 180px;
  border-radius: 6px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(4,44,83,0.1);
}
.photo-initials {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--teal);
}
.about-copy h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 18px; }
.about-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 20px;
  line-height: 1.5;
}
.about-copy p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.65; margin: 0 0 18px; max-width: 540px; }
.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  margin-top: 8px;
}
.about-linkedin:hover { color: var(--teal); }
.li-icon {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--signal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   PRICING
   ============================================ */
.pricing { padding: 100px 0; background: var(--surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid rgba(4,44,83,0.1);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card-featured { background: var(--navy); border-color: var(--navy); }
.price-card-featured h3, .price-card-featured .price-tag, .price-card-featured .price-desc { color: var(--white); }
.price-card-featured .price-list li { color: rgba(255,255,255,0.78); }
.price-badge {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  font-weight: 500;
}
.price-card h3 { font-size: 20px; margin-bottom: 12px; }
.price-tag { font-family: var(--font-display); font-size: 38px; font-weight: 600; margin: 0 0 10px; color: var(--navy); }
.price-tag span { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--text-muted); }
.price-card-featured .price-tag { color: var(--white); }
.price-card-featured .price-tag span { color: rgba(255,255,255,0.55); }
.price-desc { color: var(--text-muted); font-size: 14.5px; margin: 0 0 24px; line-height: 1.5; }
.price-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex-grow: 1; }
.price-list li {
  font-size: 14px;
  color: var(--text-primary);
  padding-left: 18px;
  position: relative;
}
.price-list li::before { content: "—"; position: absolute; left: 0; color: var(--teal); }
.price-card .btn { width: 100%; }
.price-card-featured .btn-primary { background: var(--teal); color: var(--navy); }
.price-card-featured .btn-primary:hover { background: var(--teal-soft); }

.help { padding: 90px 0 100px; background: var(--off-white); }
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.help-card {
  background: var(--white);
  border: 1px solid rgba(4,44,83,0.1);
  border-radius: 4px;
  padding: 28px 22px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.help-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(4,44,83,0.1); }
.help-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.help-card.selected { border-color: var(--teal); border-width: 2px; background: var(--white); }
.help-card i { font-size: 22px; color: var(--teal); margin-bottom: 14px; }
.help-card h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--navy); }
.help-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: 110px 0; background: var(--navy); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 44px); }
.contact-copy h2 em { color: var(--teal); }
.contact-copy p { color: rgba(255,255,255,0.65); font-size: 16px; margin-top: 20px; max-width: 420px; line-height: 1.6; }
.contact-form { background: var(--white); padding: 36px; border-radius: 4px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(4,44,83,0.18);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form-row textarea { resize: vertical; font-family: inherit; }
.form-note { text-align: center; font-size: 12.5px; color: var(--text-muted); margin: 14px 0 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 56px 0 36px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { height: 36px; width: auto; }
.footer-tag { color: rgba(255,255,255,0.5); font-size: 14px; max-width: 420px; margin: 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--teal-soft); }
.footer-legal { color: rgba(255,255,255,0.3); font-size: 12px; margin-top: 8px; }

/* Animated signal arc background in hero */
.hero-signal-bg {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  max-width: 560px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.arc {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.arc-1 { animation: drawArc 1.4s ease forwards 0.3s; }
.arc-2 { animation: drawArc 1.6s ease forwards 0.7s; }
.arc-3 { animation: drawArc 1.8s ease forwards 1.1s; }
@keyframes drawArc {
  to { stroke-dashoffset: 0; }
}
.dot-s { opacity: 0; }
.dot-1 { animation: fadeDot 0.4s ease forwards 1.5s; }
.dot-2 { animation: fadeDot 0.4s ease forwards 1.8s; }
.dot-3 { animation: fadeDot 0.4s ease forwards 2.1s; }
.dot-peak { animation: fadeDot 0.4s ease forwards 2.4s; }
@keyframes fadeDot {
  to { opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .service-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { justify-content: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 560px) {
  .help-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .hero { padding: 56px 0 64px; }
  .hero-title { font-size: 36px; }
  .stat-strip-inner { grid-template-columns: 1fr 1fr; padding: 32px 20px; }
  .stat { padding-left: 14px; }
  .process-step { grid-template-columns: 40px 1fr; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .brand-name { font-size: 16px; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }
}
