:root {
  --ice: #eef3f6;
  --paper: #f7fafc;
  --ink: #0e1a28;
  --slate: #1b2d3f;
  --teal: #1f6f6a;
  --amber: #e8a317;
  --line: #c5d0d8;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Karla, sans-serif;
  color: var(--ink);
  background: var(--ice);
  line-height: 1.55;
  display: grid;
  grid-template-columns: 132px 1fr;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--slate);
  color: var(--ice);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.compass {
  width: 72px;
  height: 72px;
  border: 3px solid var(--amber);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Rubik, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
}
.rail ol { list-style: none; padding: 0; margin: 0; }
.rail li {
  border-left: 2px solid var(--teal);
  padding: 10px 0 18px 12px;
  font-size: 13px;
}
.rail b {
  display: block;
  font-family: Rubik, sans-serif;
  color: var(--amber);
}

.wrap { min-width: 0; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.logo {
  text-decoration: none;
  font-family: Rubik, sans-serif;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo span { font-family: Karla, sans-serif; font-size: 12px; font-weight: 500; margin-top: 6px; color: var(--teal); }
nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
nav a { text-decoration: none; }
nav a:hover { color: var(--teal); }
.top-end { text-align: right; font-size: 14px; }
.lang { margin-top: 6px; display: flex; justify-content: flex-end; gap: 6px; }
.lang button {
  border: 1px solid var(--slate);
  background: transparent;
  padding: 3px 8px;
  cursor: pointer;
  font: inherit;
}
.lang button.is-on { background: var(--slate); color: var(--ice); }
.nav-btn {
  display: none;
  margin: 10px 32px 0;
  border: 1px solid var(--slate);
  background: var(--white);
  padding: 8px 12px;
  cursor: pointer;
}

section { padding: 40px 32px; scroll-margin-top: 72px; }
h1, h2, h3 { font-family: Rubik, sans-serif; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1; }
h2 { font-size: 30px; }
.tag { color: var(--teal); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
.lead { max-width: 58ch; font-size: 18px; }
.intro { color: #3b4d5c; max-width: 70ch; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(180deg, #dce8ea 0%, var(--ice) 100%);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--teal);
  color: #fff;
  padding: 12px 18px;
  font-family: Rubik, sans-serif;
  border-radius: 999px;
}
.btn.ghost { background: transparent; color: var(--slate); border: 2px solid var(--slate); }
figure { margin: 0; }
figcaption { margin-top: 8px; font-size: 13px; color: #4a5c6b; }
.hero img, .about img, .cards img, .drive img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px 8px 0 28px;
}

table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--slate); color: var(--ice); font-family: Rubik, sans-serif; font-weight: 500; }
tr:nth-child(even) td { background: #f0f5f7; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.about img { height: 340px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article { background: var(--white); padding-bottom: 16px; border-radius: 8px; overflow: hidden; }
.cards img { height: 210px; border-radius: 0; }
.cards h3, .cards p { padding: 0 14px; }
.cards h3 { margin-top: 14px; }

.how ol { list-style: none; padding: 0; display: grid; gap: 12px; }
.how li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; background: var(--white); padding: 14px 16px; }
.how span { font-family: Rubik, sans-serif; color: var(--amber); font-size: 22px; }

.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.who article { background: var(--white); padding: 16px; border-top: 4px solid var(--teal); }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rules div { background: var(--white); padding: 20px; }
.rules ul { margin: 0; padding-left: 18px; }

.drive img { height: 360px; }

.faq details { background: var(--white); padding: 14px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-family: Rubik, sans-serif; }

.legal dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.legal div { background: var(--white); padding: 12px 14px; }
dt { font-size: 12px; color: #5a6b78; }
dd { margin: 4px 0 0; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--slate); color: var(--ice); }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; }
input, select, textarea {
  font: inherit;
  border: 0;
  padding: 10px;
  background: #122233;
  color: var(--ice);
}
button[type="submit"] {
  border: 0;
  background: var(--amber);
  color: var(--ink);
  font-family: Rubik, sans-serif;
  padding: 12px;
  cursor: pointer;
}
.note { font-size: 13px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  font-size: 13px;
  color: #4a5c6b;
}

@media (max-width: 900px) {
  body { grid-template-columns: 1fr; }
  .rail { display: none; }
  .hero, .about, .cards, .who-grid, .rules, .legal dl, .contact { grid-template-columns: 1fr; }
  .top { flex-wrap: wrap; }
  nav { display: none; width: 100%; }
  nav.is-open { display: flex; }
  .nav-btn { display: inline-block; }
}
