/* wya website. Colors and type match the app (src/theme). Light mode only. */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --muted: #556072;
  --navy: #13294b;
  --on-navy-muted: #c9d3e3;
  --gold: #ffc72c;
  --gold-soft: #fff4d1;
  --teal: #0b6e69;
  --teal-soft: #e3f1f0;
  --line: #dde2ea;
  --radius-card: 18px;
  --gutter: 20px;
  --max: 720px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    'Figtree',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

/* Header */
.site-header {
  background: var(--navy);
  color: #ffffff;
}

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

.wordmark {
  font-family: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
  padding: 8px 0;
}

.site-nav {
  display: flex;
  gap: 4px;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-nav a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.14);
}

/* Main */
main.wrap {
  padding: 32px var(--gutter) 48px;
}

h1,
h2,
h3 {
  font-family: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}

h3 {
  font-size: 17px;
  font-family: 'Figtree', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  margin: 20px 0 4px;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--teal);
  font-weight: 600;
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-header a:focus-visible {
  outline-color: var(--gold);
}

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

.lede {
  font-size: 18px;
}

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

.card > :last-child {
  margin-bottom: 0;
}

/* Landing */
.hero h1 {
  font-size: 40px;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 8px 0 4px;
}

.features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

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

.features strong {
  display: block;
}

/* Notices */
.notice {
  background: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin: 16px 0;
}

.notice > :last-child {
  margin-bottom: 0;
}

.soon {
  border: 2px dashed var(--muted);
  border-radius: var(--radius-card);
  padding: 4px 16px 12px;
  margin: 36px 0 0;
  background: var(--surface);
}

.soon h2 {
  margin-top: 16px;
}

.tag {
  display: inline-block;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--ink);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Table: stacks into cards on phones */
.table-wrap {
  margin: 12px 0 16px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
}

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

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

th {
  background: var(--teal-soft);
  font-weight: 700;
}

td:first-child {
  font-weight: 600;
}

@media (max-width: 640px) {
  table,
  thead,
  tbody,
  tr,
  td {
    display: block;
  }

  table {
    border: 0;
    background: none;
    border-radius: 0;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 6px 0;
    margin-bottom: 12px;
  }

  td {
    border: 0;
    padding: 4px 16px;
  }

  td:first-child {
    font-size: 16px;
    padding-top: 8px;
  }

  td[data-label]:not(:first-child)::before {
    content: attr(data-label) ': ';
    font-weight: 700;
    color: var(--muted);
  }

  .hero h1 {
    font-size: 34px;
  }

  .site-nav a {
    padding: 10px 10px;
  }
}

/* FAQ */
.faq h3 {
  margin-top: 24px;
}

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

.site-footer p {
  margin: 0 0 6px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
