@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

.a63gv-shell {
    --a63gv-primary: #1b4332;
    --a63gv-primary-deep: #0f2a1f;
    --a63gv-accent: #b8956a;
    --a63gv-text: #1a2420;
    --a63gv-muted: #5c6b63;
    --a63gv-line: rgba(27, 67, 50, 0.14);
    --a63gv-paper: #f3f6f2;
    --a63gv-surface: #ffffff;
    --a63gv-focus: #2d6a4f;
    box-sizing: border-box;
    color: var(--a63gv-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    margin: 0 auto 3rem;
    max-width: 68rem;
    width: 100%;
}

.a63gv-shell *,
.a63gv-shell *::before,
.a63gv-shell *::after {
    box-sizing: border-box;
}

.a63gv-layout {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 18px 50px rgba(15, 42, 31, 0.12);
    background: var(--a63gv-surface);
}

@media (min-width: 900px) {
    .a63gv-layout {
        grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
        min-height: 38rem;
    }
}

.a63gv-brand {
    position: relative;
    background:
        radial-gradient(120% 80% at 10% 0%, rgba(184, 149, 106, 0.28), transparent 55%),
        linear-gradient(165deg, var(--a63gv-primary) 0%, var(--a63gv-primary-deep) 100%);
    color: #f7faf7;
    padding: 2rem 1.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 14rem;
}

.a63gv-brand::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.a63gv-brand-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--a63gv-accent);
    font-weight: 600;
}

.a63gv-brand-title {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 10ch;
}

.a63gv-brand-copy {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(247, 250, 247, 0.86);
    max-width: 24ch;
}

.a63gv-brand-foot {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: rgba(247, 250, 247, 0.72);
}

.a63gv {
    padding: 1.75rem 1.5rem 2rem;
    background:
        linear-gradient(180deg, #fbfcfb 0%, var(--a63gv-paper) 100%);
}

@media (min-width: 900px) {
    .a63gv {
        padding: 2.25rem 2.5rem 2.5rem;
    }
}

.a63gv-form-intro {
    margin: 0 0 1.5rem;
}

.a63gv-form-intro h2 {
    margin: 0 0 0.35rem;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--a63gv-primary);
}

.a63gv-form-intro p {
    margin: 0;
    color: var(--a63gv-muted);
    font-size: 0.95rem;
}

.a63gv fieldset {
    border: 0;
    margin: 0 0 1.5rem;
    padding: 0;
    min-width: 0;
}

.a63gv legend {
    display: block;
    width: 100%;
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--a63gv-primary);
}

.a63gv-choices {
    display: grid;
    gap: 0.65rem;
}

.a63gv-choice {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.a63gv-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.a63gv-choice span {
    display: block;
    border: 1px solid var(--a63gv-line);
    background: var(--a63gv-surface);
    border-radius: 0.85rem;
    padding: 0.95rem 1rem 0.95rem 2.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.a63gv-choice span::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    border-radius: 50%;
    border: 2px solid rgba(27, 67, 50, 0.35);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.a63gv-choice input:checked + span {
    border-color: var(--a63gv-primary);
    background: rgba(27, 67, 50, 0.04);
    box-shadow: 0 0 0 1px var(--a63gv-primary);
}

.a63gv-choice input:checked + span::before {
    border-color: var(--a63gv-primary);
    box-shadow: inset 0 0 0 3px var(--a63gv-primary);
}

.a63gv-choice input:focus-visible + span {
    outline: 2px solid var(--a63gv-focus);
    outline-offset: 2px;
}

.a63gv-choice-title {
    display: block;
    font-weight: 600;
    color: var(--a63gv-text);
}

.a63gv-choice-meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.9rem;
    color: var(--a63gv-muted);
}

.a63gv-field {
    margin: 0 0 1rem;
}

.a63gv-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--a63gv-primary);
}

.a63gv input[type='text'],
.a63gv input[type='email'],
.a63gv input[type='number'],
.a63gv textarea {
    width: 100%;
    max-width: 100%;
    font: inherit;
    color: var(--a63gv-text);
    background: var(--a63gv-surface);
    border: 1px solid var(--a63gv-line);
    border-radius: 0.7rem;
    padding: 0.75rem 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.a63gv input:focus,
.a63gv textarea:focus {
    outline: none;
    border-color: var(--a63gv-primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.18);
}

.a63gv textarea {
    min-height: 6.5rem;
    resize: vertical;
}

.a63gv-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--a63gv-muted);
}

.a63gv-char-count {
    display: block;
    margin-top: 0.4rem;
    text-align: right;
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    color: var(--a63gv-muted);
}

