* { box-sizing: border-box; }

:root {
    --ink: #171717;
    --muted: #6b6b6b;
    --line: #dedede;
    --soft: #f7f7f7;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.shell {
    width: min(1000px, calc(100% - 40px));
    margin: 80px auto;
}

.shell.narrow { width: min(760px, calc(100% - 40px)); }

h1 {
    margin: 0 0 18px;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: .95;
    letter-spacing: -.055em;
}

.submit-title, .review-title {
    font-size: clamp(2.6rem, 7vw, 5rem);
}

h2 { margin-bottom: 8px; }

.lead {
    font-size: 1.2rem;
    max-width: 720px;
}

a { color: inherit; }

.back {
    color: var(--muted);
    text-decoration: none;
}

.step {
    margin-top: 54px;
    margin-bottom: 12px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.status, .error, .success {
    margin: 28px 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.error { border-color: #b33; }
.success { border-color: #4b8b58; }

.button, button {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid var(--ink);
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

form { margin-top: 32px; }

label {
    display: block;
    margin: 18px 0 7px;
    font-weight: 650;
}

input, textarea, select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #bdbdbd;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea { resize: vertical; }

.url-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.hint {
    margin-top: 8px;
    color: var(--muted);
    font-size: .9rem;
}

.review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr);
    gap: 50px;
    align-items: start;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.preview-card {
    position: sticky;
    top: 30px;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.preview-label {
    margin-top: 18px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.project-logo {
    width: 64px;
    height: 64px;
    border: 1px solid var(--line);
    border-radius: 14px;
    object-fit: contain;
}

.preview-tagline {
    font-weight: 650;
}

@media (max-width: 760px) {
    .shell { margin: 40px auto; }
    .url-row, .review-grid, .two-cols { grid-template-columns: 1fr; }
    .url-row button { width: 100%; }
    .preview-card { position: static; }
}
