:root {
    --paper: #f4efe6;
    --ink: #1f2933;
    --ink-soft: #51606d;
    --edge: rgba(31, 41, 51, 0.14);
    --sun: #ef9f5a;
    --teal: #177e89;
    --teal-soft: rgba(23, 126, 137, 0.12);
    --sun-soft: rgba(239, 159, 90, 0.18);
    --rose: #b84c65;
    --cream: rgba(255, 250, 243, 0.82);
    --white: #fffdf9;
    --shadow: 0 18px 40px rgba(57, 44, 25, 0.11);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(239, 159, 90, 0.35), transparent 30%),
        radial-gradient(circle at right center, rgba(23, 126, 137, 0.18), transparent 28%),
        linear-gradient(180deg, #fbf6ef 0%, #efe4d3 100%);
    color: var(--ink);
    font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
}

body {
    padding: 28px;
}

button,
input {
    font: inherit;
}

.page-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.hero-card,
.card {
    position: relative;
    overflow: hidden;
    background: var(--cream);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-card::before,
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 45%);
}

.hero-card {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 24px;
    padding: 30px;
}

.hero-copy,
.status-panel,
.card {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--rose);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-family: "Georgia", "Times New Roman", serif;
    line-height: 1.08;
}

h1 {
    font-size: clamp(2.2rem, 3.6vw, 4rem);
    max-width: 12ch;
}

h2 {
    font-size: 1.65rem;
}

.hero-text,
.section-copy,
.status-note,
.plain-list,
.callout {
    color: var(--ink-soft);
}

.hero-text {
    max-width: 62ch;
    margin: 16px 0 0;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ghost-button,
.primary-button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ghost-button {
    background: rgba(255, 255, 255, 0.74);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--edge);
}

.ghost-button:hover,
.primary-button:hover {
    transform: translateY(-1px);
}

.ghost-button.danger {
    color: var(--rose);
}

.primary-button {
    background: linear-gradient(135deg, var(--teal), #1c596c);
    color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 22px rgba(23, 126, 137, 0.24);
}

.status-panel {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 253, 249, 0.92), rgba(244, 239, 230, 0.62));
    box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.08);
}

.status-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
}

.status-grid {
    display: grid;
    gap: 14px;
    margin: 0;
}

.status-grid div {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.status-grid dt {
    font-size: 12px;
    color: var(--ink-soft);
}

.status-grid dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.status-note {
    margin: 0;
    font-size: 0.95rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.card {
    padding: 24px;
}

.span-two {
    grid-column: span 2;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 16px;
}

.section-head.compact {
    margin-bottom: 12px;
}

.section-copy {
    max-width: 42ch;
    margin: 0;
}

.code-block {
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    background: rgba(28, 36, 42, 0.94);
    color: #f4f7fb;
    font-family: "Cascadia Code", "IBM Plex Mono", Consolas, monospace;
    font-size: 0.88rem;
    line-height: 1.55;
    overflow: auto;
    min-height: 190px;
}

.lead-label {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--teal);
}

.register-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.register-form label,
.toggle {
    display: grid;
    gap: 8px;
}

.register-form span,
.toggle span {
    font-weight: 600;
}

.register-form input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(31, 41, 51, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
}

.register-form input:focus {
    outline: 2px solid rgba(23, 126, 137, 0.24);
    border-color: var(--teal);
}

.option-strip,
.callout,
.form-actions {
    grid-column: span 2;
}

.option-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    background: var(--sun-soft);
}

.toggle {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.toggle input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.callout {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--teal-soft);
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 4px;
}

.plain-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

@media (max-width: 920px) {
    body {
        padding: 16px;
    }

    .hero-card,
    .content-grid,
    .register-form {
        grid-template-columns: 1fr;
    }

    .span-two,
    .option-strip,
    .callout,
    .form-actions {
        grid-column: auto;
    }

    .section-head {
        flex-direction: column;
    }
}