/* AC Shift — "Aquamarine" palette, see app/lib/app/theme/app_palette.dart */
:root {
  --bg: #F3F7FC;          /* appBackground */
  --surface: #FFFFFF;     /* elevatedBackground */
  --grouped: #EAF0F8;     /* groupedBackground */
  --separator: #E3EBF4;   /* neutral300 */
  --text: #13233B;        /* neutral900 */
  --text-secondary: #465D74; /* neutral500 */
  --accent: #275AE4;      /* systemBlue, brand cobalt */
  --accent-pressed: #2047B7; /* systemBlueDark */
  --accent-soft: #E5EEFF; /* buttonBlueLight */
  --active-start: #D9F7F7; /* activeSurfaceStart */
  --shadow: 0 4px 16px rgba(19, 35, 59, 0.08);
  --radius: 16px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a:hover,
a:focus-visible {
  color: var(--accent-pressed);
}

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--separator);
}

.site-header .container {
  display: flex;
  align-items: center;
  min-height: 64px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

/* Main */
main {
  flex: 1;
  padding: 40px 0 56px;
}

.hero {
  text-align: center;
  padding: 32px 0 24px;
}

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 24px 0 4px;
  font-size: 40px;
  line-height: 1.15;
}

.tagline {
  margin: 0;
  color: var(--text-secondary);
  font-size: 20px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 32px 0 8px;
}

h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 24px 0 4px;
}

ul,
ol {
  padding-left: 1.3em;
}

li {
  margin: 6px 0;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.card > :first-child {
  margin-top: 0;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--separator);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 15px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.site-footer a {
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  main {
    padding: 24px 0 40px;
  }

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

  .tagline {
    font-size: 18px;
  }

  h1 {
    font-size: 26px;
  }

  .card {
    padding: 20px 16px;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
