:root {
    color-scheme: light;
    --aloha-blue: #1255ad;
    --aloha-deep: #173860;
    --aloha-ink: #20334d;
    --aloha-muted: #65758c;
    --aloha-line: #dce5ef;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: #f4f7fb; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    padding: max(40px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    display: grid;
    place-items: center;
    color: var(--aloha-ink);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: radial-gradient(ellipse at 10% 5%, #e1f4ff 0, transparent 48%), radial-gradient(ellipse at 90% 90%, #e8edff 0, transparent 45%), #f4f7fb;
    -webkit-text-size-adjust: 100%;
}
.aloha-welcome {
    width: 100%;
    max-width: 620px;
    padding: 46px 48px 48px;
    background: #fff;
    border: 1px solid #e1e9f2;
    border-radius: 28px;
    box-shadow: 0 18px 64px #133d7310;
}
.aloha-logo { width: 246px; max-width: 70%; margin: 0 auto 32px; }
.aloha-logo img { display: block; width: 100%; height: auto; }
.aloha-intro { text-align: center; }
h1 { margin: 0; color: var(--aloha-deep); font-size: clamp(1.6rem, 4.8vw, 2rem); font-weight: 700; line-height: 1.35; letter-spacing: -.035em; text-wrap: balance; }
h1 span { color: var(--aloha-blue); }
.aloha-mobile-break { display: none; }
.aloha-intro p { max-width: 450px; margin: 18px auto 0; color: var(--aloha-muted); font-size: 1rem; }
.aloha-contact { display: grid; gap: 20px; margin-top: 32px; }
.aloha-field { min-width: 0; }
label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 600; line-height: 1.5; }
input[type="text"], input[type="tel"] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #cdd9e7;
    border-radius: 11px;
    background: #fff;
    color: var(--aloha-ink);
    font: inherit;
    line-height: 1.5;
    -webkit-appearance: none;
    appearance: none;
}
input:hover { border-color: #9cb5d2; }
input:focus-visible { outline: 3px solid #27a9e140; outline-offset: 2px; border-color: #1255ad; }
button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    margin-top: 2px;
    padding: 13px 20px;
    border: 1px solid var(--aloha-blue);
    border-radius: 11px;
    background: var(--aloha-blue);
    color: #fff;
    font: inherit;
    font-weight: 650;
    line-height: 1.5;
    cursor: pointer;
    box-shadow: 0 4px 12px #1255ad18;
    touch-action: manipulation;
}
button:hover { background: #0c438e; border-color: #0c438e; }
button:active { background: #103f7c; }
button:focus-visible { outline: 3px solid #1255ad; outline-offset: 3px; }
button svg { flex: 0 0 auto; }
.aloha-message { margin-top: 28px; padding: 15px 17px; border: 1px solid; border-radius: 12px; font-size: .9375rem; overflow-wrap: anywhere; }
.aloha-message-error { color: #982a2a; background: #fff4f2; border-color: #f1c6bf; }
.aloha-message-error + .aloha-contact { margin-top: 24px; }
.aloha-message-success { display: flex; gap: 12px; align-items: flex-start; color: #176447; background: #effaf5; border-color: #c6e9d8; }
.aloha-message-success p { margin: 0; }
.aloha-success-mark { display: grid; place-items: center; flex: 0 0 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: #187a55; color: #fff; font-weight: 700; font-size: .875rem; line-height: 1; }
@media (max-width: 520px) {
    body { padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
    .aloha-welcome { padding: 34px 24px 30px; border-radius: 22px; }
    .aloha-logo { width: 218px; max-width: 78%; margin-bottom: 28px; }
    .aloha-mobile-break { display: initial; }
    .aloha-intro p { margin-top: 16px; font-size: .9375rem; }
    .aloha-contact { margin-top: 28px; gap: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
    input, button { transition: background-color .15s, border-color .15s, box-shadow .15s; }
}
