/* --------------------------------------------------------------------------
   Brand typography — self-hosted. No external font request, ever.
   -------------------------------------------------------------------------- */

@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/dm-sans-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/dm-sans-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/dm-sans-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/dm-sans-latin-ext-600-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Serif Display';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/dm-serif-display-latin-400-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Serif Display';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/dm-serif-display-latin-ext-400-italic.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

/* ==========================================================================
   Jont — corporate site design system
   Jont Labs LLC · jont.ai
   No external resources, fonts, scripts, trackers or third-party requests.
   ========================================================================== */

:root {
  /* Colour */
  --plum:        #241335;   /* wordmark, headings */
  --plum-soft:   #3D1F55;   /* secondary headings */
  --ink:         #2A2A30;   /* body text */
  --ink-muted:   #63636E;   /* secondary text */
  --ink-faint:   #707079;  /* 4.70:1 on --paper — WCAG AA normal text */   /* metadata, footer */
  --sage:        #5BAF92;   /* the single accent */
  --sage-deep:   #2E7A5E;   /* accent on light, for contrast */
  --paper:       #FBFAF8;   /* page background */
  --paper-alt:   #F4F2EE;   /* section background */
  --rule:        #E4E1DA;   /* hairlines */
  --rule-soft:   #EFEDE8;

  /* Type */
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;

  /* Scale */
  --measure: 68ch;
  --gutter: 24px;
  --shell: 720px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* Skip link ------------------------------------------------------------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
  color: var(--plum);
}
.wordmark .mark { width: 33px; height: 38px; display: block; flex-shrink: 0; }
.wordmark .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 27px;
  letter-spacing: -0.005em;
  color: var(--plum);
  line-height: 1;
  padding-bottom: 2px;
}
.wordmark:hover .name { color: var(--plum-soft); }

.nav { display: flex; gap: 26px; align-items: center; }

.nav a {
  font-size: 15px;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--plum); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--sage); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 74px 0 86px; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 20px;
}

.hero-mark { width: 62px; height: 72px; display: block; margin: 0 0 26px; }

.hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--plum);
  margin: 0 0 20px;
}

.hero .lede {
  font-size: 22px;
  line-height: 1.45;
  color: var(--plum-soft);
  margin: 0 0 18px;
  max-width: 30ch;
  font-weight: 400;
}

.hero .sub {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 38px;
  max-width: 52ch;
}

.rule-accent {
  width: 44px;
  height: 3px;
  background: var(--sage);
  border: 0;
  margin: 0 0 34px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 6px;
  border: 1px solid var(--plum);
  transition: background .15s ease;
}
.btn:hover { background: var(--plum-soft); }

.btn-quiet {
  display: inline-block;
  background: transparent;
  color: var(--plum);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.btn-quiet:hover { border-color: var(--plum); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.band {
  border-top: 1px solid var(--rule);
  padding: 62px 0;
}
.band-alt { background: var(--paper-alt); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 16px;
}

h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.28;
  letter-spacing: -0.004em;
  color: var(--plum);
  margin: 0 0 16px;
}

h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--plum);
  margin: 38px 0 12px;
}

p { margin: 0 0 18px; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--sage-deep); }
a:hover { color: var(--plum); }

ul, ol { max-width: var(--measure); padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 9px; }

/* Definition list — company facts ---------------------------------------- */

.facts { margin: 0; max-width: var(--measure); }

.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.facts div:first-child { border-top: 1px solid var(--rule-soft); }

.facts dt {
  flex: 0 0 190px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
.facts dd { flex: 1 1 220px; margin: 0; color: var(--ink); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.doc { padding: 66px 0 78px; }

.doc h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.14;
  letter-spacing: -0.006em;
  color: var(--plum);
  margin: 0 0 14px;
}

.doc-meta {
  font-size: 14px;
  color: var(--ink-faint);
  margin: 0 0 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}
.doc-meta span { display: block; }

.doc h2 {
  font-size: 21px;
  margin: 44px 0 14px;
  padding-top: 4px;
}
.doc h2:first-of-type { margin-top: 0; }

.doc p, .doc li { font-size: 16.5px; }

.note {
  background: var(--paper-alt);
  border-left: 3px solid var(--sage);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin: 0 0 26px;
  max-width: var(--measure);
}
.note p { font-size: 16px; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound { padding: 130px 0 120px; }
.notfound h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 46px;
  letter-spacing: -0.006em;
  color: var(--plum);
  margin: 0 0 16px;
}
.notfound p { font-size: 18px; color: var(--ink-muted); margin-bottom: 34px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--rule);
  padding: 34px 0 46px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  align-items: baseline;
  justify-content: space-between;
}

.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--plum); }

.footer-legal { font-size: 14px; color: var(--ink-faint); margin: 0; }
.footer-tm { font-size: 13px; color: var(--ink-faint); margin: 16px 0 0; }

/* --------------------------------------------------------------------------
   Focus — visible everywhere, never removed
   -------------------------------------------------------------------------- */

a:focus-visible,
.btn:focus-visible,
.btn-quiet:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 46px 0 50px; }
  .hero h1 { font-size: 40px; }
  .hero-mark { width: 52px; height: 60px; margin-bottom: 20px; }
  .hero .lede { font-size: 20px; max-width: none; }
  .doc { padding: 46px 0 58px; }
  .doc h1 { font-size: 33px; }
  .band { padding: 48px 0; }
  h2 { font-size: 24px; }
  .masthead-inner { min-height: 0; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .facts dt { flex-basis: 100%; }
  .facts dd { flex-basis: 100%; }
  .notfound { padding: 80px 0 70px; }
  .notfound h1 { font-size: 34px; }
}

@media (max-width: 380px) {
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .wordmark .name { font-size: 24px; }
  .wordmark .mark { width: 27px; height: 31px; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .masthead, .footer-nav, .skip { display: none; }
  body { background: #fff; font-size: 12pt; }
  .doc { padding: 0; }
  a { color: inherit; text-decoration: underline; }
}
