:root {
    --service-bg: rgba(8, 11, 16, 0.84);
    --service-panel: linear-gradient(160deg, rgba(28, 32, 40, 0.94), rgba(10, 13, 19, 0.96));
    --service-panel-soft: linear-gradient(160deg, rgba(35, 39, 48, 0.92), rgba(13, 17, 24, 0.95));
    --service-border: rgba(255, 255, 255, 0.13);
    --service-red: #e8003c;
    --service-red-2: #ff1f55;
    --service-text: #f3f5f8;
    --service-muted: #aeb7c4;
    --service-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

body.service-page,
body.legal-page {
    min-height: 100vh;
    color: var(--service-text);
    background:
        linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.58) 48%, rgba(0,0,0,0.86)),
        url("images/Killfeed_Images/LeaderBoard_BG.png") center / cover fixed,
        #070a0f;
    font-family: "Rajdhani", "Oswald", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

body.service-page *,
body.service-page *::before,
body.service-page *::after,
body.legal-page *,
body.legal-page *::before,
body.legal-page *::after {
    box-sizing: border-box;
}

.service-shell,
.legal-shell {
    width: min(94vw, 1320px);
    margin: 0 auto;
    min-width: 0;
}

.service-hero {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: center;
    padding: 88px 0 42px;
    isolation: isolate;
}

.service-hero-full {
    grid-template-columns: minmax(0, 1fr);
    min-height: 430px;
}

.service-hero-full > div {
    max-width: 860px;
}

.service-hero > * {
    min-width: 0;
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: 70px -24px 28px;
    z-index: -2;
    border: 1px solid rgba(232, 0, 60, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.72)),
        radial-gradient(circle at 78% 26%, rgba(232, 0, 60, 0.20), transparent 31%),
        url("images/Killfeed_Images/LeaderBoard_BG.png") center / cover no-repeat;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.service-hero::after {
    content: "";
    position: absolute;
    inset: 70px -24px 28px;
    z-index: -1;
    border-radius: 8px;
    background:
        repeating-linear-gradient(90deg, transparent 0 46px, rgba(232, 0, 60, 0.045) 47px, transparent 48px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%, rgba(232, 0, 60, 0.06));
    opacity: 0.72;
    pointer-events: none;
}

