:root {
  --study-bg: #fff;
  --study-ink: #17202a;
  --study-muted: #718092;
  --study-line: #e2e9ed;
  --study-soft: #f5f8f7;
  --study-green: #31d17d;
  --study-green-dark: #0dbd6f;
  --study-green-soft: #e4faef;
  --study-shadow: 0 28px 80px rgba(23, 32, 42, 0.11);
  --study-page: 1180px;
}

* {
  box-sizing: border-box;
}

.study-body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--study-ink);
  background:
    linear-gradient(rgba(226, 233, 237, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 233, 237, 0.42) 1px, transparent 1px),
    #fff;
  background-size: 72px 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.study-body a {
  color: inherit;
  text-decoration: none;
}

.study-body button,
.study-body input,
.study-body textarea,
.study-body select {
  font: inherit;
}

.study-header {
  position: relative;
  z-index: 20;
  width: min(100%, var(--study-page));
  min-height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.study-header-compact {
  min-height: 72px;
  border-bottom: 1px solid rgba(226, 233, 237, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.study-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.study-brand b {
  color: var(--study-green-dark);
}

.study-brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--study-ink);
  border-radius: 9px;
  color: var(--study-green-dark);
  transform: rotate(-7deg);
}

.study-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 750;
}

.study-header-cta {
  padding: 11px 17px;
  border-radius: 10px;
  background: var(--study-ink);
  color: #fff !important;
}

.study-exit-link,
.study-paper-header-status {
  color: var(--study-muted);
  font-size: 13px;
  font-weight: 750;
}

.study-paper-header-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.study-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--study-green);
  box-shadow: 0 0 0 5px var(--study-green-soft);
}

.study-hero {
  width: min(calc(100% - 48px), var(--study-page));
  min-height: 710px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 76px;
}

.study-hero-copy h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.study-hero-copy h1 strong {
  color: var(--study-green-dark);
}

.study-hero-copy > p {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--study-muted);
  font-size: 18px;
  line-height: 1.65;
}

.study-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.study-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.study-button:hover {
  transform: translateY(-2px);
}

.study-button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.study-button-dark {
  color: #fff !important;
  background: var(--study-ink);
  box-shadow: 0 14px 30px rgba(23, 32, 42, 0.16);
}

.study-button-light {
  border: 1px solid var(--study-line);
  background: #fff;
}

.study-proof-line {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  color: #536274;
  font-size: 12px;
  font-weight: 750;
}

.study-proof-line span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--study-green-dark);
  font-weight: 950;
}

.study-document-scene {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.study-document-scene::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 209, 125, 0.22), rgba(49, 209, 125, 0));
}

.study-document-sheet {
  position: relative;
  width: min(100%, 510px);
  min-height: 615px;
  padding: 52px 54px;
  border: 1px solid var(--study-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--study-shadow);
  transform: rotate(1.2deg);
}

.study-document-meta {
  color: var(--study-green-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.study-document-sheet h2 {
  margin: 16px 0 0;
  font: 700 31px/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

.study-document-summary,
.study-document-preview p {
  color: #596777;
  font: 15px/1.7 Georgia, "Times New Roman", serif;
}

.study-document-rule {
  height: 1px;
  margin: 28px 0;
  background: var(--study-line);
}

.study-document-sheet h3 {
  font: 700 18px Georgia, "Times New Roman", serif;
}

.study-document-sheet ol {
  padding: 0;
  list-style: none;
}

.study-document-sheet li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  color: #3c4855;
  font: 14px Georgia, "Times New Roman", serif;
}

.study-document-preview {
  position: relative;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--study-line);
}

.study-document-lock {
  margin-top: -2px;
  padding: 15px;
  border: 1px solid #bcefd4;
  border-radius: 10px;
  color: #087e4a;
  background: var(--study-green-soft);
  text-align: center;
  font-size: 13px;
  font-weight: 850;
}

.study-how {
  padding: 110px max(24px, calc((100% - var(--study-page)) / 2));
  background: var(--study-ink);
  color: #fff;
}

.study-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.study-section-title h2,
.study-bottom-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.study-section-title p {
  margin: 0;
  color: #94a1ae;
}

.study-how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: #35404c;
}

.study-how-steps article {
  min-height: 250px;
  padding: 36px;
  background: var(--study-ink);
}

.study-how-steps span {
  color: var(--study-green);
  font-size: 12px;
  font-weight: 900;
}

.study-how-steps h3 {
  margin: 76px 0 12px;
  font-size: 22px;
}

