/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    --color-green: #0B3936;
    --color-green-dark: #0B3936;
    --color-bg-left: #eee7dd;
    --color-bg-right: #ffffff;
    --color-input: #f3f7f7;
    --color-text: #0B3936;
    --color-muted: #8c8c8c;
    --color-border: #e4ecec;

    --radius-input: 10px;
    --radius-image: 15px;
    --max-form-width: 835px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, Helvetica, sans-serif;
    color: var(--color-text);
    background: var(--color-bg-right);
}

a {
    color: var(--color-green);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

.landing {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap:3rem;
}

.left-panel {
    min-height: 100vh;
    background: linear-gradient(90deg, #E0D1C0 0%, #EEE7DF 100%);
    color: var(--color-green);
    overflow: visible;
    position: relative;
    z-index: 2;
}

.left-panel__inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 54px 72px 54px 91px;
}

.logo {
    width: 228px;
    max-width: 62%;
    height: auto;
    display: block;
}

.intro {
    margin-top: 144px;
}

.intro h1 {
    max-width: 670px;
    margin: 0;
    color: var(--color-green);
    font-size: clamp(38px, 3.2vw, 54px);
    line-height: 1.2;
    letter-spacing: -0.058em;
    font-weight: 300;
    span{
        font-weight:900;
    }
}

.intro p {
    max-width: 660px;
    margin: 55px 0 0;
    color: var(--color-green);
    font-size: clamp(20px, 1.45vw, 26px);
    line-height: 1.42;
    letter-spacing: -0.02em;
    font-weight: 200;
}

.image-card {
    width: min(760px, 122%);
    margin: 73px -120px 0 56px;
    border-radius: var(--radius-image);
    overflow: hidden;
    background: #ddd;
    position: relative;
    z-index: 5;
}

.image-card img {
    width: 100%;
    display: block;
    aspect-ratio: 1.64 / 1;
    object-fit: cover;
}

.right-panel {
    min-height: 100vh;
    padding: 60px 85px 50px;
    background: var(--color-bg-right);
    position: relative;
    z-index: 1;
}

.top-link {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 93px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 300;
    color: var(--color-muted);
}

.form-wrap {
    width: min(var(--max-form-width), 100%);
    margin: 0 auto;
}

.form-wrap h2 {
    margin: 0 0 36px;
    font-size: clamp(29px, 2.15vw, 43px);
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: -0.045em;
}

.form-wrap h2 strong {
    font-weight: 900;
}

.form {
    display: grid;
    gap: 20px;
}

.form-grid {
    display: grid;
    gap: 26px;
}

.form-grid--two {
    grid-template-columns: 1fr 1fr;
}

.field {
    position: relative;
}

.field label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.field input {
    width: 100%;
    height: 70px;
    border: 1px solid transparent;
    border-radius: var(--radius-input);
    padding: 0 31px;
    font: inherit;
    font-size: 16px;
    color: var(--color-text);
    background: var(--color-input);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder {
    color: #151515;
    opacity: 1;
}

.field input:focus {
    outline: none;
    background: #ffffff;
    border-color: rgba(0, 79, 75, 0.36);
    box-shadow: 0 0 0 4px rgba(0, 79, 75, 0.08);
}

.checks {
    display: grid;
    gap: 13px;
    margin-top: 4px;
}

.checkbox {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 13px;
    align-items: start;
    font-size: 16px;
    line-height: 1.45;
}

.checkbox input {
    appearance: none;
    width: 28px;
    height: 28px;
    margin: 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-input);
    cursor: pointer;
    position: relative;
}

.checkbox input:checked {
    background: var(--color-green);
    border-color: var(--color-green);
}

.checkbox input:checked::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 4px;
    width: 7px;
    height: 14px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox label {
    cursor: pointer;
}

.submit-button {
    width: 100%;
    min-height: 72px;
    margin-top: 35px;
    border: 0;
    border-radius: 9px;
    padding: 0 24px;
    background: linear-gradient(90deg, var(--color-green-dark), #00645e);
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.submit-button:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

@media (max-width: 1300px) {
    .left-panel__inner {
        padding: 46px;
    }

    .intro {
        margin-top: 110px;
    }

    .image-card {
        margin-left: 0;
    }

    .right-panel {
        padding: 52px 48px;
    }

    .top-link {
        margin-bottom: 72px;
    }
}

@media (max-width: 980px) {
    .landing {
        grid-template-columns: 1fr;
    }

    .left-panel,
    .left-panel__inner,
    .right-panel {
        min-height: auto;
    }

    .left-panel__inner {
        padding: 34px 24px 42px;
    }

    .intro {
        margin-top: 68px;
    }

    .intro p {
        margin-top: 32px;
    }

    .image-card {
        width: 100%;
        max-width: 100%;
        margin: 42px 0 0;
        transform: none;
    }

    .image-card img {
        width: 100%;
        max-width: 100%;
    }

    .right-panel {
        padding: 34px 24px 48px;
    }

    .top-link {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-bottom: 48px;
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .logo {
        width: 180px;
    }

    .intro {
        margin-top: 52px;
    }

    .intro h1 {
        font-size: 42px;
    }

    .intro p {
        font-size: 21px;
    }

    .form-grid--two {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .field input {
        height: 62px;
        padding: 0 22px;
    }

    .checkbox {
        grid-template-columns: 24px 1fr;
        font-size: 14px;
    }

    .checkbox input {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    .submit-button {
        min-height: 64px;
        margin-top: 24px;
    }
}

.page-footer {
    margin-top: 95px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: #9a9a9a;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
}

.page-footer a {
    color: #9a9a9a;
    font-weight: 300;
    text-decoration: none;
}

.page-footer a:hover {
    color: var(--color-green);
    text-decoration: none;
}

.page-footer__links {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .page-footer {
        margin-top: 60px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-footer__links {
        flex-wrap: wrap;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .page-footer {
        margin-top: 44px;
        font-size: 13px;
    }
}

.alert {
    margin: 0 0 28px;
    padding: 18px 22px;
    border-radius: 12px;
    background: #fff0f0;
    color: #a32020;
    font-size: 15px;
    line-height: 1.5;
}

.alert ul {
    margin: 8px 0 0;
    padding-left: 22px;
}

.thanks-box {
    padding-top: 18px;
}

.thanks-eyebrow {
    margin: 0 0 18px;
    color: var(--color-green);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thanks-box h2 {
    margin: 0 0 28px;
    color: var(--color-green);
    font-size: clamp(36px, 3.2vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.thanks-box p {
    max-width: 700px;
    margin: 0 0 18px;
    color: #111111;
    font-size: clamp(18px, 1.25vw, 22px);
    line-height: 1.55;
    font-weight: 300;
}

.thanks-note {
    margin: 34px 0 0;
    padding: 22px 24px;
    border-radius: 12px;
    background: var(--color-input);
    color: #111111;
    font-size: 16px;
    line-height: 1.55;
}

.thanks-box .submit-button {
    margin-top: 36px;
}

.submit-button--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.legal-simple-page {
    min-height: 100vh;
    padding: 54px 24px 34px;
    background: linear-gradient(90deg, #E0D1C0 0%, #EEE7DF 100%);
    color: var(--color-text);
}

.legal-simple {
    width: min(1400px, 100%);
    margin: 0 auto;
}

.legal-simple__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 54px;
}

.legal-simple__back {
    color: var(--color-green);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.legal-simple__back:hover {
    text-decoration: underline;
}

.legal-simple__card {
    padding: 58px 64px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.legal-simple__eyebrow {
    margin: 0 0 18px;
    color: var(--color-green);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-simple__card h1 {
    margin: 0 0 32px;
    color: var(--color-green);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.legal-simple__card h2 {
    margin: 42px 0 14px;
    color: var(--color-green);
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.legal-simple__card p,
.legal-simple__card li {
    color: #222222;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.legal-simple__card p {
    margin: 0 0 18px;
}

.legal-simple__card ul {
    margin: 0 0 22px;
    padding-left: 22px;
}

.legal-simple__note {
    margin: 34px 0;
    padding: 22px 24px;
    border-radius: 12px;
    background: var(--color-input);
    color: #111111;
    font-size: 16px;
    line-height: 1.55;
}

.legal-simple__footer {
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: rgba(0, 79, 75, 0.72);
    font-size: 14px;
}

.legal-simple__footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.legal-simple__footer a {
    color: rgba(0, 79, 75, 0.82);
    font-weight: 700;
    text-decoration: none;
}

.legal-simple__footer a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .legal-simple-page {
        padding: 34px 18px 28px;
    }

    .legal-simple__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 34px;
    }

    .legal-simple__card {
        padding: 34px 24px;
        border-radius: 14px;
    }

    .legal-simple__card p,
    .legal-simple__card li {
        font-size: 16px;
    }

    .legal-simple__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .legal-simple__footer-links {
        flex-wrap: wrap;
        white-space: normal;
    }
}

.draw-page {
    min-height: 100vh;
    padding: 54px 24px 34px;
    background: linear-gradient(90deg, #E0D1C0 0%, #EEE7DF 100%);
}

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

.draw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 44px;
}

.draw-card {
    margin-bottom: 28px;
    padding: 48px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.draw-login-card {
    width: min(620px, 100%);
    margin: 0 auto;
}

.draw-eyebrow {
    margin: 0 0 18px;
    color: var(--color-green);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.draw-card h1 {
    margin: 0 0 34px;
    color: var(--color-green);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.draw-card h2 {
    margin: 0 0 18px;
    color: var(--color-green);
    font-size: clamp(26px, 2.4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.draw-card h3 {
    margin: 34px 0 14px;
    color: var(--color-green);
    font-size: 22px;
}

.draw-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.draw-stats div {
    padding: 22px;
    border-radius: 14px;
    background: var(--color-input);
}

.draw-stats strong {
    display: block;
    color: var(--color-green);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.draw-stats span {
    display: block;
    margin-top: 8px;
    color: #333333;
    font-size: 14px;
    line-height: 1.4;
}

.draw-status {
    margin: 0 0 26px;
    padding: 24px;
    border-radius: 14px;
}

.draw-status h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.draw-status p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.draw-status--green {
    background: #e8f7ef;
    color: #145c35;
}

.draw-status--green h2 {
    color: #145c35;
}

.draw-status--yellow {
    background: #fff6d8;
    color: #7a5600;
}

.draw-status--yellow h2 {
    color: #7a5600;
}

.draw-status--red {
    background: #ffe6e6;
    color: #9e1c1c;
}

.draw-status--red h2 {
    color: #9e1c1c;
}

.draw-message {
    margin: 18px 0;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.55;
}

.draw-message--green {
    background: #e8f7ef;
    color: #145c35;
}

.draw-message--yellow {
    background: #fff6d8;
    color: #7a5600;
}

.draw-message--red {
    background: #ffe6e6;
    color: #9e1c1c;
}

.draw-login-form {
    display: grid;
    gap: 16px;
}

.draw-login-form label {
    font-weight: 800;
}

.draw-login-form input {
    width: 100%;
    height: 62px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0 22px;
    font: inherit;
    background: var(--color-input);
}

.draw-actions {
    margin-top: 28px;
}

.draw-actions .submit-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.draw-logout {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    color: #ffffff;
    background: var(--color-green);
    font-weight: 800;
    cursor: pointer;
}

.winner-card {
    margin-top: 34px;
    padding: 30px;
    border: 2px solid var(--color-green);
    border-radius: 18px;
    background: #ffffff;
}

.winner-card dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 24px 0 0;
}

.winner-card dl div {
    padding: 16px;
    border-radius: 12px;
    background: var(--color-input);
}

.winner-card dt {
    margin-bottom: 6px;
    color: #777777;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.winner-card dd {
    margin: 0;
    color: #111111;
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
}

.audit-box {
    margin-top: 24px;
    padding: 18px;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
}

.audit-box code {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-all;
}

.duplicate-group {
    margin-bottom: 14px;
    padding: 16px 18px;
    border-radius: 12px;
}

.duplicate-group p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
}

.duplicate-group p:last-child {
    margin-bottom: 0;
}

.duplicate-group--red {
    background: #ffe6e6;
    color: #9e1c1c;
}

.duplicate-group--yellow {
    background: #fff6d8;
    color: #7a5600;
}

@media (max-width: 900px) {
    .draw-card {
        padding: 32px 22px;
    }

    .draw-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .winner-card dl {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .draw-page {
        padding: 32px 16px;
    }

    .draw-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .draw-stats {
        grid-template-columns: 1fr;
    }
}