:root {
    --astro-ink: #171118;
    --astro-night: #171019;
    --astro-wine: #4f001d;
    --astro-wine-2: #741f3d;
    --astro-gold: #d99b38;
    --astro-gold-light: #f0bd64;
    --astro-copper: #a76422;
    --astro-cream: #f7f0e5;
    --astro-ivory: #fffaf2;
    --astro-text: #2c2325;
    --astro-muted: #786c69;
    --astro-line: rgba(88, 52, 42, 0.16);
    --astro-serif: Georgia, "Times New Roman", serif;
    --astro-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--astro-ivory); }
body {
    margin: 0;
    min-width: 320px;
    color: var(--astro-text);
    background: var(--astro-ivory);
    font-family: var(--astro-sans);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.astro-site-shell { min-height: 100vh; overflow: hidden; background: var(--astro-ivory); }
.astro-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; position: relative; }

.astro-topbar { background: var(--astro-wine); color: #fff0dd; }
.astro-topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.astro-topbar-inner span:last-child { color: var(--astro-gold-light); }

.astro-header {
    position: relative;
    z-index: 20;
    background: rgba(255,250,242,.95);
    border-bottom: 1px solid rgba(79,0,29,.1);
    backdrop-filter: blur(16px);
}
.astro-header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.astro-brand img { display: block; width: clamp(220px, 25vw, 340px); height: auto; }
.astro-secure-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(79,0,29,.13);
    border-radius: 999px;
    color: var(--astro-wine);
    background: white;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.astro-secure-chip span { color: var(--astro-copper); font-size: 18px; }

.astro-hero {
    position: relative;
    background:
        radial-gradient(circle at 15% 10%, rgba(217,155,56,.12), transparent 28%),
        linear-gradient(135deg, #fffaf2 0%, #f8eee1 62%, #f3e5d6 100%);
    overflow: hidden;
}
.astro-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 14px;
    background: linear-gradient(90deg, var(--astro-wine), var(--astro-gold), var(--astro-wine));
    opacity: .92;
}
.astro-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.astro-orb-a {
    width: 420px; height: 420px; right: -170px; top: 70px;
    border: 1px solid rgba(167,100,34,.12);
    box-shadow: 0 0 0 46px rgba(217,155,56,.035), 0 0 0 92px rgba(79,0,29,.025);
}
.astro-orb-b {
    width: 300px; height: 300px; left: -180px; bottom: 50px;
    background: rgba(79,0,29,.045);
}

.astro-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr);
    gap: clamp(54px, 7vw, 94px);
    align-items: center;
    padding: clamp(70px, 8vw, 106px) 0 clamp(72px, 8vw, 112px);
}
.astro-copy { max-width: 650px; }
.astro-eyebrow,
.astro-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--astro-copper);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.astro-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.astro-copy h1 {
    margin: 22px 0 22px;
    max-width: 720px;
    color: var(--astro-wine);
    font-family: var(--astro-serif);
    font-size: clamp(52px, 5.8vw, 78px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 400;
    text-wrap: balance;
}
.astro-copy h1 em { color: var(--astro-gold); font-style: normal; font-weight: 400; }
.astro-copy > p {
    max-width: 600px;
    margin: 0;
    color: #6f615f;
    font-family: var(--astro-serif);
    font-size: clamp(17px, 1.55vw, 20px);
    line-height: 1.75;
}
.astro-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 34px;
}
.astro-proof-row span {
    display: grid;
    grid-template-columns: 30px auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    min-width: 135px;
}
.astro-proof-row i {
    grid-row: 1 / 3;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border: 1px solid rgba(167,100,34,.28);
    border-radius: 50%;
    color: var(--astro-copper);
    font-size: 9px;
    font-style: normal;
}
.astro-proof-row b { color: var(--astro-wine); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.astro-proof-row small { color: #8d817c; font-size: 10px; margin-top: 2px; }

.astro-media-card {
    position: relative;
    margin-top: 36px;
    width: min(540px, 100%);
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border: 1px solid rgba(79,0,29,.13);
    border-radius: 22px;
    box-shadow: 0 24px 55px rgba(79,0,29,.11);
    background: var(--astro-wine);
}
.astro-media-card video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.88) contrast(1.05) brightness(.88); }
.astro-media-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,4,22,.56), transparent 72%); }
.astro-media-caption {
    position: absolute;
    left: 18px; bottom: 16px;
    display: flex; align-items: center; gap: 11px;
    color: white;
}
.astro-media-caption > span {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid rgba(240,189,100,.55); border-radius: 50%;
    color: var(--astro-gold-light); background: rgba(79,0,29,.42);
}
.astro-media-caption b { display: block; font-family: var(--astro-serif); font-size: 17px; font-weight: 500; }
.astro-media-caption small { display: block; margin-top: 2px; color: rgba(255,255,255,.7); font-size: 10px; }