.study-how-steps p {
  margin: 0;
  color: #94a1ae;
  line-height: 1.6;
}

.study-bottom-cta {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 80px 24px;
  text-align: center;
}

/* Wizard */
.study-wizard-body {
  min-height: 100vh;
}

.study-wizard {
  width: min(calc(100% - 48px), 1060px);
  margin: 0 auto;
  padding: 34px 0 80px;
}

.study-progress {
  max-width: 620px;
  margin: 0 auto 66px;
  display: flex;
  align-items: center;
}

.study-progress span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a1adb9;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.study-progress span b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--study-line);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
}

.study-progress span.is-active,
.study-progress span.is-done {
  color: var(--study-ink);
}

.study-progress span.is-active b,
.study-progress span.is-done b {
  border-color: var(--study-green);
  background: var(--study-green);
  color: #fff;
}

.study-progress i {
  width: 100%;
  height: 1px;
  margin: 0 14px;
  background: var(--study-line);
}

.study-wizard-step {
  display: none;
}

.study-wizard-step.is-active {
  display: block;
  animation: study-fade-in 300ms ease both;
}

.study-wizard-heading {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.study-wizard-heading > span,
.study-paper-intro > span,
.study-checkout-heading > span,
.study-dialog-head span {
  color: var(--study-green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.study-wizard-heading h1 {
  margin: 11px 0 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.study-wizard-heading p {
  margin: 16px 0 0;
  color: var(--study-muted);
  font-size: 16px;
  line-height: 1.55;
}

.study-work-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.study-work-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--study-line);
  border-radius: 15px;
  color: var(--study-ink);
  background: rgba(255, 255, 255, 0.94);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.study-work-card:hover,
.study-work-card.is-selected {
  border-color: var(--study-green);
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.09);
  transform: translateY(-3px);
}

.study-work-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #087e4a;
  background: var(--study-green-soft);
  font-size: 11px;
  font-weight: 900;
}

.study-work-card strong {
  margin-top: auto;
  font-size: 17px;
  line-height: 1.2;
}

.study-work-card small {
  margin-top: 7px;
  color: var(--study-muted);
  font-size: 12px;
}

.study-work-card i {
  position: absolute;
  right: 18px;
  top: 22px;
  color: #a7b1bb;
  font-style: normal;
}

.study-back {
  margin-bottom: -20px;
  border: 0;
  color: var(--study-muted);
  background: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.study-search-field,
.study-topic-form,
.study-title-dialog form {
  display: block;
}

.study-search-field {
  max-width: 720px;
  margin: 0 auto 18px;
}

.study-search-field span,
.study-topic-form label > span,
.study-title-dialog label > span {
  display: block;
  margin-bottom: 8px;
  color: #536274;
  font-size: 12px;
  font-weight: 800;
}

.study-search-field input,
.study-topic-form input,
.study-topic-form textarea,
.study-topic-form select,
.study-title-dialog input {
  width: 100%;
  border: 1px solid var(--study-line);
  border-radius: 11px;
  outline: 0;
  color: var(--study-ink);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.study-search-field input {
  height: 54px;
  padding: 0 18px;
}

.study-search-field input:focus,
.study-topic-form input:focus,
.study-topic-form textarea:focus,
.study-topic-form select:focus,
.study-title-dialog input:focus {
  border-color: var(--study-green);
  box-shadow: 0 0 0 4px rgba(49, 209, 125, 0.13);
}

.study-subject-picker {
  max-width: 720px;
  min-height: 330px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  border: 1px solid var(--study-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.07);
}

.study-subject-categories {
  padding: 10px;
  border-right: 1px solid var(--study-line);
  background: #f8faf9;
}

.study-subject-categories button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  color: #596777;
  background: transparent;
  text-align: left;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.study-subject-categories button.is-active {
  color: #087e4a;
  background: var(--study-green-soft);
}

.study-subject-list {
  padding: 16px;
  display: grid;
  align-content: start;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.study-subject-list button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #344151;
  background: #fff;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.study-subject-list button:hover {
  border-color: #bcefd4;
  background: #f4fcf8;
}

.study-custom-subject-toggle {
  display: block;
  margin: 18px auto 0;
  border: 0;
  color: var(--study-green-dark);
  background: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.study-topic-form {
  max-width: 660px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--study-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.08);
}

.study-topic-form textarea {
  min-height: 112px;
  padding: 15px;
  resize: vertical;
}

.study-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.study-topic-form select,
.study-title-dialog input {
  height: 50px;
  padding: 0 14px;
}

.study-page-control {
  height: 50px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  overflow: hidden;
  border: 1px solid var(--study-line);
  border-radius: 11px;
}

.study-page-control button {
  border: 0;
  color: #526172;
  background: #f7f9f8;
  font-size: 20px;
  cursor: pointer;
}

.study-page-control input {
  height: 48px;
  padding: 0;
  border-width: 0 1px;
  border-radius: 0;
  text-align: center;
}

.study-extra-fields {
  margin-top: 18px;
  border-top: 1px solid var(--study-line);
  padding-top: 18px;
}

.study-extra-fields summary {
  color: #445263;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.study-extra-fields label {
  margin-top: 16px;
}

.study-extra-fields textarea {
  min-height: 90px;
}

.study-form-error,
.study-checkout-error {
  min-height: 18px;
  margin: 14px 0 0;
  color: #bf3042;
  font-size: 12px;
  font-weight: 700;
}

.study-submit-button {
  width: 100%;
  margin-top: 5px;
}

.study-loading-step {
  min-height: 560px;
}

.study-loader {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.study-loader-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid #bcefd4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(49, 209, 125, 0.2);
}

.study-loader-mark span {
  width: 26px;
  height: 26px;
  border: 3px solid #c8f4dd;
  border-top-color: var(--study-green-dark);
  border-radius: 50%;
  animation: study-spin 800ms linear infinite;
}

.study-loader h1 {
  margin: 28px 0 0;
  font-size: 36px;
  letter-spacing: -0.035em;
}

.study-loader p {
  margin: 12px 0 0;
  color: var(--study-muted);
}

.study-loader-track {
  width: min(100%, 410px);
  height: 6px;
  margin: 28px 0 12px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8eeeb;
}

.study-loader-track span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: var(--study-green);
  transition: width 600ms ease;
}

.study-loader small {
  color: #9aa6b2;
}

.study-outline-step {
  width: min(100%, 1120px);
}

.study-outline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.study-outline-card {
  padding: 24px;
  border: 1px solid var(--study-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(23, 32, 42, 0.06);
}

.study-outline-card.is-selected {
  border-color: var(--study-green);
  box-shadow: 0 18px 50px rgba(49, 209, 125, 0.14);
}

.study-outline-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.study-outline-card-head span {
  color: var(--study-green-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.study-outline-select {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--study-line);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.study-outline-card.is-selected .study-outline-select {
  border-color: var(--study-green);
  color: #087e4a;
  background: var(--study-green-soft);
}

.study-outline-row {
  display: grid;
  grid-template-columns: 28px 1fr 32px;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.study-outline-row.is-child {
  padding-left: 26px;
}

.study-outline-row > span {
  color: #a1acb7;
  font-size: 11px;
  font-weight: 900;
}

.study-outline-row input {
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--study-line);
  border-radius: 8px;
  outline: 0;
  color: #374454;
  background: #fbfcfc;
  font-size: 13px;
}

.study-outline-row input:focus {
  border-color: var(--study-green);
  background: #fff;
}

.study-outline-row button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  color: #97a3af;
  background: #f3f6f5;
  cursor: pointer;
}

.study-outline-add {
  margin: 16px 0 0 36px;
  border: 0;
  color: var(--study-green-dark);
  background: none;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.study-outline-actions {
  max-width: 520px;
  margin: 26px auto 0;
  text-align: center;
}

/* Paper preview */
.study-paper-body {
  background-color: #f5f7f7;
}

.study-paper-layout {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 42px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 350px;
  gap: 42px;
  align-items: start;
}

.study-paper-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #728092;
  font-size: 12px;
  font-weight: 750;
}

.study-paper-sheet {
  overflow: hidden;
  border: 1px solid var(--study-line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(23, 32, 42, 0.1);
}

.study-paper-title-page {
  min-height: 490px;
  padding: 42px 64px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--study-line);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}

.study-paper-title-page > span {
  color: #667382;
  font-size: 14px;
}

.study-paper-title-page small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.study-paper-title-page h1 {
  max-width: 590px;
  margin: 14px auto;
  font-size: 32px;
  line-height: 1.22;
}

.study-paper-title-page p {
  color: #596777;
}

.study-paper-title-details {
  width: min(100%, 330px);
  margin-left: auto;
  color: #4c5967;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}

.study-paper-title-details p {
  margin: 3px 0;
  font-size: 13px;
}

.study-paper-title-details > span {
  display: block;
  margin-top: 14px;
  text-align: center;
}

.study-paper-title-page button {
  padding: 9px 13px;
  border: 1px solid var(--study-line);
  border-radius: 8px;
  color: #4d5c6d;
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.study-paper-content {
  padding: 64px;
  font-family: Georgia, "Times New Roman", serif;
}

.study-paper-intro {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--study-line);
}

.study-paper-intro h2 {
  margin: 10px 0 16px;
  font-size: 32px;
  line-height: 1.18;
}

.study-paper-intro p,
.study-paper-text p,
.study-paper-facts p {
  color: #465362;
  font-size: 16px;
  line-height: 1.8;
}

.study-paper-facts {
  display: grid;
  gap: 0;
  margin: 36px 0;
  border: 1px solid var(--study-line);
  border-radius: 10px;
}

.study-paper-facts article {
  padding: 20px 22px;
}

.study-paper-facts article + article {
  border-top: 1px solid var(--study-line);
}

.study-paper-facts span {
  color: var(--study-green-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.study-paper-facts p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.study-paper-outline,
.study-paper-text {
  margin-top: 50px;
}

.study-paper-outline h2,
.study-paper-text h2 {
  font-size: 24px;
}

.study-paper-outline ol {
  padding: 0;
  list-style: none;
}

.study-paper-outline li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px;
  padding: 7px 0;
  color: #394655;
  font-size: 14px;
}

.study-paper-outline li i {
  border-bottom: 1px dotted #a7b1ba;
}

.study-paper-outline li ol {
  grid-column: 1 / -1;
  padding-left: 24px;
}

.study-blur-zone {
  position: relative;
  min-height: 430px;
  margin: 30px -64px -64px;
  overflow: hidden;
}

.study-blur-copy {
  padding: 10px 64px 110px;
  filter: blur(5px);
  user-select: none;
  opacity: 0.46;
}

.study-blur-copy p {
  color: #566474;
  font-size: 16px;
  line-height: 1.8;
}

.study-blur-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), #fff 76%);
}

.study-unlock-card {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 38px;
  width: min(calc(100% - 48px), 560px);
  padding: 28px;
  border: 1px solid #bcefd4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 60px rgba(23, 32, 42, 0.13);
  text-align: center;
  transform: translateX(-50%);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.study-lock-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--study-ink);
  border-radius: 11px;
  color: var(--study-green-dark);
  font-weight: 900;
  transform: rotate(-7deg);
}

.study-unlock-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.study-unlock-card p {
  max-width: 440px;
  margin: 0 auto;
  color: var(--study-muted);
  font-size: 13px;
  line-height: 1.55;
}

.study-unlock-card .study-button {
  margin-top: 18px;
}

.study-disclaimer {
  color: #7e8b98;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.study-checkout-card {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 112px);
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--study-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.1);
  overflow: hidden;
}

.study-checkout-heading h2 {
  margin: 8px 0 0;
  font-size: 36px;
  letter-spacing: -0.035em;
}

.study-checkout-heading p {
  margin: 5px 0 0;
  color: var(--study-muted);
  font-size: 12px;
}

.study-check-list {
  margin: 22px 0;
  padding: 20px 0;
  border-top: 1px solid var(--study-line);
  border-bottom: 1px solid var(--study-line);
  list-style: none;
}

.study-check-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: #445263;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.study-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--study-green-dark);
  font-weight: 950;
}

.study-addon-list h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

.study-addon-list {
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.study-addon {
  display: grid;
  grid-template-columns: 19px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 11px 0;
  cursor: pointer;
}

.study-addon + .study-addon {
  border-top: 1px solid #f0f3f3;
}

.study-addon input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--study-green-dark);
}

