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

html {
  min-width: 320px;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #f5f5f7;
  color: #111827;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
}

a {
  color: inherit;
}

.platform-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #f5f5f7;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.platform-header {
  flex-shrink: 0;
  border-bottom: 1px solid rgb(232 232 237 / 0.8);
  background: rgb(255 255 255 / 0.9);
  padding: 1rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.platform-brand {
  display: block;
  text-align: center;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.platform-main {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.platform-card {
  width: 100%;
  max-width: 480px;
  border: 1px solid #e8e8ed;
  border-radius: 1rem;
  background: #ffffff;
  padding: 2rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

.platform-kicker {
  margin: 0 0 0.5rem;
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1rem;
  text-transform: uppercase;
}

.platform-title {
  margin: 0 0 0.5rem;
  color: #111827;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
}

.platform-lead {
  margin: 0 0 2rem;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.platform-actions {
  display: grid;
  gap: 0.75rem;
}

.platform-primary-link {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #15263a;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.platform-primary-link:hover,
.platform-primary-link:focus-visible {
  background: #1b324b;
}

.platform-primary-link:focus-visible,
.platform-inline-link:focus-visible,
.platform-brand:focus-visible {
  outline: 2px solid rgb(136 214 108 / 0.55);
  outline-offset: 3px;
}

.platform-login-copy {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: center;
}

.platform-inline-link {
  color: #111827;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.platform-inline-link:hover {
  color: #4f9f35;
}

@media (min-width: 768px) {
  .platform-header {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .platform-card {
    padding: 2.5rem;
  }

  .platform-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}
