* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #F8F5EE;
    color: #17322F;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}


.hero img {
    display: block;
    width: 100%;
    height: auto;
}

.card {
    background: white;
    border: 1px solid #E7E0D0;
    box-shadow: 0 10px 30px rgba(0, 108, 99, 0.08);
    padding: 30px;
}

h1,
h2 {
    color: #006C63;
}

h2 {
    margin-top: 28px;
}

form {
    display: grid;
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d7dce8;
    border-radius: 14px;
    font-size: 16px;
}

.pdf {
    width: 100%;
    height: 620px;
    border: 1px solid #d7dce8;
    border-radius: 18px;
    background: #f8f8f8;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.signature-box {
    border: 2px dashed #b8bfd3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

canvas {
    width: 100%;
    height: 200px;
    display: block;
    touch-action: none;
    cursor: crosshair;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

button {
    border: none;
    background: #5454d4;
    color: white;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
}

button.secondary {
    background: #edf0f7;
    color: #202040;
}

#status {
    font-weight: 600;
}

@media (max-width: 600px) {

    .card {
        padding: 24px;
    }

    .pdf {
        height: 500px;
    }
}

a.button {
    display: inline-block;
    text-decoration: none;
}

input {
    border: 2px solid #D9D2C0;
    background: #FFFDF8;
}

input:focus {
    border-color: #006C63;
    box-shadow: 0 0 0 4px rgba(0, 108, 99, 0.1);
}

button[type="submit"] {
    background: #006C63;
    color: white;
    border: none;
}

button[type="submit"]:hover {
    background: #0B7D73;
}


.secondary {
    background: #006C63;
    color: #FCFAF4;
    border: 1px solid #DCCFAE;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
}

.signature-box {
    border: 2px dashed #0B7D73;
    background: #FCFAF4;
}