.study-addon span {
  min-width: 0;
}

.study-addon strong,
.study-addon small {
  display: block;
}

.study-addon strong {
  color: #354252;
  font-size: 12px;
}

.study-addon small {
  margin-top: 3px;
  color: #8b97a3;
  font-size: 10px;
  line-height: 1.35;
}

.study-addon > b {
  color: #455364;
  font-size: 11px;
  white-space: nowrap;
}

.study-addon.is-disabled {
  cursor: default;
  opacity: 0.58;
}

.study-pay-button {
  width: 100%;
  margin-top: 2px;
  flex: 0 0 auto;
  gap: 4px;
}

.study-safe-payment {
  display: block;
  margin-top: 12px;
  color: #98a3ae;
  font-size: 9px;
  text-align: center;
}

.study-title-dialog {
  width: min(calc(100% - 32px), 650px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: var(--study-ink);
  box-shadow: 0 30px 100px rgba(23, 32, 42, 0.25);
}

.study-title-dialog::backdrop {
  background: rgba(23, 32, 42, 0.42);
  backdrop-filter: blur(4px);
}

.study-title-dialog form {
  padding: 28px;
}

.study-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.study-dialog-head h2 {
  margin: 6px 0 0;
}

.study-dialog-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: #748190;
  background: #f3f6f5;
  font-size: 22px;
  cursor: pointer;
}

