@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Sora;
  src: url('/assets/sora.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0c0f0d;
  --muted: #5e6762;
  --paper: #f7f8f4;
  --border: #e3e6e1;
  --green: #3d6b00;
}

* { box-sizing: border-box; }

body {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 Inter, system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 23px/1 Sora, sans-serif;
  letter-spacing: -.045em;
}

.brand small { color: var(--muted); font-size: .65em; font-weight: 400; }

.portal-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c9cec9;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.portal-link:hover { background: #fff; }
main { padding: clamp(32px, 7vw, 72px) 0 52px; }
h1, h2, p { margin: 0; }

h1, h2 {
  font-family: Sora, sans-serif;
  letter-spacing: -.035em;
  line-height: 1.18;
}

h1 { margin-bottom: 10px; font-size: clamp(30px, 6vw, 48px); }
main > p, .product p { color: var(--muted); }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.product h2 { margin-bottom: 5px; font-size: 18px; }
.product p { font-size: 13px; overflow-wrap: anywhere; }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.product-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-link:focus-visible { outline-color: var(--green); }
.product-link span[aria-hidden] { font-size: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
