/* Norwood Data LLC — norwooddata.com
   Restrained B2B corporate style. Calm teal accent = data / trust.
   Kept deliberately distinct from the Fairline front (palette + layout). */

:root {
  --teal-900: #0b3b39;
  --teal-700: #0f766e;
  --teal-600: #128278;
  --teal-500: #14b8a6;
  --teal-50:  #ecfdf9;

  --ink:      #16241f;
  --slate:    #48565f;
  --muted:    #6b7a83;
  --line:     #e3e9ea;
  --bg:       #ffffff;
  --bg-soft:  #f6f9f9;
  --bg-band:  #0b3b39;

  --radius: 10px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(16, 40, 37, .04), 0 8px 28px rgba(16, 40, 37, .06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p  { margin: 0 0 1rem; color: var(--slate); }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 600; color: var(--teal-600); margin: 0 0 .75rem;
}
.lead { font-size: 1.12rem; color: var(--slate); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-weight: 600; font-size: .96rem;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-600); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--teal-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal-500); text-decoration: none; }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--teal-50); text-decoration: none; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.06rem; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--teal-700); text-decoration: none; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero { padding: 88px 0 76px; background:
  radial-gradient(1200px 400px at 80% -10%, var(--teal-50), transparent 70%); }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: .5rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---- Metrics band ---- */
.band { background: var(--bg-band); color: #dff2ef; }
.band .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.band .metric strong { display: block; font-size: 2rem; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.band .metric span { color: #a9cfc9; font-size: .95rem; }

/* ---- Grid cards ---- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover { box-shadow: var(--shadow); border-color: #d2dcdc; transform: translateY(-2px); }
.card .ic {
  width: 40px; height: 40px; border-radius: 9px; background: var(--teal-50);
  color: var(--teal-700); display: grid; place-items: center; margin-bottom: 14px;
}
.card .ic svg { width: 20px; height: 20px; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; font-size: .96rem; }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.quote p { color: var(--ink); font-size: 1rem; }
.quote .who { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---- Split / About ---- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.stack > * + * { margin-top: 18px; }
.feature { border-left: 3px solid var(--teal-500); padding-left: 16px; }
.feature h3 { margin-bottom: .2rem; }
.feature p { margin: 0; font-size: .96rem; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal-500); outline-offset: 1px; border-color: var(--teal-500); }
.field textarea { min-height: 140px; resize: vertical; }
.info-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.info-row .ic { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.info-row .ic svg { width: 18px; height: 18px; }
.info-row b { display: block; color: var(--ink); font-size: .95rem; }
.info-row span, .info-row a { color: var(--slate); font-size: .95rem; }

/* ---- CTA band ---- */
.cta { background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: #fff; border-radius: 16px; padding: 48px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #cfeae6; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---- Legal / prose ---- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { color: var(--slate); padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-size: .9rem; }

/* ---- Footer ---- */
.site-footer { background: #f2f6f6; border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 8px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-top p { font-size: .93rem; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.footer-col a { display: block; color: var(--slate); font-size: .93rem; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

/* ---- Page header (interior) ---- */
.page-head { padding: 60px 0 8px; background: radial-gradient(900px 300px at 85% -20%, var(--teal-50), transparent 70%); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid--3, .quotes, .band .metrics { grid-template-columns: 1fr; }
  .grid--2, .split, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .cta { padding: 36px 22px; }
  .band .metrics { gap: 28px; }

  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 12px 0 0; text-align: center; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  }
}
