:root {
    color-scheme: light;
    --bg: #f3efe8;
    --surface: rgba(255, 252, 247, 0.92);
    --surface-strong: #fffdfa;
    --ink: #17171b;
    --muted: #6c645f;
    --line: rgba(46, 34, 24, 0.1);
    --line-strong: rgba(46, 34, 24, 0.16);
    --accent: #b8643d;
    --accent-dark: #844224;
    --radius-3xl: 34px;
    --radius-2xl: 26px;
    --radius-xl: 22px;
    --radius-lg: 18px;
    --shadow-lg: 0 28px 70px rgba(50, 34, 20, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(184, 100, 61, 0.14), transparent 22%),
        radial-gradient(circle at bottom right, rgba(124, 89, 62, 0.08), transparent 20%),
        linear-gradient(180deg, #f7f2ea 0%, #efe8de 100%);
}

button, input, select, textarea { font: inherit; }

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

.hero-band, .panel, .notice {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-lg);
}

.hero-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 34px;
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8a7d72;
}

h1, h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

h1 {
    margin-top: 10px;
    font-size: 30px;
    line-height: 1;
}

h2 {
    font-size: 1.72rem;
    line-height: 1.02;
}

.lead {
    margin: 16px 0 0;
    max-width: 760px;
    line-height: 1.8;
    color: var(--muted);
}

.hero-notes {
    display: grid;
    align-content: start;
    gap: 10px;
}

.hero-notes span {
    display: inline-flex;
    width: fit-content;
    min-height: 42px;
    padding: 0 16px;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(184, 100, 61, 0.12), rgba(184, 100, 61, 0.06));
    border: 1px solid rgba(184, 100, 61, 0.12);
    font-weight: 800;
}

.notice {
    display: grid;
    gap: 8px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.notice p, .notice strong { margin: 0; }

.warning {
    background: linear-gradient(180deg, rgba(255, 240, 213, 0.94), rgba(255, 245, 228, 0.94));
}

.workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.form-column, .info-column {
    display: grid;
    gap: 18px;
}

.info-column {
    position: sticky;
    top: 24px;
}

.panel {
    padding: 24px;
}

.sidebar-card.ad-shell {
    display: grid;
    gap: 14px;
    align-content: start;
}

.ad-shell .eyebrow,
.ad-shell strong,
.ad-shell > p {
    margin: 0;
}

.ad-shell strong {
    display: block;
    font-size: 1.92rem;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.ad-shell > p {
    color: var(--muted);
    line-height: 1.65;
}

.section-head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.contact-form {
    display: grid;
    gap: 18px;
}

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

.field {
    display: grid;
    gap: 10px;
}

.field-full {
    grid-column: 1 / -1;
}

.field > span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #756c64;
}

input[type="text"], input[type="email"], textarea, select {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

textarea {
    min-height: 180px;
    padding: 16px;
    resize: vertical;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
    outline: 0;
    border-color: rgba(184, 100, 61, 0.5);
    box-shadow: 0 0 0 4px rgba(184, 100, 61, 0.14);
}

select {
    appearance: none;
    padding-right: 52px;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(23,23,27,0.72) 50%),
        linear-gradient(135deg, rgba(23,23,27,0.72) 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.consent-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.7;
}

.consent-row input {
    margin-top: 4px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

button, .ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

button {
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    box-shadow: 0 14px 28px rgba(184, 100, 61, 0.22);
}

.ghost-button {
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--ink);
}

.feedback {
    min-height: 28px;
    font-weight: 600;
}

.feedback.is-success { color: #256b41; }
.feedback.is-error { color: #a13d3d; }

.detail-list, .line-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-list {
    display: grid;
    gap: 14px;
}

.detail-list li {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.detail-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.detail-list strong {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7f746c;
}

.detail-list span {
    word-break: break-word;
}

.preset-grid {
    display: grid;
    gap: 14px;
}

.preset-detail {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.44);
}

.preset-detail strong {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7f746c;
}

.panel-note {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.test-form {
    display: grid;
    gap: 14px;
}

.line-list {
    display: grid;
    gap: 12px;
    color: var(--muted);
}

.line-list li {
    padding-left: 18px;
    position: relative;
    line-height: 1.7;
}

.line-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(184, 100, 61, 0.8);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.ad-slot, .ad-placeholder {
    min-height: 320px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.52);
    overflow: hidden;
}

.ad-placeholder { padding: 16px; }

.ad-mockup {
    position: relative;
    min-height: 286px;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.42));
}

.ad-mockup::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 14px;
    border: 1px dashed rgba(46,34,24,0.12);
}

.ad-mockup-top, .ad-mockup-media, .ad-mockup-badge, .ad-mockup-lines { position: absolute; }

.ad-mockup-top {
    top: 24px;
    left: 24px;
    width: 110px;
    height: 18px;
    border-radius: 999px;
    background: rgba(46,34,24,0.08);
}

.ad-mockup-media {
    inset: 78px 24px 106px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(184,100,61,.14), rgba(141,117,91,.1));
}

.ad-mockup-lines {
    left: 24px;
    right: 24px;
    bottom: 28px;
    display: grid;
    gap: 10px;
}

.ad-mockup-lines span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: rgba(46,34,24,0.08);
}

.ad-mockup-lines span:last-child { width: 58%; }

.ad-mockup-badge {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 142px;
    height: 142px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    background: linear-gradient(135deg, #b8643d, #d8956b);
    color: #fff;
}

.ad-mockup-badge span {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.08em;
}

@media (max-width: 1120px) {
    .hero-band, .workspace-grid, .field-grid {
        grid-template-columns: 1fr;
    }

    .info-column {
        position: static;
    }
}
