:root {
  color-scheme: light;
  scroll-padding-top: 5.25rem;
  --ink: #172928;
  --muted: #526562;
  --accent: #086350;
  --dark: #122f2b;
  --wash: #eaf3ee;
  --paper: #fbfcfa;
  --line: #d5e0da;
  --surface: #fff;
  --button-ink: #fff;
  --focus: #a45d05;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
html:not([data-theme="light"]) {
  color-scheme: dark;
  --ink: #edf5f0;
  --muted: #b7cac3;
  --accent: #8ed8be;
  --dark: #112d28;
  --wash: #142722;
  --paper: #0b1917;
  --line: #355148;
  --surface: #172a25;
  --button-ink: #102820;
  --focus: #ffcb79;
}
* { box-sizing: border-box; }
body { margin: 0; }
.support { --accent: #205a47; --dark: #16372b; --wash: #eaf2e8; }
.traffic { --accent: #145680; --dark: #112c41; --wash: #eaf1f7; --line: #d5e0e8; }
html:not([data-theme="light"]) .support {
  --accent: #a9dbab; --dark: #183327; --wash: #192a22;
}
html:not([data-theme="light"]) .traffic {
  --accent: #9bcdf6; --dark: #142d40; --wash: #172635; --line: #39566e;
  --paper: #0e1923; --surface: #192a39; --button-ink: #102333;
}
body { color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 11; padding: .75rem; background: var(--surface); transform: translateY(-160%); }
.skip:focus { transform: none; }
.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: var(--surface); }
.bar, .brand, nav, .actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.bar { justify-content: space-between; min-height: 5rem; padding-block: .6rem; }
.top .bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; }
.top .bar > nav { justify-self: end; justify-content: flex-end; }
.brand { gap: .7rem; font-weight: 750; text-decoration: none; color: var(--ink); }
.brand img { width: 2.75rem; height: 2.75rem; object-fit: contain; border-radius: .3rem; background: #fff; }
.theme-toggle { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: .45rem; color: var(--ink); background: var(--paper); font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); }
.top .theme-toggle { width: 2.75rem; height: 2.75rem; padding: 0; border-color: transparent; background: transparent; color: var(--muted); }
.top .theme-toggle:hover { background: var(--wash); color: var(--accent); }
.theme-icon { font-family: "Segoe UI Symbol", system-ui, sans-serif; font-size: 1.2rem; line-height: 1; }
nav a { color: inherit; font-size: .94rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { padding-block: clamp(3.75rem, 8vw, 7.75rem); background: var(--dark); color: white; }
.hero-grid, .split, .product { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: center; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); margin: .14em 0 .28em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0 0 .46em; }
h3 { line-height: 1.25; margin: .3rem 0 .65rem; font-size: 1.22rem; }
p { margin: .5rem 0 1rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.31rem); max-width: 42rem; }
.hero .lead { color: #e0ebe7; }
.eyebrow { font-size: .85rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero .eyebrow { color: #b9ded1; }
.button { display: inline-block; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .45rem; background: var(--accent); color: var(--button-ink); text-decoration: none; font-weight: 700; }
.button:hover { text-decoration: underline; }
.hero .button { color: var(--dark); background: white; }
.hero .secondary { background: transparent; border-color: #9eb7b1; color: white; }
.hero .actions { margin-top: 1.65rem; gap: .65rem; }
.intro-card { margin: 0; min-height: 17rem; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.3rem); background: white; border: 1px solid #cfded7; border-radius: 1rem; }
.intro-card img { width: min(100%, 16rem); max-height: 13rem; object-fit: contain; }
.hero figure:not(.intro-card) { margin: 0; }
figure img { display: block; width: 100%; height: auto; border-radius: .55rem; }
figcaption { margin-top: .65rem; font-size: .95rem; }
.image-zoom { display: block; position: relative; border-radius: .55rem; cursor: zoom-in; }
.image-zoom span { position: absolute; right: .6rem; bottom: .6rem; padding: .3rem .65rem; border-radius: .3rem; background: #112c41; color: white; font-size: .88rem; font-weight: 700; }
.image-zoom:hover span { text-decoration: underline; }
.image-dialog { width: min(55rem, calc(100% - 1.5rem)); max-width: none; padding: 0; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); background: var(--surface); }
.image-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.image-dialog-panel { padding: clamp(.65rem, 2vw, 1.3rem); }
.image-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.image-dialog-view { max-height: 74dvh; overflow: auto; border-radius: .4rem; }
.image-dialog img { display: block; width: 100%; height: auto; }
.section-band, .band { padding-block: clamp(3rem, 7vw, 5.75rem); }
.tint { background: var(--wash); }
.section-heading { max-width: 50rem; }
.cards, .profile-grid, .two-columns { display: grid; gap: 1rem; margin-top: 1.65rem; }
.cards, .two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three, .profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .profile-grid article, .two-columns > div { background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1.15rem, 3vw, 2rem); }
.card p, .profile-grid p, .two-columns p { color: var(--muted); }
.card p:last-child, .profile-grid p:last-child, .two-columns p:last-child { margin-bottom: 0; }
.card a { font-weight: 700; }
.card .button { margin-top: .35rem; }
.featured { border-top: 4px solid var(--accent); }
.partner-panel, .contact-band { margin-top: 1.5rem; padding: clamp(1rem, 4vw, 2.5rem); background: var(--wash); border-radius: .8rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; }
.partner-panel p { margin-bottom: 0; }
.partner-name { font-weight: 750; color: var(--accent); }
.partner-note, .muted { color: var(--muted); }
.support .section-band + .section-band { border-top: 1px solid var(--line); }
.timeline { display: grid; gap: 1rem; }
.timeline > div { border-left: 2px solid var(--line); padding-left: 1rem; }
.timeline span { font-weight: 750; color: var(--accent); }
.timeline p { margin: .15rem 0 0; }
.contact-band { margin: 0; }
.contact-band address { font-style: normal; }
.contacts { display: grid; gap: .35rem; }
.product figure { margin: 0; }
.specs { display: grid; gap: .6rem; margin-block: 1.5rem 0; }
.specs div { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; border-top: 1px solid var(--line); padding-top: .65rem; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; }
.legal { max-width: 49rem; }
.legal h2 { font-family: inherit; font-weight: 700; letter-spacing: 0; font-size: 1.35rem; margin: 2rem 0 .6rem; }
.footer { background: var(--dark); color: #e0ebe7; padding-block: 2rem; }
.footer .bar { min-height: 0; }
.footer a { color: inherit; }
section[id] { scroll-margin-top: 1rem; }
@media (max-width: 47rem) {
  :root { scroll-padding-top: 6.75rem; }
  .top .bar { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .45rem; }
  .top .brand { grid-area: 1 / 1; align-self: start; flex-wrap: nowrap; gap: .55rem; }
  .top .theme-toggle { grid-area: 1 / 2; align-self: start; }
  .top .bar > nav { grid-area: 2 / 1 / 3 / -1; justify-self: start; justify-content: flex-start; }
  .hero-grid, .split, .product, .cards.three, .profile-grid { grid-template-columns: 1fr; }
  .intro-card { min-height: 12rem; }
  .intro-card img { max-height: 9rem; }
}
@media (max-width: 33rem) {
  .shell { width: calc(100% - 2rem); }
  .bar, nav { column-gap: .9rem; row-gap: .45rem; }
  .cards, .two-columns { grid-template-columns: 1fr; }
}
