@import url("https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #163a5f;
  --blue: #4fa9e8;
  --blue-text: #326b94;
  --button-blue: #3a7cab;
  --ice: #ddf2ff;
  --mist: #f5fafe;
  --white: #ffffff;
  --slate: #64748b;
  --ink: #0b2847;
  --line: #d7e8f4;
  --success: #1b7f62;
  --hero-padding-bottom: 82px;
  --shadow: 0 18px 48px rgba(22, 58, 95, 0.1);
  --soft-shadow: 0 8px 28px rgba(22, 58, 95, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  color: var(--navy);
  background: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(790px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 14px max(20px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(22, 58, 95, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 164px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #294769;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-text);
}

.nav-cta {
  padding: 9px 20px;
  color: var(--white) !important;
  border-radius: 999px;
  background: var(--button-blue);
  box-shadow: 0 9px 20px rgba(79, 169, 232, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 572px;
  padding: 92px 0 var(--hero-padding-bottom);
  background:
    radial-gradient(circle at 84% 28%, rgba(79, 169, 232, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5fafe 58%, #e9f7ff 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-family: Inter, Manrope, system-ui, sans-serif;
  font-size: clamp(3.3rem, 7vw, 5.9rem);
  line-height: 1.01;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue-text);
}

.hero p,
.page-hero p {
  max-width: 660px;
  color: #425f82;
  font-size: 1.16rem;
}

.eyebrow,
.small-label {
  margin: 0 0 12px;
  color: var(--blue-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--button-blue), #30678e);
  box-shadow: 0 12px 25px rgba(79, 169, 232, 0.28);
}

.button-secondary {
  color: var(--button-blue);
  background: var(--white);
  border-color: var(--button-blue);
}

.button-disabled,
.button-disabled:hover,
.button-disabled:focus-visible {
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.button:disabled {
  cursor: not-allowed;
  box-shadow: none;
}

.setup-note {
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--slate);
  background: var(--mist);
  font-size: 0.9rem;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wave {
  position: absolute;
  width: 720px;
  height: 260px;
  border-top: 1.5px solid rgba(79, 169, 232, 0.55);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.wave-one {
  right: -60px;
  bottom: 115px;
}

.wave-two {
  right: 120px;
  bottom: -6px;
  opacity: 0.48;
}

.wave-fill {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46vw;
  min-width: 420px;
  height: 210px;
  background:
    linear-gradient(160deg, transparent 28%, rgba(221, 242, 255, 0.7) 29% 70%, transparent 71%),
    linear-gradient(18deg, rgba(221, 242, 255, 0.65), rgba(79, 169, 232, 0.08));
  clip-path: polygon(0 62%, 100% 16%, 100% 100%, 0 100%);
}

.dot-field {
  position: absolute;
  right: 8%;
  bottom: 9%;
  width: 110px;
  height: 74px;
  opacity: 0.32;
  background-image: radial-gradient(var(--blue) 1.3px, transparent 1.3px);
  background-size: 12px 12px;
}

.spark {
  position: absolute;
  width: 52px;
  height: 52px;
}

.spark::before,
.spark::after {
  position: absolute;
  content: "";
  background: var(--blue);
}

.spark::before {
  inset: 24px 0;
}

.spark::after {
  inset: 0 24px;
}

.spark-one {
  top: 18%;
  right: 28%;
}

.spark-two {
  width: 32px;
  height: 32px;
  right: 12%;
  bottom: 20%;
  opacity: 0.55;
}

.dashboard-preview,
.dashboard-wide,
.contact-form,
.contact-card,
.price-card,
.feature-card,
.stat-card,
.legal-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.dashboard-preview {
  padding: 28px;
}

.preview-header,
.panel-head,
.footer-inner,
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.preview-header strong {
  display: block;
  color: var(--navy);
  font-family: Inter, Manrope, system-ui, sans-serif;
  font-size: 4.6rem;
  line-height: 1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--success);
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 999px;
  background: #e9fbf5;
}

.score-chart {
  display: grid;
  height: 210px;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: end;
  margin: 24px 0;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fcff, #eaf7ff);
}

.score-chart span {
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #cfefff, var(--blue));
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metric-row div {
  padding: 18px 12px 2px;
}

.metric-row strong,
.portal-card strong,
.stat-card strong {
  display: block;
  color: var(--navy);
  font-family: Inter, Manrope, system-ui, sans-serif;
  font-size: 1.55rem;
}

.metric-row span,
.portal-card span,
.stat-card span {
  color: var(--slate);
  font-size: 0.9rem;
}

.section {
  padding: 104px 0;
}

.page-hero {
  padding: 104px 0 var(--hero-padding-bottom);
  display: flex;
  min-height: 500px;
  align-items: center;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 28%, rgba(79, 169, 232, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f5fafe 58%, #e9f7ff 100%);
}

.page-hero h1,
.page-hero p {
  color: var(--navy);
}

.page-hero .eyebrow {
  color: var(--blue-text);
}

.content-page .page-hero {
  min-height: 0;
  padding-top: 64px;
}

.content-page .page-hero p:last-child {
  margin-bottom: 0;
}

.section-soft {
  background: #ffffff;
}

.section-light {
  background: var(--mist);
  color: var(--ink);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-accent {
  background: var(--ice);
  color: var(--ink);
}

/* Shared section formatting in Lucent's brand palette. */
:is(.home-page, .content-page) .section .eyebrow {
  margin: 0 0 14px;
  color: var(--blue-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

:is(.home-page, .content-page) .section-heading h2,
:is(.home-page, .content-page) .callout h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

:is(.home-page, .content-page) .section-dark {
  background: #28638c;
}

:is(.home-page, .content-page) .section-dark .eyebrow {
  color: var(--ice);
}

:is(.home-page, .content-page) .section-dark .feature-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

:is(.home-page, .content-page) .section-dark .feature-card h3,
:is(.home-page, .content-page) .section-dark .callout h2 {
  color: var(--white);
}

:is(.home-page, .content-page) .section-dark p:not(.eyebrow) {
  color: #d8ebf7;
}

:is(.home-page, .content-page) .join-section {
  background: #28638c;
}

.content-page .section-heading + .cards-three,
.content-page .section-heading + .pricing-grid,
.content-page .section-heading + .contact-layout,
.content-page .section-heading + .faq-list {
  margin-top: 34px;
}

.content-page .section-dark .check-list li,
.content-page .section-dark .check-list li::before {
  color: var(--ice);
}

.content-page .section-dark .faq-list details {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.content-page .section-dark .faq-list summary {
  color: var(--white);
}

.content-page .section-dark .contact-card h2,
.content-page .section-dark .contact-form p {
  color: var(--navy);
}

.content-page .section-dark .contact-card .check-list li {
  color: #425f82;
}

.content-page .section-dark .contact-card .check-list li::before {
  color: var(--blue-text);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.split-layout {
  grid-template-columns: 1fr 1fr;
}

.section-heading h2,
.callout h2,
.legal-note h2,
.panel-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: Inter, Manrope, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.large-copy,
.legal-note p {
  color: #425f82;
  font-size: 1.06rem;
}

.large-copy {
  font-size: 1.22rem;
  line-height: 1.75;
}

.section-dark .section-heading h2,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .eyebrow {
  color: var(--ice);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.text-link {
  color: var(--blue-text);
  font-weight: 800;
  text-decoration: none;
}

.light-link,
.light-link:hover {
  color: var(--ice);
}

.news-list {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.news-item {
  display: grid;
  grid-template-columns: 135px 1.45fr 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.news-item span {
  color: var(--ice);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-item h3,
.news-item p {
  margin-bottom: 0;
}

.join-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 20%, rgba(79, 169, 232, 0.18), transparent 34%),
    linear-gradient(135deg, var(--mist), #edf8ff);
}

.join-section h2 {
  color: var(--navy);
}

.join-section .eyebrow {
  color: var(--blue-text);
}

.feature-grid,
.cards-three,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.feature-card,
.price-card,
.stat-card,
.legal-note {
  padding: 24px;
}

.feature-card h2,
.feature-card h3,
.price-card h2,
.contact-card h2,
.legal-copy h2 {
  margin: 10px 0 8px;
  color: var(--navy);
  line-height: 1.15;
}

.feature-card p,
.price-card p,
.contact-card li,
.check-list li,
.faq-list p,
.legal-copy p {
  color: #425f82;
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--blue-text);
  font-weight: 800;
  border-radius: 999px;
  background: var(--ice);
  border: 1px solid var(--line);
  position: relative;
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.icon-chart::before {
  bottom: 13px;
  left: 14px;
  width: 4px;
  height: 10px;
  border-radius: 3px;
  background: var(--blue);
  box-shadow: 7px -5px 0 var(--blue), 14px -11px 0 var(--blue);
}

.icon-book::before {
  width: 22px;
  height: 17px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.icon-book::after {
  width: 2px;
  height: 17px;
  background: var(--blue);
}

.icon-target::before {
  width: 22px;
  height: 22px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.icon-target::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.icon-check::before {
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg) translate(1px, -2px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.timeline li {
  padding: 22px;
  border-left: 2px solid var(--blue);
  background: var(--mist);
}

.timeline span {
  color: var(--blue-text);
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-top: 16px;
  color: var(--navy);
}

.dashboard-wide {
  padding: 28px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.portal-card {
  min-height: 140px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fdff;
}

.portal-card.large {
  grid-column: span 2;
}

.line-chart {
  display: flex;
  height: 160px;
  align-items: end;
  gap: 18px;
  margin-top: 16px;
}

.line-chart i {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(180deg, #caecff, #4fa9e8);
}

.line-chart i:nth-child(1) { height: 36%; }
.line-chart i:nth-child(2) { height: 44%; }
.line-chart i:nth-child(3) { height: 55%; }
.line-chart i:nth-child(4) { height: 72%; }
.line-chart i:nth-child(5) { height: 86%; }

.stat-card {
  text-align: center;
}

.stat-card strong {
  font-size: 3.8rem;
}

.price {
  color: var(--navy) !important;
  font-size: 2rem !important;
  font-weight: 800;
}

.price-card.featured {
  background: linear-gradient(180deg, #ffffff, #eaf7ff);
  border-color: #9ed2f5;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue-text);
  font-weight: 900;
  content: "\2713";
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 26px;
  align-items: start;
}

.contact-form,
.contact-card {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--slate);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--slate);
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 3px;
}

.section-dark :is(a, button, input, select, textarea, summary):focus-visible {
  outline-color: var(--ice);
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.legal-page .page-hero {
  min-height: 0;
  padding: 64px 0 0;
  background: none;
}

.legal-page .page-hero + .section {
  padding-top: 0;
}

.legal-page .legal-updated {
  margin: 20px 0 24px;
  font-size: 0.92rem;
  color: var(--slate);
}

.legal-copy > p:first-child {
  margin-top: 0;
}

.legal-copy {
  max-width: 850px;
}

.legal-copy h2 {
  margin-top: 34px;
}

.site-footer {
  isolation: isolate;
  padding: 36px 0;
  color: #d8ebf7;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--navy);
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
}

.footer-brand-mark img {
  width: 210px;
  height: auto;
  /* Let the footer navy show through the generated logo's black backdrop. */
  mix-blend-mode: lighten;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ice);
}

.full-height {
  min-height: 100vh;
}

@media (max-width: 900px) {
  .hero-grid > *,
  .split > *,
  .contact-layout > * {
    min-width: 0;
  }

  .site-header {
    align-items: center;
  }

  .js .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .js .site-nav:not(.is-open) {
    display: none;
  }

  html:not(.js) .site-header {
    flex-wrap: wrap;
  }

  html:not(.js) .site-nav {
    position: static;
    flex: 1 0 100%;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-grid,
  .split,
  .contact-layout,
  .callout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 72px;
  }

  .timeline,
  .feature-grid,
  .cards-three,
  .pricing-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .portal-card.large {
    grid-column: span 1;
  }

  .footer-inner,
  .preview-header,
  .panel-head,
  .callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .brand-logo {
    width: 136px;
  }

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

  .dashboard-preview,
  .dashboard-wide,
  .contact-form,
  .contact-card,
  .price-card,
  .feature-card,
  .stat-card,
  .legal-note {
    padding: 20px;
  }
}



.tutor-list {
  display: grid;
  gap: 48px;
}

.tutor-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.tutor-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.tutor-info h3 {
  margin: 4px 0 2px;
  color: var(--navy);
  font-size: 1.3rem;
}

.tutor-info p {
  margin: 0;
}

.tutor-score {
  color: var(--blue-text);
  font-weight: 800;
}

.tutor-info .tutor-bio {
  margin-top: 12px;
  color: #425f82;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.score-report-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.score-report {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.score-report th,
.score-report td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.score-report thead th {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ice);
}

.score-report tbody th {
  width: 34%;
  color: var(--navy);
  font-weight: 700;
  text-align: left;
  line-height: 1.35;
}

.score-report td {
  color: #425f82;
}

.score-report .score-num {
  color: var(--navy);
  font-weight: 800;
}

.score-report .score-total th,
.score-report .score-total td {
  border-bottom: 0;
  color: var(--navy);
  font-weight: 800;
  background: #eef7fd;
}

.score-report th.score-profile,
.score-report td.score-profile {
  width: 30%;
}

.profile-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  letter-spacing: 0;
}

.profile-scale {
  position: relative;
  height: 14px;
  border-right: 2px solid var(--navy);
  border-left: 2px solid var(--navy);
  background: linear-gradient(var(--navy), var(--navy)) center / 100% 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 25% 50% / 2px 10px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 50% 50% / 2px 14px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 75% 50% / 2px 10px no-repeat;
}

.profile-marker {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid var(--navy);
  background: var(--blue);
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 900px) {
  .tutor-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tutor-photo {
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  .score-report .score-profile,
  .score-report .hide-sm,
  .score-report .sec-full,
  .profile-legend {
    display: none;
  }

  .score-report th,
  .score-report td {
    padding: 12px 10px;
  }
}

.tracking-report {
  margin-top: 24px;
  box-shadow: none;
}

.score-report .sec-short {
  display: none;
}

@media (max-width: 640px) {
  .score-report .sec-short {
    display: inline;
  }
}

.score-report .score-change {
  color: var(--success);
  font-weight: 800;
}

.profile-range {
  position: absolute;
  top: 50%;
  height: 6px;
  background: var(--blue);
  opacity: 0.45;
  transform: translateY(-50%);
}

.profile-marker.is-start,
.legend-marker.is-start {
  background: var(--white);
}

.tracking-notes {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.profile-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  color: var(--slate);
  font-size: 0.88rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-marker {
  width: 11px;
  height: 11px;
  border: 1px solid var(--navy);
  background: var(--blue);
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .profile-legend {
    display: none;
  }

  .tracking-report .score-report th,
  .tracking-report .score-report td {
    padding: 12px 6px;
    font-size: 0.85rem;
  }

  .tracking-report .score-report thead th {
    font-size: 0.7rem;
    letter-spacing: 0;
  }
}

.profile-marker.is-max {
  width: 14px;
  height: 20px;
  border: 0;
  background: var(--navy);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: translate(calc(-100% + 2px), -50%);
  z-index: 1;
}

.profile-marker.is-max::after {
  position: absolute;
  inset: 2px 1px 2px 2px;
  background: var(--blue);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  content: "";
}

.trend-card {
  margin-top: 24px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.trend-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.trend-delta {
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 800;
}

.trend-chart {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: 220px auto;
  margin-top: 28px;
}

.trend-y {
  position: relative;
}

.trend-y span {
  position: absolute;
  right: 10px;
  color: var(--slate);
  font-size: 0.78rem;
  transform: translateY(50%);
}

.trend-plot {
  position: relative;
  border-bottom: 2px solid var(--navy);
  border-left: 2px solid var(--navy);
}

.trend-plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trend-grid line {
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.trend-area {
  fill: var(--blue);
  opacity: 0.12;
}

.trend-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.trend-point {
  position: absolute;
  width: 0;
  height: 0;
}

.trend-point i {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--navy);
  background: var(--blue);
  transform: translate(-50%, -50%) rotate(45deg);
}

.trend-point.is-start i {
  background: var(--white);
}

.trend-point.is-latest i {
  width: 15px;
  height: 15px;
}

.trend-point b {
  position: absolute;
  bottom: 12px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.trend-x {
  position: relative;
  grid-column: 2;
  height: 28px;
}

.trend-x > span {
  position: absolute;
  top: 8px;
  color: var(--slate);
  font-size: 0.78rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .trend-card {
    padding: 18px 14px 14px;
  }

  .trend-chart {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: 180px auto;
  }

  .trend-x > span,
  .trend-y span {
    font-size: 0.68rem;
  }
}

.trend-point.is-start b {
  transform: translateX(-15%);
}

.trend-x > span:first-child {
  transform: translateX(-25%);
}

.trend-x .x-short {
  display: none;
}

@media (max-width: 640px) {
  .trend-x .x-full {
    display: none;
  }

  .trend-x .x-short {
    display: inline;
  }
}

@media (max-width: 640px) {
  .spark-one {
    display: none;
  }
}

.trend-compact {
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: 170px auto;
  margin: 26px 0 8px;
}

.trend-target {
  stroke: var(--success);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  vector-effect: non-scaling-stroke;
}

.trend-target-label {
  position: absolute;
  left: 6px;
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
  transform: translateY(-4px);
}

.trend-point b {
  padding: 0 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
}

.footer-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-meta p {
  margin: 0;
  color: #b9cfe0;
  font-size: 0.82rem;
}

.results-link {
  margin: 22px 0 0;
}

.section-light .check-list + .button {
  margin-top: 22px;
}

section[id] {
  scroll-margin-top: 90px;
}

.contact-email {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #425f82;
}

/* Student login and account pages */
[hidden] {
  display: none !important;
}

.login-layout {
  display: grid;
  max-width: 520px;
  gap: 16px;
}

.login-card h2,
.account-grid .contact-form h2,
.admin-form h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.login-help {
  margin: 0;
  color: #425f82;
}

.text-button {
  justify-self: start;
  padding: 4px 0;
  border: 0;
  color: var(--blue-text);
  background: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.text-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.account-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.content-page .page-hero .account-email {
  margin-top: 10px;
  color: var(--slate);
  font-size: 0.95rem;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.account-grid .trend-card {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.section-inputs label {
  font-size: 0.85rem;
}

.score-total-preview {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.empty-note {
  margin: 12px 0 0;
  color: var(--slate);
}

.history-heading {
  margin-top: 56px;
}

.history-table {
  margin-top: 20px;
}

.history-table .score-report tbody th {
  width: auto;
}

.score-report .score-change.is-down {
  color: #a43a3a;
}

.admin-form {
  max-width: 760px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }

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

.google-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid #747775;
  border-radius: 999px;
  color: #1f1f1f;
  background: #ffffff;
  font-family: Roboto, Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.google-button:hover {
  background: #f2f6fb;
}

.google-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.dev-login {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px dashed var(--slate);
  border-radius: 8px;
}

.login-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.login-split .login-layout {
  max-width: none;
}

.login-preview {
  display: grid;
  gap: 14px;
}

.login-preview .trend-card {
  margin-top: 0;
}

.login-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.login-preview-head h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .login-split {
    grid-template-columns: 1fr;
  }
}

.page-hero .wide-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 6.3vw, 5.1rem);
}
