:root {
    --go-cream: #fffaf3;
    --go-paper: #f7efe3;
    --go-ink: #221a14;
    --go-muted: #6f6257;
    --go-line: #f1dfc7;
    --go-terracotta: #d85f1f;
    --go-terracotta-dark: #b94716;
    --go-surface: #fffdf8;
    --go-gold: #c4a35a;
    --go-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --go-exit: cubic-bezier(0.4, 0, 1, 1);
}

.go-body {
    margin: 0;
    min-height: 100dvh;
    background:
        radial-gradient(1200px 480px at 100% -10%, rgba(216, 95, 31, 0.14), transparent 55%),
        radial-gradient(900px 420px at -20% 110%, rgba(196, 163, 90, 0.18), transparent 50%),
        var(--go-cream);
    color: var(--go-ink);
    font-family: 'Cairo', system-ui, sans-serif;
}

.go-shell {
    width: min(28rem, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 1.25rem 0 3rem;
}

.go-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    animation: goMarkIn 0.7s var(--go-ease) both;
}

.go-mark img {
    width: 72px;
    height: 54px;
    object-fit: contain;
}

.go-mark p {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--go-muted);
    font-weight: 700;
}

.go-path {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1.1rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--go-muted);
}

.go-path span {
    text-align: center;
    padding: 0.35rem 0.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid transparent;
    transition: background 0.35s var(--go-ease), color 0.35s var(--go-ease), border-color 0.35s var(--go-ease);
}

.go-path .is-now {
    color: var(--go-terracotta-dark);
    background: #fff4ec;
    border-color: var(--go-line);
    box-shadow: 0 0 0 4px rgba(216, 95, 31, 0.08);
}

.go-path .is-done {
    color: #3d6b3a;
    background: #eef6ea;
}

.go-path i {
    width: 0.7rem;
    height: 1px;
    background: var(--go-line);
    display: block;
}

.go-card {
    position: relative;
    background: var(--go-surface);
    border: 1px solid var(--go-line);
    border-radius: 28px 12px 28px 12px;
    box-shadow: 18px 22px 0 rgba(34, 26, 20, 0.06);
    padding: 1.35rem 1.2rem 1.5rem;
    animation: goCardIn 0.38s var(--go-ease) both;
}

.go-card.is-pulse {
    animation: goCardPulse 0.45s var(--go-ease);
}

.go-kicker {
    margin: 0 0 0.35rem;
    color: var(--go-terracotta);
    font-size: 0.8rem;
    font-weight: 800;
}

.go-card h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    line-height: 1.25;
    font-weight: 900;
}

.go-lead {
    margin: 0 0 1.1rem;
    color: var(--go-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.go-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.35rem;
    margin: 0 0 0.55rem;
}

.go-progress span.go-dot {
    height: 6px;
    border-radius: 99px;
    background: var(--go-line);
    transform-origin: right center;
    overflow: hidden;
}

.go-progress span.go-dot::after {
    content: "";
    display: block;
    height: 100%;
    background: var(--go-terracotta);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.45s var(--go-ease);
}

.go-progress span.go-dot.is-on::after {
    transform: scaleX(1);
}

.go-progress span.go-dot.is-next::after {
    transform: scaleX(0.22);
    opacity: 0.55;
}

.go-spark {
    position: absolute;
    top: 50%;
    right: 6%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: var(--go-terracotta);
    box-shadow: 0 0 0 4px rgba(216, 95, 31, 0.18);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.go-spark.is-n0 { right: 6%; }
.go-spark.is-n1 { right: 26%; }
.go-spark.is-n2 { right: 46%; }
.go-spark.is-n3 { right: 66%; }
.go-spark.is-n4 { right: 86%; }

.go-spark.is-fly {
    animation: goSpark 0.55s var(--go-ease);
}

.go-progress-label,
.go-cue {
    margin: 0 0 0.55rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--go-muted);
    min-height: 1.2em;
}

.go-cue {
    color: var(--go-terracotta-dark);
    font-weight: 800;
    opacity: 0;
    transform: translateY(6px);
}

.go-cue.is-on {
    animation: goCueIn 0.4s var(--go-ease) both;
}

.go-error {
    background: #fde8e4;
    color: #8a2b13;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.9rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.go-steps {
    position: relative;
    min-height: 17rem;
}

.go-step {
    display: none;
}

.go-step.is-active,
.go-noscript .go-step {
    display: block;
}

.go-step.is-active {
    animation: goStepIn 0.26s var(--go-ease) both;
}

.go-step.is-exit {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: 0;
    pointer-events: none;
    animation: goStepOut 0.16s var(--go-exit) both;
}

.go-prompt {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.45;
}

.go-hint {
    margin: 0 0 0.85rem;
    color: var(--go-muted);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
}

.go-options {
    display: grid;
    gap: 0.55rem;
}

.go-options label {
    position: relative;
    display: block;
    border: 1px solid var(--go-line);
    border-radius: 16px;
    padding: 0.85rem 0.95rem 0.85rem 2.4rem;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.22s var(--go-ease),
        border-color 0.22s var(--go-ease),
        background 0.22s var(--go-ease),
        opacity 0.22s var(--go-ease);
    touch-action: manipulation;
}

.go-options label::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border-radius: 50%;
    border: 1.5px solid var(--go-line);
    transform: scale(0.86);
    transition: transform 0.28s var(--go-ease), background 0.28s var(--go-ease), border-color 0.28s var(--go-ease);
}