.a63gv-char-count.is-near {
    color: #8a6a2f;
    font-weight: 600;
}

.a63gv-char-count.is-max {
    color: #7a271a;
    font-weight: 600;
}

.a63gv-error {
    border: 1px solid #b42318;
    background: #fef3f2;
    color: #7a271a;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin: 0 0 1.25rem;
}

.a63gv-address {
    margin: 0 0 1.25rem;
    padding: 1rem;
    border: 1px dashed rgba(27, 67, 50, 0.25);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.7);
}

.a63gv-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--a63gv-line);
}

.a63gv-total {
    margin: 0;
    font-size: 1rem;
    color: var(--a63gv-muted);
}

.a63gv-total strong {
    display: block;
    margin-top: 0.15rem;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--a63gv-primary);
    letter-spacing: -0.02em;
}

.a63gv button[type='submit'] {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--a63gv-primary);
    color: #f7faf7;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.95rem 1.6rem;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(15, 42, 31, 0.22);
}

.a63gv button[type='submit']:hover {
    background: var(--a63gv-primary-deep);
    transform: translateY(-1px);
}

.a63gv button[type='submit']:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.a63gv-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.a63gv-unavailable,
.a63gv-thanks {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--a63gv-primary, #1b4332);
    background: #f3f6f2;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    max-width: 40rem;
}

.a63gv-addons {
    margin: 0 0 1.25rem;
}

.a63gv-addons .a63gv-hint {
    margin: 0 0 0.75rem;
}

.a63gv-choice--addon input[type='checkbox'] {
    margin-top: 0.2rem;
}

.a63gv-choice--addon:has(input:checked) {
    border-color: var(--a63gv-primary);
    box-shadow: 0 0 0 1px var(--a63gv-primary);
}

.a63gv-addons-admin {
    max-width: 640px;
    margin: 0 0 8px;
}

.a63gv-status-shell {
    max-width: 40rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.a63gv-status {
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--a63gv-surface, #fff);
    box-shadow: 0 18px 50px rgba(15, 42, 31, 0.12);
    border: 1px solid var(--a63gv-line, rgba(27, 67, 50, 0.14));
}

.a63gv-status-band {
    background:
        radial-gradient(120% 80% at 10% 0%, rgba(184, 149, 106, 0.28), transparent 55%),
        linear-gradient(165deg, var(--a63gv-primary) 0%, var(--a63gv-primary-deep, #0f2a1f) 100%);
    color: #f7faf7;
    padding: 2rem 1.75rem 1.75rem;
}

.a63gv-status-kicker {
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--a63gv-accent);
    font-weight: 600;
}

.a63gv-status-title {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 16ch;
}

.a63gv-status-body {
    padding: 1.75rem 1.75rem 2rem;
    background: linear-gradient(180deg, #fbfcfb 0%, var(--a63gv-paper, #f3f6f2) 100%);
}

.a63gv-status-copy {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--a63gv-text, #1a2420);
}

.a63gv-status-steps {
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
    counter-reset: a63gv-step;
}

.a63gv-status-steps li {
    position: relative;
    counter-increment: a63gv-step;
    margin: 0 0 0.75rem;
    padding: 0.85rem 1rem 0.85rem 3rem;
    background: var(--a63gv-surface, #fff);
    border: 1px solid var(--a63gv-line, rgba(27, 67, 50, 0.14));
    border-radius: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--a63gv-text, #1a2420);
}

.a63gv-status-steps li::before {
    content: counter(a63gv-step);
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--a63gv-primary);
    color: #f7faf7;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5rem;
    text-align: center;
}

.a63gv-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.a63gv-status-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
    transition: transform 0.15s ease, background 0.2s ease;
}

.a63gv-status-btn--primary {
    background: var(--a63gv-primary);
    color: #f7faf7;
    box-shadow: 0 10px 24px rgba(15, 42, 31, 0.22);
}

.a63gv-status-btn--primary:hover {
    background: var(--a63gv-primary-deep, #0f2a1f);
    color: #f7faf7;
    transform: translateY(-1px);
}

.a63gv-status--cancel .a63gv-status-band {
    background: linear-gradient(165deg, #3d4a42 0%, #1a2420 100%);
}

.a63gv-status--cancel .a63gv-status-kicker {
    color: #c4a574;
}

@media (prefers-reduced-motion: reduce) {
    .a63gv-choice span,
    .a63gv button[type='submit'],
    .a63gv input,
    .a63gv textarea,
    .a63gv-status-btn {
        transition: none;
    }
}
