* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root{
    --rc-bg-0:#070b18;
    --rc-bg-1:#0a1024;
    --rc-surface: rgba(18, 26, 52, 0.72);
    --rc-surface-2: rgba(18, 26, 52, 0.55);
    --rc-border: rgba(255,255,255,0.10);
    --rc-text: rgba(255,255,255,0.92);
    --rc-text-muted: rgba(255,255,255,0.68);
    --rc-accent: #20d6d6;
    --rc-accent-2: #6a5cff;
    --rc-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

body{
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--rc-text);
    background: var(--rc-bg-0);
    line-height: 1.5;
}

.container{
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 22px;
}

.rc-main{
    min-height: 60vh;
}

.rc-page{
    padding: 0;
}

.rc-fullbleed{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.rc-bg{
    background:
        radial-gradient(920px 520px at 72% 2%, rgba(106, 92, 255, 0.38) 0%, rgba(106, 92, 255, 0) 62%),
        radial-gradient(820px 540px at 18% 16%, rgba(32, 214, 214, 0.22) 0%, rgba(32, 214, 214, 0) 58%),
        linear-gradient(180deg, var(--rc-bg-0) 0%, var(--rc-bg-1) 55%, rgba(0, 78, 80, 0.98) 100%);
}

.rc-header{
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 11, 24, 0.78);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}
.rc-header__inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 18px;
}
.rc-brand{
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--rc-text);
    font-size: 20px;
}
.rc-brand__code{
    color: var(--rc-accent-2);
}

.rc-nav-toggle{
    display: none;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    width: 44px;
    height: 40px;
    border-radius: 10px;
    padding: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.rc-nav-toggle__bar{
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,0.88);
    border-radius: 2px;
}
.rc-nav-toggle__bar + .rc-nav-toggle__bar{
    margin-top: 6px;
}

.rc-nav__list{
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.rc-nav__link{
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.rc-nav__link:hover{
    color: rgba(255,255,255,0.96);
}
.rc-nav__cta{
    margin-left: 8px;
}

.rc-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255,255,255,0.14);
    cursor: pointer;
    user-select: none;
}
.rc-btn--small{
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
}
.rc-btn--primary{
    background: linear-gradient(90deg,rgba(2, 152, 171, 1) 0%, rgba(83, 70, 255, 1) 100%);
    color: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.rc-btn--primary:hover{
    filter: brightness(1.05);
}
.rc-btn--ghost{
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.92);
}
.rc-btn--ghost:hover{
    background: rgba(255,255,255,0.09);
}

.rc-hero{
    padding: 70px 0 34px;
}
.rc-hero__grid{
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}
.rc-h1{
    font-size: 52px;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 0 0 14px;
}
.rc-lead{
    margin: 0 0 22px;
    color: rgba(255,255,255,0.74);
    max-width: 46ch;
    font-size: 16px;
}
.rc-hero__actions{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.rc-hero__art{
    position: relative;
    height: 420px;
}
.rc-hero__ring{
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(circle at 55% 40%, rgba(106, 92, 255, 0.25), transparent 55%),
        radial-gradient(circle at 40% 60%, rgba(32, 214, 214, 0.18), transparent 55%);
}
.rc-hero__illustration{
    position: absolute;
    inset: 40px 40px 40px 40px;
    border-radius: 18px;
    background-image: url("../img/hero.png");
    background-size: cover;
    background-position: 65% 55%;
    background-repeat: no-repeat;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--rc-shadow);
}

.rc-section{
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 22px;
}
.rc-section--tight{
    padding-top: 44px;
    padding-bottom: 44px;
}
.rc-section__head{
    margin-bottom: 20px;
}
.rc-section__head--center{
    text-align: center;
}
.rc-h2{
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.02em;
}
.rc-h3{
    margin: 0 0 15px;
    font-size: 24px;
}
.rc-h3--large{
    font-size: 18px;
}
.rc-p{
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
}
.rc-p--muted{
    color: rgba(255,255,255,0.70);
}