.go-options label::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 50%;
    width: 6px;
    height: 10px;
    margin-top: -7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.22s var(--go-ease) 0.05s;
}

.go-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.go-options label:has(input:checked),
.go-options label:has(input:focus-visible) {
    border-color: var(--go-terracotta);
    background: #fff4ec;
    box-shadow: inset 0 0 0 1px var(--go-terracotta);
}

.go-options label:has(input:checked)::before {
    background: var(--go-terracotta);
    border-color: var(--go-terracotta);
    transform: scale(1);
}

.go-options label:has(input:checked)::after {
    transform: rotate(45deg) scale(1);
}

.go-options.is-chosen label:not(:has(input:checked)) {
    opacity: 0.55;
}

.go-options label.is-picked {
    animation: goPick 0.42s var(--go-ease);
}

.go-options.is-shake {
    animation: goShake 0.42s var(--go-ease);
}

.go-nav {
    display: flex;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.go-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s var(--go-ease), background 0.18s var(--go-ease);
    touch-action: manipulation;
}

.go-btn:active {
    transform: translateY(1px);
}

.go-btn-primary {
    flex: 1;
    background: var(--go-terracotta);
    color: #fff;
}

.go-btn-primary:hover,
.go-btn-primary:focus-visible {
    background: var(--go-terracotta-dark);
}

.go-btn-primary.is-ready {
    box-shadow: 0 8px 18px -10px rgba(216, 95, 31, 0.55);
}

.go-btn-ghost {
    background: transparent;
    color: var(--go-ink);
    border: 1px solid var(--go-line);
}

.go-social {
    display: grid;
    gap: 0.55rem;
    margin: 0.4rem 0 1.1rem;
}

.go-social a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--go-ink);
    background: #fff;
    border: 1px solid var(--go-line);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    font-weight: 800;
    opacity: 0;
    animation: goSocialIn 0.5s var(--go-ease) forwards;
}

.go-social a:nth-child(1) { animation-delay: 0.05s; }
.go-social a:nth-child(2) { animation-delay: 0.12s; }
.go-social a:nth-child(3) { animation-delay: 0.19s; }
.go-social a:nth-child(4) { animation-delay: 0.26s; }
.go-social a:nth-child(5) { animation-delay: 0.33s; }
.go-social a:nth-child(6) { animation-delay: 0.4s; }

.go-social a:hover,
.go-social a:focus-visible {
    border-color: var(--go-terracotta);
    transform: translateY(-2px);
}

.go-social i {
    font-size: 1.15rem;
    color: var(--go-terracotta);
}

.go-bridge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.15rem 0 1rem;
    color: var(--go-terracotta-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.go-bridge::before,
.go-bridge::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(to left, var(--go-terracotta), transparent);
}

.go-bridge::after {
    background: linear-gradient(to right, var(--go-terracotta), transparent);
}

.go-form {
    display: grid;
    gap: 0.75rem;
    animation: goFormIn 0.55s var(--go-ease) 0.35s both;
}

.go-form label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 800;
}

.go-form input[type="text"],
.go-form input[type="tel"],
.go-form input[type="email"] {
    border: 1px solid var(--go-line);
    border-radius: 14px;
    padding: 0.85rem 0.9rem;
    font: inherit;
    background: #fff;
    transition: border-color 0.2s var(--go-ease), box-shadow 0.2s var(--go-ease);
}