.astro-payment-column { min-width: 0; }
.astro-card-shell {
    position: relative;
    padding: 12px;
    border-radius: 32px;
    background: rgba(255,255,255,.48);
    border: 1px solid rgba(217,155,56,.22);
    box-shadow: 0 28px 72px rgba(79,0,29,.12);
}
.astro-card-shell::before {
    content: "";
    position: absolute;
    inset: -18px auto auto -18px;
    width: 74px; height: 74px;
    border: 1px solid rgba(217,155,56,.16);
    border-radius: 50%;
    pointer-events: none;
}
.astro-card-symbol {
    position: absolute;
    z-index: 3;
    right: 34px;
    top: 32px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--astro-gold-light);
    background: var(--astro-wine);
    box-shadow: 0 12px 30px rgba(79,0,29,.18);
}
.astro-payment-card {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 4vw, 44px);
    border: 1px solid rgba(79,0,29,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
}
.astro-payment-card::after {
    content: "";
    position: absolute;
    top: -95px; right: -82px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(217,155,56,.06);
    pointer-events: none;
}
.astro-card-heading { position: relative; z-index: 1; margin-bottom: 28px; padding-right: 48px; }
.astro-card-kicker { color: var(--astro-copper); }
.astro-card-heading h2 {
    margin: 10px 0 9px;
    color: var(--astro-wine);
    font-family: var(--astro-serif);
    font-size: clamp(30px, 3vw, 39px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 500;
}
.astro-card-heading p { margin: 0; color: var(--astro-muted); line-height: 1.65; font-size: 13px; }

.astro-payment-notice {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    background: white;
    border: 1px solid var(--astro-line);
    box-shadow: 0 14px 34px rgba(79,0,29,.06);
}
.astro-payment-notice strong { color: var(--astro-wine); font-size: 14px; }
.astro-payment-notice span,
.astro-payment-notice small { color: var(--astro-muted); }
.astro-payment-notice--success { border-color: rgba(70,142,97,.35); }
.astro-payment-notice--failed { border-color: rgba(178,73,73,.35); }

.astro-fallback-field {
    margin-top: 12px;
    padding: 15px 16px;
    border: 1px solid var(--astro-line);
    border-radius: 11px;
    color: var(--astro-muted);
    background: #fffdfa;
}
.astro-fallback-field b { float: right; color: var(--astro-wine); }
.astro-pay-button {
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--astro-gold), var(--astro-gold-light), #c88023);
    color: #2a1708;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(217,155,56,.2);
}
.astro-pay-button:disabled { opacity: .55; cursor: not-allowed; }

.astro-trust-strip { background: #fffaf2; border-block: 1px solid var(--astro-line); }
.astro-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.astro-trust-grid article {
    min-height: 150px;
    display: flex; align-items: center; gap: 16px;
    padding: 30px 28px;
    border-right: 1px solid var(--astro-line);
}
.astro-trust-grid article:first-child { border-left: 1px solid var(--astro-line); }
.astro-trust-grid article > span { color: var(--astro-copper); font-size: 30px; }
.astro-trust-grid h3 { margin: 0 0 6px; color: var(--astro-wine); font-family: var(--astro-serif); font-size: 18px; font-weight: 500; }
.astro-trust-grid p { margin: 0; color: var(--astro-muted); font-size: 11px; line-height: 1.6; }

.astro-footer { background: var(--astro-night); color: rgba(255,250,242,.55); }
.astro-footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; }
.astro-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.astro-footer a { text-decoration: none; }
.astro-footer a:hover { color: var(--astro-gold-light); }

.astro-legal-shell {
    min-height: 100vh;
    padding: 42px 24px 72px;
    background: linear-gradient(135deg, #fffaf2, #f4eadf);
}
.astro-legal-brand { display: block; width: min(1120px, 100%); margin: 0 auto 32px; }
.astro-legal-brand img { width: min(330px, 80vw); height: auto; }
.astro-legal-card {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--astro-line);
    border-radius: 24px;
    background: white;
    box-shadow: 0 28px 70px rgba(79,0,29,.08);
}
.astro-legal-card h1 { margin-top: 0; color: var(--astro-wine); font-family: var(--astro-serif); font-size: clamp(34px, 5vw, 56px); }
.astro-legal-content { color: #655b59; line-height: 1.8; }
.astro-legal-content h2, .astro-legal-content h3 { color: var(--astro-wine); margin-top: 2em; }

@media (max-width: 930px) {
    .astro-wrap { width: min(100% - 34px, 760px); }
    .astro-hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; }
    .astro-copy { max-width: 680px; }
    .astro-payment-column { width: min(620px, 100%); }
    .astro-trust-grid { grid-template-columns: 1fr; }
    .astro-trust-grid article, .astro-trust-grid article:first-child { border-left: 1px solid var(--astro-line); border-bottom: 1px solid var(--astro-line); }
}

