.try-page {
  min-height: 100%;
  height: auto;
  overflow: auto;
  background: var(--bg);
  user-select: auto;
}

.try-page .primary-btn,
.try-page .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.try-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.try-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.try-brand .brand-mark {
  flex: 0 0 44px;
}

.try-brand strong,
.try-brand small {
  display: block;
}

.try-brand small {
  margin-top: 2px;
  color: var(--muted);
}

.try-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.try-hero,
.try-unlock-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #173746;
  border-radius: 12px;
  color: #f8fbff;
  background: linear-gradient(135deg, #101f2b 0%, #153b48 68%, #0d6b75 100%);
  box-shadow: var(--shadow);
}

.try-hero .eyebrow,
.try-unlock-panel .eyebrow {
  color: #d7fc70;
}

.try-hero h1,
.try-unlock-panel h2 {
  margin: 0;
  line-height: 1.08;
}

.try-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.try-hero p:not(.eyebrow),
.try-unlock-panel p:not(.eyebrow) {
  max-width: 720px;
  color: #dce9ee;
  font-size: 17px;
  line-height: 1.55;
}

.try-hero-action,
.try-unlock-action {
  display: grid;
  gap: 9px;
}

.try-browse-link {
  justify-self: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 3px;
}

.try-browse-link:hover,
.try-browse-link:focus-visible {
  color: #d7fc70;
}

.try-start-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.try-start-benefits span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #eff8fb;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.try-learning-loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.try-learning-loop div {
  padding: 14px;
  border: 1px solid #cfe2e6;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 31, 43, 0.05);
}

.try-learning-loop strong,
.try-learning-loop span {
  display: block;
}

.try-learning-loop strong {
  color: var(--accent);
}

.try-learning-loop span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.try-hero-action .primary-btn,
.try-unlock-action .primary-btn {
  min-height: 48px;
  color: #10242e;
  border-color: #d7fc70;
  background: #d7fc70;
}

.try-hero-action span,
.try-unlock-action span {
  color: #c9dbe3;
  font-size: 13px;
  line-height: 1.4;
}

.try-limit-note {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid #b9dfe3;
  border-radius: 8px;
  color: #38566a;
  background: #eefbfc;
}

.try-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 12px;
}

.try-tool-intro {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.try-tabs {
  grid-template-columns: minmax(260px, max-content) minmax(0, 1fr);
}

.try-start-tab {
  gap: 7px;
}

.try-start-tab span {
  padding: 2px 6px;
  border-radius: 999px;
  color: #0d4e59;
  background: #d7fc70;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.try-start-tab.active span {
  color: #10242e;
}

.try-content {
  min-height: 560px;
}

.try-content h3,
.try-content h4 {
  margin-top: 0;
}

.try-content p,
.try-content li {
  line-height: 1.55;
}

.try-lesson-layout {
  align-items: start;
}

.try-lesson-layout .lesson-hero p:not(.eyebrow) {
  margin: 9px 0 0;
}

.try-lesson-terms {
  position: sticky;
  top: 82px;
}

.try-lesson-terms-heading {
  margin: 0 0 12px;
  font-size: 22px;
}

.try-lesson-terms .term-card {
  margin-bottom: 12px;
}

.try-lesson-terms .term-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.try-lesson-terms .term-card p {
  margin: 0;
}

.try-more-terms-preview {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px dashed #a9bccb;
  border-radius: 8px;
  color: #52697a;
  background: linear-gradient(180deg, rgba(246, 249, 252, 0.95), rgba(235, 241, 246, 0.75));
}

.try-more-terms-preview span {
  font-size: 13px;
  line-height: 1.45;
}

.try-lesson-locked {
  position: relative;
  min-height: 390px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6f8fb;
}

.try-lesson-sample > .eyebrow {
  margin-bottom: 4px;
}

.try-lesson-sample .lesson-visual + .lesson-list {
  margin-top: 14px;
}

.try-lesson-locked-content {
  max-height: 390px;
  padding: 12px;
  opacity: 0.28;
  filter: grayscale(0.55);
  pointer-events: none;
  user-select: none;
}

.try-lesson-locked-content .lesson-section {
  background: #ffffff;
}

.try-lesson-locked::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(246, 248, 251, 0.05) 0%, rgba(246, 248, 251, 0.58) 38%, rgba(246, 248, 251, 0.96) 80%);
}

