/* Norvane site. Brand: knowledge/brand.md. Phone first.
   Strict CSP: every style lives here. No style="" attributes, no <style> blocks. */
:root {
  --navy: #0B1B3A;
  --navy-2: #12264D;
  --navy-3: #071330;
  --blue: #1D4ED8;
  --blue-hover: #1A44BF;
  --bright: #3D7BFF;
  --light: #EAF1FF;
  --light-2: #F5F8FF;
  --white: #FFFFFF;
  --ink: #0B1B3A;
  --ink-2: #44506A;
  --ink-3: #5C6782;
  --line: #DCE3F0;
  --line-2: #C9D5EC;
  --line-dark: rgba(255,255,255,.14);
  --on-dark: rgba(255,255,255,.78);
  --on-dark-2: rgba(255,255,255,.62);
  --sky: #9DBBFF;
  --good: #15803D;
  --warn: #A15C07;
  --bad: #B91C1C;
  --radius: 10px;
  --wrap: 1160px;
  --head-h: 64px;
  --f-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 9vw, 3.9rem); line-height: 1.03; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 6.2vw, 2.75rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.14rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; border-radius: 4px; }

/* Icons */
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 18px; height: 18px; }
.ico-xs { width: 14px; height: 14px; stroke-width: 2.4; }
.ico-lg { width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 8px; border: 1.5px solid transparent;
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .ico { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-hover); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light .ico { color: var(--blue); }
.btn-light:hover { background: var(--light); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.36); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--line-2); }
.btn-outline .ico { color: var(--blue); }
.btn-outline:hover { border-color: var(--navy); }

/* Eyebrows: a short rule, then the label */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.eyebrow-dark { color: var(--sky); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.head-row { display: flex; align-items: center; gap: 16px; height: var(--head-h); }
.brand { margin-right: auto; display: block; }
.brand img { height: 25px; width: auto; }
.site-nav { display: none; }
.head-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
  min-height: 44px; padding: 0 4px;
}
.head-phone .ico { color: var(--sky); }
.head-phone:hover span { text-decoration: underline; text-underline-offset: 3px; }
.head-cta { display: none; }

/* Hero */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--white);
  padding: 36px 0 0;
  overflow: hidden;
}
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--bright); display: block; }
.hero .lead { margin-top: 18px; color: var(--on-dark); font-size: 1.06rem; max-width: 34rem; }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: .9rem; color: var(--on-dark-2); max-width: 32rem; }
.hero-note a { color: var(--white); font-weight: 600; }

.hero-art { position: relative; height: 300px; margin-top: 36px; }
.phone {
  position: absolute; margin: 0; width: 158px;
  border-radius: 22px; padding: 6px; background: #1C2A47;
  border: 1px solid rgba(255,255,255,.16);
}
.phone img { border-radius: 17px; width: 100%; height: auto; }
.phone-back { left: 50%; margin-left: -156px; top: 30px; transform: rotate(-4deg); }
.phone-front { left: 50%; margin-left: -4px; top: 0; transform: rotate(3deg); }
.art-tag {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; text-align: center;
  font-size: .8rem; color: var(--white);
}
.hero-art::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, rgba(11,27,58,0), var(--navy) 80%);
}

/* Trust strip */
.strip { border-bottom: 1px solid var(--line); background: var(--white); }
.strip-list { list-style: none; margin: 0 auto; padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.strip-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.strip-list .ico { color: var(--blue); }

/* Sections */
.section { padding: 68px 0; }
.section-tint { background: var(--light); }
.sec-head { max-width: 46rem; margin-bottom: 36px; }
.sec-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.04rem; }
.sec-lead a { font-weight: 600; }

/* Problem */
.steps-problem { list-style: none; display: grid; border-top: 1px solid var(--line); }
.steps-problem li { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--navy); font-family: var(--f-head); font-weight: 600; font-size: .95rem;
}
.steps-problem li:last-child .step-num { background: var(--navy); color: var(--white); }
.steps-problem p { margin-top: 6px; color: var(--ink-2); }

/* Who it's for: a hairline grid of business types */
.types {
  list-style: none; display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden;
}
.type { background: var(--white); padding: 18px 18px; display: flex; gap: 14px; align-items: flex-start; }
.type > .ico { color: var(--blue); margin-top: 1px; }
.type h3 { font-size: 1.06rem; }
.type p { margin-top: 4px; font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.type .type-goal { margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--blue); }
.type-ask { background: var(--navy); }
.type-ask h3 { color: var(--white); }
.type-ask p { color: var(--on-dark); }
.type-ask > .ico { color: var(--sky); }
.type-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  color: var(--white); font-weight: 600; font-size: .92rem; min-height: 32px;
}
.type-link .ico { color: var(--sky); }

