/* recweave.com, built to docs/product/screens/marketing/M01-Landing.html. Brand values from
   docs/product/brand (midnight, cobalt, lime, ink; Poppins headings, Inter body). */

:root {
  --midnight: linear-gradient(105deg, #05116f 0%, #08168a 55%, #0d2bd4 130%);
  --cobalt: #0d2bd4;
  --lime: #c6ff00;
  --ink: #0a1442;
  --mist: #f7f8fc;
  --body-ink: #3d456e;
  --on-dark: #dce1ff;
  --on-glass: #c9d2ff;
  --heading: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--mist);
  font-family: var(--body);
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
/* Lime can't be seen on white or mist, so focus on the light sections is cobalt. */
.light a:focus-visible,
.light summary:focus-visible {
  outline-color: var(--cobalt);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

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

/* One midnight panel behind the top bar and the hero. The page is a one-column grid so the panel
   can span the header's row and the hero's row while <header> and <main> stay separate landmarks. */
.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.page > .midnight-top {
  grid-column: 1;
  grid-row: 1 / 3;
}
.page > header {
  grid-column: 1;
  grid-row: 1;
  position: relative;
}
.page > main {
  grid-column: 1;
  grid-row: 2 / span 2;
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
}
.page > footer {
  grid-column: 1;
  grid-row: 4;
}

.midnight {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
}
.decor {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.decor-hero {
  bottom: -8%;
  opacity: 0.9;
}
.decor-band {
  bottom: -34%;
}

/* Top bar */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.topbar-logo {
  display: flex;
}
.topbar-logo img {
  height: 34px;
  width: auto;
  display: block;
}
.topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.navlink {
  font-size: 15px;
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
}
.signin {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}
@media (max-width: 720px) {
  .navlink {
    display: none;
  }
}

/* Buttons */
.btn {
  font-family: var(--body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.btn-lime {
  background: var(--lime);
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 120px;
}
.hero-text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.eyebrow {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
.hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero-line {
  margin: 0;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--on-dark);
  max-width: 540px;
}
.hero-art {
  flex: 1 1 440px;
  min-width: 0;
}
.glass-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
  margin-left: auto;
}
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(2, 6, 60, 0.45);
}
.glass-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-glass);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 96px;
  margin-top: 18px;
}
.bars span {
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.25);
}
.bars span:nth-child(1) {
  height: 34px;
}
.bars span:nth-child(2) {
  height: 52px;
}
.bars span:nth-child(3) {
  height: 46px;
}
.bars span:nth-child(4) {
  height: 70px;
}
.bars span:nth-child(5) {
  height: 64px;
  background: #5a88fc;
}
.bars span:nth-child(6) {
  height: 92px;
  background: var(--lime);
}
.glass-indent-left {
  margin-left: 48px;
}
.glass-indent-right {
  margin-right: 48px;
}
.glass-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.glass-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: rgba(255, 255, 255, 0.14);
}
.glass-icon.lime {
  background: var(--lime);
}
.glass-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.glass-title {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
}
.glass-sub {
  font-size: 15px;
  color: var(--on-glass);
}

/* Light sections */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
}
.section h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  color: var(--ink);
}
.section p {
  margin: 0;
  color: var(--body-ink);
}
.season {
  background: var(--mist);
}
.season .section {
  gap: 48px;
}
.season-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.season-intro p {
  font-size: 18px;
  line-height: 1.55;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: #ffffff;
  border: 1px solid #e3e5f0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card h3 {
  font-size: 22px;
  line-height: 1.25;
}
.card p,
.person p {
  font-size: 16px;
  line-height: 1.55;
}
.people {
  background: #ffffff;
}
.people .section {
  gap: 44px;
}
.people h2 {
  max-width: 760px;
}
.people .grid3 {
  gap: 36px;
}
.person {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.person-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.person h3 {
  font-size: 20px;
}

/* Your school leads */
.school-inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.phone-col {
  flex: 0 1 320px;
  min-width: 0;
  margin: 0 auto;
}
.phone {
  width: 300px;
  max-width: 100%;
  border: 10px solid #111426;
  border-radius: 44px;
  background: #eef0f5;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(2, 6, 60, 0.6);
  margin: 0 auto;
}
.phone-head {
  background: #a11d33;
  padding: 34px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-tile {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.phone-school {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 26px;
  color: #ffffff;
}
.phone-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-time {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}
.phone-line {
  height: 10px;
  border-radius: 5px;
  background: #e4e7ee;
}
.phone-button {
  height: 40px;
  border-radius: 10px;
  background: #a11d33;
}
.school-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.school-text h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
}
.school-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-dark);
}
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.5;
  color: #ffffff;
}
.ticks svg {
  flex: none;
  margin-top: 2px;
}