.service-eyebrow,
.section-kicker,
.command-access {
    color: var(--service-red-2);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.service-hero h1,
.legal-hero h1 {
    margin: 12px 0 14px;
    color: var(--service-text);
    font-family: "Teko", "Rajdhani", "Oswald", sans-serif;
    font-size: clamp(2.35rem, 3.85vw, 4.05rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.service-hero h1 strong,
.legal-hero h1 strong,
.text-red {
    color: var(--service-red-2);
}

.service-lead,
.legal-lead {
    max-width: 760px;
    color: #d7dde6;
    font-size: 1.06rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.service-cta-row,
.legal-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.service-button,
.legal-link-row a,
.command-tab {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(232, 0, 60, 0.54);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(232, 0, 60, 0.25), rgba(120, 0, 28, 0.3));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.service-button:hover,
.legal-link-row a:hover,
.command-tab:hover,
.command-tab.is-active {
    color: #fff;
    border-color: rgba(255, 50, 94, 0.88);
    background: linear-gradient(180deg, rgba(232, 0, 60, 0.38), rgba(120, 0, 28, 0.42));
    transform: translateY(-2px);
    text-decoration: none;
}

.service-button.secondary {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(8, 11, 16, 0.78);
}

.service-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.service-logo-card,
.service-card,
.service-stat,
.service-section,
.command-toolbar,
.command-section,
.legal-card,
.contact-note-card {
    position: relative;
    background: var(--service-panel);
    border: 1px solid var(--service-border);
    border-radius: 8px;
    box-shadow: var(--service-shadow);
    overflow: hidden;
    min-width: 0;
}

.service-logo-card {
    min-height: 260px;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 24px;
}

.service-logo-card img {
    max-width: min(250px, 86%);
    max-height: 210px;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.48));
}

.service-logo-card span {
    align-self: end;
    color: var(--service-muted);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-hero {
    min-height: 650px;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
}

.home-hero::before,
.home-hero::after {
    inset: 76px -44px 30px;
}

.home-hero-copy {
    max-width: 760px;
}

.home-tip-banner {
    width: min(100%, 620px);
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 14px;
    color: #e7edf6;
    font-size: 0.94rem;
    font-weight: 800;
    border: 1px solid rgba(250, 166, 26, 0.4);
    border-radius: 6px;
    background:
        repeating-linear-gradient(135deg, rgba(250, 166, 26, 0.18) 0 14px, transparent 14px 28px),
        rgba(5, 8, 12, 0.74);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
}

.home-tip-banner i {
    color: #faa61a;
}

.home-tip-banner span {
    min-width: 0;
    overflow-wrap: break-word;
}

.home-signal-grid {
    width: min(100%, 700px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.home-signal-grid div {
    min-height: 76px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid rgba(232, 0, 60, 0.82);
    border-radius: 6px;
    background: linear-gradient(160deg, rgba(17, 21, 29, 0.82), rgba(5, 8, 13, 0.78));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.home-signal-grid span {
    display: block;
    color: #9ea8b6;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-signal-grid strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.28;
    text-transform: uppercase;
}

.home-hero-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-width: 0;
}

.home-emblem-stage {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 35%, rgba(232, 0, 60, 0.2), transparent 36%),
        linear-gradient(160deg, rgba(16, 20, 28, 0.76), rgba(4, 6, 10, 0.78));
    box-shadow: var(--service-shadow), inset 0 0 60px rgba(232, 0, 60, 0.08);
}

.home-emblem-stage::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(232, 0, 60, 0.24);
    opacity: 0.9;
    pointer-events: none;
}

.home-emblem-stage::after {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background:
        linear-gradient(90deg, transparent, rgba(232, 0, 60, 0.12), transparent),
        repeating-linear-gradient(0deg, transparent 0 32px, rgba(255, 255, 255, 0.035) 33px);
    transform: rotate(-12deg);
    opacity: 0.34;
    pointer-events: none;
    animation: homeStageDrift 9s ease-in-out infinite alternate;
}

.home-killfeed-logo {
    position: relative;
    z-index: 2;
    width: min(72%, 390px);
    max-height: 310px;
    object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.6));
    animation: homeLogoFloat 5.8s ease-in-out infinite;
}

.home-trader-badge {
    position: absolute;
    left: 28px;
    bottom: 24px;
    width: 104px;
    height: 104px;
    object-fit: contain;
    padding: 10px;
    border: 1px solid rgba(232, 0, 60, 0.5);
    border-radius: 50%;
    background: rgba(2, 5, 10, 0.7);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.4);
    z-index: 3;
}

.home-season-badge {
    position: absolute;
    top: 20px;
    left: 24px;
    width: 72px;
    height: auto;
    filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.5));
    z-index: 3;
}

.home-stage-readout {
    position: absolute;
    z-index: 4;
    max-width: calc(100% - 48px);
    padding: 7px 10px;
    color: #dfe6ef;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(4, 7, 12, 0.72);
}

.readout-top {
    top: 22px;
    right: 24px;
}

.readout-bottom {
    right: 24px;
    bottom: 22px;
}

.home-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateY(-110%);
    animation: homeScan 4.8s linear infinite;
    opacity: 0.42;
}

.home-login-card {
    position: relative;
    padding: 26px;
    border: 1px solid rgba(232, 0, 60, 0.44);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(25, 29, 38, 0.94), rgba(7, 10, 16, 0.96));
    box-shadow: var(--service-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    text-align: center;
}

.home-login-card h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.35rem;
    text-transform: uppercase;
}

.home-login-card h2 i {
    color: var(--service-red-2);
}

