:root {
  --accent: #e0742f;
  --accent-deep: #b8531a;
  --ink: #101828;
  --ink-2: #344054;
  --ink-3: #667085;
  --line: #e4e7ec;
  --surface: #ffffff;
  --bg: #faf9f7;
  --bg-2: #f1efec;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-frame: 0 16px 36px -28px rgba(16, 24, 40, .4);
  --page: 1120px;
  --gutter: 28px;
  --section: 56px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(135deg, #faf9f7 0%, #f1efec 100%);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main, body > .legal { flex: 1 0 auto; }
a { color: inherit; }

.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 60px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mark { width: 18px; height: 22px; display: block; fill: var(--accent); flex: 0 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: 0 0 auto; }
.brand b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brand small {
  display: block; margin-top: 3px;
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: .08em; color: var(--ink-3);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.open {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px;
  background: var(--accent);
  color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600;
  padding: 0 16px; border-radius: var(--radius-sm); white-space: nowrap;
  flex: 0 0 auto;
}
.open:hover { background: var(--accent-deep); }
.nav a:focus-visible, .open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.foot {
  display: flex; justify-content: flex-end; align-items: center; gap: 16px;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12.5px;
}
.foot b { color: var(--ink-2); font-weight: 600; margin-right: 8px; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; font-weight: 500; color: var(--ink-3); }
.foot a:hover { color: var(--ink); }

header .spacer { margin-left: auto; display: flex; align-items: center; gap: 14px; }
header .linkish {
  position: relative;
  background: none; border: 0; padding: 0; text-decoration: none;
  color: var(--ink-2); font-size: 13.5px; font-weight: 600;
}
header .linkish:hover, header .linkish.on { color: var(--ink); }
header .linkish.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
}
header .solid {
  border: 0; border-radius: 10px; font-weight: 650; font-size: 14.5px;
  background: var(--accent); color: #fff; padding: 10px 16px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
header .solid:hover { background: var(--accent-deep); }

footer.site {
  background: #101828; color: #e4e7ec;
  padding: 36px 28px 28px; margin-top: auto;
}
footer.site .site-in {
  width: min(1100px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: .9fr .9fr 1.1fr; gap: 28px;
}
footer.site h2 {
  margin: 0 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #98a2b3;
}
footer.site a.legal, footer.site a.social {
  display: block; color: #f2f4f7; font-size: 14px; font-weight: 500;
  text-decoration: none; margin: 0 0 8px;
}
footer.site a.legal:hover, footer.site a.social:hover { color: #fff; }
footer.site .soon {
  display: grid; grid-template-columns: 92px max-content; align-items: center; column-gap: 10px;
  margin: 0 0 8px; color: #f2f4f7; font-size: 14px; font-weight: 500;
}
footer.site .soon i {
  justify-self: start; white-space: nowrap; font-style: normal;
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #f6b98a;
  border: 1px solid rgba(246,185,138,.55); border-radius: 999px; padding: 2px 6px;
}
footer.site .site-mail {
  width: min(1100px, 100%); margin: 22px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12); color: #98a2b3; font-size: 13px; text-align: right;
}

@media (max-width: 800px) {
  footer.site .site-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { flex-wrap: wrap; row-gap: 2px; padding: 12px 16px; }
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 10px 16px; }
  .open { margin-left: auto; }
  .foot { flex-direction: column; align-items: flex-end; padding: 20px 16px 28px; }
  footer.site { padding: 28px 16px 22px; }
}
