@font-face {
  font-family: "InterVariable";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf8f4;
  --ink: #34382f;
  --muted: #62665b;
  --accent: #555f49;
  --accent-hover: #434d38;
  --line: #d1cec5;
  --focus: #345e57;
  font-family: "InterVariable", system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: #e8e1d6;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; }
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: #e8e1d6 url("homepage-background.png") center / cover no-repeat;
  pointer-events: none;
}
a { color: inherit; }
h1, h2, p { margin: 0; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
::selection { background: #dce4d3; color: #263021; }
.page-width { width: min(100% - 5rem, 87rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .75rem 1rem; background: var(--paper); border-radius: .4rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; text-decoration: none; font-size: 1.1rem; font-weight: 600; letter-spacing: -.035em; }
.wordmark svg { width: 1.75rem; height: 1.75rem; }
.domain { font-weight: 400; color: var(--muted); }
.demo-badge { padding: .35rem .8rem; border: 1px solid #999c8b; border-radius: 2rem; background: rgb(250 248 244 / .7); font-size: .75rem; font-weight: 500; white-space: nowrap; }
.homepage { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(29rem, 36rem); align-items: center; padding-block: 1rem 2.5rem; }
.homepage:focus { outline: none; }
.homepage:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.intro-card { grid-column: 2; width: 100%; padding: 2.6rem 2.75rem 2.1rem; border-radius: 1rem; background: var(--paper); box-shadow: 0 1.25rem 3rem -.75rem rgb(66 51 31 / .18), 0 1px 0 rgb(255 255 255 / .65) inset; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
h1 { margin-top: .85rem; max-width: 12ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.75rem, 4vw, 3.65rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.06; }
.intro { margin-top: 1.2rem; color: var(--muted); font-size: .9375rem; line-height: 1.75; }
.demo-portals { margin-top: 1.8rem; }
h2 { margin-bottom: .85rem; font-size: .875rem; font-weight: 550; }
.portal-link { display: flex; align-items: center; gap: .7rem; min-height: 3.5rem; padding: .85rem 1rem; border: 1px solid transparent; border-radius: .65rem; font-size: .9375rem; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background-color .15s, border-color .15s; }
.portal-client { background: var(--accent); color: #fffefa; }
.portal-client:hover { background: var(--accent-hover); }
.portal-employee { border-color: var(--line); }
.portal-employee:hover { background: #eeeee5; border-color: #a8ad9c; }
.portal-icon { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.arrow { margin-left: auto; padding-left: .25rem; font-size: 1.25rem; line-height: 1; }
.portal-description { margin: .4rem .1rem 1rem; color: var(--muted); font-size: .75rem; }
.demo-notice { margin-top: 1.45rem; padding-top: 1.15rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.7; }
.demo-notice p + p { margin-top: .6rem; }
.demo-notice strong { color: var(--ink); font-weight: 550; }
.page-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1.5rem; padding-bottom: 1.5rem; color: #52574b; font-size: .75rem; }

@media (max-width: 70rem) {
  .page-width { width: calc(100% - 3rem); }
  .homepage { grid-template-columns: minmax(0, 1fr) minmax(27rem, 32rem); }
  .intro-card { padding: 2.2rem 2.25rem 1.8rem; }
  body::before { background-position: 40% center; }
}
@media (max-width: 51rem) {
  .homepage { grid-template-columns: minmax(0, 1fr); justify-items: center; padding-block: 1rem 2rem; }
  .intro-card { grid-column: 1; max-width: 34rem; }
  body::before { background-position: left top; background-size: auto 62rem; }
  .page-footer { justify-content: center; text-align: center; }
}
@media (max-width: 32rem) {
  .page-width { width: calc(100% - 2rem); }
  .page-header { padding-block: .85rem; gap: .6rem; }
  .wordmark { font-size: .95rem; gap: .4rem; }
  .wordmark svg { width: 1.5rem; height: 1.5rem; }
  .demo-badge { padding: .3rem .6rem; font-size: .625rem; }
  .intro-card { padding: 1.9rem 1.35rem 1.5rem; }
  h1 { font-size: 2.7rem; }
  .intro { font-size: .875rem; }
  .portal-link { gap: .55rem; padding-inline: .8rem; font-size: .875rem; }
  .page-footer { padding-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (prefers-contrast: more) {
  :root { --muted: #45483e; --line: #727768; }
  .intro-card { border: 1px solid var(--line); }
}
@media (forced-colors: active) {
  body::before { display: none; }
  .intro-card, .portal-link, .demo-badge { border: 1px solid CanvasText; }
}
