:root {
  color-scheme: light;
  --platform-bg: #f3f7fb;
  --platform-text: #182432;
  --platform-muted: #5e6c79;
  --platform-primary: #127a7f;
  --platform-primary-dark: #0d5b5f;
  --platform-surface: rgba(255, 255, 255, 0.94);
  --platform-border: rgba(24, 36, 50, 0.1);
}

* {
  box-sizing: border-box;
}

body.platform-body {
  margin: 0;
  color: var(--platform-text);
  background:
    linear-gradient(rgba(243, 247, 251, 0.9), rgba(243, 247, 251, 0.98)),
    url('/images/portrait-happy-excited-man-holding-laptop-computer.png') center top / cover no-repeat fixed;
  font-family: 'Roboto Slab', serif;
}

.platform-main {
  min-height: calc(100vh - 120px);
  padding-top: calc(var(--site-header-offset, 148px) + 24px);
}

.platform-hero {
  padding: 0;
}

.platform-hero .row {
  justify-content: flex-start;
}

.platform-hero-shell,
.platform-card {
  background: var(--platform-surface);
  border: 1px solid var(--platform-border);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(18, 35, 52, 0.08);
}

.platform-hero-shell {
  padding: 40px 32px;
  max-width: 860px;
}

.platform-eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: rgba(18, 122, 127, 0.12);
  border-radius: 8px;
  color: var(--platform-primary-dark);
  font-weight: 700;
}

.platform-subtitle {
  color: #1b2752;
}

.platform-copy {
  max-width: 720px;
  margin: 0;
  color: var(--platform-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.platform-section {
  padding: 40px 0 56px;
}

.platform-auth-section {
  padding: 72px 0 88px;
}

.platform-auth-shell {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--platform-border);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(18, 35, 52, 0.08);
  padding: 40px 36px;
}

.platform-auth-copy {
  max-width: 760px;
}

.platform-auth-title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  color: #1b2752;
  font-family: 'Roboto Slab', serif;
}

.platform-auth-text {
  margin: 0;
  max-width: 720px;
  color: var(--platform-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.platform-auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.platform-section .section-title-wrap {
  gap: 0;
}

.platform-card {
  height: 100%;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.platform-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-family: 'Roboto Slab', serif;
}

.platform-card p {
  margin: 0;
  color: var(--platform-muted);
  line-height: 1.7;
}

.platform-inline-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--platform-primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.platform-inline-link:hover {
  text-decoration: underline;
}

.project-footer-shell .contact-info p,
.project-footer-shell .footer-menu-link,
.project-footer-shell .contact-info a {
  word-break: break-word;
}

@media (max-width: 767px) {
  .platform-hero {
    padding-top: 0;
  }

  .platform-auth-section {
    padding: 24px 0 56px;
  }

  .platform-auth-shell {
    padding: 28px 20px;
  }

  .platform-hero-shell {
    padding: 28px 20px;
  }
}
