/* =========================================================
   LEARNING REWIRED STUDIO — THANK YOU PAGE
   File: /assets/css/studio-thank-you.css
   Page: /studio-thank-you/
   ========================================================= */

.studio-thank-you-page {
  overflow: hidden;
  background: #f5f5f7;
  color: #07111f;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.studio-thank-you-page *,
.studio-thank-you-page *::before,
.studio-thank-you-page *::after {
  box-sizing: border-box;
}

.sty-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.studio-thank-you-page h1,
.studio-thank-you-page h2,
.studio-thank-you-page h3,
.studio-thank-you-page p {
  margin-top: 0;
}

.studio-thank-you-page h1,
.studio-thank-you-page h2,
.studio-thank-you-page h3 {
  color: #07111f;
  text-wrap: balance;
}

.studio-thank-you-page p {
  color: #5f6b7a;
}

.studio-thank-you-page a {
  color: inherit;
}

/* =========================================================
   Labels + buttons
   ========================================================= */

.sty-eyebrow,
.sty-kicker {
  margin: 0 0 14px;
  color: #123f9c;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.sty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

.sty-btn:hover {
  transform: translateY(-2px);
}

.sty-btn.primary {
  border: 0;
  background: linear-gradient(135deg, #07111f 0%, #123f9c 54%, #2563eb 100%);
  color: #ffffff !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24);
}

.sty-btn.secondary {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  color: #111827 !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.sty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.sty-actions.centered {
  justify-content: center;
}

/* =========================================================
   Hero
   ========================================================= */

.sty-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 98px) 0 clamp(48px, 6vw, 82px);
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.11), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(20, 184, 166, 0.09), transparent 34%),
    #ffffff;
}

.sty-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.sty-hero-copy {
  max-width: 760px;
}

.sty-hero h1 {
  margin: 0;
  padding-bottom: 0.12em;
  color: #07111f;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.068em;
  font-weight: 720;
}

.sty-hero h1 span {
  display: block;
  padding-right: 0.05em;
  padding-bottom: 0.08em;
  background: linear-gradient(135deg, #2563eb 0%, #5b4df5 42%, #123f9c 72%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sty-deck {
  max-width: 710px;
  margin: clamp(22px, 3vw, 30px) 0 0;
  color: #5f6b7a;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.68;
}

.sty-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sty-status-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.sty-status-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
}

/* =========================================================
   Confirmation card
   ========================================================= */

.sty-confirmation-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.11), transparent 34%),
    #ffffff;
  box-shadow:
    0 28px 88px rgba(15, 23, 42, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.sty-confirmation-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, #2563eb 0%, #14b8a6 100%);
}

.sty-confirmation-list {
  display: grid;
  gap: 16px;
}

.sty-confirmation-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 24px;
  background: #f8fafc;
}

.sty-confirmation-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.10);
  color: #123f9c;
  font-size: 13px;
  font-weight: 950;
}

.sty-confirmation-list h2 {
  margin: 0 0 8px;
  color: #07111f;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 720;
}

.sty-confirmation-list p {
  margin: 0;
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.55;
}

/* =========================================================
   Sections
   ========================================================= */

.sty-section,
.sty-final-section {
  padding: clamp(58px, 7vw, 104px) 0;
}

.sty-muted-section {
  background: #ffffff;
}

/* =========================================================
   Expectation card
   ========================================================= */

.sty-expectation-card,
.sty-start-card,
.sty-final-card {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 38px;
  background: #ffffff;
  box-shadow: 0 22px 62px rgba(15, 23, 42, 0.07);
}

.sty-expectation-card,
.sty-start-card {
  padding: clamp(30px, 5vw, 56px);
}

.sty-expectation-copy {
  max-width: 900px;
  margin-bottom: 34px;
}

.sty-expectation-copy h2,
.sty-start-card h2,
.sty-final-card h2,
.sty-info-card h2 {
  margin: 0;
  color: #07111f;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 680;
}

.sty-expectation-copy p,
.sty-final-card p,
.sty-info-card p {
  margin: 22px 0 0;
  color: #5f6b7a;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.72;
}

.sty-expectation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sty-expectation-grid article {
  min-height: 280px;
  padding: 26px;
  border-radius: 34px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.08), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.055);
}

.sty-expectation-grid article.featured {
  background:
    radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.16), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(37, 99, 235, 0.22), transparent 38%),
    #07111f;
}