.rc-cards{
    display: grid;
    gap: 16px;
}
.rc-cards--6{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rc-cards--4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rc-cards--plugins{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rc-card{
    border-radius: 16px;
    padding: 18px 18px 16px;
    border: 1px solid var(--rc-border);
    background: var(--rc-surface);
    box-shadow: 0 12px 50px rgba(0,0,0,0.35);
}
.rc-card--work{
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 16px;
    align-items: center;
}
.rc-card--work .rc-work__icon{
    grid-row: 1 / -1;
}
.rc-card--work .rc-h3{
    margin-top: 0;
    margin-bottom: 6px;
}
.rc-card__icon{
    margin-bottom:18px;
	text-align:center;
}

.rc-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: #ACA9CA;
    font-size: 16px;
}
.rc-list li{
    position: relative;
    padding-left: 46px;
}
.rc-list li:before{
    position:absolute;
	width:23px;
	height:23px;
	left:0;
	top:0;
	background:url(../img/checked.svg) no-repeat;
	background-size:cover;
}

.rc-expertise{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.rc-expertise__title{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.62);
    margin-bottom: 10px;
}
.rc-chips{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.rc-chip{
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    font-size: 12px;
    color: rgba(255,255,255,0.82);
}

.rc-columns{
    display: grid;
    gap: 18px;
}
.rc-columns--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rc-col{
    border-radius: 16px;
    padding: 16px;
    background: var(--rc-surface-2);
    border: 1px solid rgba(255,255,255,0.10);
}
.rc-col__title{
    font-weight: 650;
    margin-bottom: 8px;
}

.rc-legacy{
    margin-top: 18px;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(650px 260px at 30% 30%, rgba(106, 92, 255, 0.32) 0%, rgba(106, 92, 255, 0) 60%),
        radial-gradient(650px 260px at 70% 60%, rgba(32, 214, 214, 0.22) 0%, rgba(32, 214, 214, 0) 60%),
        rgba(255,255,255,0.04);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: center;
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.rc-legacy__art{
    height: 180px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background-image: url("../img/legacy.png");
    background-size: cover;
    background-position: 50% 55%;
    background-repeat: no-repeat;
}
.rc-legacy__copy{
    display: grid;
    gap: 10px;
}

.rc-plugin{
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(420px 180px at 20% 20%, rgba(32, 214, 214, 0.16), rgba(32, 214, 214, 0) 70%),
        radial-gradient(420px 180px at 80% 70%, rgba(106, 92, 255, 0.18), rgba(106, 92, 255, 0) 70%),
        rgba(255,255,255,0.04);
}
.rc-plugin__title{
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.rc-plugin__link{
    display: inline-block;
    margin-top: 16px;
    color: rgba(32, 214, 214, 0.95);
    text-decoration: none;
    font-weight: 650;
    font-size: 13px;
}
.rc-plugin__link:hover{
    text-decoration: underline;
}
.rc-section__cta{
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.rc-section--about{
    padding-top: 38px;
    padding-bottom: 30px;
}
.rc-about{
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
}

.rc-section--contact{
    padding-top: 34px;
    padding-bottom: 70px;
}
.rc-form{
    max-width: 780px;
    margin: 18px auto 0;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(820px 320px at 50% -10%, rgba(106, 92, 255, 0.42) 0%, rgba(106, 92, 255, 0) 65%),
        rgba(255,255,255,0.04);
}
.rc-form__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.rc-field{
    display: grid;
    gap: 8px;
}
.rc-field--full{
    grid-column: 1 / -1;
}
.rc-field__label{
    font-size: 12px;
    color: rgba(255,255,255,0.72);
}
.rc-input{
    width: 100%;
    border-radius: 12px;
    padding: 12px 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.94);
    color: rgba(0,0,0,0.90);
    font: inherit;
    outline: none;
}
.rc-input:focus{
    border-color: rgba(32, 214, 214, 0.55);
    box-shadow: 0 0 0 4px rgba(32, 214, 214, 0.12);
}
.rc-textarea{
    resize: vertical;
}
.rc-form__actions{
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.rc-footer{
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(7, 11, 24, 0.88);
}
.rc-footer__inner{
    padding: 36px 0;
    display: grid;
    gap: 22px;
}
.rc-brand--footer{
    font-size: 18px;
}
.rc-footer__tagline{
    margin: 10px 0 0;
    color: rgba(255,255,255,0.66);
    max-width: 46ch;
    font-size: 13px;
}
.rc-footer__cols{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.rc-footer__title{
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
}
.rc-footer__link{
    display: block;
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    margin: 6px 0;
    font-size: 13px;
}
.rc-footer__link:hover{
    color: rgba(255,255,255,0.92);
}
.rc-footer__bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.rc-footer__meta{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.56);
    font-size: 12px;
}
.rc-footer__meta-link{
    color: rgba(255,255,255,0.70);
    text-decoration: none;
}
.rc-footer__meta-link:hover{
    text-decoration: underline;
}
.rc-footer__meta-sep{
    color: rgba(255,255,255,0.38);
}

.posts-list{
    display: grid;
    gap: 16px;
}
.post-card{
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
}
.post-card h2{
    margin: 0 0 8px;
    font-size: 18px;
}
.post-card h2 a{
    color: rgba(255,255,255,0.94);
    text-decoration: none;
}
.post-card h2 a:hover{
    text-decoration: underline;
}
.post-meta{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    margin-bottom: 10px;
}
.access-badge{
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
}
.post-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.tag{
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.74);
    text-decoration: none;
    font-size: 12px;
}
.tag:hover{
    color: rgba(255,255,255,0.92);
}

@media (max-width: 980px){
    .rc-hero__grid{
        grid-template-columns: 1fr;
    }
    .rc-hero__art{
        height: 320px;
    }
    .rc-cards--6{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rc-columns--3{
        grid-template-columns: 1fr;
    }
    .rc-expertise{
        grid-template-columns: 1fr;
    }
    .rc-legacy{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px){
    .rc-nav-toggle{
        display: inline-flex;
    }
    .rc-nav{
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        background: rgba(7, 11, 24, 0.96);
        border: 1px solid rgba(255,255,255,0.10);
        border-radius: 16px;
        padding: 14px 14px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease, transform 160ms ease;
    }
    .rc-nav[data-open="true"]{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .rc-nav__list{
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .rc-nav__cta,
    .rc-nav__admin{
        margin-left: 0;
    }
    .rc-nav__link{
        padding: 10px 10px;
        border-radius: 12px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
    }
    .rc-h1{
        font-size: 40px;
    }
    .rc-card--work{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .rc-card--work .rc-work__icon{
        grid-row: auto;
    }
    .rc-form__grid{
        grid-template-columns: 1fr;
    }
    .rc-footer__cols{
        grid-template-columns: 1fr;
    }
}

.rc-work__icon{
    width: 150px;
    height: 110px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background-color: rgba(255,255,255,0.03);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.rc-work__icon--discovery{ background-image: url("../img/work-discovery.png"); }
.rc-work__icon--transparent{ background-image: url("../img/work-transparent.png"); }
.rc-work__icon--qa{ background-image: url("../img/work-qa.png"); }
.rc-work__icon--support{ background-image: url("../img/work-support.png"); }
