/* Nortevant 2026 styles (DESIGN.md, Mix 1). Fonts self-hosted, SIL Open Font Licence. Light theme only. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 700; font-display: swap; src: url("fonts/bricolage.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("fonts/atkinson-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("fonts/atkinson-700.woff2") format("woff2"); }

:root {
  --ink: #252B29; --ink-soft: #4A5451; --line: #E4E8E6; --line-strong: #D5DDD8;
  --bg: #F3F5F2; --surface: #FFFFFF; --bg-soft: #F4F7F5;
  --sage: #526B66; --sage-deep: #2F4541; --sage-pale: #DCE6E1;
  --sand: #EFE8D8; --sand-ink: #6B5A33;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-btn: 14px; --r-card: 22px; --r-big: 24px;
  --shadow: 0 28px 56px -28px rgba(47, 69, 65, .35);
  --gutter: 32px;
  color-scheme: light;
}
@media (max-width: 480px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: 4px; }
a:hover { color: var(--sage); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: 80px; }
.band.white { background: var(--surface); }
@media (max-width: 700px) { .band { padding-block: 64px; } }
.h2 { font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.025em; max-width: 18em; }
.intro { color: var(--ink-soft); margin-top: 12px; max-width: 34rem; }
.head-row { display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.head-row .intro { margin: 0; }

/* buttons */
.btn { display: inline-block; font: 700 17px/1.2 var(--body); padding: 16px 24px; border-radius: var(--r-btn); text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--sage-deep); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--sage); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sage-pale); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-header .wrap { display: flex; align-items: center; gap: 16px 32px; padding-block: 20px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px 26px; margin-left: auto; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--sage); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav .btn { background: var(--sage-deep); color: #fff; padding: 12px 20px; font-size: 16px; }
.nav .btn:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; margin-left: auto; font: 700 16px/1 var(--body); color: var(--ink); background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--r-btn); padding: 12px 16px; min-height: 44px; cursor: pointer; }
@media (max-width: 1060px) {
  .site-header .wrap { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border: 0; }
}
html:not(.js) .nav { display: flex; }

/* founder band */
.founder { background: var(--sage-deep); color: #fff; }
.founder .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding-block: 64px; }
.founder img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.founder .txt { flex: 999 1 420px; min-width: 0; }
.founder h2 { color: #fff; font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; }
.founder p { color: var(--sage-pale); }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; padding-block: 64px 32px; }
.site-footer img { height: 30px; width: auto; margin-bottom: 16px; }
.site-footer p { color: var(--ink-soft); max-width: 22rem; }
.site-footer h2 { font: 700 16px var(--body); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--sage); text-decoration: underline; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .wrap { grid-template-columns: 1fr; } }


/* What makes Nortevant different: shared on every page (DESIGN.md) */
.difference { background: var(--surface); }
.difference .wrap { padding-block: 72px; }
.diff-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
@media (max-width: 900px) { .diff-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .diff-list { grid-template-columns: minmax(0, 1fr); } }
.diff-list li { padding-top: 20px; border-top: 2px solid var(--sage-pale); }
.diff-list h3 { font-weight: 700; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.diff-list p { color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.diff-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; margin-top: 40px; padding: 20px 24px; background: var(--bg); border-radius: var(--r-card); font-size: 17px; color: var(--ink-soft); }
.diff-foot strong { color: var(--ink); }
.diff-foot a { font-weight: 700; }
@media (max-width: 700px) { .difference .wrap { padding-block: 64px; } }
.site-footer .foot-pledge { margin-top: 12px; }
.site-footer .foot-cta { margin-top: 20px; color: #fff; }
.site-footer .foot-cta:hover { color: #fff; text-decoration: none; }

.founder .txt a { color: #fff; }
.founder .txt a:hover { color: var(--sage-pale); }

/* one-line version of the difference block */
.diff-strip { background: var(--surface); }
.diff-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-block: 24px; }
.diff-strip p { margin: 0; font-weight: 700; color: var(--ink); }
.diff-strip a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
/* focus on dark sections */
.founder :focus-visible { outline-color: #fff; }
/* comfortable tap targets on touch-sized screens */
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.diff-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.btn-off { background: var(--line); color: var(--ink-soft); box-shadow: none; pointer-events: none; }
@media (max-width: 1060px) {
  .site-footer li { margin-bottom: 0; }
  .site-footer li a, .site-footer .legal a { display: inline-flex; align-items: center; min-height: 44px; }
}
