/* Hultin & Co — shared look for every page: dark navy, one sea-green accent, rounded shapes.
   Tokens, type, buttons, the site menu, the site footer and the policy-page layout live here.
   Page-specific styles go in each page's own stylesheet. */
:root {
  color-scheme: dark;
  --bg: #0B1020;
  --bg-2: #0E1426;
  --surface: #131A2C;
  --surface-2: #182138;
  --line: #1F2840;
  --line-2: #2C3756;
  --text: #EEF1F7;
  --text-2: #A9B2C6;
  --muted: #8691A8;
  --acc: #4ADE9B;
  --acc-2: #7BEBB8;
  --acc-ink: #04130C;
  --acc-soft: rgba(74, 222, 155, .12);
  --coral: #FF7A66;
  --sun: #FFB627;
  --blue: #7AA2FF;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;
  --wrap: 1200px;
  --pad: 40px;
  --gap: 16px;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --out: cubic-bezier(.2, .7, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 88% -120px, rgba(74, 222, 155, .10), transparent 65%),
    radial-gradient(700px 420px at -10% 30%, rgba(122, 162, 255, .05), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--acc); color: var(--acc-ink); }
[id] { scroll-margin-top: 96px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--acc); color: var(--acc-ink); padding: 10px 16px; border-radius: 99px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5ch;
  padding: 13px 22px; border-radius: 99px;
  border: 1.5px solid var(--line-2); background: transparent; color: var(--text);
  font: 700 15px/20px var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--out);
}
.btn:hover { border-color: var(--text-2); transform: translateY(-1px); }
.btn-acc { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn-acc:hover { background: var(--acc-2); border-color: var(--acc-2); }
.btn .arr { transition: transform .25s var(--out); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- site menu ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 16, 32, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -.025em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.logo i { font-style: normal; color: var(--acc); }
.nav-links { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .2s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { padding: 10px 18px; }

/* ---------- site footer ---------- */
.site-foot { margin-top: 120px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.foot-brand .logo { display: inline-block; font-size: 26px; }
.foot-brand p { margin-top: 14px; color: var(--text-2); font-size: 15px; max-width: 30ch; }
.foot-col h2 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-col a, .foot-col li { font-size: 15px; color: var(--text-2); text-decoration: none; }
.foot-col a:hover { color: var(--text); text-decoration: underline; }
.foot-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); }

/* ---------- policy pages ---------- */
.doc { max-width: 780px; padding-top: 72px; }
.doc-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.doc-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.doc h1 { margin-top: 18px; font-size: clamp(40px, 6vw, 64px); }
.doc-meta { margin-top: 16px; color: var(--muted); font-size: 15px; }
.doc-short { margin-top: 36px; padding: 26px 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.doc-short h2 { font-size: 20px; margin-bottom: 12px; }
.doc-short ul { padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.doc-body { margin-top: 48px; }
.doc-body h2 { font-size: 26px; margin: 48px 0 14px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 26px 0 8px; }
.doc-body p, .doc-body li { color: var(--text-2); }
.doc-body p + p { margin-top: 12px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin-top: 10px; display: grid; gap: 8px; }
.doc-body strong { color: var(--text); font-weight: 700; }
.doc-body a { color: var(--acc); }
.doc-contact { margin-top: 56px; padding: 28px; border-radius: var(--r); background: linear-gradient(135deg, rgba(74, 222, 155, .14), rgba(74, 222, 155, .03)); border: 1px solid rgba(74, 222, 155, .28); }
.doc-contact h2 { font-size: 24px; }
.doc-contact p { margin-top: 8px; color: var(--text-2); }
.doc-contact .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .nav-in { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-top: 12px; }
  .logo { font-size: 21px; }
  .nav-links {
    order: 3; width: 100%; gap: 22px; overflow-x: auto; scrollbar-width: none;
    padding: 12px 0; margin-top: 10px; border-top: 1px solid var(--line);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 14px; white-space: nowrap; }
  .nav-cta { padding: 8px 16px; font-size: 14px; }
  .site-foot { margin-top: 80px; }
  .doc { padding-top: 44px; }
  .doc-short, .doc-contact { padding: 22px 20px; }
}
@media (max-width: 380px) {
  .foot-in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arr, .site-nav { transition: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-nav, .skip { position: static; background: none; backdrop-filter: none; }
  .nav-links, .nav-cta { display: none; }
  .site-foot { background: none; }
  .doc-body p, .doc-body li, .doc-short ul { color: #000; }
}
