:root {
  --bg: #eff4ff;
  --ink: #142034;
  --muted: #6c7b94;
  --line: rgba(20, 32, 52, 0.08);
  --blue: #2a63ff;
  --green: #1bb56f;
  --yellow: #efb827;
  --panel: rgba(255, 255, 255, 0.84);
  --shadow: 0 18px 50px rgba(27, 43, 76, 0.08);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(42, 99, 255, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(27, 181, 111, 0.12), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

.scoreme-page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-shell {
  width: min(1600px, 90vw);
  margin: 0 auto;
  padding: 0 0 1.25rem;
}

.scoreme-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: auto;
  margin-left: -3vw;
  margin-right: -3vw;
  margin-bottom: 0.3rem;
  padding: 0.3rem 1.5rem 0.5rem;
  background: transparent;
}

.scoreme-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding-left: 20px;
}

.scoreme-logo {
  height: 75px;
  width: auto;
  display: block;
}

.scoreme-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding-top: 0.95rem;
  padding-right: 20px;
}

.header-login-form {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.58rem;
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(27, 43, 76, 0.08);
  backdrop-filter: blur(12px);
}

.header-login-input {
  width: 132px;
  height: 38px;
  padding: 0 0.75rem;
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #1b2433;
  font-size: 0.84rem;
}

.header-login-btn {
  height: 38px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 8px;
  background: #85be1d;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(133, 190, 29, 0.22);
}

.header-auth-links {
  display: flex;
  justify-content: flex-end;
}

.header-auth-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #326bf3;
  font-size: 0.76rem;
  text-decoration: none;
  font-weight: 700;
}

.header-auth-link:hover {
  color: #326bf3;
  opacity: 0.88;
}

.header-auth-user {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.header-auth-feedback {
  min-height: 16px;
  color: #6c7b94;
  font-size: 0.72rem;
  line-height: 1;
}

.scoreme-footer {
  width: auto;
  margin-left: -3vw;
  margin-right: -3vw;
  margin-top: auto;
  padding: 1.1rem 1.5rem 0.35rem;
  background: transparent;
}

.scoreme-footer-text {
  color: var(--muted);
  font-size: 0.82rem;
}

.scoreme-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(120px, 0.8fr));
  gap: 1.25rem;
  align-items: start;
}

.scoreme-footer-brand strong {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 1rem;
}

.scoreme-footer-links {
  display: grid;
  gap: 0.35rem;
}

.scoreme-footer-heading {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scoreme-footer-link {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.scoreme-footer-link:hover {
  color: var(--blue);
}

.scoreme-footer-bottom {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(20, 32, 52, 0.08);
  text-align: center;
}

.primary-btn,
.domain-submit {
  color: white;
  background: linear-gradient(135deg, #2a63ff, #4d84ff 80%);
}

.landing-dashboard-shell {
  background:
    linear-gradient(135deg, rgba(42, 99, 255, 0.08), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  padding: 1.25rem;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.glass-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.landing-intro,
.landing-entry {
  padding: 1.5rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-intro h1 {
  max-width: 75%;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero-text,
.entry-copy p,
.entry-note span,
.summary-card small {
  color: var(--muted);
}

.landing-accent-word {
  color: #326bf3;
}

.hero-text {
  max-width: 34rem;
  margin-top: 0.85rem;
  font-size: 0.98rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.summary-card {
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(42, 99, 255, 0.08);
  background: linear-gradient(180deg, #f9fbff, #eef3ff);
}

.summary-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--blue);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.summary-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.entry-copy h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  font-weight: 800;
}

.entry-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.entry-label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.entry-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.entry-input-row input {
  min-height: 56px;
  padding: 0 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.entry-input-row input::placeholder {
  color: #93a1bf;
}

.entry-notes {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.entry-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(42, 99, 255, 0.08);
  background: linear-gradient(180deg, #f9fbff, #eef3ff);
}

.entry-note i {
  color: var(--blue);
  margin-top: 0.15rem;
}

.auth-modal {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  border: 1px solid rgba(20, 32, 52, 0.08);
}

.auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.auth-mode-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: #f7f9fd;
  color: var(--muted);
  font-weight: 800;
}

.auth-mode-btn.is-active {
  background: #eef3ff;
  color: var(--blue);
  border-color: rgba(42, 99, 255, 0.22);
}

.auth-input {
  min-height: 50px;
  border-radius: 12px;
}

.auth-submit-btn {
  min-height: 46px;
  padding: 0 1.05rem;
  border: 1px solid #1bb56f;
  border-radius: 999px;
  background: #1bb56f;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(27, 181, 111, 0.18);
}

.auth-submit-btn:hover,
.auth-submit-btn:focus,
.auth-submit-btn:active {
  background: #1bb56f;
  border-color: #1bb56f;
  color: #fff;
}

.auth-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.auth-contact-row {
  grid-template-columns: 120px minmax(0, 1fr);
}

.auth-prefix-wrap {
  min-width: 0;
}

.auth-feedback {
  min-height: 24px;
  color: #178e5b;
}

@media (max-width: 1080px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .scoreme-header {
    flex-direction: column;
    align-items: stretch;
  }

  .scoreme-header-right {
    align-items: stretch;
  }

  .header-login-form {
    flex-wrap: wrap;
  }

  .header-login-input,
  .header-login-btn {
    width: 100%;
  }

  .entry-input-row {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-two-cols,
  .auth-contact-row {
    grid-template-columns: 1fr;
  }

  .scoreme-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1400px) {
  .scoreme-header {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .scoreme-footer {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