.home-login-card p {
    max-width: 360px;
    margin: 0 auto 18px;
    color: var(--service-muted);
    line-height: 1.55;
}

.home-login-card span {
    display: block;
    margin-top: 12px;
    color: #9ca6b5;
    font-size: 0.82rem;
    font-weight: 800;
}

.home-login-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 310px);
    padding: 0 18px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: linear-gradient(180deg, #ff1f55, #a4002b);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.34), 0 0 24px rgba(232, 0, 60, 0.2);
}

.home-login-button:hover {
    color: #fff;
    transform: translateY(-2px);
}

.home-login-button img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

@keyframes homeLogoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.025); }
}

@keyframes homeScan {
    0% { transform: translateY(-120%); }
    100% { transform: translateY(120%); }
}

@keyframes homeStageDrift {
    0% { transform: translate(-3%, -2%) rotate(-12deg); }
    100% { transform: translate(3%, 2%) rotate(-12deg); }
}

.service-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.service-stat {
    min-height: 108px;
    padding: 18px;
}

.service-stat span {
    color: var(--service-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-stat strong {
    display: block;
    margin-top: 8px;
    color: var(--service-text);
    font-size: 1.18rem;
}

.service-section {
    margin-bottom: 28px;
    padding: 28px;
}

.service-section h2,
.service-card h3,
.command-section summary,
.legal-card h2 {
    color: var(--service-text);
    letter-spacing: 0;
    text-transform: uppercase;
}

.service-section h2 {
    margin: 6px 0 16px;
    font-family: "Teko", "Rajdhani", "Oswald", sans-serif;
    font-size: clamp(1.35rem, 1.95vw, 1.85rem);
    font-weight: 600;
    line-height: 1.03;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.service-card {
    padding: 22px;
    box-shadow: none;
    background: var(--service-panel-soft);
    min-width: 0;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.service-card p,
.service-card li,
.legal-card p,
.legal-card li,
.command-description {
    color: var(--service-muted);
    line-height: 1.62;
    overflow-wrap: anywhere;
}

.service-card ul,
.legal-card ul {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding-left: 18px;
}

.service-card i,
.contact-note-card i {
    color: var(--service-red-2);
    margin-right: 8px;
}

.command-page .service-hero {
    min-height: 420px;
    grid-template-columns: 1fr;
}

.command-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    margin-bottom: 18px;
}

.command-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.command-filter {
    min-height: 46px;
    min-width: min(360px, 100%);
    padding: 0 14px;
    color: var(--service-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.42);
    max-width: 100%;
}

.command-panel {
    display: none;
}

.command-panel.is-active {
    display: grid;
    gap: 16px;
}

.command-section {
    background: rgba(8, 11, 16, 0.78);
}

.command-section summary {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 18px;
    cursor: pointer;
    background: linear-gradient(90deg, rgba(232, 0, 60, 0.18), rgba(0, 0, 0, 0));
}

.command-section summary span {
    color: var(--service-muted);
    font-size: 0.76rem;
}

.service-command-list {
    display: grid;
    gap: 10px;
    padding: 16px;
    margin: 0;
    list-style: none;
}

.service-command-list li {
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) minmax(240px, 1fr) minmax(220px, 0.72fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid rgba(232, 0, 60, 0.82);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
}

.command-name,
.command-usage {
    font-family: "Courier New", Courier, monospace;
}

.command-name {
    color: #fff;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.command-usage {
    color: #e9edf5;
    font-size: 0.84rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.32);
    cursor: pointer;
}

.command-access {
    display: inline-flex;
    width: max-content;
    margin-top: 8px;
    padding: 4px 8px;
    border: 1px solid rgba(232, 0, 60, 0.4);
    border-radius: 999px;
    background: rgba(232, 0, 60, 0.14);
}

.legal-hero {
    padding: 110px 0 28px;
}

.legal-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 34px;
}

.legal-card {
    padding: 26px;
}

.legal-card h2 {
    margin: 0 0 12px;
    font-size: 1.28rem;
}

.legal-card h3 {
    margin: 20px 0 8px;
    color: var(--service-text);
}

.contact-note-grid {
    width: min(94vw, 1320px);
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-note-card {
    padding: 20px;
}

.contact-command-center {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.72fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 28px;
}

.contact-main-stack,
.contact-side-stack {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.contact-side-stack {
    position: sticky;
    top: 108px;
}

.contact-route-panel,
.contact-form-panel,
.contact-service-matrix,
.contact-faq-compact {
    margin-bottom: 0;
}

.contact-route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-intel-card {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 3px solid rgba(232, 0, 60, 0.75);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
        linear-gradient(160deg, rgba(25, 29, 38, 0.94), rgba(7, 10, 16, 0.96));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.contact-intel-card::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 74px;
    height: 8px;
    background: repeating-linear-gradient(135deg, rgba(232, 0, 60, 0.45) 0 7px, transparent 7px 14px);
    opacity: 0.5;
}

.contact-intel-card.danger {
    border-left-color: rgba(250, 166, 26, 0.82);
}

.contact-intel-card h3 {
    margin: 7px 0 10px;
    color: #fff;
    font-family: "Teko", "Rajdhani", sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.contact-intel-card p,
.contact-intel-card li {
    color: var(--service-muted);
    line-height: 1.5;
}

.contact-intel-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
}

.contact-topic-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-tag-list span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    color: #dfe6ef;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.28);
}

.contact-faq-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.service-page .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-page .form-label {
    display: block;
    margin: 12px 0 7px;
    color: var(--service-text);
    font-weight: 900;
    text-transform: uppercase;
}

.service-page .form-control,
.service-page .form-select {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    color: var(--service-text);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.36);
}

.service-page textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.service-page .form-hint,
.service-page .char-counter {
    margin-top: 6px;
    color: var(--service-muted);
    font-size: 0.84rem;
}

.service-page .char-counter.warn {
    color: #faa61a;
}

.service-page .char-counter.limit {
    color: #ff6688;
}

.service-page .alert {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 6px;
    color: #fff;
}

.service-page .alert.success {
    border: 1px solid rgba(67, 181, 129, 0.5);
    background: rgba(67, 181, 129, 0.18);
}

.service-page .alert.error {
    border: 1px solid rgba(232, 0, 60, 0.55);
    background: rgba(232, 0, 60, 0.2);
}

.team-member {
    cursor: pointer;
}

.team-member:focus,
.team-member:hover {
    border-color: rgba(232, 0, 60, 0.52);
}

.legal-footer,
.service-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 18px 0 26px;
    color: var(--service-muted);
}