/* Demo band */
.demo {
  background: var(--mist);
}
.demo-outer {
  padding-top: 88px;
  padding-bottom: 88px;
}
.demo-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--cobalt);
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.demo-text {
  position: relative;
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo-text h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  color: #ffffff;
}
.demo-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #e4e8ff;
}
/* Footer */
.site-footer {
  background: var(--ink);
}
.footer-top {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--lime);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a {
  font-size: 15px;
  color: #c7cbe6;
  text-decoration: none;
}
.footer-legal {
  padding-bottom: 40px;
}
.footer-legal p {
  margin: 0;
  font-size: 14px;
  color: #9aa0c8;
}

/* Privacy, Terms and the not-found page: the top bar, one line, the footer. */
.note {
  padding-top: 96px;
  padding-bottom: 96px;
}
.note p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body-ink);
}
.note a {
  color: var(--cobalt);
}
.subpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.subpage > main {
  flex: 1;
}

/* Founding programs, FAQ, who's behind Recweave (T-499) */
.eyebrow.cobalt {
  color: var(--cobalt);
}
.founding,
.about {
  background: #ffffff;
}
.founding-inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.founding-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.founding h2,
.faq h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.founding-text p:not(.eyebrow) {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body-ink);
}
.steps {
  flex: 1 1 420px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.step-number {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps b {
  font-family: var(--heading);
  font-weight: 600;
}
.steps b + br + span {
  color: var(--body-ink);
}

.faq {
  background: var(--mist);
}
.faq-inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.faq-title {
  flex: 1 1 300px;
  min-width: 0;
}
.faq-list {
  flex: 2 1 560px;
  min-width: 0;
  border-top: 1px solid #e3e5f0;
}
.faq details {
  border-bottom: 1px solid #e3e5f0;
  padding: 20px 0;
}
.faq summary {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  cursor: pointer;
  list-style-position: outside;
}
.faq details p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-ink);
  max-width: 760px;
}

.about-outer {
  padding-top: 88px;
  padding-bottom: 88px;
}
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
}
.about h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about-inner p:not(.eyebrow) {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-ink);
}

/* The demo request form (T-499) */
.demo-form,
.demo-thanks {
  position: relative;
  flex: 1 1 440px;
  min-width: 0;
}
.demo-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}
.field input,
.field select {
  font-family: var(--body);
  font-size: 16px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #ffffff;
  color: var(--ink);
}
.field input[aria-invalid='true'] {
  border-color: #ffb4c0;
  box-shadow: 0 0 0 2px #ffb4c0;
}
.field-error,
.form-failure {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffd9df;
}
.form-failure {
  grid-column: 1 / -1;
  font-size: 15px;
}
.form-failure a,
.demo-thanks a:not(.btn) {
  color: #ffffff;
}
.form-action {
  display: flex;
  align-items: flex-end;
}
.form-action button {
  font-family: var(--body);
  background: var(--lime);
  color: var(--ink);
  border: 0;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.form-action button:disabled {
  cursor: progress;
  opacity: 0.8;
}
.turnstile {
  position: absolute;
  right: 0;
  bottom: 0;
}
.demo-thanks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.demo-thanks p {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: #ffffff;
}
.demo-thanks:focus {
  outline: none;
}
