@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;500;600;700&family=Roboto:wght@400;700;900&display=swap");

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

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  background-color: #f0f2f5;
  color: #1a1a1a;
}

h1,
h2,
h3 {
  font-family: "Merriweather", Georgia, serif;
}

a {
  color: inherit;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 3px;
}

.page {
  min-height: 100vh;
  background-color: #f0f2f5;
}

/* Header */
.header {
  background-color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.header-transition {
  text-align: right;
}

.header-transition-label {
  display: block;
  color: rgba(25, 113, 185, 0.7);
  font-size: 0.75rem;
}

.header-transition-name {
  color: #1971b9;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: "Roboto", sans-serif;
}

.header-accent {
  height: 0.25rem;
  background-color: #1971b9;
}

/* Alert banner */
.alert-banner {
  background-color: #212327;
  color: #ffffff;
  text-align: center;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.alert-banner-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-banner svg {
  flex-shrink: 0;
}

/* Main */
.main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.main > * + * {
  margin-top: 1.5rem;
}

/* Notice card */
.notice-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.notice-card-header {
  background-color: #1971b9;
  padding: 1rem 1.5rem;
}

.notice-card-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.375;
  font-family: "Roboto", sans-serif;
}

.notice-card-body {
  padding: 1.5rem;
}

.notice-card-body > * + * {
  margin-top: 1rem;
}

.notice-lead {
  margin: 0;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.625;
}

.section-intro {
  margin: 0 0 0.75rem;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.625;
}

.login-figure {
  margin: 0.75rem 0 0;
  background-color: #f0f4f8;
  border: 1px solid rgba(25, 113, 185, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.login-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  background-color: #ffffff;
}

.login-figure figcaption {
  margin-top: 0.75rem;
  color: #4b5563;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.notice-note {
  background-color: #e8f2fa;
  border: 1px solid rgba(25, 113, 185, 0.4);
  border-radius: 0.5rem;
  padding: 1rem;
}

.notice-note p {
  margin: 0;
  color: #1a3a5c;
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Links */
.link {
  color: #005a9c;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.15s ease;
}

.link:hover {
  color: #1971b9;
}

/* Section cards */
.section {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-left: 4px solid #1971b9;
  padding: 1.5rem;
}

.section--blue {
  border-left-color: #005a9c;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-heading svg {
  color: #1971b9;
  flex-shrink: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1971b9;
  font-family: "Roboto", sans-serif;
}

.section-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-list > li + li {
  margin-top: 0.75rem;
}

.section-list-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}

.section-list-item--start {
  align-items: flex-start;
}

.section-bullet {
  color: #1971b9;
  font-weight: 700;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.section-bullet--blue {
  color: #005a9c;
}

.section-list-content {
  flex: 1;
}

.section-list-content > * + * {
  margin-top: 0.75rem;
}

/* App badges grid */
.app-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.app-box {
  background-color: #f0f4f8;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.app-box-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1971b9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(25, 113, 185, 0.3);
  background-color: #ffffff;
  color: #1971b9;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.app-badge:hover {
  background-color: #e8f2fa;
}

.app-badge svg {
  flex-shrink: 0;
}

/* Callout boxes */
.callout {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #e8f2fa;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.callout svg {
  flex-shrink: 0;
}

.callout-text {
  color: #1971b9;
  font-size: 0.875rem;
  font-weight: 600;
}

.callout-text a {
  text-decoration: underline;
  transition: color 0.15s ease;
}

.callout-text a:hover {
  color: #005a9c;
}

/* CTA */
.cta {
  background-color: #1971b9;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.cta-subtitle {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.cta-title {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}

.cta-button {
  display: inline-block;
  background-color: #6924a4;
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.cta-button:hover {
  background-color: #7d2cc0;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  padding-bottom: 1.5rem;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 0.25rem;
}
