/* Souverain Tech: the brand sheet's palette and type ("Souverain Tech and Portage mockups", Brand sheet). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
}

:root {
  /* Souverain Tech palette */
  --lake: #1B4965;        /* primary */
  --lake-dark: #123247;   /* link hover */
  --spruce: #2D5A47;      /* secondary */
  --sumac: #A63A2B;       /* sparing accent: the mark's line only */
  --granite: #1E2328;     /* text */
  --mist: #DCE4E3;        /* lines */
  --frost: #F5F7F6;       /* ground */
  --white: #FFFFFF;
  --text-body: #2F3A44;
  --text-muted: #4A5560;
  --line-strong: #B9C7C6;
  --on-lake-muted: #D6E4EE;

  /* Portage palette, for its card */
  --portage-spruce: #1F3D2B;
  --portage-birch: #F3EEE4;
  --portage-bark: #16130F;
  --portage-lichen: #D9D2C3;
  --portage-text: #2E2924;
  --portage-muted: #5A5248;

  --font-display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--frost);
  color: var(--granite);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lake); }
a:hover { color: var(--lake-dark); }
a:focus-visible { outline: 3px solid var(--lake); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spruce);
}

.card { background: var(--white); border: 1px solid var(--mist); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-block;
  text-decoration: none;
  background: var(--lake);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
}
.button:hover { background: var(--lake-dark); color: var(--white); }
.button-secondary { background: var(--white); color: var(--lake); border: 1px solid var(--line-strong); }
.button-secondary:hover { background: var(--frost); color: var(--lake-dark); }
.button-inverse { background: var(--white); color: var(--lake); }
.button-inverse:hover { background: var(--frost); color: var(--lake-dark); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--mist); }
.nav { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--granite); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 24px; flex: 1 1 auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--granite); padding: 12px 0; }
.nav-links a:hover { color: var(--lake); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { text-decoration: none; color: var(--text-muted); font-size: 14px; padding: 12px 8px; }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 64px; line-height: 1.04; }
.tagline-fr { font-size: 22px; color: var(--text-muted); font-style: italic; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-body); max-width: 620px; }

.facts { flex: 1 1 320px; min-width: 0; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.facts-title { font-family: var(--font-body); font-weight: 600; font-size: 15px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-body); }
.facts li::before { content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--spruce); margin-top: 7px; flex: none; }

/* Portage */
.band { background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.portage-section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.portage { display: flex; flex-wrap: wrap; border-radius: 20px; overflow: hidden; border: 1px solid var(--portage-lichen); background: var(--portage-birch); }
.portage-text { flex: 999 1 480px; min-width: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; color: var(--portage-bark); }
.portage-text p { font-size: 18px; line-height: 1.6; color: var(--portage-text); max-width: 560px; }
.portage-brand { display: flex; align-items: center; gap: 14px; }
.portage-brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.portage-name { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--portage-spruce); }
.portage-tagline { font-size: 14px; color: var(--portage-muted); }
.button-portage { background: var(--portage-spruce); color: var(--portage-birch); }
.button-portage:hover { background: var(--portage-bark); color: var(--portage-birch); }
.text-link { text-decoration: none; color: var(--portage-spruce); padding: 14px 4px; font-weight: 600; }
.text-link:hover { color: var(--portage-bark); }
.portage-art { flex: 1 1 400px; min-width: 0; display: flex; }
.portage-art svg { width: 100%; height: 100%; min-height: 300px; display: block; }

/* Partners */
.partners { padding-top: 80px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.partners-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.partners h2 { font-size: 40px; }
.partners-text p { font-size: 18px; line-height: 1.6; color: var(--text-body); }
.partners-list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.option { display: flex; flex-direction: column; gap: 4px; border-radius: 14px; padding: 18px 20px; }
.option strong { font-weight: 600; }
.option span { font-size: 15px; color: var(--text-muted); }
.partners-list .button { align-self: flex-start; margin-top: 4px; }

/* Why */
.why { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.why h2 { font-size: 40px; max-width: 720px; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.reasons > div { display: flex; flex-direction: column; gap: 10px; }
.reasons h3 { font-size: 22px; color: var(--lake); }
.reasons p { font-size: 16px; line-height: 1.6; color: var(--text-body); }

/* Closing band */
.closing { background: var(--lake); color: var(--white); }
.closing-inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.closing-inner > div { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.closing h2 { font-size: 34px; }
.closing p { font-size: 18px; color: var(--on-lake-muted); font-style: italic; }

/* Footer */
.footer { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-size: 14px; color: var(--text-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--text-muted); padding: 8px 0; }

/* Phone width */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .hero h1 { font-size: 40px; }
  .partners h2, .why h2 { font-size: 30px; }
  .closing h2 { font-size: 28px; }
  .portage-text { padding: 28px 20px; }
  .portage-section, .why { padding-top: 56px; padding-bottom: 56px; }
  .partners { padding-top: 56px; }
}