.sty-expectation-grid article.featured span,
.sty-expectation-grid article.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.sty-expectation-grid article.featured h3,
.sty-expectation-grid article.featured a {
  color: #ffffff !important;
}

.sty-expectation-grid span,
.sty-start-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #123f9c;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sty-expectation-grid h3 {
  margin: 0 0 14px;
  color: #07111f;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1;
  letter-spacing: -0.052em;
  font-weight: 680;
}

.sty-expectation-grid p {
  margin: 0 0 18px;
  color: #5f6b7a;
  font-size: 15.5px;
  line-height: 1.62;
}

.sty-expectation-grid a {
  display: inline-flex;
  margin-top: auto;
  color: #123f9c !important;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none !important;
}

.sty-expectation-grid a:hover {
  color: #2563eb !important;
}

/* =========================================================
   Info cards
   ========================================================= */

.sty-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sty-info-card {
  min-height: 360px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.08), transparent 34%),
    #ffffff;
  box-shadow: 0 22px 62px rgba(15, 23, 42, 0.07);
}

.sty-info-card h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.sty-note-box {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  background: #f8fafc;
}

.sty-note-box strong {
  color: #07111f;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sty-note-box span {
  color: #123f9c;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.sty-text-link {
  display: inline-flex;
  margin-top: 28px;
  color: #123f9c !important;
  font-size: 16px;
  font-weight: 950;
  text-decoration: none !important;
}

.sty-text-link:hover {
  color: #2563eb !important;
}

/* =========================================================
   Start grid
   ========================================================= */

.sty-start-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  background:
    radial-gradient(circle at 90% 12%, rgba(37, 99, 235, 0.10), transparent 34%),
    #ffffff;
}

.sty-start-grid {
  display: grid;
  gap: 12px;
}

.sty-start-grid a {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 24px;
  background: #f8fafc;
  color: inherit;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.sty-start-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.18);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
}

.sty-start-grid strong {
  color: #07111f;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
  letter-spacing: -0.046em;
  font-weight: 720;
}

.sty-start-grid em {
  color: #5f6b7a;
  font-size: 15px;
  font-style: normal;
  line-height: 1.5;
}

/* =========================================================
   Final
   ========================================================= */

.sty-final-section {
  background: #f5f5f7;
}

.sty-final-card {
  text-align: center;
  padding: clamp(34px, 5vw, 60px);
  background:
    radial-gradient(circle at 90% 18%, rgba(37, 99, 235, 0.10), transparent 34%),
    #ffffff;
}

.sty-final-card p:not(.sty-kicker) {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .sty-hero-grid,
  .sty-start-card {
    grid-template-columns: 1fr;
  }

  .sty-hero-copy {
    max-width: 880px;
  }

  .sty-expectation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .sty-info-grid {
    grid-template-columns: 1fr;
  }

  .sty-info-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .sty-shell {
    width: min(100% - 32px, 1180px);
  }

  .sty-hero {
    padding: 42px 0 34px;
  }

  .sty-hero h1 {
    font-size: clamp(48px, 14vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.062em;
  }

  .sty-deck {
    font-size: 18px;
    line-height: 1.58;
  }

  .sty-actions {
    display: grid;
  }

  .sty-btn {
    width: 100%;
  }

  .sty-status-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sty-status-row span {
    width: 100%;
    justify-content: flex-start;
    border-radius: 18px;
  }

  .sty-confirmation-card,
  .sty-expectation-card,
  .sty-start-card,
  .sty-final-card,
  .sty-info-card {
    border-radius: 30px;
  }

  .sty-confirmation-list article {
    grid-template-columns: 1fr;
  }

  .sty-expectation-copy h2,
  .sty-start-card h2,
  .sty-final-card h2,
  .sty-info-card h2 {
    font-size: clamp(36px, 10vw, 54px);
    line-height: 1;
    letter-spacing: -0.052em;
  }

  .sty-final-card {
    text-align: left;
  }

  .sty-actions.centered {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .sty-shell {
    width: min(100% - 28px, 1180px);
  }

  .sty-confirmation-card,
  .sty-expectation-card,
  .sty-start-card,
  .sty-final-card,
  .sty-info-card {
    padding: 24px;
  }

  .sty-expectation-grid h3 {
    font-size: 32px;
  }

  .sty-note-box span {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sty-btn,
  .sty-start-grid a {
    transition: none !important;
  }

  .sty-btn:hover,
  .sty-start-grid a:hover {
    transform: none !important;
  }
}
