/* ThinkQ reuses the studio palette and keeps the playful product details. */
.thinkq-site {
    background: #fff;
    color: #142432;
    font-family: Inter, system-ui, sans-serif;
}

.thinkq-site .site-main {
    --primary: #0c57dc;
    --primary-dark: #073d9e;
    --primary-light: #8eb7ef;
    --blue: #4785df;
    --bg-main: #fff;
    --bg-colored: #edf5ff;
    --bg-card: #fff;
    --text-primary: #142432;
    --text-secondary: #4b5d6f;
    --text-muted: #53677e;
    --border: #dce6ef;
    --shadow-lg: 0 18px 40px #163b6819;
    --shadow-card: 0 4px 14px #163b6809;
    --shadow-card-hover: 0 10px 28px #163b6816;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --bounce: border-color .18s, background-color .18s, box-shadow .18s;
    --font-main: Inter, system-ui, sans-serif;
    --font-display: Inter, system-ui, sans-serif;
}

.thinkq-site .site-main > section > .container {
    width: min(100% - 96px, 1200px);
    padding: 0;
}

.thinkq-site .hero {
    min-height: auto;
    padding-block: clamp(70px, 8vw, 115px) clamp(58px, 6.8vw, 98px);
    border-bottom: 1px solid #dfeafa;
    background: radial-gradient(ellipse at 83% 30%, #deedff, transparent 56%), #f4f8ff;
}

.thinkq-site .hero-content { max-width: 760px; }
.thinkq-site .hero-logo-wrap { gap: 19px; margin-bottom: 19px; }
.thinkq-site .hero-brain {
    display: grid;
    width: clamp(51px, 6.5vw, 81px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid #d4e4fa;
    border-radius: 21%;
    background: white;
    box-shadow: 0 13px 25px #1847801a;
    font-size: clamp(29px, 4vw, 52px);
    animation: none;
}

.thinkq-site .hero-logo-text {
    color: var(--text-primary);
    background: none;
    font-size: clamp(55px, 9vw, 104px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.08em;
    -webkit-text-fill-color: currentColor;
}

.thinkq-site .hero-tagline {
    margin-bottom: 13px;
    color: var(--primary-dark);
    font-size: clamp(20px, 3.1vw, 31px);
    font-weight: 700;
    letter-spacing: -.045em;
}

.thinkq-site .hero-subtitle { max-width: 585px; margin: 0 auto 25px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; }
.thinkq-site .hero-actions { gap: 12px; margin-bottom: 28px; }
.thinkq-site .trust-indicators { gap: 8px 21px; }
.thinkq-site .indicator { gap: 6px; font-size: 13px; }
.thinkq-site .indicator-icon { font-size: 15px; }

.thinkq-site .shape { animation: none; }
.thinkq-site .shape-circle { top: -85px; right: -64px; width: clamp(200px, 30vw, 440px); height: clamp(200px, 30vw, 440px); opacity: .12; background: #88b5f8; }
.thinkq-site .shape-triangle { top: auto; bottom: -75px; left: -49px; width: 190px; height: 190px; border-radius: 42px; opacity: .19; background: #a4c6f8; transform: rotate(35deg); }
.thinkq-site .shape-square { bottom: 16%; right: 12%; width: 92px; height: 92px; border: 2px solid #8eb7ef; border-radius: 22px; opacity: .28; background: transparent; transform: rotate(-18deg); }
.thinkq-site .shape-star { top: 19%; left: 15%; width: 49px; height: 49px; border: 2px solid #8eb7ef; opacity: .4; background: transparent; }

.thinkq-site .site-main .btn {
    min-height: 49px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.4;
}

.thinkq-site .site-main .btn:hover { transform: none; }
.thinkq-site .site-main .btn-primary { background: var(--primary); box-shadow: none; }
.thinkq-site .site-main .btn-primary:hover { background: var(--primary-dark); }
.thinkq-site .site-main .btn-secondary { border-color: #c7d7ea; color: #214369; background: white; }
.thinkq-site .site-main .btn-secondary:hover { border-color: #659bdd; background: #f2f8ff; }
.thinkq-site .site-main .btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.thinkq-site .site-main .btn--sent { background: #15653e; }
.thinkq-site .site-main .btn--error { background: #a52b49; }

.thinkq-site .section { padding-block: clamp(43px, 6.4vw, 84px); }
.thinkq-site .section-colored { border-block: 1px solid #e4edf8; background: #f4f8fe; }
.thinkq-site .section-header { margin-bottom: 29px; }
.thinkq-site .section-header h2 { font-size: clamp(29px, 4.2vw, 49px); line-height: 1.13; font-weight: 750; letter-spacing: -.06em; }
.thinkq-site .section-header p { font-size: 16px; }
.thinkq-site .text-gradient { color: var(--primary); background: none; -webkit-text-fill-color: currentColor; }
.thinkq-site .ps-card--problem { background: #fff7f8; border: 1px solid #f0dde2; }
.thinkq-site .ps-card--solution { background: #eff6ff; border: 1px solid #d8e7fa; }
.thinkq-site .smart-card--highlight, .thinkq-site .promise-card--highlight { border-color: #cce0f8; background: #eef6ff; }
.thinkq-site .promise-card--highlight:hover { box-shadow: var(--shadow-card-hover); }
.thinkq-site .step-number { border-radius: 10px; color: #1153b2; background: #e1efff; font-size: 17px; font-weight: 700; }

.thinkq-site .benefit-card:hover,
.thinkq-site .step-card:hover,
.thinkq-site .cat-card:hover,
.thinkq-site .smart-card:hover,
.thinkq-site .parent-card:hover,
.thinkq-site .badge-card:hover,
.thinkq-site .promise-card:hover { transform: none; }

.thinkq-site .story-card, .thinkq-site .beta-card { border: 1px solid #d5e5f8; }
.thinkq-site .beta-card { background: #f5f9ff; text-align: center; }
.thinkq-site .beta-form { text-align: left; }
.thinkq-site .beta-card .form-note { margin-top: 0; color: var(--text-secondary); }
.thinkq-site .beta-form + .form-note { margin-top: 14px; }
.thinkq-site .beta-card > .btn { margin-top: 13px; }
.thinkq-site .form-group input:focus { box-shadow: 0 0 0 3px #0c57dc1f; }
.thinkq-site .form-hint { font-size: .82rem; color: var(--text-secondary); line-height: 1.45; }
.thinkq-site .form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--text-secondary); text-align: left; cursor: pointer; }
.thinkq-site .form-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--primary); }

/* Play section — the web edition in a phone frame (desktop) or a full-screen link (phones) */
.thinkq-site .play-section { background: #f4f8ff; border-bottom: 1px solid #dfeafa; }
.thinkq-site .play-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.thinkq-site .play-phone {
    --phone-h: min(760px, calc(100vh - 120px));
    height: var(--phone-h);
    aspect-ratio: 9 / 18.5;
    padding: 12px;
    border-radius: 44px;
    background: #10182b;
    box-shadow: 0 24px 60px #10182b40, inset 0 0 0 2px #2b3754;
}
.thinkq-site .play-frame { display: block; width: 100%; height: 100%; border: 0; border-radius: 32px; background: #1a1a2e; }
.thinkq-site .play-header { text-align: left; margin-bottom: 24px; }
.thinkq-site .play-header p { margin-inline: 0; }
.thinkq-site .play-mobile { display: none; }
.thinkq-site .play-cta {
    background: #fff; border: 1px solid #d5e5f8; border-radius: var(--radius-xl);
    padding: 22px; margin-bottom: 14px; box-shadow: var(--shadow-card);
    transition: border-color .25s, box-shadow .25s;
}
.thinkq-site .play-cta__title { font-size: 1.15rem; margin-bottom: 6px; color: var(--text-primary); }
.thinkq-site .play-cta__text { color: var(--text-secondary); margin-bottom: 16px; }
.thinkq-site .play-cta.is-done { border-color: var(--primary); box-shadow: 0 0 0 4px #0c57dc1f, var(--shadow-lg); }
.thinkq-site .play-cta.is-done .btn { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 1030px) {
    .thinkq-site .site-main > section > .container { width: calc(100% - 64px); }
}

@media (max-width: 760px) {
    .thinkq-site .play-layout { grid-template-columns: minmax(0, 1fr); }
    .thinkq-site .play-device { display: none; }
    .thinkq-site .play-mobile { display: block; margin-bottom: 20px; }
    .thinkq-site .play-mobile .form-note { margin-top: 8px; }
}

@media (max-width: 590px) {
    .thinkq-site .site-main > section > .container { width: calc(100% - 40px); }
    .thinkq-site .hero { padding-block: 53px 45px; }
    .thinkq-site .hero-logo-wrap { gap: 12px; }
    .thinkq-site .hero-actions { flex-direction: column; align-items: center; }
    .thinkq-site .hero-actions .btn { width: min(100%, 320px); }
    .thinkq-site .trust-indicators { gap: 6px 12px; }
    .thinkq-site .shape-star, .thinkq-site .shape-square { display: none; }
    .thinkq-site .smart-grid, .thinkq-site .parents-grid { grid-template-columns: minmax(0, 1fr); }
    .thinkq-site .cat-card, .thinkq-site .badge-card { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .thinkq-site .site-main *, .thinkq-site .site-main *::after { transition: none; }
}
