@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    --x-bg: #f6faf7;
    --x-surface: #ffffff;
    --x-surface-soft: #f0f7f2;
    --x-border: #dfece3;
    --x-text: #17332a;
    --x-muted: #688176;
    --x-primary: #1d9b63;
    --x-primary-dark: #13764a;
    --x-shadow: 0 16px 36px rgba(23, 51, 42, 0.07);
    --x-shadow-soft: 0 10px 24px rgba(23, 51, 42, 0.04);
    --x-radius: 24px;
    --x-radius-sm: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #f8fcf9 0%, #ffffff 36%, #f6faf7 100%);
    color: var(--x-text);
    font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand {
    color: var(--x-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
}

p {
    color: var(--x-muted);
    line-height: 1.65;
}

a:hover {
    color: var(--x-primary-dark);
}

.main-header {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.x-nav.navbar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    padding: 22px 0;
    transition: all 0.3s ease;
}

.x-nav .navbar-brand {
    align-items: center;
    display: inline-flex;
    font-size: 23px;
    gap: 12px;
    letter-spacing: -0.03em;
}

.x-logo {
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(29, 155, 99, 0.18);
    height: 44px;
    transition: all 0.3s ease;
    width: 44px;
}

.x-nav.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(23, 51, 42, 0.05);
    box-shadow: 0 14px 34px rgba(23, 51, 42, 0.08);
    padding: 13px 0;
}

.x-nav.navbar.scrolled .x-logo {
    height: 38px;
    width: 38px;
}

.x-nav .nav-link {
    color: var(--x-text) !important;
    font-size: 14px;
    font-weight: 700;
    margin: 0 4px;
    padding: 10px 12px !important;
}

.x-nav .nav-link.active,
.x-nav .nav-link:hover {
    color: var(--x-primary) !important;
}

.x-header-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.x-account-menu {
    position: relative;
}

.x-account-trigger {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 51, 42, 0.08);
    border-radius: 999px;
    color: var(--x-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    padding: 8px 12px 8px 8px;
}

.x-account-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--x-primary), var(--x-primary-dark));
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.x-account-dropdown {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(23, 51, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(23, 51, 42, 0.12);
    display: grid;
    gap: 2px;
    min-width: 210px;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    transform: translateY(8px);
    transition: all 0.22s ease;
}

.x-account-menu.is-open .x-account-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.x-account-dropdown a,
.x-account-dropdown button {
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--x-text);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    text-align: left;
    width: 100%;
}

.x-account-dropdown a:hover,
.x-account-dropdown button:hover {
    background: var(--x-surface-soft);
}

