@import url('/cbt/css/root-b4ad5577f1d3135a99b22c2782151139.css');

.nt-page {
    --nt-display: young-serif, Georgia, 'Times New Roman', serif;
    --nt-tone: var(--dark-green);
    --nt-wash: #e6f0e3;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 96px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.nt-page.nt-error {
    --nt-tone: #b3412e;
    --nt-wash: #f6e7e2;
}

[data-theme="dark"] .nt-page {
    --nt-tone: var(--primary-colour);
    --nt-wash: var(--bg-secondary);
}

[data-theme="dark"] .nt-page.nt-error {
    --nt-tone: #e07a66;
}

.nt-wash {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(42% 60% at 18% 30%, var(--nt-wash) 0%, transparent 70%),
        radial-gradient(38% 55% at 85% 78%, var(--nt-wash) 0%, transparent 72%);
}

.nt-card {
    position: relative;
    width: min(520px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    animation: nt-rise .5s ease both;
}

.nt-mark {
    width: 96px;
    height: 96px;
    margin-bottom: 6px;
    fill: none;
    stroke: var(--nt-tone);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nt-ring {
    stroke-dasharray: 264;
    stroke-dashoffset: 264;
    opacity: .35;
    animation: nt-draw .7s ease-out .1s forwards;
}

.nt-stroke {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: nt-draw .45s ease-out .65s forwards;
}

.nt-title {
    margin: 0;
    font-family: var(--nt-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -.01em;
    text-wrap: balance;
    color: var(--text-primary);
}

.nt-details {
    margin: 0;
    max-width: 34em;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.nt-details a {
    color: var(--nt-tone);
}

.nt-action {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 8px;
    background: var(--primary-colour);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 0 var(--dark-green);
    transition: transform .15s ease, box-shadow .15s ease;
}

.nt-action:hover,
.nt-action:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 0 var(--dark-green);
}

.nt-action:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--dark-green);
}

.nt-action i {
    transition: transform .15s ease;
}

.nt-action:hover i {
    transform: translateX(3px);
}

@keyframes nt-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes nt-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

@media (max-width: 576px) {
    .nt-page {
        padding: 110px 16px 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nt-card,
    .nt-ring,
    .nt-stroke {
        animation: none;
        stroke-dashoffset: 0;
    }
}
