/* Shared styles for the Unstuck pages (/start and the homepage), scoped under .st */
.st { --st-blue: #2E6BD1; --st-blue-dark: #1F55AD; --st-yellow: #F9CC4E; --st-yellow-soft: #FDF3D3;
      --st-ink: #15171C; --st-muted: #4E5D68; --st-line: #E2E6EE; --st-bg: #F5F6FA;
      background: var(--st-bg); color: var(--st-ink); font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; overflow-x: clip; }
.st h1, .st h2, .st h3, .st summary { font-family: 'Gabarito', system-ui, sans-serif; }
.st a { color: var(--st-blue); }
.st a:hover { color: var(--st-blue-dark); }
.st-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .st-wrap { padding: 0 24px; } }
.st-section { padding: 64px 0; }
@media (min-width: 768px) { .st-section { padding: 88px 0; } }
.st-eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-blue); margin-bottom: 10px; }
.st-h2 { margin: 0 0 14px; font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.025em; line-height: 1.08; }
.st-sub { margin: 0 0 36px; font-size: 18px; line-height: 1.5; color: var(--st-muted); max-width: 620px; }

/* Phone frame around a real 1320 x 2868 screenshot */
.st-device { --w: 260px; position: relative; width: var(--w); flex: none; padding: calc(var(--w) * 0.034);
             border-radius: calc(var(--w) * 0.17); background: linear-gradient(150deg, #3a3e48, #0c0d11 45%);
             box-shadow: inset 0 0 0 1.5px #4a4f5b, 0 45px 70px -30px rgba(21,23,28,0.55), 0 12px 24px -12px rgba(21,23,28,0.3); }
.st-device img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * 0.138); background: #fff; }
.st-device::after { content: ''; position: absolute; top: calc(var(--w) * 0.058); left: 50%; transform: translateX(-50%);
                    width: calc(var(--w) * 0.29); height: calc(var(--w) * 0.083); border-radius: 999px; background: #000; }

/* Hero */
.st-hero { position: relative; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding: 36px 0 72px; }
.st-hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.st-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--st-yellow-soft); color: #6B4E00; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 15px; }
.st-pill i { width: 8px; height: 8px; border-radius: 50%; background: #E0A800; display: inline-block; }
.st-hero h1 { margin: 0; font-weight: 800; font-size: clamp(38px, 4.9vw, 62px); line-height: 1.02; letter-spacing: -0.035em; }
.st-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--st-yellow) 62%, var(--st-yellow) 92%, transparent 92%); }
.st-lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--st-muted); max-width: 560px; }
.st-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--st-muted); }
.st-facts li { display: inline-flex; align-items: center; gap: 7px; }
.st-facts svg { width: 16px; height: 16px; color: var(--st-blue); }

.st-hero-visual { flex: 1 1 380px; min-width: 0; position: relative; height: 560px; }
.st-hero-visual .st-blob { position: absolute; left: 50%; top: 50%; width: 540px; height: 540px; transform: translate(-46%, -47%);
                           border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FBDA7A, var(--st-yellow) 60%); }
.st-hero-visual .st-back { position: absolute; left: 50%; top: 56px; --w: 220px; transform: translateX(-2%) rotate(7deg); }
.st-hero-visual .st-front { position: absolute; left: 50%; top: 0; --w: 250px; transform: translateX(-92%) rotate(-4deg); z-index: 2; }
.st-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px;
           padding: 10px 14px 10px 10px; box-shadow: 0 18px 40px -16px rgba(21,23,28,0.35); font-weight: 700; font-size: 15px; white-space: nowrap; }
.st-chip b { width: 30px; height: 30px; border-radius: 50%; background: var(--st-yellow); display: inline-flex; align-items: center; justify-content: center; }
.st-chip svg { width: 16px; height: 16px; }
.st-chip-1 { left: 50%; bottom: 46px; transform: translateX(-112%); }
.st-chip-2 { left: 50%; top: 150px; transform: translateX(62%); }
@media (max-width: 640px) {
    .st-hero-visual { height: 470px; flex-basis: 100%; }
    .st-hero-visual .st-blob { width: 400px; height: 400px; }
    .st-hero-visual .st-back { --w: 180px; top: 48px; }
    .st-hero-visual .st-front { --w: 205px; transform: translateX(-84%) rotate(-4deg); }
    .st-chip { font-size: 13px; }
    .st-chip-2 { display: none; }
    .st-chip-1 { bottom: 30px; transform: translateX(-80%); }
}

