.ot-page {
    display: grid;
    gap: 18px;
}

.ot-hero {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(49, 94, 251, 0.12)),
        rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

html.theme-dark .ot-hero {
    background:
        linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(96, 165, 250, 0.1)),
        rgba(17, 24, 39, 0.94);
}

.ot-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 68%);
    pointer-events: none;
}

.ot-hero-top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.ot-eyebrow {
    margin: 0 0 8px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.ot-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.ot-lead {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.ot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ot-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-weight: 800;
    font-size: 0.84rem;
    box-shadow: 0 10px 24px rgba(23, 32, 42, 0.05);
}

html.theme-dark .ot-chip {
    background: rgba(15, 23, 42, 0.72);
}

.ot-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.ot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 16px;
}

.ot-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

html.theme-dark .ot-card {
    background: rgba(17, 24, 39, 0.94);
}

.ot-card h2 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.ot-card p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.65;
}

.ot-card p:last-child {
    margin-bottom: 0;
}

.ot-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ot-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
    line-height: 1.5;
}

.ot-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.ot-preview {
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--mono);
    white-space: pre-wrap;
    line-height: 1.7;
    min-height: 180px;
}

html.theme-dark .ot-preview {
    background: rgba(2, 6, 23, 0.75);
}

.ot-preview-label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-family: var(--sans);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ot-preview-text {
    margin: 0;
    font-family: var(--mono);
    white-space: pre-wrap;
    line-height: 1.7;
}

.ot-preview-label + .ot-preview-text {
    margin-top: 0;
}

.ot-status {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

html.theme-dark .ot-status {
    background: rgba(17, 24, 39, 0.94);
}

.ot-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 800;
}

.ot-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.12);
}

.ot-progress {
    margin-top: 10px;
    height: 8px;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.56);
    overflow: hidden;
}

.ot-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--blue));
}

.ot-footer-card {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

html.theme-dark .ot-footer-card {
    background: rgba(17, 24, 39, 0.94);
}

.ot-footer-card h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.ot-footer-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 960px) {
    .ot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .ot-hero {
        padding: 18px;
        border-radius: 18px;
    }
}