.study-title-dialog label {
  display: block;
  margin-top: 14px;
}

.study-title-dialog .study-button {
  width: 100%;
  margin-top: 22px;
}

@keyframes study-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes study-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .study-nav > a:not(.study-header-cta) {
    display: none;
  }

  .study-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 80px;
    text-align: center;
  }

  .study-hero-copy h1,
  .study-hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .study-hero-actions,
  .study-proof-line {
    justify-content: center;
  }

  .study-document-scene {
    min-height: 650px;
  }

  .study-work-types {
    grid-template-columns: repeat(3, 1fr);
  }

  .study-paper-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .study-checkout-card {
    position: static;
    grid-row: 1;
    max-height: none;
    overflow: visible;
  }

  .study-addon-list {
    overflow: visible;
  }
}

@media (max-width: 700px) {
  .study-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .study-brand {
    font-size: 14px;
  }

  .study-brand-mark {
    width: 30px;
    height: 30px;
  }

  .study-header-cta {
    padding: 9px 12px;
    font-size: 11px;
  }

  .study-hero {
    width: min(calc(100% - 32px), var(--study-page));
    padding-top: 55px;
  }

  .study-hero-copy h1 {
    font-size: 42px;
  }

  .study-hero-copy > p {
    font-size: 15px;
  }

  .study-hero-actions {
    flex-direction: column;
  }

  .study-hero-actions .study-button {
    width: 100%;
  }

  .study-document-scene {
    min-height: 540px;
  }

  .study-document-sheet {
    min-height: 510px;
    padding: 34px 28px;
  }

  .study-document-sheet h2 {
    font-size: 25px;
  }

  .study-section-title {
    display: block;
  }

  .study-section-title p {
    margin-top: 18px;
  }

  .study-how {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .study-how-steps {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .study-how-steps article {
    min-height: 180px;
  }

  .study-how-steps h3 {
    margin-top: 45px;
  }

  .study-wizard {
    width: min(calc(100% - 32px), 1060px);
    padding-top: 26px;
  }

  .study-progress {
    margin-bottom: 45px;
  }

  .study-progress span {
    font-size: 0;
  }

  .study-progress span b {
    font-size: 11px;
  }

  .study-wizard-heading {
    margin-bottom: 28px;
  }

  .study-wizard-heading h1 {
    font-size: 37px;
  }

  .study-work-types {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .study-work-card {
    min-height: 170px;
    padding: 16px;
  }

  .study-subject-picker {
    grid-template-columns: 1fr;
  }

  .study-subject-categories {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--study-line);
  }

  .study-subject-categories button {
    width: auto;
    white-space: nowrap;
  }

  .study-subject-list {
    grid-template-columns: 1fr;
  }

  .study-topic-form {
    padding: 20px;
  }

  .study-form-row,
  .study-outline-grid {
    grid-template-columns: 1fr;
  }

  .study-paper-layout {
    width: min(calc(100% - 24px), 1180px);
    padding-top: 22px;
    gap: 22px;
  }

  .study-paper-topline span,
  .study-paper-header-status {
    display: none;
  }

  .study-paper-title-page {
    min-height: 390px;
    padding: 30px 22px;
  }

  .study-paper-title-page h1 {
    font-size: 25px;
  }

  .study-paper-title-details {
    width: 100%;
  }

  .study-paper-content {
    padding: 32px 22px;
  }

  .study-paper-intro h2 {
    font-size: 26px;
  }

  .study-paper-intro p,
  .study-paper-text p {
    font-size: 15px;
  }

  .study-blur-zone {
    margin: 20px -22px -32px;
  }

  .study-blur-copy {
    padding-left: 22px;
    padding-right: 22px;
  }

  .study-unlock-card {
    width: calc(100% - 24px);
    padding: 22px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .study-wizard-step.is-active,
  .study-loader-mark span {
    animation: none;
  }
}