/* Waiting-list form */
.st-form { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.st-form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.st-input { flex: 1 1 100%; min-width: 0; height: 56px; padding: 0 16px; border-radius: 16px; border: 2px solid var(--st-line); background: #fff; font: inherit; font-size: 17px; color: var(--st-ink); }
.st-input:focus { outline: none; border-color: var(--st-blue); box-shadow: 0 0 0 4px rgba(46,107,209,0.16); }
.st-btn { height: 56px; padding: 0 26px; border: 0; border-radius: 16px; background: var(--st-blue); color: #fff; font-family: 'Gabarito', sans-serif; font-weight: 700; font-size: 19px; cursor: pointer; flex: 1 1 100%; box-shadow: 0 10px 22px -10px rgba(46,107,209,0.7); transition: transform .15s ease, background .15s ease; }
.st-btn:hover { background: var(--st-blue-dark); transform: translateY(-1px); }
.st-btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
@media (min-width: 640px) { .st-input { flex: 1 1 150px; } .st-btn { flex: 0 0 auto; } }
.st-fine { margin: 0; font-size: 14px; line-height: 1.5; color: var(--st-muted); }
.st-msg { border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 16px; }
.st-msg.ok { background: #D1FAE5; color: #065F46; }
.st-msg.err { background: #FEE2E2; color: #991B1B; }

/* Screens gallery */
.st-gallery { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 28px; margin: 0 -16px;
              scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.st-gallery::-webkit-scrollbar { display: none; }
.st-gallery figure { margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.st-gallery .st-device { --w: 214px; }
.st-gallery figcaption { max-width: 214px; text-align: center; font-size: 15px; line-height: 1.4; color: var(--st-muted); }
.st-gallery figcaption strong { display: block; font-family: 'Gabarito', sans-serif; font-size: 18px; color: var(--st-ink); margin-bottom: 2px; }
@media (min-width: 1180px) { .st-gallery { justify-content: space-between; overflow: visible; margin: 0; padding: 8px 0 28px; } .st-gallery .st-device { --w: 196px; } }

/* Cards */
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.st-card { padding: 26px; border-radius: 26px; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--st-line); }
.st-card h3 { margin: 0; font-weight: 700; font-size: 21px; }
.st-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--st-muted); }
.st-card.yellow { background: var(--st-yellow); border-color: var(--st-yellow); }
.st-card.yellow p { color: var(--st-ink); }
.st-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #EAF1FC; color: var(--st-blue); margin-bottom: 6px; }
.st-card.yellow .st-icon { background: var(--st-ink); color: var(--st-yellow); }
.st-icon svg { width: 24px; height: 24px; }
.st-step { display: flex; flex-direction: column; gap: 10px; }
.st-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--st-ink); color: var(--st-yellow); font-family: 'Gabarito', sans-serif; font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.st-step h3 { margin: 6px 0 0; font-weight: 700; font-size: 22px; }
.st-step p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--st-muted); }

/* Founder */
.st-dark { background: var(--st-ink); color: #fff; }
.st-founder { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.st-founder picture { flex: 0 1 300px; min-width: 220px; }
.st-founder img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 32px; }
.st-founder-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.st-founder-copy blockquote { margin: 0; font-family: 'Gabarito', sans-serif; font-weight: 700; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.25; }
.st-founder-copy cite { font-style: normal; color: #C9D2DC; font-size: 16px; }

/* Prices */
.st-price { padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--st-line); display: flex; flex-direction: column; gap: 10px; }
.st-price.best { border: 3px solid var(--st-blue); box-shadow: 0 24px 48px -28px rgba(46,107,209,0.6); }
.st-price .tag { align-self: flex-start; background: var(--st-yellow); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.st-price .name { font-family: 'Gabarito', sans-serif; font-weight: 700; font-size: 22px; }
.st-price .amount { font-family: 'Gabarito', sans-serif; font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.st-price .note { font-size: 16px; color: var(--st-muted); }
.st-price .spacer { display: none; height: 25px; }
@media (min-width: 840px) { .st-price .spacer { display: block; } }

/* FAQ */
.st-faq { max-width: 860px; margin: 0 auto; }
.st-faq details { border-bottom: 1px solid var(--st-line); }
.st-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 20px; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--st-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--st-blue); transition: transform .2s ease; }
.st-faq details[open] summary::after { transform: rotate(45deg); }
.st-faq p { margin: -6px 0 22px; font-size: 17px; line-height: 1.55; color: var(--st-muted); max-width: 720px; }

/* Closing panel */
.st-panel { border-radius: 32px; padding: 40px 22px; background: var(--st-blue); color: #fff; position: relative; overflow: hidden; }
@media (min-width: 768px) { .st-panel { padding: 64px; } }
.st-panel::before { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: var(--st-yellow); opacity: 0.95; }
.st-panel > * { position: relative; }
@media (max-width: 767px) { .st-panel::before { width: 150px; height: 150px; right: -70px; top: -70px; } }
.st-panel .st-h2 { color: #fff; max-width: 560px; }
.st-panel .st-sub { color: #DCE7FA; margin-bottom: 26px; }
.st-panel .st-input { border-color: transparent; }
.st-panel .st-btn { background: var(--st-ink); box-shadow: none; }
.st-panel .st-btn:hover { background: #000; }
.st-panel .st-fine, .st-panel .st-fine a { color: #DCE7FA; }
.st-panel .st-fine a { text-decoration: underline; }
.st-safety { padding: 28px 0 40px; font-size: 15px; line-height: 1.5; color: var(--st-muted); }

/* Buttons that are links */
.st-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 16px;
          background: var(--st-blue); color: #fff !important; font-family: 'Gabarito', sans-serif; font-weight: 700; font-size: 18px; text-decoration: none;
          box-shadow: 0 10px 22px -10px rgba(46,107,209,0.7); transition: transform .15s ease, background .15s ease; }
.st-cta:hover { background: var(--st-blue-dark); transform: translateY(-1px); }
.st-cta.ghost { background: transparent; color: var(--st-ink) !important; border: 2px solid var(--st-line); box-shadow: none; }
.st-cta.ghost:hover { border-color: var(--st-ink); background: transparent; }
.st-cta.yellow { background: var(--st-yellow); color: var(--st-ink) !important; box-shadow: 0 10px 22px -12px rgba(224,168,0,0.8); }
.st-cta.yellow:hover { background: #F4BF2A; }

/* Optional marketing box on the free e-book form */
.st-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--st-muted); cursor: pointer; }
.st-check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--st-blue); }

/* Homepage hero */
.hm-hero { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; padding: 32px 0 72px; }
.hm-hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hm-announce { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
               background: #fff; border: 1px solid var(--st-line); font-size: 15px; font-weight: 700; color: var(--st-ink) !important; text-decoration: none;
               box-shadow: 0 6px 16px -10px rgba(21,23,28,0.25); }
.hm-announce b { background: var(--st-ink); color: var(--st-yellow); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.hm-announce:hover { border-color: var(--st-ink); }
.hm-hero h1 { margin: 0; font-weight: 800; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.03; letter-spacing: -0.035em; }
.hm-hero h1 span { color: var(--st-blue); }
.hm-formcard { background: #fff; border: 1px solid var(--st-line); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -36px rgba(21,23,28,0.35); display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.hm-formcard h2 { margin: 0; font-size: 21px; font-weight: 700; }
.hm-formcard h2 em { font-style: normal; color: var(--st-blue); }
.hm-book { flex: 1 1 340px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hm-book::before { content: ''; position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FBDA7A, var(--st-yellow) 62%); }
.hm-book img { position: relative; width: min(330px, 74%); height: auto; filter: drop-shadow(0 34px 40px rgba(21,23,28,0.35)); transform: rotate(-4deg); }
.hm-book .st-chip-1 { left: auto; right: 6%; bottom: 18%; transform: none; }
@media (max-width: 640px) { .hm-book { min-height: 330px; } .hm-book .st-chip-1 { right: 0; bottom: 8%; } }

/* "If this is you" */
.hm-pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.hm-pains li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--st-bg); font-size: 17px; font-weight: 700; }
.hm-pains li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--st-coral, #FF6F61); flex: none; }
.hm-pains { margin: 0 0 26px; padding: 0; }
.hm-relief { font-family: 'Gabarito', sans-serif; font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; margin: 0; }
.hm-relief span { background: linear-gradient(transparent 60%, var(--st-yellow) 60%, var(--st-yellow) 92%, transparent 92%); }

/* Three ways in */
.hm-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.hm-way { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--st-line); }
.hm-way.featured { border: 3px solid var(--st-blue); box-shadow: 0 24px 48px -30px rgba(46,107,209,0.6); }
.hm-way .tag { align-self: flex-start; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; background: var(--st-bg); color: var(--st-muted); }
.hm-way .tag.free { background: #D1FAE5; color: #065F46; }
.hm-way .tag.soon { background: var(--st-yellow); color: var(--st-ink); }
.hm-way h3 { margin: 0; font-weight: 800; font-size: 23px; line-height: 1.15; }
.hm-way p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--st-muted); flex: 1; }
.hm-way .st-cta { align-self: flex-start; min-height: 48px; font-size: 17px; }

/* The app band */
.hm-app { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.hm-app-copy { flex: 1 1 420px; min-width: 0; }
.hm-app-copy .st-h2 { color: #fff; }
.hm-app-copy .st-sub { color: #C9D2DC; margin-bottom: 22px; }
.hm-ticks { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hm-ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: #E7ECF2; }
.hm-ticks li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--st-yellow); color: var(--st-ink); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.hm-app-phones { flex: 1 1 360px; min-width: 0; position: relative; height: 520px; }
.hm-app-phones .st-device { position: absolute; left: 50%; }
.hm-app-phones .st-back { --w: 210px; top: 50px; transform: translateX(-4%) rotate(6deg); }
.hm-app-phones .st-front { --w: 236px; top: 0; transform: translateX(-90%) rotate(-4deg); z-index: 2; }
@media (max-width: 640px) { .hm-app-phones { height: 440px; } .hm-app-phones .st-back { --w: 170px; } .hm-app-phones .st-front { --w: 196px; transform: translateX(-84%) rotate(-4deg); } }
.hm-fine-light { margin: 14px 0 0; font-size: 14px; color: #9AA6B2; }

/* About Eduard */
.hm-about { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; }
.hm-about picture { flex: 0 1 300px; min-width: 220px; }
.hm-about img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 32px; }
.hm-about-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hm-about-copy p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--st-muted); }
.hm-about-copy p strong { color: var(--st-ink); }

/* The guide */
.hm-guide { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; }
.hm-guide-img { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.hm-guide-img img { width: min(460px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(21,23,28,0.25)); }
.hm-guide-copy { flex: 1 1 440px; min-width: 0; }
.hm-bonus { margin: 0 0 22px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; }
.hm-bonus li { display: flex; gap: 10px; font-size: 16px; line-height: 1.4; }
.hm-bonus li::before { content: '✓'; color: var(--st-blue); font-weight: 800; }
.hm-terms { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; color: var(--st-muted); font-weight: 700; }
.st-panel .st-check { color: #DCE7FA; }
.st-panel .st-check input { accent-color: var(--st-yellow); }
.hm-formcard .st-btn { flex: 1 1 100%; }
/* Atkinson Hyperlegible slashes its zeros; figures in running text use the heading face */
.st-fig { font-family: 'Gabarito', sans-serif; font-weight: 700; }

/* Quizzes */
.qz { max-width: 720px; margin: 0 auto; padding: 28px 16px 64px; }
.qz-step[hidden] { display: none !important; }
.qz-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.qz-meta span { background: #fff; border: 1px solid var(--st-line); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 700; color: var(--st-muted); }
.qz h1 { margin: 0 0 14px; font-weight: 800; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.06; letter-spacing: -0.03em; }
.qz-intro p { font-size: 18px; line-height: 1.55; color: var(--st-muted); margin: 0 0 22px; }
.qz-note { font-size: 14px !important; color: var(--st-muted); margin-top: 18px !important; }
.qz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 14px; font-weight: 700; color: var(--st-muted); }
.qz-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--st-line); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--st-blue); border-radius: 999px; transition: width .3s ease; }
.qz-question h2 { margin: 0 0 20px; font-weight: 800; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.18; letter-spacing: -0.02em; }
.qz-options { display: flex; flex-direction: column; gap: 10px; }
.qz-option { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--st-line);
             cursor: pointer; font-size: 17px; line-height: 1.4; transition: border-color .15s ease, background .15s ease, transform .1s ease; }
