.tne-guide {
    --guide-ink: #12211b;
    --guide-muted: #5d6b64;
    --guide-green: #176b4a;
    --guide-green-dark: #0f4d35;
    --guide-mint: #eff8f3;
    --guide-line: #d5e2da;
    width: min(980px, calc(100vw - 32px));
    margin: 0 auto;
    padding: clamp(34px, 6vw, 72px) 0;
    color: var(--guide-ink);
}

.tne-guide *,
.tne-guide *::before,
.tne-guide *::after {
    box-sizing: border-box;
}

.tne-guide__hero {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.tne-guide__hero > span {
    color: var(--guide-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tne-guide__hero h1 {
    margin: 12px 0 18px;
    color: var(--guide-ink);
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.tne-guide__hero p {
    margin: 0;
    color: var(--guide-muted);
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.7;
}

.tne-guide__domain {
    display: inline-flex;
    gap: 7px;
    margin-top: 20px;
    padding: 9px 14px;
    border: 1px solid var(--guide-line);
    border-radius: 999px;
    background: #fff;
    font-size: .88rem;
}

.tne-guide__before,
.tne-guide__next {
    margin: 0 0 28px;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 18px;
    background: var(--guide-ink);
    color: #fff;
}

.tne-guide__before h2,
.tne-guide__next h2 {
    margin: 0 0 14px;
    color: #fff;
}

.tne-guide__before ul {
    margin-bottom: 0;
}

.tne-guide-step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 22px;
    margin: 0 0 20px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--guide-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(18, 33, 27, .06);
}

.tne-guide-step__number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--guide-green);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
}

.tne-guide-step h2 {
    margin: 4px 0 13px;
    color: var(--guide-ink);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.tne-guide-step h3 {
    margin: 24px 0 10px;
    color: var(--guide-ink);
    font-size: 1.05rem;
}

.tne-guide-step p,
.tne-guide-step li {
    color: var(--guide-muted);
    line-height: 1.65;
}

.tne-guide__button {
    display: inline-block;
    margin: 4px 0 10px;
    padding: 11px 16px;
    border-radius: 9px;
    background: var(--guide-green);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
}

.tne-guide__button:hover,
.tne-guide__button:focus-visible {
    background: var(--guide-green-dark);
}

.tne-guide__result,
.tne-guide__note,
.tne-guide__warning,
.tne-guide__cloudflare {
    margin: 16px 0 0 !important;
    padding: 13px 15px;
    border-radius: 10px;
}

.tne-guide__result,
.tne-guide__note {
    background: var(--guide-mint);
    color: #33463d !important;
}

.tne-guide__warning {
    border-left: 4px solid #c87400;
    background: #fff6e8;
    color: #6e470e !important;
}

.tne-guide__cloudflare {
    border-left: 4px solid var(--guide-green);
    background: #f4f7f5;
    color: #33463d !important;
}

.tne-guide__table-wrap {
    overflow-x: auto;
    margin: 12px 0;
    border: 1px solid var(--guide-line);
    border-radius: 10px;
}

.tne-guide__records {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: #fff;
}

.tne-guide__records th,
.tne-guide__records td {
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid #e4e9e5;
    text-align: left;
    vertical-align: top;
}

.tne-guide__records th {
    background: #f4f7f5;
    color: #33463d;
    font-size: .78rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.tne-guide__records tr:last-child td {
    border-bottom: 0;
}

.tne-guide__records code {
    color: #173d32;
    font-size: .84rem;
    overflow-wrap: anywhere;
    white-space: normal;
}

.tne-guide__next {
    margin-top: 30px;
}

.tne-guide__next p {
    color: #c7d5cd;
}

.tne-guide__next div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tne-guide__next a {
    color: #fff;
    font-weight: 800;
}

.tne-guide__source {
    color: var(--guide-muted);
    font-size: .8rem;
    line-height: 1.6;
    text-align: center;
}

.tne-guide__source a {
    margin-left: 5px;
}

@media (max-width: 680px) {
    .tne-guide {
        width: min(100% - 22px, 980px);
    }

    .tne-guide-step {
        grid-template-columns: 1fr;
    }

    .tne-guide-step__number {
        width: 40px;
        height: 40px;
    }
}