.legal-footer a,
.service-footer-links a {
    color: #dfe5ee;
    font-weight: 800;
}

/* Tactical composition pass: restore a wider command-center layout. */
body.service-page,
body.legal-page {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.46) 45%, rgba(0, 0, 0, 0.83)),
        radial-gradient(circle at 78% 18%, rgba(232, 0, 60, 0.18), transparent 27%),
        url("images/Killfeed_Images/LeaderBoard_BG.png") center / cover fixed,
        #06080d;
}

.service-shell,
.legal-shell {
    width: min(96vw, 1460px);
}

.service-hero {
    min-height: 500px;
    padding: 76px 0 34px;
}

.service-hero-full {
    min-height: 330px;
    align-items: end;
    padding-bottom: 32px;
}

.service-hero h1,
.legal-hero h1 {
    max-width: 920px;
    text-shadow: 0 16px 36px rgba(0, 0, 0, 0.62);
}

.service-lead,
.legal-lead {
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.58;
}

.home-hero {
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
    gap: 38px;
}

.home-hero h1 {
    max-width: 780px;
}

.home-login-card {
    text-align: left;
}

.home-login-card p {
    margin-left: 0;
    margin-right: 0;
}

.home-login-button {
    width: 100%;
}

.service-section {
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(232, 0, 60, 0.07), transparent 22%, transparent 78%, rgba(232, 0, 60, 0.04)),
        var(--service-panel);
}