.qz-option:hover { border-color: #B7C6DE; }
.qz-option input { position: absolute; opacity: 0; pointer-events: none; }
.qz-option b { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--st-bg); color: var(--st-muted); font-family: 'Gabarito', sans-serif; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.qz-option:has(input:checked) { border-color: var(--st-blue); background: #EEF4FD; }
.qz-option:has(input:checked) b { background: var(--st-blue); color: #fff; }
.qz-option:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(46,107,209,0.25); }
.qz-back { margin-top: 18px; background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 700; color: var(--st-muted); cursor: pointer; }
.qz-back:hover { color: var(--st-ink); }
.qz-card { background: #fff; border: 1px solid var(--st-line); border-radius: 24px; padding: 24px; box-shadow: 0 30px 60px -40px rgba(21,23,28,0.4); }
.qz-card h2 { margin: 0 0 8px; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.qz-card > p { margin: 0 0 18px; font-size: 17px; line-height: 1.5; color: var(--st-muted); }
.qz-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.qz-thinking { text-align: center; padding: 60px 0; }
.qz-spinner { width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%; border: 5px solid var(--st-line); border-top-color: var(--st-blue); animation: qz-spin .8s linear infinite; }
@keyframes qz-spin { to { transform: rotate(360deg); } }
.qz-thinking h2 { margin: 0 0 6px; font-weight: 800; font-size: 26px; }
.qz-thinking p { margin: 0; color: var(--st-muted); }
@media (prefers-reduced-motion: reduce) { .qz-spinner { animation: none; } .qz-bar i { transition: none; } }

/* Quiz list */
.qz-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.qz-tile { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--st-line); color: var(--st-ink) !important; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.qz-tile:hover { transform: translateY(-2px); border-color: #B7C6DE; box-shadow: 0 24px 48px -32px rgba(21,23,28,0.45); }
.qz-tile .qz-icon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; background: var(--st-yellow-soft); }
.qz-tile h3 { margin: 4px 0 0; font-weight: 800; font-size: 22px; line-height: 1.15; }
.qz-tile p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--st-muted); flex: 1; }
.qz-tile small { font-size: 14px; font-weight: 700; color: var(--st-blue); }

/* Quiz result */
.qr-head { text-align: left; }
.qr-head h1 { margin: 6px 0 12px; font-weight: 800; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.qr-head p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--st-muted); max-width: 680px; }
.qr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 32px; }
@media (max-width: 860px) { .qr-grid { grid-template-columns: 1fr; } }
.qr-body { font-size: 17px; line-height: 1.65; color: var(--st-ink); }
.qr-body p { margin: 0 0 14px; }
.qr-mix h3, .qr-tips h3 { margin: 0 0 14px; font-weight: 800; font-size: 20px; }
.qr-row { margin-bottom: 12px; }
.qr-row div { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.qr-row div span:last-child { font-family: 'Gabarito', sans-serif; color: var(--st-muted); }
.qr-track { height: 10px; border-radius: 999px; background: var(--st-bg); overflow: hidden; }
.qr-track i { display: block; height: 100%; border-radius: 999px; background: #B7C6DE; }
.qr-row.top .qr-track i { background: var(--st-blue); }
.qr-tips ol { margin: 0; padding: 0; list-style: none; counter-reset: tip; display: flex; flex-direction: column; gap: 12px; }
.qr-tips li { counter-increment: tip; display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.qr-tips li::before { content: counter(tip); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--st-yellow); font-family: 'Gabarito', sans-serif; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.qr-emailed { background: #EEF4FD; border: 1px solid #C9DAF4; border-radius: 16px; padding: 14px 16px; font-weight: 700; margin-top: 22px; }
.qr-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; font-size: 15px; color: var(--st-muted); }
.qr-share button { background: #fff; border: 2px solid var(--st-line); border-radius: 12px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; color: var(--st-ink); }
.qz-fields .st-input { flex: none; }

/* Quiz covers */
.qz-tile.has-img { padding: 0; overflow: hidden; gap: 0; }
.qz-tile-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.qz-tile-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.qz-tile:not(.has-img) .qz-tile-body { padding: 0; }
.qz-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; margin-bottom: 22px; box-shadow: 0 30px 60px -40px rgba(21,23,28,0.45); }
.qr-top.has-img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: center; }
.qr-top img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
@media (max-width: 860px) { .qr-top.has-img { grid-template-columns: 1fr; } .qr-top img { order: -1; } }
