.page-thryth .page-hero {
    text-align: left;
    padding-bottom: 28px;
}

.page-thryth .thryth-hero .glitch-title,
.page-thryth .thryth-hero .section-desc,
.page-thryth .thryth-head .section-title {
    text-align: left;
}

.page-thryth .thryth-hero .crumbs {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.page-thryth .thryth-hero .section-desc {
    max-width: 460px;
    margin-bottom: 0;
}

.thryth-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
    gap: 42px;
    align-items: center;
}

.page-thryth .thryth-section {
    padding: 28px 0 8px;
}

.page-thryth .thryth-section:last-of-type {
    padding-bottom: 72px;
}

.thryth-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 14px 18px;
    margin-top: 22px;
}

.thryth-price,
.thryth-wait {
    margin: 0;
    color: var(--accent-strong);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.thryth-board {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.thryth-plan {
    height: 100%;
    padding: 26px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    background:
        linear-gradient(180deg, rgba(212, 196, 160, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(30, 16, 50, 0.82), rgba(13, 8, 22, 0.88));
    box-shadow: var(--shadow-soft);
}

.thryth-plan-price {
    margin: 6px 0 16px;
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1;
}

.thryth-plan ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thryth-plan li {
    position: relative;
    padding-left: 18px;
    color: var(--text);
    line-height: 1.5;
}

.thryth-plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 1px;
    background: var(--accent);
}

.thryth-plan-pay {
    margin: 16px 0 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.thryth-chat {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    background: linear-gradient(180deg, rgba(16, 9, 26, 0.96), rgba(8, 5, 14, 0.98));
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(232, 215, 176, 0.14);
    overflow: hidden;
}

.thryth-chat header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thryth-chat header i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 196, 160, 0.16);
}

.thryth-chat-log {
    display: grid;
    gap: 11px;
    padding: 16px;
}

.thryth-chat-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.45;
}

.thryth-chat-line b {
    color: var(--accent-strong);
    font-weight: 600;
}

.thryth-chat-line b.is-viewer {
    color: #c4b7d4;
}

.thryth-bot-mark {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 5px;
    border: 1px solid rgba(212, 196, 160, 0.45);
    border-radius: 4px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.thryth-state {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.thryth-state.is-on {
    border-color: rgba(125, 206, 160, 0.45);
    color: #9ed7b6;
}

.thryth-state.is-off {
    border-color: var(--warning);
    color: var(--accent-strong);
}

.thryth-saved {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.thryth-panel-page {
    margin: 8px 0 32px;
}

.thryth-grid,
.thryth-limits {
    display: grid;
    gap: 12px;
}

.thryth-grid {
    grid-template-columns: 1fr 1fr;
}

.thryth-limits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thryth-card,
.thryth-limit,
.thryth-step,
.thryth-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(30, 16, 50, 0.82), rgba(13, 8, 22, 0.88));
    box-shadow: var(--shadow-soft);
}

.thryth-card,
.thryth-limit {
    padding: 22px 18px;
}

.thryth-card i,
.thryth-limit i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 196, 160, 0.28);
    border-radius: 10px;
    background: rgba(212, 196, 160, 0.08);
    color: var(--accent);
    font-size: 0.95rem;
}

.thryth-card h3,
.thryth-limit h3,
.thryth-step h3 {
    margin: 12px 0 8px;
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 600;
}

.thryth-card p,
.thryth-limit p,
.thryth-step p,
.thryth-lead {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.thryth-lead code {
    color: var(--accent-strong);
    font-size: 0.92em;
}

.thryth-head {
    display: grid;
    gap: 8px;
    max-width: 640px;
    margin: 0 0 18px;
    text-align: left;
}

.thryth-head .section-title,
.thryth-panel-head h2 {
    font-family: var(--font-display);
    font-weight: 600;
}

.thryth-head .section-title {
    margin-bottom: 0;
}

.thryth-head .thryth-lead {
    max-width: 560px;
    margin: 0;
    text-align: left;
}

.thryth-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thryth-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    padding: 16px;
}

.thryth-step span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.thryth-step h3 {
    margin-top: 4px;
}

.thryth-faq {
    max-width: none;
    grid-template-columns: 1fr 1fr;
}

.thryth-request {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 28px 36px;
    align-items: start;
}

.thryth-request-copy .thryth-lead {
    margin-top: 12px;
}

.thryth-field-hint {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.thryth-panel {
    padding: 28px 24px;
}

.thryth-panel-head {
    margin-bottom: 8px;
}

.thryth-panel-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.thryth-lead {
    margin: 10px 0 22px;
}

.thryth-flash {
    padding: 14px 16px;
    margin: 0 0 18px;
    border: 1px solid var(--warning);
    border-radius: 12px;
    background: rgba(8, 5, 14, 0.45);
}

.thryth-flash.is-ok {
    border-color: rgba(125, 206, 160, 0.45);
}

.thryth-flash.is-bad {
    border-color: rgba(224, 160, 168, 0.45);
}

.thryth-login {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.thryth-form {
    display: grid;
    gap: 16px;
}

.thryth-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.thryth-form .thryth-fields label,
.thryth-greet {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.thryth-wide {
    grid-column: 1 / -1;
}

.thryth-features {
    display: grid;
    gap: 12px;
}

.thryth-feature {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(8, 5, 14, 0.35);
}

.thryth-form label.thryth-switch {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    justify-items: start;
    text-align: left;
    cursor: pointer;
}

.thryth-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.thryth-track {
    position: relative;
    width: 44px;
    height: 26px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.thryth-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: transform 180ms ease, background 180ms ease;
}

.thryth-switch input:checked + .thryth-track {
    border-color: var(--accent);
    background: rgba(212, 196, 160, 0.22);
}

.thryth-switch input:checked + .thryth-track::after {
    transform: translateX(18px);
    background: var(--accent);
}

.thryth-switch input:focus-visible + .thryth-track {
    outline: 2px solid rgba(232, 215, 176, 0.8);
    outline-offset: 3px;
}

.thryth-switch-title {
    display: block;
    color: var(--text);
    font-size: 1rem;
}

.thryth-switch-lead {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.thryth-greet {
    margin-top: 14px;
}

.thryth-greet[hidden] {
    display: none;
}

.thryth-form input:not([type="checkbox"]),
.thryth-form textarea {
    width: 100%;
    padding: 10px 12px;
    color: var(--text);
}

.thryth-check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.thryth-check input {
    margin-top: 4px;
}

.thryth-fineprint {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.thryth-form .btn {
    justify-self: start;
}

@media (max-width: 980px) {
    .thryth-hero,
    .thryth-board,
    .thryth-steps,
    .thryth-request,
    .thryth-faq {
        grid-template-columns: 1fr;
    }

    .thryth-head .thryth-lead {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .thryth-grid,
    .thryth-limits,
    .thryth-fields {
        grid-template-columns: 1fr;
    }
}
