*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0b0d10;
  --bg-2: #111418;
  --bg-3: #171b21;
  --line: #22272e;
  --line-2: #2d333b;

  --ink: #e9edf2;
  --ink-2: #b9c1cb;
  --ink-3: #868f9b;
  --ink-4: #5b636e;

  --accent: #58a6ff;
  --danger: #f85149;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --shell: 1000px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img, svg { max-width: 100%; display: block; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

.top { border-bottom: 1px solid var(--line); font-size: 14px; }
.top .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
}
.top .brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.top .brand:hover { text-decoration: none; }
.top .mini { display: flex; gap: 22px; }
.top .mini a { color: var(--ink-3); }
.top .mini a:hover { color: var(--ink); text-decoration: none; }
.top .right { display: flex; align-items: center; gap: 10px; color: var(--ink-4); }
.top .right a { color: var(--ink-3); }
.top .right a:hover { color: var(--ink); text-decoration: none; }
.top .sep { color: var(--line-2); }

.top .right a.hl {
  color: var(--ink);
  font-weight: 600;
  position: relative;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
}
.top .right a.hl:hover {
  color: #06121f;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

.btn.x {
  background: transparent;
  border-color: var(--ink-4);
  color: var(--ink);
  font-weight: 500;
}
.btn.x:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}


header.masthead {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
}
header.masthead h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 600;
  letter-spacing: -.028em;
  line-height: 1.1;
}
header.masthead .kicker {
  margin: 20px 0 0;
  max-width: 42rem;
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1.55;
}
header.masthead .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: #06121f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.btn:hover { background: #7bb8ff; border-color: #7bb8ff; color: #06121f; text-decoration: none; }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink-2); font-weight: 500; }
.btn.ghost:hover { background: var(--bg-3); border-color: var(--ink-4); color: var(--ink); }

header.masthead .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}
header.masthead .facts > div {
  padding: 18px 20px 0 0;
  border-right: 1px solid var(--line);
}
header.masthead .facts > div:last-child { border-right: 0; }
header.masthead .facts dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 5px;
}
header.masthead .facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

main { padding: 0; }

section.block {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
section.block:last-of-type { border-bottom: 0; }

h2.title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-4);
}
p.lead {
  margin: 0 0 28px;
  max-width: 46rem;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.three {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.three .item { background: var(--bg-2); padding: 24px 22px; }
.three h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.three p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.65; }

.four {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.four li { counter-increment: s; }
.four li::before {
  content: counter(s);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  margin-bottom: 12px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
}
.four h3 { margin: 0 0 5px; font-size: 15px; font-weight: 600; color: var(--ink); }
.four p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.6; }

.tablewrap {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
  background: var(--bg-2);
}
table.rates { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
table.rates th, table.rates td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
table.rates thead th {
  background: var(--bg-3);
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.rates tbody tr:last-child td { border-bottom: 0; }
table.rates td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
table.rates td { color: var(--ink-2); }

code {
  font-family: var(--mono);
  font-size: .9em;
  padding: 1px 5px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: var(--bg-3);
  color: var(--accent);
}

.links { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.links a {
  display: block;
  background: var(--bg-2);
  padding: 20px 22px;
  text-decoration: none;
}
.links a:hover { background: var(--bg-3); text-decoration: none; }
.links .t { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.links .d { display: block; margin-top: 5px; font-size: 14px; color: var(--ink-3); line-height: 1.6; }

.contact-row {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.contact-row a {
  display: block;
  background: var(--bg-2);
  padding: 20px 22px;
  text-decoration: none;
}
.contact-row a:hover { background: var(--bg-3); text-decoration: none; }
.contact-row strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.contact-row span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.55; }

.warning-box {
  border: 1px solid rgba(248, 81, 73, .35);
  border-left: 3px solid var(--danger);
  border-radius: 0 5px 5px 0;
  background: rgba(248, 81, 73, .06);
  padding: 15px 18px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.warning-box strong { color: var(--ink); font-weight: 600; }

footer.site {
  position: relative;
  border-top: 1px solid var(--line);
  background-color: var(--bg-2);
  background-image:
    linear-gradient(to top, rgba(11, 13, 16, .97) 0%, rgba(11, 13, 16, .9) 38%, rgba(11, 13, 16, .62) 72%, rgba(11, 13, 16, .28) 100%),
    url("/assets/footer-bg.jpg");
  background-size: cover, cover;
  background-position: center bottom, center center;
  background-repeat: no-repeat, no-repeat;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: var(--ink-3);
  font-size: 13px;
}
footer.site .shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 28px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
footer.site p { margin: 0; }
footer.site p + p { margin-top: 6px; }
footer.site a { color: var(--ink-2); }
footer.site .fine { color: var(--ink-4); font-size: 12px; }

@media (max-width: 820px) {
  header.masthead { padding: 56px 0 44px; }
  header.masthead h1 { font-size: 32px; }
  header.masthead .kicker { font-size: 16px; }
  header.masthead .facts > div { border-right: 0; padding: 14px 0 0; }
  header.masthead .facts { border-top: 0; }
  header.masthead .facts > div:first-child { border-top: 1px solid var(--line); }
  section.block { padding: 40px 0; }
  .top .mini { display: none; }
}

@media (max-width: 560px) {
  .shell { padding: 0 20px; }
  footer.site {
    min-height: 250px;
    background-image:
      linear-gradient(to top, rgba(11, 13, 16, .97) 0%, rgba(11, 13, 16, .92) 40%, rgba(11, 13, 16, .66) 76%, rgba(11, 13, 16, .3) 100%),
      url("/assets/footer-bg-sm.jpg");
  }
  .top .shell { min-height: 52px; }
  .top .right { font-size: 13px; }
  .three, .links, .contact-row { grid-template-columns: 1fr; }
  footer.site .shell { flex-direction: column; padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
