:root {
    --ink: #050916;
    --navy: #07142b;
    --navy-2: #0b2248;
    --panel: rgba(8, 25, 53, .86);
    --panel-solid: #0b1d3c;
    --blue: #2769bd;
    --blue-bright: #48a6dc;
    --blue-soft: #9ecbf5;
    --periwinkle: #6e70df;
    --orange: #f28b2d;
    --orange-hi: #ff9e45;
    --text: #ffffff;
    --muted: #aebcd1;
    --faint: #71829e;
    --line: rgba(136, 180, 232, .22);
    --line-hi: rgba(123, 181, 242, .48);
    --good: #4bd6a0;
    --danger: #ff7b88;
    --shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 28%, rgba(25, 83, 161, .3), transparent 31%),
        linear-gradient(140deg, #06142c 0%, #030817 54%, #070916 100%);
    font-family: "Segoe UI", Montserrat, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; }
::selection { background: var(--blue-bright); color: #fff; }

.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient::before,
.ambient::after {
    content: "";
    position: absolute;
    left: -12%;
    width: 78%;
    height: 34%;
    border-radius: 50%;
    transform: rotate(8deg);
    filter: blur(1px);
}
.ambient::before {
    bottom: -13%;
    background: linear-gradient(105deg, rgba(28, 93, 182, .78), rgba(74, 167, 219, .42), rgba(46, 65, 156, .2));
    box-shadow: 0 -34px 80px rgba(34, 117, 211, .26);
}
.ambient::after {
    bottom: -23%;
    left: 13%;
    background: linear-gradient(90deg, rgba(32, 117, 211, .2), rgba(76, 192, 224, .3), rgba(56, 66, 166, .38));
    transform: rotate(-7deg);
}
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.ambient-orb-one { width: 420px; height: 420px; right: -180px; top: 15%; background: rgba(51, 80, 183, .18); }
.ambient-orb-two { width: 320px; height: 320px; left: 35%; bottom: -200px; background: rgba(55, 168, 216, .15); }
.ambient-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: radial-gradient(rgba(135, 184, 234, .65) .8px, transparent .8px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, transparent 8%, #000 42%, transparent 84%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 42%, transparent 84%);
}

.site-header {
    position: relative;
    z-index: 5;
    height: 86px;
    background: rgba(2, 7, 18, .96);
    border-top: 4px solid #27569e;
    border-bottom: 1px solid rgba(105, 153, 214, .1);
}
.header-inner {
    width: min(1180px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { display: block; width: auto; height: 47px; object-fit: contain; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: 14px; color: #f5f7fb; transition: color .18s ease; }
.site-nav a:hover { color: var(--blue-soft); }
.download-link {
    min-width: 150px;
    height: 48px;
    padding: 0 23px;
    border: 1px solid #5578a9;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: background .18s, border-color .18s, transform .18s;
}
.download-link:hover { background: rgba(77, 145, 221, .12); border-color: var(--blue-soft); transform: translateY(-1px); }

.launch-strip {
    position: relative;
    z-index: 4;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(90deg, #5967d3, #6f70df 48%, #587bd7);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
.launch-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .14); }

.shell {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
}
.intro { padding: 8px 0 20px; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--blue-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow-icon {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(121, 186, 244, .56);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    font-size: 13px;
}
.intro h1 {
    max-width: 820px;
    margin: 0 auto 22px;
    font-size: clamp(48px, 5vw, 72px);
    line-height: .99;
    letter-spacing: -.048em;
    font-weight: 300;
}
.intro h1 strong {
    display: inline-block;
    font-weight: 800;
    background: linear-gradient(100deg, #fff 5%, #8bc5ef 53%, #5c8fd3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.intro > p {
    max-width: 720px;
    margin: 0 auto;
    color: #c8d3e2;
    font-size: 18px;
    line-height: 1.65;
}
.address-preview {
    width: 100%;
    max-width: 480px;
    margin: 34px auto 0;
    border: 1px solid rgba(122, 177, 234, .25);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 22, 48, .72);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .035);
    backdrop-filter: blur(14px);
}
.preview-bar { height: 30px; padding: 0 13px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(128, 176, 224, .14); background: rgba(255, 255, 255, .025); }
.preview-bar span { width: 6px; height: 6px; border-radius: 50%; background: #55708f; }
.preview-bar span:first-child { background: var(--orange); }
.preview-body { min-height: 88px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.preview-globe { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, #204f8f, #102e5e); color: #a8d7f5; font-size: 25px; box-shadow: inset 0 1px rgba(255, 255, 255, .1); }
.preview-body div:nth-child(2) { min-width: 0; flex: 1; }
.preview-body small { display: block; margin-bottom: 6px; color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.preview-body strong { display: block; overflow: hidden; text-overflow: ellipsis; color: #edf6ff; font-family: Consolas, "Courier New", monospace; font-size: 16px; font-weight: 500; white-space: nowrap; }
.preview-body > b { color: var(--blue-bright); font-size: 18px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-top: 24px; color: #adbed2; font-size: 12px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row b { color: var(--good); }

.claim-card {
    position: relative;
    width: 100%;
    max-width: 760px;
    min-height: 400px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid var(--line-hi);
    border-radius: 24px;
    background:
        linear-gradient(155deg, rgba(18, 46, 90, .9), rgba(6, 18, 42, .94) 56%, rgba(8, 15, 35, .97));
    box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .06);
    backdrop-filter: blur(22px);
    overflow: hidden;
}
.claim-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-bright), var(--periwinkle), var(--orange));
}
.claim-card::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    right: -135px;
    top: -140px;
    background: rgba(55, 141, 224, .13);
    filter: blur(8px);
    pointer-events: none;
}
.panel { display: none; position: relative; z-index: 1; animation: panel-in .28s ease both; }
.panel.active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.kicker { margin: 0 0 10px; color: #76c2ec; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h2 { margin: 0 0 12px; color: #fff; font-size: clamp(27px, 2.3vw, 34px); line-height: 1.12; letter-spacing: -.035em; }
.muted { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
label { display: block; margin: 18px 0 9px; color: #e3ebf5; font-size: 12px; font-weight: 700; }
input,
.domain-field {
    width: 100%;
    min-height: 55px;
    border: 1px solid #385477;
    border-radius: 12px;
    background: rgba(2, 11, 28, .72);
    color: #fff;
    outline: 0;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
input { padding: 0 15px; }
input::placeholder { color: #657895; }
input:focus,
.domain-field:focus-within { border-color: #65b8ea; background: rgba(4, 19, 43, .92); box-shadow: 0 0 0 4px rgba(64, 154, 215, .13); }
.domain-field { display: flex; align-items: center; padding: 0 15px; }
.domain-field input { min-width: 0; min-height: 52px; padding: 0; border: 0; background: transparent; box-shadow: none; font-family: Consolas, "Courier New", monospace; }
.domain-field input:focus-visible { outline: 0; }
.domain-field span { flex: 0 0 auto; color: #94a9c5; font-family: Consolas, "Courier New", monospace; font-size: 13px; font-weight: 700; }
.hint { margin: 9px 0 0; color: #72839e; font-size: 11px; }
.turnstile-wrap { display: flex; justify-content: center; width: 100%; margin-top: 20px; }
.turnstile-wrap .cf-turnstile { width: 100%; max-width: 420px; }
.turnstile-test-panel { margin: 0 0 20px; padding: 12px 14px; border: 1px solid rgba(110, 112, 223, .38); border-radius: 12px; background: rgba(110, 112, 223, .1); color: #c8d3e2; font-size: 11px; line-height: 1.5; }
.turnstile-test-panel span, .turnstile-test-panel small { display: block; }
.turnstile-test-panel b { margin-right: 5px; color: #fff; }
.turnstile-test-panel nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.turnstile-test-panel a { padding: 5px 9px; border: 1px solid #4f6492; border-radius: 999px; color: #aecdff; text-decoration: none; }
.turnstile-test-panel a.active { border-color: #7f83f0; background: rgba(110, 112, 223, .28); color: #fff; }
.primary,
.secondary,
.button-link {
    min-height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, border-color .18s, opacity .18s;
}
.primary { width: 100%; margin-top: 23px; border: 1px solid #ffb06e; background: linear-gradient(135deg, var(--orange-hi), #e87520); color: #fff; box-shadow: 0 12px 28px rgba(236, 119, 31, .24); }
.primary span { margin-left: auto; }
#confirm-link { position: relative; }
#confirm-link span { position: absolute; right: 24px; margin-left: 0; }
.primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(236, 119, 31, .34); }
.primary:disabled { cursor: not-allowed; opacity: .66; }
.primary[data-busy="true"] { cursor: wait; }
.secondary { border: 1px solid #49698f; background: rgba(25, 62, 108, .3); color: #fff; }
.secondary:hover { border-color: var(--blue-bright); transform: translateY(-1px); }
.back,
.text-button { border: 0; padding: 0; background: none; color: #8ccaf0; font-size: 12px; font-weight: 700; cursor: pointer; }
.back { margin: 0 0 23px; }
.text-button { display: block; margin: 18px auto 0; }
.text-button:disabled { color: #647590; cursor: default; }
.chosen { margin: 20px 0; padding: 14px 16px; border: 1px solid rgba(93, 161, 220, .25); border-radius: 12px; background: rgba(36, 89, 145, .16); }
.chosen-available { margin-top: 0; display: flex; align-items: center; gap: 13px; border-color: rgba(75, 214, 160, .42); background: linear-gradient(135deg, rgba(27, 117, 83, .22), rgba(28, 85, 126, .18)); }
.chosen-available > div { min-width: 0; }
.chosen-check { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--good); color: #052519; font-size: 17px; font-weight: 900; box-shadow: 0 0 0 5px rgba(75, 214, 160, .09); }
.chosen-available small { color: #8be7c1; }
.almost-title { margin-top: 22px; }
.account-prompt { margin-bottom: 18px; }
.chosen small { display: block; margin-bottom: 5px; color: #7f95b1; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.chosen strong { color: #dff2ff; font-family: Consolas, "Courier New", monospace; font-size: 14px; word-break: break-word; }
.waiting-panel { padding-top: 6px; text-align: center; }
.waiting-icon { width: 68px; height: 68px; margin: 0 auto 22px; border: 1px solid rgba(101, 184, 234, .42); border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, rgba(52, 126, 185, .36), rgba(15, 51, 97, .55)); color: #8dd4f5; font-size: 27px; box-shadow: 0 0 0 8px rgba(69, 157, 216, .08); }
.claim-loader::before { content: ""; width: 28px; height: 28px; border: 3px solid rgba(141, 212, 245, .3); border-top-color: #8dd4f5; border-radius: 50%; animation: claim-spin .75s linear infinite; }
.claim-loader[hidden] { display: none; }
@keyframes claim-spin { to { transform: rotate(360deg); } }
.waiting-recipient { text-align: center; }
.waiting-panel .back { margin: 2px auto 0; }
.safety { margin: 22px 0 0; color: #70819c; font-size: 11px; line-height: 1.55; text-align: center; }
.notice { position: relative; z-index: 2; margin: -10px 0 22px; padding: 12px 14px; border: 1px solid rgba(255, 123, 136, .38); border-radius: 10px; background: rgba(126, 35, 53, .18); color: #ffb4bc; font-size: 12px; line-height: 1.5; }
.notice.good { border-color: rgba(75, 214, 160, .38); background: rgba(29, 112, 79, .18); color: #98ebc8; }
.result { padding-top: 8px; text-align: center; }
.result-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #4ed7a3, #198e69); color: #fff; font-size: 27px; box-shadow: 0 0 0 8px rgba(75, 214, 160, .1); }
.result .button-link { width: 100%; }
.claimed-address { display: block; margin: 18px 0; color: #8dd4f5; font-family: Consolas, monospace; font-size: 17px; word-break: break-all; }
.download-install { display: flex; align-items: center; gap: 20px; margin: 24px 0 18px; padding: 18px; border: 1px solid rgba(87, 161, 220, .32); border-radius: 18px; background: linear-gradient(135deg, rgba(25, 74, 125, .34), rgba(7, 26, 58, .7)); text-align: left; }
.download-qr { flex: 0 0 auto; padding: 8px; border-radius: 13px; background: #ffffff; box-shadow: 0 10px 25px rgba(0, 0, 0, .24); }
.download-qr img { display: block; width: 132px; height: 132px; }
.download-install-copy { min-width: 0; }
.download-install-copy strong { display: block; margin-bottom: 8px; color: #ffffff; font-size: 19px; }
.download-install-copy span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }
.install-button { margin-top: 0; }

footer { position: relative; z-index: 2; padding: 0 24px 30px; color: #71819a; font-size: 11px; text-align: center; }
footer span { margin: 0 9px; color: #3a587d; }

:focus-visible { outline: 2px solid #71c8f2; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 980px) {
    .site-nav { display: none; }
    .download-link { margin-left: auto; }
    .shell { grid-template-columns: minmax(0, 1fr); width: min(680px, calc(100% - 40px)); gap: 44px; padding-top: 52px; }
    .intro { text-align: center; }
    .intro h1, .intro > p, .address-preview { margin-left: auto; margin-right: auto; }
    .eyebrow { justify-content: center; }
    .trust-row { justify-content: center; }
}
@media (max-width: 620px) {
    .site-header { height: 74px; }
    .header-inner { width: calc(100% - 28px); min-width: 0; gap: 10px; overflow: hidden; }
    .brand { min-width: 0; max-width: 100%; }
    .brand img { width: min(230px, 72vw); height: auto; max-height: 40px; }
    .download-link { display: none; }
    .launch-strip { min-height: 52px; padding: 10px 24px; font-size: 10px; line-height: 1.35; white-space: normal; }
    .launch-dot { flex: 0 0 auto; }
    .launch-copy { display: block; width: calc(100vw - 76px); max-width: 290px; white-space: normal; overflow-wrap: break-word; }
    .shell { display: block; width: calc(100% - 28px); max-width: calc(100% - 28px); min-width: 0; padding: 42px 0; }
    .shell > * { width: 100%; max-width: 100%; min-width: 0; }
    .intro { overflow: hidden; }
    .eyebrow { max-width: 100%; font-size: 9px; letter-spacing: .09em; white-space: normal; }
    .intro h1 { width: 100%; max-width: 100%; font-size: 36px; line-height: 1.05; overflow-wrap: normal; word-break: normal; }
    .intro > p { width: 100%; max-width: 100%; font-size: 15px; }
    .address-preview { width: 100%; max-width: 100%; text-align: left; }
    .preview-body { min-width: 0; padding: 15px; }
    .preview-body strong { max-width: 100%; font-size: 12px; }
    .trust-row { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; gap: 10px; font-size: 10px; }
    .trust-row span { min-width: 0; }
    .claim-card { width: 100%; max-width: 100%; min-width: 0; min-height: 0; margin-top: 44px; padding: 23px 19px; border-radius: 20px; }
    .panel, form { min-width: 0; max-width: 100%; }
    h2 { max-width: 100%; font-size: 27px; overflow-wrap: anywhere; }
    .domain-field { min-width: 0; padding: 0 12px; }
    .domain-field span { font-size: 10px; }
    .download-install { flex-direction: column; text-align: center; }
    .download-qr img { width: 150px; height: 150px; }
    footer span { display: block; height: 8px; font-size: 0; }
}