.try-lesson-lock-cta {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid #b9dfe3;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(16, 31, 43, 0.12);
  text-align: center;
}

.try-lesson-lock-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.try-lock-icon {
  font-size: 18px;
}

.try-grid-2,
.try-domain-grid,
.try-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.try-domain-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.try-score-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 14px 0;
}

.try-score-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.try-score-card strong {
  display: block;
  color: var(--accent);
  font-size: 26px;
}

.try-score-card span {
  color: var(--muted);
  font-size: 13px;
}

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

.try-term-meta,
.try-question-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.try-controls,
.try-question-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.try-question-nav {
  justify-content: space-between;
}

.try-progress-track {
  height: 8px;
  margin: 12px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.try-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.try-feedback-correct {
  border: 1px solid #74c69d;
  background: #e9fbf1;
}

.try-feedback-wrong {
  border: 1px solid #f2aaa5;
  background: #fff1f0;
}

.lesson-check-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #b9dfe3;
  border-radius: 10px;
  background: linear-gradient(135deg, #eefbfc, #f8fff0);
}

.lesson-check-conversion strong,
.lesson-check-conversion span {
  display: block;
}

.lesson-check-conversion p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.lesson-check-conversion .primary-btn {
  min-height: 44px;
  text-align: center;
}

.lesson-check-conversion small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.try-multi-option {
  display: flex;
  align-items: start;
  gap: 9px;
  margin: 8px 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.try-multi-option input {
  margin-top: 3px;
}

.try-text-answer {
  width: min(420px, 100%);
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.try-match-message {
  min-height: 24px;
  color: var(--muted);
  font-weight: 700;
}

.try-match-complete {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #74c69d;
  border-radius: 8px;
  background: #e9fbf1;
}

.try-fill-clue {
  font-size: 18px;
}

.try-domain-score {
  margin: 12px 0;
}

.try-domain-score header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.try-unlock-panel {
  margin-top: 22px;
  padding: 28px;
}

.try-unlock-panel h2 {
  font-size: 28px;
}

.try-price-reminder {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(215, 252, 112, 0.48);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.try-price-reminder strong {
  color: #d7fc70;
  font-size: 18px;
}

.try-price-reminder span {
  color: #f2f8fa;
  font-size: 13px;
  line-height: 1.45;
}

.try-price-reminder small {
  color: #c9dbe1;
  font-size: 11px;
  line-height: 1.4;
}

.try-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.try-footer p {
  margin: 0;
}

.try-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.try-footer a {
  color: var(--accent);
}

@media (max-width: 820px) {
  .try-hero,
  .try-unlock-panel,
  .try-tabs,
  .try-learning-loop,
  .try-grid-2 {
    grid-template-columns: 1fr;
  }

  .try-limit-note,
  .try-section-heading,
  .try-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .try-lesson-terms {
    position: static;
  }
}

@media (max-width: 560px) {
  .try-site-header {
    padding: 10px 14px;
  }

  .try-header-unlock {
    padding: 9px 10px;
    font-size: 13px;
  }

  .try-main,
  .try-footer {
    width: min(100% - 24px, 1180px);
  }

  .try-main {
    padding-top: 14px;
  }

  .try-hero-action .primary-btn {
    width: 100%;
  }

  .try-hero,
  .try-unlock-panel,
  .try-content {
    padding: 18px;
  }

  .try-lesson-lock-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 14px;
  }

  .try-domain-grid,
  .try-score-grid,
  .match-grid {
    grid-template-columns: 1fr;
  }

  .lesson-check-conversion {
    grid-template-columns: 1fr;
  }

  .try-question-nav .primary-btn,
  .try-question-nav .secondary-btn,
  .try-controls .primary-btn,
  .try-controls .secondary-btn {
    flex: 1 1 100%;
  }
}
.try-resource-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #b8d9df;
  border-radius: 18px;
  background: linear-gradient(135deg, #f1f9fa, #ffffff);
}

.try-resource-panel h2 {
  margin: 5px 0 9px;
  color: #0d2230;
}

.try-resource-panel p:not(.eyebrow) {
  margin: 0;
  color: #5d6b82;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .try-resource-panel {
    grid-template-columns: 1fr;
  }

  .try-resource-panel .primary-btn {
    width: 100%;
    justify-content: center;
  }
}
