:root {
    --cs-ink: #10241d;
    --cs-muted: #5f7068;
    --cs-green: #07583f;
    --cs-green-dark: #043e2d;
    --cs-lime: #dfff69;
    --cs-lilac: #ddd8f6;
    --cs-line: rgba(16, 36, 29, .13);
}

body.tx-rebuilt.cs-page {
    display: block;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--cs-ink);
    background: #edf3ef !important;
    font-family: Inter, "Segoe UI", sans-serif;
}

body.cs-page .tx-rebuilt-content { overflow: hidden; }
.cs-wrap { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }

.cs-nav { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; }
.cs-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--cs-ink); font-size: 1.12rem; font-weight: 800; text-decoration: none; }
.cs-brand img { width: 34px; height: 34px; object-fit: contain; filter: brightness(0) saturate(100%) invert(27%) sepia(27%) saturate(1262%) hue-rotate(112deg) brightness(88%) contrast(101%); }
.cs-nav__link { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; border: 1px solid var(--cs-line); border-radius: 11px; padding: 0 16px; color: #40534b; background: rgba(255,255,255,.7); font-size: .82rem; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.cs-nav__link:hover { transform: translateY(-2px); background: #fff; }

.cs-main { display: grid; grid-template-columns: minmax(0, .91fr) minmax(480px, 1.09fr); min-height: calc(100vh - 158px); align-items: center; gap: clamp(55px, 8vw, 110px); padding-block: 62px 90px; }
.cs-copy { position: relative; z-index: 2; }
.cs-status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 34px; border: 1px solid rgba(7,88,63,.16); border-radius: 999px; padding: 8px 13px; color: var(--cs-green); background: rgba(255,255,255,.62); font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cs-status span { width: 7px; height: 7px; border-radius: 50%; background: #e9a62f; box-shadow: 0 0 0 4px rgba(233,166,47,.15); }
.cs-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--cs-green); font-size: .73rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.cs-eyebrow::before { width: 28px; height: 2px; background: var(--cs-green); content: ""; }
body.cs-page h1 { max-width: 700px; margin: 0; color: var(--cs-ink); font: 600 clamp(3.8rem, 6.4vw, 6.5rem)/.91 Newsreader, Georgia, serif; letter-spacing: -.052em; }
.cs-lede { max-width: 590px; margin: 28px 0 0; color: var(--cs-muted); font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.72; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.cs-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 12px; padding: 0 21px; font-size: .88rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.cs-button:hover { transform: translateY(-2px); }
.cs-button--primary { color: #fff !important; background: var(--cs-green); box-shadow: 0 12px 28px rgba(7,88,63,.21); }
.cs-button--primary:hover { background: var(--cs-green-dark); box-shadow: 0 17px 34px rgba(7,88,63,.27); }
.cs-button--secondary { border-color: var(--cs-line); color: var(--cs-ink) !important; background: #fff; }
.cs-available { display: flex; max-width: 560px; align-items: flex-start; gap: 12px; margin-top: 35px; border-top: 1px solid var(--cs-line); padding-top: 23px; }
.cs-available > i { margin-top: 3px; color: var(--cs-green); }
.cs-available p { margin: 0; color: var(--cs-muted); font-size: .79rem; line-height: 1.55; }
.cs-available strong, .cs-available span { display: block; }
.cs-available strong { margin-bottom: 3px; color: var(--cs-ink); font-size: .86rem; }

.cs-visual { position: relative; min-width: 0; padding: 45px 0; }
.cs-visual::before { position: absolute; z-index: -2; inset: -45px -130px -65px -60px; border-radius: 49% 51% 43% 57%; background: var(--cs-lilac); content: ""; transform: rotate(-5deg); }
.cs-orbit { position: absolute; z-index: -1; border: 1px solid rgba(69,47,127,.15); border-radius: 50%; pointer-events: none; }
.cs-orbit--one { width: 620px; height: 620px; top: -20px; left: -30px; }
.cs-orbit--two { width: 460px; height: 460px; top: 60px; left: 50px; }
.cs-preview { overflow: hidden; border: 1px solid rgba(255,255,255,.55); border-radius: 25px; background: #fff; box-shadow: 0 36px 90px rgba(31,22,65,.21); transform: rotate(1.2deg); }
.cs-preview__top { display: flex; min-height: 55px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--cs-line); color: #6b7a73; background: #fbfcfa; font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.cs-preview__dots { display: flex; gap: 6px; }
.cs-preview__dots i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5d0; }
.cs-preview__tag { border-radius: 999px; padding: 5px 9px; color: #654b15; background: #fff2c9; font-size: .58rem; }
.cs-preview__body { min-height: 440px; padding: 28px; background: #f3f6f4; }
.cs-preview__heading span { display: block; margin-bottom: 8px; color: var(--cs-green); font-size: .64rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.cs-preview__heading strong { display: block; max-width: 380px; font: 600 1.75rem/1.06 Newsreader, Georgia, serif; letter-spacing: -.035em; }
.cs-progress { margin: 28px 0 25px; }
.cs-progress__track { height: 7px; overflow: hidden; border-radius: 999px; background: #dbe3df; }
.cs-progress__track i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--cs-green),#37a37e); }
.cs-progress__labels { display: flex; justify-content: space-between; margin-top: 8px; color: #84918b; font-size: .58rem; font-weight: 750; text-transform: uppercase; }
.cs-progress__labels strong { color: var(--cs-green); }
.cs-steps { display: grid; gap: 9px; }
.cs-step { display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 13px; border: 1px solid var(--cs-line); border-radius: 13px; padding: 14px; color: #718078; background: rgba(255,255,255,.62); }
.cs-step > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; color: #75857d; background: #e2e8e5; }
.cs-step small, .cs-step strong, .cs-step p { display: block; }
.cs-step small { margin-bottom: 2px; color: #8b9791; font-size: .55rem; font-weight: 800; }
.cs-step strong { color: var(--cs-ink); font-size: .82rem; }
.cs-step p { margin: 2px 0 0; color: #718078; font-size: .67rem; }
.cs-step--done > span { color: var(--cs-green); background: #d9eee6; }
.cs-step--active { border-color: rgba(7,88,63,.3); background: #fff; box-shadow: 0 10px 28px rgba(7,55,41,.08); }
.cs-step--active > span { color: var(--cs-ink); background: var(--cs-lime); }
.cs-float-card { position: absolute; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; padding: 12px 15px; color: #596b62; background: rgba(255,255,255,.91); box-shadow: 0 16px 35px rgba(35,23,72,.15); font-size: .64rem; backdrop-filter: blur(12px); }
body.cs-page .cs-float-card { border-radius: 14px; box-shadow: 0 16px 35px rgba(35,23,72,.15); }
.cs-float-card > i { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 9px; color: var(--cs-green); background: #d9eee6; }
.cs-float-card span, .cs-float-card strong { display: block; }
.cs-float-card strong { margin-bottom: 2px; color: var(--cs-ink); font-size: .71rem; }
.cs-float-card--shield { right: -38px; bottom: 80px; }
.cs-float-card--spark { top: 12px; left: -37px; }
.cs-float-card--spark > i { color: #4b367f; background: #e7e1fa; }

.cs-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--cs-line); padding: 26px 0 38px; color: #75847d; font-size: .75rem; }
.cs-footer nav { display: flex; gap: 20px; }
.cs-footer a { color: var(--cs-ink); font-weight: 750; text-decoration: none; }

@media (max-width: 980px) {
    .cs-main { grid-template-columns: 1fr; min-height: auto; padding-top: 45px; }
    .cs-visual { width: min(680px,100%); margin: 0 auto; }
}

@media (max-width: 640px) {
    .cs-wrap { width: min(100% - 28px, 1220px); }
    .cs-nav { min-height: 70px; }
    .cs-nav__link { min-height: 38px; padding: 0 12px; font-size: .72rem; }
    .cs-main { gap: 48px; padding-block: 42px 70px; }
    .cs-status { margin-bottom: 26px; }
    body.cs-page h1 { font-size: clamp(3.15rem, 15vw, 4.35rem); }
    .cs-actions { display: grid; }
    .cs-button { width: 100%; }
    .cs-visual { padding: 22px 0; }
    .cs-visual::before { inset: -20px -45px -35px -20px; }
    .cs-preview { border-radius: 18px; transform: none; }
    .cs-preview__body { min-height: 410px; padding: 20px 14px; }
    .cs-preview__heading strong { font-size: 1.5rem; }
    .cs-float-card { display: none; }
    .cs-orbit { opacity: .4; }
    .cs-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .cs-preview { transform: none; }
    .cs-button, .cs-nav__link { transition: none; }
}