@media (max-width: 560px) {
    .astro-wrap { width: min(100% - 24px, 520px); }
    .astro-topbar-inner { justify-content: center; text-align: center; min-height: 32px; font-size: 8px; }
    .astro-topbar-inner span:first-child { display: none; }
    .astro-header-inner { min-height: 74px; }
    .astro-brand img { width: min(270px, 72vw); }
    .astro-secure-chip { display: none; }
    .astro-hero-grid { padding: 54px 0 62px; gap: 40px; }
    .astro-copy h1 { font-size: clamp(45px, 12.6vw, 58px); }
    .astro-copy > p { font-size: 16px; }
    .astro-proof-row { display: grid; gap: 12px; }
    .astro-media-card { aspect-ratio: 16 / 9; border-radius: 18px; }
    .astro-card-shell { padding: 8px; border-radius: 24px; }
    .astro-payment-card { padding: 28px 20px; border-radius: 18px; }
    .astro-card-symbol { width: 38px; height: 38px; right: 24px; top: 24px; }
    .astro-card-heading { padding-right: 42px; }
    .astro-footer-inner { align-items: flex-start; flex-direction: column; padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .astro-media-card video { display: none; }
}

/* Astropedia information pages */
.astro-legal-topbar {
    width: min(1120px, 100%);
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.astro-legal-topbar .astro-legal-brand { margin: 0; width: auto; }
.astro-back-home {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(79,0,29,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    color: var(--astro-wine);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
}
.astro-back-home:hover { border-color: rgba(167,100,34,.35); color: var(--astro-copper); }
.astro-legal-kicker {
    margin-bottom: 12px;
    color: var(--astro-copper);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .2em;
}
.astro-legal-content > p:first-child { margin-top: 0; }
.astro-legal-content p { margin: 0 0 1.15em; }
.astro-legal-content ul,
.astro-legal-content ol { padding-left: 1.35em; margin: 0 0 1.4em; }
.astro-legal-content li { margin: .42em 0; }
.astro-legal-content a { color: var(--astro-wine); text-decoration-color: rgba(167,100,34,.45); text-underline-offset: 3px; }
.astro-legal-content em { color: #8c746c; }
.astro-page-lead {
    max-width: 680px;
    color: #5d4d4e;
    font-family: var(--astro-serif);
    font-size: clamp(19px, 2.3vw, 24px);
    line-height: 1.55;
}
.astro-support-highlight {
    margin: 26px 0 38px;
    padding: 24px 26px;
    border: 1px solid rgba(217,155,56,.28);
    border-left: 4px solid var(--astro-gold);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,250,242,.92), rgba(248,238,225,.7));
}
.astro-support-highlight h2 { margin-top: 0; }
.astro-support-highlight p:last-child { margin-bottom: 0; }
.astro-legal-nav {
    width: min(920px, 100%);
    margin: 22px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    color: #766b69;
    font-size: 12px;
}
.astro-legal-nav a { text-decoration: none; }
.astro-legal-nav a:hover { color: var(--astro-wine); }

@media (max-width: 640px) {
    .astro-legal-shell { padding: 26px 16px 48px; }
    .astro-legal-topbar { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
    .astro-legal-brand img { width: min(270px, 78vw); }
    .astro-legal-card { padding: 26px 21px; border-radius: 18px; }
    .astro-support-highlight { padding: 20px; }
}

/* NeoPay return / validation page */
.astro-validation-shell {
    min-height: 100vh;
    padding: 34px 24px 64px;
    background:
        radial-gradient(circle at 15% 10%, rgba(217,155,56,.11), transparent 28%),
        linear-gradient(135deg, #fffaf2 0%, #f8eee1 68%, #f3e5d6 100%);
}
.astro-validation-topbar {
    width: min(980px, 100%);
    margin: 0 auto 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.astro-validation-brand img {
    display: block;
    width: min(330px, 72vw);
    height: auto;
}
.astro-validation-secure {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(79,0,29,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--astro-wine);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.astro-validation-card {
    position: relative;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: clamp(30px, 6vw, 58px);
    border: 1px solid rgba(79,0,29,.10);
    border-radius: 28px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 28px 72px rgba(79,0,29,.10);
    overflow: hidden;
}
.astro-validation-card::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(217,155,56,.06);
    pointer-events: none;
}
.astro-validation-symbol {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--astro-wine);
    color: var(--astro-gold-light);
    font-family: var(--astro-serif);
    font-size: 28px;
}
.astro-validation-content { position: relative; z-index: 1; }
.astro-validation-content h1 {
    margin: 11px 0 18px;
    color: var(--astro-wine);
    font-family: var(--astro-serif);
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 500;
}
.astro-validation-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--astro-line);
}
.astro-validation-primary,
.astro-validation-secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .045em;
    text-decoration: none;
}
.astro-validation-primary {
    background: linear-gradient(120deg, var(--astro-gold), var(--astro-gold-light), #c88023);
    color: #2a1708;
    box-shadow: 0 10px 24px rgba(167,100,34,.16);
}
.astro-validation-secondary {
    border: 1px solid rgba(79,0,29,.13);
    background: #fff;
    color: var(--astro-wine);
}
@media (max-width: 640px) {
    .astro-validation-shell { padding: 24px 15px 46px; }
    .astro-validation-topbar { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
    .astro-validation-brand img { width: min(270px, 78vw); }
    .astro-validation-secure { min-height: 36px; }
    .astro-validation-card { padding: 28px 21px; border-radius: 20px; }
    .astro-validation-actions { display: grid; }
}