/* What we do: numbered rows */
.services { list-style: none; border-top: 1px solid var(--line); }
.services > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc-num { font-family: var(--f-head); font-weight: 600; font-size: .9rem; color: var(--blue); letter-spacing: .04em; }
.svc-main h3 { font-size: 1.3rem; }
.svc-main p { margin-top: 8px; color: var(--ink-2); max-width: 34rem; }
.services .ticks { margin-top: 6px; }

/* Ticks */
.ticks { list-style: none; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; color: var(--ink); }
.ticks .ico { color: var(--blue); margin-top: 2px; stroke-width: 2.2; }
.ticks-roomy { gap: 12px; margin: 22px 0 28px; }
.ticks-roomy li { font-size: 1rem; }

/* Demos */
.lanes { display: grid; gap: 20px; }
.lane { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); }
.lane-shot { margin: 0; background: var(--navy); padding: 28px 0 0; height: 260px; overflow: hidden; display: flex; justify-content: center; }
.lane-shot img { width: 210px; height: auto; border-radius: 18px 18px 0 0; border: 6px solid #1C2A47; border-bottom: 0; }
.lane-body { padding: 26px 22px 28px; }
.lane-kicker { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.lane-kicker .ico { color: var(--blue); }
.lane-body h3 { font-size: 1.35rem; }
.lane-body .ticks { margin-bottom: 24px; }
.lane-body .btn, .check-grid .btn { width: 100%; }
.fine { margin-top: 10px; font-size: .84rem; color: var(--ink-3); }
.others { margin-top: 28px; color: var(--ink-2); max-width: 46rem; }
.others a { font-weight: 600; }

/* How it works */
.timeline { list-style: none; display: grid; }
.timeline li { position: relative; padding: 0 0 30px 58px; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1.5px; background: #BFD0F2; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.t-num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: var(--white);
  font-family: var(--f-head); font-weight: 600; font-size: .85rem;
}
.timeline h3 { padding-top: 8px; }
.timeline p { margin-top: 6px; color: var(--ink-2); font-size: .98rem; }

/* Free check */
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.sample-check { margin: 0; background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; padding: 20px; }
.sc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sc-head > div { flex: 1; min-width: 0; }
.sc-title { font-family: var(--f-head); font-weight: 600; font-size: 1rem; }
.sc-sub { font-size: .82rem; color: var(--ink-3); }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border: 1px dashed #8D99B2; border-radius: 4px; padding: 3px 7px; }
.sc-rows { list-style: none; }
.sc-rows li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sc-rows b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.sc-rows span:not(.st) { display: block; font-size: .85rem; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.st { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.st-good { color: var(--good); background: #E7F5EC; }
.st-warn { color: var(--warn); background: #FBF0DD; }
.st-bad { color: var(--bad); background: #FBE8E8; }
.sc-fixes { padding-top: 14px; }
.sc-label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sc-fixes ol { margin: 8px 0 0; padding-left: 20px; font-size: .92rem; display: grid; gap: 3px; }
.sample-check figcaption { margin-top: 14px; font-size: .78rem; color: var(--ink-3); }

/* Why Norvane: count on / won't do */
.promise { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.promise-col { border-radius: 12px; padding: 26px 22px; }
.promise-col h3 { font-size: 1.1rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.promise-col ul { list-style: none; }
.promise-col li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.promise-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.promise-col li .ico { margin-top: 3px; stroke-width: 2.2; }
.promise-col li p { font-size: .97rem; color: var(--ink-2); line-height: 1.5; }
.promise-col li b { color: var(--ink); font-weight: 600; }
.promise-yes { background: var(--light); border: 1px solid var(--line-2); }
.promise-yes h3 { border-bottom-color: var(--line-2); }
.promise-yes li { border-bottom-color: var(--line-2); }
.promise-yes li .ico { color: var(--blue); }
.promise-no { background: var(--white); border: 1px solid var(--line-2); }
.promise-no li .ico { color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-family: var(--f-head); font-weight: 600; font-size: 1.04rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--blue); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44rem; }

/* Contact */
.contact { background: var(--navy); color: var(--white); padding: 68px 0; }
.contact h2 { color: var(--white); }
.contact .lead { margin-top: 16px; color: var(--on-dark); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.reach { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.reach-mail { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--on-dark); flex-wrap: wrap; }
.reach-mail .ico { color: var(--sky); }
.reach-mail a { color: var(--white); font-weight: 600; word-break: break-word; }
.reach-note { margin-top: 10px; font-size: .88rem; color: var(--on-dark-2); }
.form-card { background: var(--white); color: var(--ink); border-radius: 12px; padding: 26px 20px; }
.form-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; gap: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #B9C6DF; border-radius: 8px; background: var(--white);
  min-height: 50px;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.18); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.form-error { margin: 0 0 12px; font-size: .9rem; font-weight: 500; color: var(--bad); }
.form-fine { margin-top: 12px; font-size: .82rem; color: var(--ink-3); }
.form-soon p { color: var(--ink-2); margin-bottom: 18px; }
.form-soon .form-fine { margin-bottom: 0; }
.form-soon:focus { outline: none; }

/* Honeypot: off screen for people, hidden from screen readers by aria-hidden in the HTML */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-foot { background: var(--navy-3); color: var(--on-dark); padding: 48px 0 108px; font-size: .92rem; } /* bottom room for the phone action bar */
.foot-grid { display: grid; gap: 28px; }
.site-foot img { height: 24px; width: auto; }
.foot-line { margin-top: 14px; max-width: 22rem; }
.foot-label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 8px; }
.foot-text { max-width: 28rem; }
.foot-links { list-style: none; display: grid; gap: 4px; }
.foot-links a { color: var(--white); display: inline-block; padding: 4px 0; }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .82rem; color: var(--on-dark-2); }

/* Phone action bar */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(11,27,58,.08);
}
.mbar .btn { min-height: 50px; padding: 0 10px; gap: 8px; font-size: .95rem; }
.mbar .btn .ico { width: 18px; height: 18px; }

/* ---------- Larger screens ---------- */
@media (max-width: 359px) {
  .head-phone span { display: none; } /* icon-only call link on very small phones */
  .head-phone { padding: 0 10px; }
}

@media (min-width: 560px) {
  .cta-row, .reach { flex-direction: row; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .strip-list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .lane-body .btn, .check-grid .btn { width: auto; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type { flex-direction: column; gap: 14px; padding: 26px 24px; }
}

@media (min-width: 760px) {
  .wrap { padding: 0 32px; }
  .strip-list { padding: 20px 32px; }
  .section { padding: 96px 0; }
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .timeline li { padding: 58px 0 0; }
  .timeline li::before { left: 48px; right: -24px; top: 19px; bottom: auto; width: auto; height: 1.5px; }
  .timeline li:last-child::before { display: none; }
  .timeline h3 { padding-top: 0; }
  .lane { grid-template-columns: 260px 1fr; }
  .lane-shot { height: auto; min-height: 100%; padding: 30px 0 0; align-items: flex-start; }
  .lane-body { padding: 32px 30px; }
  .foot-grid { grid-template-columns: 1.1fr 1.5fr 1fr; }
  .services > li { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 32px 0; align-items: start; }
  .svc-num { padding-top: 5px; }
  .services .ticks { margin-top: 4px; }
  .promise { grid-template-columns: 1fr 1fr; gap: 20px; }
  .promise-col { padding: 30px 28px; }
}

@media (min-width: 900px) {
  .site-foot { padding-bottom: 28px; }
  .mbar { display: none; }
  .head-cta { display: inline-flex; }
  .head-phone { font-size: .92rem; }
  .hero { padding: 80px 0 0; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
  .hero-copy { padding-bottom: 88px; }
  .hero .lead { font-size: 1.14rem; }
  .hero-art { height: 540px; margin-top: 0; align-self: end; }
  .phone { width: 250px; border-radius: 32px; padding: 8px; }
  .phone img { border-radius: 25px; }
  .phone-back { margin-left: -230px; top: 90px; }
  .phone-front { margin-left: -20px; top: 40px; }
  .art-tag { bottom: 22px; }
  .steps-problem { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; }
  .steps-problem li { flex-direction: column; gap: 16px; border-bottom: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .check-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .contact { padding: 104px 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .form-card { padding: 32px 30px; }
  .lanes { grid-template-columns: 1fr 1fr; }
  .lane { grid-template-columns: minmax(0, 1fr); }
  .lane-shot { height: 280px; min-height: 0; }
  .lane-body .btn { width: 100%; }
  .services > li { grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
}

@media (min-width: 1080px) {
  .types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .site-nav { display: flex; gap: 26px; margin-right: 12px; }
  .site-nav a { color: var(--on-dark); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 8px 0; }
  .site-nav a:hover { color: var(--white); }
}