.x-account-balance,
.x-mobile-auth-balance {
    color: var(--x-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    padding: 8px 12px 10px;
    text-transform: uppercase;
}

.x-account-name,
.x-mobile-auth-name {
    color: var(--x-text);
    font-size: 14px;
    font-weight: 800;
    padding: 8px 12px 0;
}

.x-mobile-auth {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.x-mobile-auth-link {
    background: transparent;
    border: none;
    color: var(--x-text);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 0;
    text-align: left;
}

.x-pill-link,
.x-button,
.x-outline-button,
.x-chip {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
}

.x-pill-link {
    background: var(--x-surface-soft);
    border: 1px solid var(--x-border);
    color: var(--x-text);
    padding: 10px 15px;
}

.x-button,
.x-outline-button {
    padding: 13px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.x-button {
    background: linear-gradient(135deg, var(--x-primary) 0%, var(--x-primary-dark) 100%);
    border: none;
    box-shadow: 0 14px 24px rgba(29, 155, 99, 0.2);
    color: #fff !important;
}

.x-outline-button {
    background: #fff;
    border: 1px solid var(--x-border);
    color: var(--x-text);
}

.x-button:hover,
.x-outline-button:hover {
    transform: translateY(-2px);
}

.x-button:hover {
    box-shadow: 0 18px 30px rgba(29, 155, 99, 0.24);
}

.x-page-spacer {
    min-height: calc(100vh - 220px);
}

.x-hero {
    overflow: hidden;
    padding: 96px 0 64px;
    position: relative;
}

.x-hero-slider {
    inset: 0;
    overflow: hidden;
    position: absolute;
    z-index: 0;
}

.x-hero-slide,
.x-hero-overlay {
    inset: 0;
    position: absolute;
}

.x-hero-slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease, transform 5.6s ease;
}

.x-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.x-hero-overlay {
    background:
        linear-gradient(90deg, rgba(10, 26, 21, 0.58) 0%, rgba(10, 26, 21, 0.36) 42%, rgba(10, 26, 21, 0.2) 100%),
        linear-gradient(180deg, rgba(17, 55, 42, 0.2) 0%, rgba(17, 55, 42, 0.32) 100%);
}

.x-hero::before,
.x-hero::after {
    border-radius: 999px;
    content: "";
    position: absolute;
    z-index: 0;
}

.x-hero::before {
    background: radial-gradient(circle, rgba(114, 215, 166, 0.22) 0%, rgba(114, 215, 166, 0) 72%);
    height: 380px;
    right: -100px;
    top: -120px;
    width: 380px;
}

.x-hero::after {
    background: radial-gradient(circle, rgba(29, 155, 99, 0.12) 0%, rgba(29, 155, 99, 0) 72%);
    bottom: -120px;
    height: 280px;
    left: -140px;
    width: 280px;
}

.x-hero .container,
.x-section .container {
    position: relative;
    z-index: 1;
}

.x-hero .x-eyebrow,
.x-hero .x-display,
.x-hero .x-hero-copy {
    color: #fff;
}

.x-hero .x-stat-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
}

.x-eyebrow {
    color: var(--x-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.x-display {
    font-size: clamp(2.8rem, 5vw, 4.7rem);
    letter-spacing: -0.06em;
    line-height: 0.98 !important;
    margin-bottom: 18px;
}

.x-hero-copy {
    font-size: 18px;
    max-width: 540px;
}

.x-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.x-inline-stats,
.x-step-grid,
.x-benefit-grid,
.x-product-grid,
.x-footer-grid,
.x-summary-grid {
    display: grid;
    gap: 18px;
}

.x-inline-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 42px;
}

.x-stat-card,
.x-panel,
.x-step-card,
.x-benefit-card,
.x-product-card,
.x-table-card,
.x-form-card,
.x-summary-card,
.x-empty-card,
.x-invoice,
.x-story-card,
.x-contact-card,
.x-surface-block {
    background: var(--x-surface);
    border: 1px solid rgba(23, 51, 42, 0.07);
    border-radius: var(--x-radius);
    box-shadow: var(--x-shadow);
}

.x-stat-card,
.x-panel,
.x-step-card,
.x-benefit-card,
.x-table-card,
.x-form-card,
.x-summary-card,
.x-empty-card,
.x-invoice,
.x-story-card,
.x-contact-card,
.x-surface-block {
    padding: 24px;
}

.x-product-card {
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.x-product-card:hover {
    box-shadow: 0 24px 48px rgba(23, 51, 42, 0.1);
    transform: translateY(-3px);
}

.x-stat-label,
.x-meta {
    color: var(--x-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.x-stat-value {
    color: var(--x-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
}

.x-hero-visual,
.x-feature-slab {
    background: linear-gradient(160deg, #ffffff 0%, #eef8f1 100%);
    border: 1px solid rgba(29, 155, 99, 0.08);
    border-radius: 30px;
    box-shadow: var(--x-shadow);
    padding: 28px;
}

.x-wallet-hero {
    background: linear-gradient(165deg, #16342a 0%, #21493c 100%);
    border-radius: 28px;
    color: #fff;
    padding: 28px;
}

.x-wallet-hero p,
.x-wallet-hero .x-stat-label,
.x-wallet-hero h3 {
    color: inherit;
}

.x-mini-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.x-mini-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    display: flex;
    gap: 14px;
    padding: 14px 16px;
}

.x-slider-dots {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.x-slider-dot {
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    height: 10px;
    padding: 0;
    transition: width 0.24s ease, background 0.24s ease, opacity 0.24s ease;
    width: 10px;
}

.x-slider-dot.is-active {
    background: #fff;
    width: 28px;
}

.x-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(29, 155, 99, 0.12), rgba(114, 215, 166, 0.18));
    border-radius: 16px;
    color: var(--x-primary);
    display: inline-flex;
    font-size: 18px;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.x-section {
    padding: 84px 0;
}

.x-section-tight,
.x-section-compact {
    padding: 64px 0;
}

.x-story-grid,
.x-contact-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.x-section-title {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.x-section-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -0.05em;
    margin-bottom: 8px;
}

.x-section-title p {
    margin: 0;
    max-width: 520px;
}

.x-step-grid,
.x-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.x-step-card h3,
.x-benefit-card h3,
.x-product-card h3,
.x-summary-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.x-step-card p,
.x-benefit-card p,
.x-summary-card p {
    margin: 0;
}

.x-chip {
    background: rgba(29, 155, 99, 0.08);
    color: var(--x-primary-dark);
    padding: 7px 11px;
}

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

.x-split {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

.x-product-image {
    aspect-ratio: 1 / 1;
    background: #eef8f1;
    overflow: hidden;
}

.x-product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.x-product-card:hover .x-product-image img {
    transform: scale(1.03);
}

.x-product-content {
    padding: 20px;
}

.x-product-content p {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
}

.x-price-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 14px 0 16px;
}

.x-price {
    color: var(--x-primary-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.x-all-title {
    padding: 44px 0 6px;
}

.x-page-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.x-page-heading h1 {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.x-page-heading p {
    margin: 0;
    max-width: 540px;
}

.x-form-card .form-control,
.x-form-card select,
.x-form-card textarea {
    background: #fff;
    border: 1px solid var(--x-border);
    border-radius: 16px;
    box-shadow: none;
    color: var(--x-text);
    font-size: 15px;
    min-height: 52px;
    padding: 14px 16px;
}

.x-form-card label {
    color: var(--x-text);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.x-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.x-list li {
    align-items: start;
    color: var(--x-text);
    display: flex;
    gap: 10px;
    font-weight: 700;
}

.x-list li i {
    color: var(--x-primary);
    margin-top: 4px;
}

.x-about-section .x-surface-block {
    height: 100%;
    padding: 30px;
}

.x-about-section .x-surface-block p {
    font-size: 17px;
    max-width: 560px;
}

.x-about-section .x-split {
    align-items: stretch;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
}

.x-about-visual {
    display: flex;
    height: 100%;
}

.x-about-card {
    background: #fff;
    border: 1px solid rgba(23, 51, 42, 0.07);
    border-radius: 20px;
    box-shadow: var(--x-shadow);
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.about-image {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    height: auto;
    overflow: hidden;
    width: 100%;
}

.x-about-card img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: opacity 0.6s ease;
    width: 100%;
}

.x-about-card.is-swapping img {
    opacity: 0.18;
}

.x-about-overlay {
    background: linear-gradient(180deg, rgba(12, 30, 24, 0) 16%, rgba(12, 30, 24, 0.72) 100%);
    bottom: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    left: 0;
    padding: 28px;
    position: absolute;
    right: 0;
}

.x-about-overlay span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.8;
    text-transform: uppercase;
}

.x-about-overlay strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.x-recycle-flow {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.x-public-recycle-form {
    display: grid;
    gap: 18px;
}

.x-choice-group {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.x-choice-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--x-border);
    border-radius: 18px;
    color: var(--x-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.x-choice-card:hover {
    box-shadow: 0 10px 22px rgba(23, 51, 42, 0.07);
    transform: translateY(-1px);
}

.x-choice-card input {
    display: none;
}

.x-choice-card.is-selected {
    background: rgba(29, 155, 99, 0.08);
    border-color: rgba(29, 155, 99, 0.5);
    box-shadow: 0 0 0 4px rgba(29, 155, 99, 0.08);
    color: var(--x-primary-dark);
}

.x-public-textarea {
    min-height: 132px;
    padding-top: 14px !important;
}

.x-recycle-side {
    display: grid;
    gap: 20px;
}

.x-reward-card,
.x-cta-card {
    background: #fff;
    border: 1px solid rgba(23, 51, 42, 0.07);
    border-radius: 20px;
    box-shadow: var(--x-shadow);
    padding: 28px;
}

.x-reward-card {
    background: linear-gradient(160deg, #ffffff 0%, #eef8f1 100%);
}

.x-reward-head {
    align-items: center;
    display: flex;
    gap: 14px;
    margin: 10px 0 12px;
}

.x-reward-icon {
    align-items: center;
    background: rgba(29, 155, 99, 0.1);
    border-radius: 999px;
    color: var(--x-primary-dark);
    display: inline-flex;
    font-size: 18px;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.x-reward-value {
    color: var(--x-primary-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    margin: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.x-reward-value.is-updating {
    opacity: 0.45;
    transform: translateY(2px);
}

.x-reward-note {
    font-size: 15px;
    margin: 0;
}

.x-cta-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.x-cta-card p {
    margin-bottom: 18px;
    max-width: 320px;
}

.x-inline-message {
    color: #b24b4b;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    min-height: 20px;
}

.x-auth-page {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.x-auth-brand {
    background:
        linear-gradient(180deg, rgba(16, 45, 35, 0.36) 0%, rgba(16, 45, 35, 0.7) 100%),
        url('../images/hero/forest.jpg') center/cover no-repeat;
    color: #fff;
    display: flex;
    min-height: 340px;
    padding: 48px;
    position: relative;
}

.x-auth-brand::after {
    background: radial-gradient(circle at top right, rgba(114, 215, 166, 0.28), transparent 48%);
    content: "";
    inset: 0;
    position: absolute;
}

.x-auth-brand-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.x-auth-brand .navbar-brand,
.x-auth-brand h1,
.x-auth-brand p {
    color: #fff;
}

.x-auth-tag {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 10px 14px;
    text-transform: uppercase;
}

.x-auth-copy h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    letter-spacing: -0.05em;
    margin-bottom: 12px;
}

.x-auth-copy p {
    font-size: 18px;
    max-width: 420px;
}

.x-auth-surface {
    align-items: center;
    background: linear-gradient(180deg, #f8fcf9 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    padding: 48px 24px;
}

.x-auth-card {
    background: #fff;
    border: 1px solid rgba(23, 51, 42, 0.06);
    border-radius: 20px;
    box-shadow: 0 24px 54px rgba(23, 51, 42, 0.09);
    max-width: 460px;
    padding: 32px;
    width: 100%;
}

.x-auth-card h2 {
    font-size: 32px;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.x-auth-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
}

.x-auth-form {
    display: grid;
    gap: 18px;
}

.x-auth-field label {
    color: var(--x-text);
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.x-auth-input {
    position: relative;
}

.x-auth-input input {
    background: #fff;
    border: 1px solid var(--x-border);
    border-radius: 18px;
    box-shadow: none;
    color: var(--x-text);
    font-size: 15px;
    min-height: 56px;
    outline: none;
    padding: 0 52px 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.x-auth-input input:focus {
    border-color: rgba(29, 155, 99, 0.7);
    box-shadow: 0 0 0 4px rgba(29, 155, 99, 0.1);
}

.x-auth-input.is-invalid input {
    border-color: rgba(220, 93, 93, 0.7);
    box-shadow: 0 0 0 4px rgba(220, 93, 93, 0.08);
}

.x-auth-toggle {
    align-items: center;
    background: transparent;
    border: none;
    color: var(--x-muted);
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    height: 100%;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
}

.x-auth-error {
    color: #bf4949;
    display: block;
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}

.x-auth-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.x-auth-check {
    align-items: center;
    color: var(--x-muted);
    display: inline-flex;
    font-size: 14px;
    gap: 10px;
    margin: 0;
}

.x-auth-check input {
    accent-color: var(--x-primary);
    height: 16px;
    width: 16px;
}

.x-auth-link {
    color: var(--x-primary-dark);
    font-size: 14px;
    font-weight: 800;
}

.x-auth-submit {
    justify-content: center;
    min-height: 56px;
    width: 100%;
}

.x-auth-footer {
    border-top: 1px solid rgba(23, 51, 42, 0.06);
    color: var(--x-muted);
    font-size: 14px;
    margin-top: 24px;
    padding-top: 20px;
    text-align: center;
}

.x-auth-footer a {
    color: var(--x-primary-dark);
    font-weight: 800;
}

.x-auth-check a {
    color: var(--x-primary-dark);
    font-weight: 800;
}

.x-hint {
    color: var(--x-muted);
    font-size: 13px;
    margin-top: 12px;
}

.x-table {
    margin-bottom: 0;
}

.x-table th {
    border-top: none;
    color: var(--x-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 14px 16px;
    text-transform: uppercase;
}

.x-table td {
    border-top: 1px solid rgba(23, 51, 42, 0.06);
    color: var(--x-text);
    font-weight: 600;
    padding: 14px 16px;
    vertical-align: middle;
}

.x-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    padding: 7px 10px;
    text-transform: uppercase;
}

.x-status-requested {
    background: rgba(243, 180, 63, 0.15);
    color: #936300;
}

.x-status-approved,
.x-status-processing,
.x-status-delivered,
.x-status-completed {
    background: rgba(29, 155, 99, 0.12);
    color: var(--x-primary-dark);
}

.x-status-shipped {
    background: rgba(58, 121, 209, 0.12);
    color: #265ea5;
}

.x-empty {
    color: var(--x-muted);
    padding: 16px 0 4px;
}

.x-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 20px;
}

.x-legal-layout {
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}

.x-legal-sidebar {
    position: sticky;
    top: 108px;
}

.x-legal-sidebar-card,
.x-legal-card {
    background: var(--x-surface);
    border: 1px solid rgba(23, 51, 42, 0.07);
    border-radius: 20px;
    box-shadow: var(--x-shadow);
}

.x-legal-sidebar-card {
    padding: 20px;
}

.x-legal-card {
    max-width: 880px;
    padding: 18px 28px;
}

.x-legal-select {
    appearance: none;
    background: #fff;
    border: 1px solid var(--x-border);
    border-radius: 14px;
    color: var(--x-text);
    display: none;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    min-height: 52px;
    padding: 0 16px;
    width: 100%;
}

.x-legal-nav {
    display: grid;
    gap: 8px;
}

.x-legal-nav a {
    border-radius: 14px;
    color: var(--x-muted);
    font-size: 14px;
    font-weight: 800;
    padding: 10px 12px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.x-legal-nav a:hover,
.x-legal-nav a.is-active {
    background: var(--x-surface-soft);
    color: var(--x-primary-dark);
    transform: translateX(2px);
}

.x-legal-section {
    border-bottom: 1px solid rgba(23, 51, 42, 0.07);
    padding: 28px 0;
    scroll-margin-top: 120px;
}

.x-legal-section:first-child {
    padding-top: 12px;
}

.x-legal-section:last-child {
    border-bottom: none;
    padding-bottom: 12px;
}

.x-legal-section h2 {
    font-size: 26px;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.x-legal-section p,
.x-legal-list li {
    font-size: 17px;
    line-height: 1.75;
}

.x-legal-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.x-footer {
    background: #0f261f;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 80px;
    padding: 44px 0 24px;
}

.x-footer h4,
.x-footer a {
    color: #fff;
}

.x-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.x-footer-links {
    display: grid;
    gap: 10px;
}

.x-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 22px;
    padding-top: 18px;
}

.x-toast {
    background: #16342a;
    border-radius: 16px;
    bottom: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    color: #fff;
    opacity: 0;
    padding: 14px 16px;
    position: fixed;
    right: 20px;
    transform: translateY(14px);
    transition: all 0.24s ease;
    visibility: hidden;
    z-index: 2000;
}

.x-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.x-progress-track {
    background: #e8f3eb;
    border-radius: 999px;
    display: flex;
    gap: 8px;
    margin-top: 18px;
    padding: 8px;
}

.x-progress-step {
    border-radius: 999px;
    color: var(--x-muted);
    flex: 1;
    font-size: 11px;
    font-weight: 800;
    padding: 9px 8px;
    text-align: center;
    text-transform: uppercase;
}

.x-progress-step.is-active {
    background: #fff;
    color: var(--x-primary-dark);
}

@media (max-width: 1199px) {
    .x-inline-stats,
    .x-step-grid,
    .x-benefit-grid,
    .x-product-grid,
    .x-summary-grid,
    .x-footer-grid,
    .x-story-grid,
    .x-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .x-split {
        grid-template-columns: 1fr;
    }

    .x-legal-layout {
        grid-template-columns: 1fr;
    }

    .x-legal-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 767px) {
    .x-button-row,
    .x-header-actions,
    .x-page-heading,
    .x-section-title {
        align-items: stretch;
        flex-direction: column;
    }

    .x-auth-page {
        grid-template-columns: 1fr;
    }

    .x-recycle-flow {
        grid-template-columns: 1fr;
    }

    .x-choice-group {
        grid-template-columns: 1fr;
    }

    .x-auth-brand,
    .x-auth-surface {
        padding: 32px 20px;
    }

    .x-auth-card {
        padding: 24px;
    }

    .x-hero {
        padding: 68px 0 40px;
    }

    .x-section {
        padding: 56px 0;
    }

    .x-inline-stats,
    .x-step-grid,
    .x-benefit-grid,
    .x-product-grid,
    .x-summary-grid,
    .x-footer-grid,
    .x-story-grid,
    .x-contact-grid,
    .x-split {
        grid-template-columns: 1fr;
    }

    .x-about-section .x-split {
        grid-template-columns: 1fr;
    }

    .x-stat-card,
    .x-panel,
    .x-step-card,
    .x-benefit-card,
    .x-table-card,
    .x-form-card,
    .x-summary-card,
    .x-empty-card,
    .x-invoice,
    .x-story-card,
    .x-contact-card,
    .x-surface-block,
    .x-feature-slab,
    .x-hero-visual,
    .x-wallet-hero {
        padding: 20px;
    }

    .x-nav .navbar-brand {
        font-size: 22px;
    }

    .x-legal-card,
    .x-legal-sidebar-card {
        padding: 20px;
    }

    .x-legal-select {
        display: block;
    }

    .x-legal-nav {
        display: none;
    }

    .x-legal-section h2 {
        font-size: 22px;
    }

    .x-legal-section p,
    .x-legal-list li {
        font-size: 16px;
    }
}
