/* Coursework calls to action; loaded after mobile-ui.css. */
.site-header nav a.coursework-mobile-cta {
  display:none;
}
.header.site-header .header-actions>a.coursework-header-cta {
  min-height:46px;
  padding:13px 17px;
  gap:10px;
  white-space:normal;
  text-align:center;
  line-height:1.35;
  max-width:270px;
}
.header.site-header .coursework-header-cta cms-text {
  min-width:0;
}

/* The main order action stays visible before the secondary directions. */
.page-home .hero.coursework-hero {
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:42px;
  min-height:0;
  padding-top:48px;
  padding-bottom:46px;
}
.page-home .hero.coursework-hero .hero-copy {
  min-width:0;
}
.page-home .hero.coursework-hero h1 {
  font-size:clamp(44px,5.1vw,74px);
  font-weight:600;
  line-height:1.09;
  letter-spacing:-2.7px;
  margin:22px 0;
  max-width:100%;
  overflow-wrap:break-word;
}
.page-home .hero.coursework-hero h1 em {
  display:inline-block;
  max-width:100%;
  padding:.01em .17em .08em;
  margin-top:.08em;
  border-radius:12px;
  background:#c7ff71;
  color:#172012;
  font-style:normal;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.page-home .hero.coursework-hero p {
  font-size:16px;
  line-height:1.75;
  max-width:510px;
}
.page-home .hero.coursework-hero .actions {
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
  align-items:stretch;
}
.page-home .hero.coursework-hero .actions .button {
  min-width:0;
  min-height:54px;
  font-size:13px;
  line-height:1.4;
  padding:15px 18px;
  gap:12px;
  white-space:normal;
  text-align:center;
}
.page-home .hero.coursework-hero .coursework-urgent-button {
  border:1px solid #c7ff71;
  background:#c7ff71;
  color:#172012;
  font-weight:800;
  box-shadow:0 6px 22px #c7ff7114;
}
.page-home .hero.coursework-hero .coursework-urgent-button cms-text {
  min-width:0;
}
.page-home .hero.coursework-hero .explain-link {
  margin-top:22px;
  font-size:13px;
  gap:12px;
}
.page-home .hero.coursework-hero .explain-link>span:last-child {
  min-width:0;
}
.page-home .hero.coursework-hero .explain-link strong {
  color:#d0c2f7;
}

/* Three routes are distinct: custom project, task, and ready material. */
.page-home .services-priority {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.page-home .services-priority .mechanics-service {
  min-width:0;
  display:flex;
  flex-direction:column;
}
.page-home .services-priority .mechanics-service .service-image {
  height:240px;
  aspect-ratio:auto;
  padding:12px;
}
.page-home .services-priority .mechanics-service .service-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  transform:none;
}
.page-home .services-priority .mechanics-service .service-image .tag {
  max-width:calc(100% - 32px);
  left:16px;
  top:16px;
  white-space:normal;
  line-height:1.4;
}
.page-home .services-priority .mechanics-service .service-copy {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  padding:24px;
}
.page-home .services-priority .mechanics-service .service-copy h3 {
  font-size:clamp(25px,2.2vw,31px);
  line-height:1.2;
  letter-spacing:-.7px;
  margin:0 0 14px;
  overflow-wrap:break-word;
}
.page-home .services-priority .mechanics-service .service-copy p {
  font-size:13px;
  line-height:1.75;
  margin:0;
}
.page-home .services-priority .quick-task-meta {
  margin:18px 0 22px;
}
.page-home .services-priority .service-bottom {
  margin-top:auto;
  padding-top:20px;
  gap:12px;
}
.page-home .services-priority .service-bottom strong {
  font-size:13px;
  line-height:1.45;
}
.page-home .services-priority .coursework-service {
  border-color:#729849;
  background:linear-gradient(145deg,#222a1b,#191d19 58%);
}
.page-home .services-priority .coursework-service .service-image {
  background:#e9e5f0;
}
.page-home .services-priority .coursework-service .service-image .tag {
  background:#c7ff71;
  border-color:#c7ff71;
  color:#172012;
  font-weight:800;
}
.page-home .services-priority .coursework-service .service-bottom strong {
  color:#d4ff96;
}
.page-home .services-priority .coursework-service .circle {
  background:#c7ff71;
  color:#172012;
}

/* The destination repeats the same order hierarchy without changing checkout. */
.page-ask .ask-order-section h1 {
  max-width:900px;
  font-size:clamp(38px,4.2vw,56px);
  line-height:1.12;
  letter-spacing:-1.8px;
  overflow-wrap:break-word;
}
.coursework-urgent-button:focus-visible,
.coursework-header-cta:focus-visible,
.site-header nav a.coursework-mobile-cta:focus-visible,
.page-home .services-priority .coursework-service:focus-visible {
  outline:3px solid #f3f3ee;
  outline-offset:4px;
}

@media(max-width:1200px) {
  .header.site-header {
    flex-wrap:wrap;
    gap:14px 22px;
  }
  .header.site-header .header-actions {
    margin-left:auto;
  }
  .header.site-header nav {
    order:3;
    flex:1 0 100%;
    width:100%;
    margin:0;
    justify-content:center;
    gap:20px;
  }
  .page-home .hero.coursework-hero {
    gap:28px;
  }
  .page-home .hero.coursework-hero h1 {
    font-size:clamp(42px,5.1vw,62px);
    letter-spacing:-2px;
  }
}

@media(max-width:1000px) and (min-width:761px) {
  .page-home .services-priority {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .page-home .services-priority .coursework-service {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  }
  .page-home .services-priority .coursework-service .service-image {
    height:100%;
    min-height:260px;
  }
}

@media(max-width:760px) {
  .header.site-header {
    gap:12px;
  }
  .header.site-header .header-actions>a.coursework-header-cta {
    display:none;
  }
  .header.site-header nav {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    padding-top:10px;
  }
  .site-header nav a.coursework-mobile-cta {
    display:flex;
    grid-column:1/-1;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:0;
    min-height:48px;
    padding:12px 14px;
    border:1px solid #c7ff71;
    border-radius:10px;
    background:#c7ff71;
    color:#172012;
    font-size:13px;
    font-weight:800;
    line-height:1.4;
    white-space:normal;
    text-align:center;
  }
  .site-header nav a.coursework-mobile-cta cms-text {
    min-width:0;
  }
  .site-header nav a.coursework-mobile-cta>svg,
  .site-header nav a.coursework-mobile-cta>span>svg {
    flex-shrink:0;
  }
  .page-home .hero.coursework-hero {
    grid-template-columns:minmax(0,1fr);
    gap:20px;
    padding-top:26px;
    padding-bottom:30px;
  }
  .page-home .hero.coursework-hero h1 {
    font-size:clamp(34px,9.2vw,46px);
    letter-spacing:-1.2px;
    line-height:1.12;
    margin:18px 0;
  }
  .page-home .hero.coursework-hero h1 em {
    border-radius:9px;
    padding:.02em .17em .1em;
  }
  .page-home .hero.coursework-hero p {
    font-size:14px;
    line-height:1.7;
    max-width:100%;
  }
  .page-home .hero.coursework-hero .desktop-break {
    display:none;
  }
  .page-home .hero.coursework-hero .actions {
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
  }
  .page-home .hero.coursework-hero .actions .button {
    min-height:50px;
    padding:13px 15px;
    font-size:13px;
    flex:1 1 150px;
  }
  .page-home .hero.coursework-hero .actions .coursework-urgent-button {
    flex-basis:100%;
    min-height:54px;
    font-size:14px;
  }
  .page-home .hero.coursework-hero .explain-link {
    font-size:12px;
    line-height:1.65;
    margin-top:18px;
  }
  .page-home .hero.coursework-hero .hero-art {
    min-height:0;
    height:240px;
    margin:0;
    overflow:hidden;
  }
  .page-home .hero.coursework-hero .hero-art img {
    width:100%;
    height:100%;
    object-fit:cover;
    transform:none;
  }
  .page-home .services-priority {
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  .page-home .services-priority .mechanics-service {
    grid-column:auto;
    display:flex;
  }
  .page-home .services-priority .mechanics-service .service-image {
    height:clamp(180px,51vw,210px);
    min-height:0;
    padding:10px;
  }
  .page-home .services-priority .mechanics-service .service-copy {
    padding:20px;
  }
  .page-home .services-priority .mechanics-service .service-copy h3 {
    font-size:25px;
    line-height:1.22;
    letter-spacing:-.5px;
    margin-bottom:12px;
  }
  .page-home .services-priority .quick-task-meta {
    margin:16px 0 18px;
    gap:6px;
  }
  .page-home .services-priority .service-bottom {
    padding-top:14px;
  }
  .page-ask .ask-order-section h1 {
    font-size:clamp(30px,8.7vw,38px);
    line-height:1.16;
    letter-spacing:-.8px;
  }
}

@media(max-width:360px) {
  .site-header nav a.coursework-mobile-cta {
    font-size:12px;
    padding-inline:10px;
  }
  .page-home .hero.coursework-hero h1 {
    font-size:34px;
  }
  .page-home .services-priority .mechanics-service .service-copy {
    padding:18px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .coursework-urgent-button,
  .coursework-header-cta,
  .site-header nav a.coursework-mobile-cta,
  .page-home .hero.coursework-hero .hero-art img,
  .page-home .services-priority .service,
  .page-home .services-priority .service img {
    animation:none!important;
    transition:none!important;
  }
  .coursework-urgent-button:hover,
  .coursework-header-cta:hover,
  .site-header nav a.coursework-mobile-cta:hover,
  .page-home .services-priority .service:hover,
  .page-home .services-priority .service:hover img {
    transform:none!important;
  }
}
