:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #eef1f4;
  --text: #171a1f;
  --muted: #535b66;
  --line: #cfd5dc;
  --accent: #18794e;
  --accent-soft: #dff4e8;
  --danger: #b42318;
  --button: #171a1f;
  --button-text: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

main {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  padding-bottom: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 6px;
  background: #11141a url("./meet2bikers-icon.png") center / cover no-repeat;
  content: "";
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.2;
}

h1 {
  margin: 8px 0 10px;
  font-size: 42px;
}

h2 {
  margin: 38px 0 12px;
  font-size: 26px;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p,
li,
td {
  color: var(--muted);
  font-size: 16px;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 28px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.legal-nav a {
  font-size: 14px;
}

.legal-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration-thickness: 3px;
}

ol,
ul {
  padding-left: 24px;
}

.panel {
  background: transparent;
  border: 0;
  padding: 0;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 14px 16px;
}

.notice strong {
  color: var(--text);
}

.grid,
.doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doc-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
}

.doc-list p {
  margin: 4px 0 0;
  font-size: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  border-collapse: collapse;
  background: var(--surface);
}

.table th,
.table td {
  min-width: 150px;
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: var(--surface-soft);
  color: var(--text);
  font-size: 14px;
}

.table tr:last-child td {
  border-bottom: 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--text);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
}

select {
  min-height: 50px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
}

.checkbox input {
  width: auto;
  margin-top: 7px;
}

button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--button);
  color: var(--button-text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:hover {
  opacity: .88;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 18px;
}

.danger {
  color: var(--danger);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111418;
    --surface: #1a1f25;
    --surface-soft: #242b33;
    --text: #f5f7fa;
    --muted: #b7c0ca;
    --line: #3b4652;
    --accent: #72d6a2;
    --accent-soft: #16372a;
    --danger: #ff8a80;
    --button: #f5f7fa;
    --button-text: #111418;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 960px);
    padding-top: 24px;
  }

  h1 {
    font-size: 34px;
  }

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