* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #15151f;
  background: #f7faf8;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  min-height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe7e3;
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.site-nav {
  gap: 22px;
  color: #595b66;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  color: #14161c;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
}

.nav-cta {
  padding: 0 16px;
  color: #ffffff;
  background: #15151f;
}

.hero {
  min-height: calc(82vh - 72px);
  padding: 72px 32px 44px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.95) 0%, rgba(247, 250, 248, 0.78) 48%, rgba(247, 250, 248, 0.25) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.hero.education-hero {
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.96) 0%, rgba(247, 250, 248, 0.82) 52%, rgba(247, 250, 248, 0.34) 100%),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.hero-copy,
.content-section,
.trust-band,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy {
  margin-left: max(0px, calc((100vw - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: #276453;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  color: #31343d;
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: #ffffff;
  background: #15151f;
}

.button.secondary {
  color: #15151f;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(21, 21, 31, 0.18);
}

.demo-label {
  margin-bottom: 8px;
  color: #6f7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.example-pane p {
  margin-bottom: 0;
  color: #242731;
  font-size: 16px;
  line-height: 1.6;
}

.trust-band {
  padding: 26px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-bottom: 1px solid #dfe7e3;
}

.trust-band div {
  display: grid;
  gap: 6px;
}

.trust-band strong {
  font-size: 15px;
}

.trust-band span {
  color: #676a74;
  line-height: 1.5;
}

.content-section {
  padding: 78px 32px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  border-bottom: 1px solid #dfe7e3;
}

.section-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p {
  color: #565965;
  font-size: 18px;
  line-height: 1.65;
}

.use-case-grid {
  display: grid;
  gap: 14px;
}

.study-flow {
  display: grid;
  gap: 12px;
  counter-reset: study-step;
}

.study-flow article {
  position: relative;
  padding: 22px 22px 22px 68px;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  background: #ffffff;
}

.study-flow article::before {
  counter-increment: study-step;
  content: counter(study-step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #276453;
  font-size: 13px;
  font-weight: 800;
}

.study-flow h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.study-flow p {
  margin-bottom: 0;
  color: #626570;
  line-height: 1.6;
}

.example-stack {
  display: grid;
  align-content: start;
}

.rewrite-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.example-pane {
  min-height: 220px;
  padding: 24px;
}

.example-pane.after {
  border-left: 1px solid #b9d8cd;
  background: #f3fbf7;
}

.example-score {
  grid-column: 1 / -1;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #276453;
  background: #e9f7f2;
  border-top: 1px solid #cfe8df;
  font-size: 14px;
  line-height: 1.5;
}

.example-score strong {
  color: #153d34;
}

.use-case-grid article {
  padding: 22px;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  background: #ffffff;
}

.use-case-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.use-case-grid p,
.faq-list p {
  margin-bottom: 0;
  color: #626570;
  line-height: 1.6;
}

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

details {
  padding: 20px 22px;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  background: #ffffff;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  padding-top: 12px;
}

.site-footer {
  padding: 28px 32px 40px;
  display: flex;
  justify-content: space-between;
  color: #676a74;
  font-size: 14px;
}

.site-footer span {
  color: #15151f;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 18px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 46px 18px 28px;
    background:
      linear-gradient(90deg, rgba(247, 250, 248, 0.96), rgba(247, 250, 248, 0.78)),
      url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80");
  }

  .hero.education-hero {
    background:
      linear-gradient(90deg, rgba(247, 250, 248, 0.96), rgba(247, 250, 248, 0.8)),
      url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80");
  }

  .hero-copy {
    margin: 0;
  }

  h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .hero-text {
    font-size: 18px;
  }

  .trust-band,
  .content-section {
    padding-left: 18px;
    padding-right: 18px;
    grid-template-columns: 1fr;
  }

  .content-section {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 24px;
  }

  .rewrite-example,
  .example-score,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .example-score {
    align-items: flex-start;
  }

  .example-pane {
    min-height: auto;
  }

  .example-pane.after {
    border-left: 0;
    border-top: 1px solid #b9d8cd;
  }

  .study-flow article {
    padding: 20px;
  }

  .study-flow article::before {
    position: static;
    margin-bottom: 14px;
  }
}