.service-section::before,
.service-section::after {
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    pointer-events: none;
    opacity: 0.75;
}

.service-section::before {
    top: 10px;
    left: 10px;
    border-top: 1px solid rgba(232, 0, 60, 0.56);
    border-left: 1px solid rgba(232, 0, 60, 0.56);
}

.service-section::after {
    right: 10px;
    bottom: 10px;
    border-right: 1px solid rgba(232, 0, 60, 0.42);
    border-bottom: 1px solid rgba(232, 0, 60, 0.42);
}

.service-card {
    border-radius: 5px;
}

.service-card h3 {
    font-family: "Rajdhani", "Oswald", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
}

.service-button,
.legal-link-row a,
.command-tab,
.home-login-button {
    border-radius: 4px;
}

@media (max-width: 1050px) {
    .service-hero,
    .service-logo-grid,
    .service-stat-grid,
    .service-grid,
    .service-grid.three,
    .contact-note-grid,
    .service-page .form-row,
    .contact-command-center,
    .contact-route-grid,
    .contact-topic-columns,
    .contact-faq-strip {
        grid-template-columns: 1fr;
    }

    .contact-side-stack {
        position: static;
    }

    .service-hero {
        min-height: auto;
        padding-top: 92px;
        gap: 18px;
    }

    .service-hero::before,
    .service-hero::after,
    .home-hero::before,
    .home-hero::after {
        inset: 68px -10px 20px;
    }

    .home-hero {
        min-height: auto;
    }

    .home-emblem-stage {
        min-height: 300px;
    }

    .service-command-list li {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .service-shell,
    .legal-shell {
        width: min(100% - 24px, 1320px);
    }

    .service-hero h1,
    .legal-hero h1 {
        font-size: clamp(1.95rem, 8vw, 2.45rem);
        line-height: 0.96;
    }

    .service-hero,
    .home-hero-copy,
    .home-hero-side,
    .service-lead,
    .home-tip-banner,
    .service-cta-row {
        width: 100% !important;
        max-width: 100% !important;
    }

    .service-lead,
    .legal-lead {
        font-size: 0.92rem;
        line-height: 1.58;
        width: auto !important;
        max-width: 300px !important;
        overflow-wrap: normal;
        word-break: normal;
    }

    .home-hero .service-lead {
        max-width: 280px !important;
    }

    .home-tip-banner span {
        overflow-wrap: normal;
        word-break: normal;
    }

    .service-section,
    .legal-card {
        padding: 18px;
    }

    .service-section h2 {
        max-width: 300px;
        font-size: clamp(1.45rem, 7.4vw, 2rem) !important;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .service-cta-row,
    .legal-link-row,
    .command-toolbar,
    .command-tabs {
        align-items: stretch;
        flex-direction: column;
    }

    .service-button,
    .legal-link-row a,
    .command-tab {
        width: 100%;
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
        white-space: normal;
        text-align: center;
    }

    .service-stat {
        min-height: auto;
    }

    .home-tip-banner {
        font-size: 0.86rem;
    }

    .home-emblem-stage {
        min-height: 250px;
    }

    .home-killfeed-logo {
        width: min(76%, 280px);
    }

    .home-trader-badge {
        width: 76px;
        height: 76px;
        left: 16px;
        bottom: 16px;
    }

    .home-season-badge {
        width: 54px;
        top: 14px;
        left: 16px;
    }

    .home-login-card {
        padding: 20px 16px;
    }

    .contact-note-grid {
        width: min(100% - 24px, 1320px);
    }

    .command-section summary span {
        display: none;
    }

    .service-card p,
    .service-card li,
    .contact-note-card p,
    .legal-card p,
    .legal-card li {
        max-width: 300px;
        overflow-wrap: anywhere !important;
    }

    .contact-command-center .service-card,
    .contact-intel-card {
        padding: 18px;
    }

    .contact-tag-list span {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
