/* SkyBudget public pages (BUD-77). The app's "Ink & Claret" palette:
   navy for text accents and links, claret only for attention. */

:root {
  color-scheme: light dark;
  --background: #f4f6f9;
  --surface: #ffffff;
  --border: #e3e7ed;
  --text: #13161c;
  --text-secondary: #5c6270;
  --accent: #16294a;
  --accent-text: #16294a;
  --soft-fill: #e6eef9;
  --attention: #8c2a3c;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d1118;
    --surface: #161c26;
    --border: #262e3b;
    --text: #eef1f6;
    --text-secondary: #9aa3b2;
    --accent: #2a4a80;
    --accent-text: #9dbbe6;
    --soft-fill: #1a2638;
    --attention: #d46a7e;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--accent-text);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header,
main,
.site-footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 8px;
}

.brand {
  font-family: ui-serif, "New York", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  font-size: 0.9375rem;
}

.lang-switch a {
  display: inline-block;
  padding: 10px 2px;
}

h1,
h2 {
  font-family: ui-serif, "New York", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin: 24px 0 4px;
}

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

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

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

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 4px;
}

a {
  color: var(--accent-text);
  text-underline-offset: 2px;
}

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

.meta {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 0;
}

.lede {
  font-size: 1.125rem;
}

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

.highlight {
  background: var(--soft-fill);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin: 16px 0;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 4px 0;
}

.faq details:first-child {
  border-top: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  min-height: 44px;
}

.faq summary:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 4px;
}

.contact {
  font-weight: 600;
}

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

.button:hover,
.button:focus-visible {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  .button {
    background: var(--soft-fill);
    color: var(--accent-text);
  }
}

.site-footer {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding-top: 24px;
  padding-bottom: 40px;
}

.site-footer nav a {
  display: inline-block;
  padding: 8px 0;
  margin-right: 16px;
}
