/* Ardua's site. Colours follow Ardua/DesignSystem/Tokens/ArduaColor.swift. */
:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --text: #111114;
  --text-2: rgba(17, 17, 20, 0.62);
  --gold: #C9921A;
  --gold-text: #8A6000;
  --line: rgba(17, 17, 20, 0.10);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0F;
    --surface: #15151B;
    --text: #F5F5F7;
    --text-2: rgba(245, 245, 247, 0.62);
    --gold: #F5C451;
    --gold-text: #F5C451;
    --line: rgba(245, 245, 247, 0.10);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  padding: 0 20px;
}

main, header, footer {
  max-width: 680px;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 0 8px;
}

header a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
}

header img { width: 32px; height: 32px; border-radius: 8px; }

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 32px 0 8px;
}

h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 40px 0 8px;
}

h3 { font-size: 17px; margin: 24px 0 4px; }

p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

a { color: var(--gold-text); }

.lede { color: var(--text-2); font-size: 19px; }
.meta { color: var(--text-2); font-size: 15px; }
.motto { color: var(--gold-text); font-family: "New York", Georgia, serif; font-style: italic; font-size: 20px; margin: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
}

.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.hero {
  text-align: center;
  padding: 48px 0 16px;
}

.hero img { width: 112px; height: 112px; border-radius: 25px; }
.hero h1 { margin-top: 20px; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: var(--gold);
  color: #0B0B0F;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
details p:last-child { margin-bottom: 0; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 20px 0 40px;
  color: var(--text-2);
  font-size: 15px;
}
footer a { color: var(--text-2); margin-right: 16px; }