.go-form input[type="text"]:focus,
.go-form input[type="tel"]:focus,
.go-form input[type="email"]:focus {
    outline: 0;
    border-color: var(--go-terracotta);
    box-shadow: 0 0 0 4px rgba(216, 95, 31, 0.12);
}

.go-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--go-muted);
    line-height: 1.6;
}

.go-consent input {
    margin-top: 0.3rem;
    accent-color: var(--go-terracotta);
}

.go-consent a {
    color: var(--go-terracotta-dark);
    font-weight: 800;
}

.go-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.15rem;
    padding: 0.9rem 1.15rem;
    border-radius: 999px;
    background: var(--go-terracotta);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.go-shop:hover,
.go-shop:focus-visible {
    background: var(--go-terracotta-dark);
}

.go-burst {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.go-burst b {
    position: absolute;
    top: 38%;
    right: 18%;
    width: 7px;
    height: 7px;
    border-radius: 50% 50% 50% 12%;
    background: var(--go-terracotta);
    opacity: 0;
}

.go-burst.is-firing b {
    animation: goBurst 0.7s var(--go-ease) forwards;
}

.go-burst b:nth-child(1) { --dx: 42px; --dy: -58px; --s: 1; background: var(--go-terracotta); }
.go-burst b:nth-child(2) { --dx: -36px; --dy: -48px; --s: 0.8; background: var(--go-gold); animation-delay: 0.03s; }
.go-burst b:nth-child(3) { --dx: 64px; --dy: -18px; --s: 1.15; background: #f1dfc7; animation-delay: 0.05s; }
.go-burst b:nth-child(4) { --dx: -58px; --dy: -8px; --s: 0.7; background: var(--go-terracotta); animation-delay: 0.02s; }
.go-burst b:nth-child(5) { --dx: 18px; --dy: 42px; --s: 0.9; background: var(--go-gold); animation-delay: 0.07s; }
.go-burst b:nth-child(6) { --dx: -24px; --dy: 48px; --s: 1.05; background: var(--go-terracotta); animation-delay: 0.04s; }
.go-burst b:nth-child(7) { --dx: 72px; --dy: 28px; --s: 0.65; background: #fff; animation-delay: 0.06s; }
.go-burst b:nth-child(8) { --dx: -70px; --dy: 22px; --s: 0.85; background: var(--go-gold); animation-delay: 0.08s; }
.go-burst b:nth-child(9) { --dx: 8px; --dy: -72px; --s: 0.55; width: 14px; height: 3px; border-radius: 99px; background: var(--go-ink); }
.go-burst b:nth-child(10) { --dx: -12px; --dy: -66px; --s: 0.55; width: 14px; height: 3px; border-radius: 99px; background: var(--go-ink); animation-delay: 0.04s; }

@keyframes goMarkIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goCardIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goCardPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.008); }
    100% { transform: scale(1); }
}

@keyframes goStepIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes goStepOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(8px); }
}

@keyframes goPick {
    0% { transform: scale(1); }
    35% { transform: scale(0.985); }
    70% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes goShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(6px); }
    50% { transform: translateX(-5px); }
    75% { transform: translateX(3px); }
}

@keyframes goCueIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goSpark {
    0% { opacity: 0; transform: scale(0.4); }
    30% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.2) translate(-28px, -10px); }
}

@keyframes goReady {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(216, 95, 31, 0.35); }
    50% { transform: translateY(-1px); box-shadow: 0 10px 18px -8px rgba(216, 95, 31, 0.45); }
}

@keyframes goSocialIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes goFormIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goBurst {
    0% { opacity: 1; transform: translate(0, 0) scale(0.4) rotate(0deg); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(48deg); }
}

@media (min-width: 768px) {
    .go-shell {
        width: min(34rem, calc(100% - 2rem));
        padding-top: 2rem;
    }

    .go-card {
        padding: 1.7rem 1.6rem 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .go-mark,
    .go-card,
    .go-card.is-pulse,
    .go-step.is-active,
    .go-step.is-exit,
    .go-options label,
    .go-options label.is-picked,
    .go-options.is-shake,
    .go-btn-primary.is-ready,
    .go-social a,
    .go-form,
    .go-shop,
    .go-cue,
    .go-spark.is-fly,
    .go-burst.is-firing b {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }

    .go-social a {
        opacity: 1;
        transform: none;
    }
}
