/* Titans Edge website: home, support and privacy, in English and Dutch. */
:root {
  --bg: #041115;
  --bg-raised: #0a2328;
  --bg-card: #0c2a30;
  --line: #17414a;
  --text: #e6fbfd;
  --muted: #9cc4ca;
  --cyan: #2ad0d6;
  --cyan-deep: #12a4ad;
  --yellow: #ffd54a;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--cyan);
}

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

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------------ top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 17, 21, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav .lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 13px;
}

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/banner.jpg") center / cover no-repeat;
  opacity: 0.18;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 21, 0.2) 0%, var(--bg) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero h1 {
  font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--cyan);
}

.hero p.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 34em;
}

.hero .icon {
  justify-self: center;
  width: min(300px, 100%);
  border-radius: 56px;
  box-shadow: 0 30px 80px rgba(42, 208, 214, 0.22), 0 0 0 1px var(--line);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-raised);
}

.button.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #041115;
}

.button.soon {
  cursor: default;
}

/* ----------------------------------------------------------------- sections */
section {
  padding: 64px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

h2 {
  font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.intro {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 40em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.card .mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  margin-bottom: 14px;
  background: rgba(42, 208, 214, 0.12);
  color: var(--cyan);
  font-weight: 800;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  background: var(--bg-raised);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--muted);
  font-size: 15.5px;
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 8px;
}

.steps li strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 4px;
}

/* ----------------------------------------------------------- text pages */
.page {
  padding: 56px 0 72px;
}

.page .wrap {
  max-width: 780px;
}

.page h1 {
  font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: condensed;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.page .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.page h2 {
  font-size: 28px;
  margin: 40px 0 10px;
}

.page h3 {
  font-size: 18px;
  margin: 26px 0 6px;
}

.page p,
.page li {
  color: #cfe9ec;
}

.page ul {
  padding-left: 22px;
}

.page li + li {
  margin-top: 6px;
}

.contact {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 8px 0 8px;
}

.contact p {
  margin: 0;
}

.contact .email {
  font-size: 20px;
  font-weight: 700;
}

details {
  background: var(--bg-raised);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 10px 0;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

details p,
details ul {
  margin: 10px 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 10px 0;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

/* ------------------------------------------------------------------- footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

footer nav {
  display: flex;
  gap: 18px;
}

footer a {
  color: var(--muted);
}

/* ------------------------------------------------------------------- phones */
@media (max-width: 820px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 28px;
  }

  .hero .icon {
    order: -1;
    width: 160px;
    border-radius: 34px;
    justify-self: start;
  }

  .grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .nav .hide-small {
    display: none;
  }

  section {
    padding: 48px 0;
  }
}
