/* Pay Power website: paypower.hillgaars.com */

:root {
  --bg: #ffffff;
  --surface: #f3f4f7;
  --text: #121317;
  --muted: #5b606b;
  --line: #e2e4ea;
  --accent: #2f7df6;
  --accent-text: #ffffff;
  --brand: #1f4e79;
  --warn-bg: #fff4d1;
  --warn-text: #5c4300;
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e11;
    --surface: #1b1d22;
    --text: #f2f3f5;
    --muted: #a7acb6;
    --line: #2c2f36;
    --accent: #5b9bff;
    --accent-text: #0d0e11;
    --brand: #8fb8e6;
    --warn-bg: #3a2f0b;
    --warn-text: #ffe39a;
  }
}

* {
  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,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.logo img {
  display: block;
}

.app-icon {
  display: block;
  margin: 32px 0 20px;
}

.logo span {
  color: var(--brand);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
}

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

main {
  padding: 32px 0 48px;
}

h1 {
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 40px 0 10px;
}

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

p,
li {
  color: var(--text);
}

.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 24px;
}

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

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
}

.cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 24px 0;
}

.card {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px 18px;
}

.card h3 {
  margin-top: 0;
}

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

.example {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0;
}

.example table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.example td {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.example td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.example tr:last-child td {
  border-bottom: none;
  font-weight: 700;
}

ol.steps {
  padding-left: 22px;
}

ol.steps li {
  margin-bottom: 8px;
}

.notice {
  background: var(--warn-bg);
  color: var(--warn-text);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
}

.notice p,
.notice li {
  color: var(--warn-text);
}

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

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

table.data th {
  color: var(--muted);
  font-weight: 600;
}

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

details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin: 8px 0 0;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

footer.site a {
  color: var(--muted);
  margin-right: 16px;
}
