@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0b1d33;
    --bg-deep: #081527;
    --surface: #12253f;
    --surface-line: rgba(255, 255, 255, 0.09);
    --ink: #ffffff;
    --muted: #9fb3c9;
    --accent: #2fa3e0;
    --accent-strong: #1c8fd6;
    --accent-tint: rgba(47, 163, 224, 0.16);

    --font: 'Heebo', 'Segoe UI', Tahoma, sans-serif;
    --measure: 640px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    background-image: radial-gradient(1200px 480px at 50% -10%, rgba(47, 163, 224, 0.12), transparent 60%);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.site-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 0 20px 96px;
}

/* ---------------------------------- hero --------------------------------- */

.hero {
    width: 100%;
    max-width: var(--measure);
    padding: 56px 0 24px;
}

.hero::before {
    content: 'ארגז כלים · BOSCH PRO';
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

#page-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
}

/* ------------------------------- content card ----------------------------- */

.content-card {
    width: 100%;
    max-width: var(--measure);
    margin-top: 12px;
}

.content-column {
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: 20px;
    padding: 44px clamp(22px, 5vw, 52px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}

.lead {
    font-size: 19px;
    color: var(--ink);
    margin: 0 0 8px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--surface-line);
}

.lead strong {
    color: var(--ink);
}

/* --------------------------------- headings -------------------------------- */

h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 38px 0 14px;
    padding-right: 14px;
    border-right: 3px solid var(--accent);
}

h2:first-of-type {
    margin-top: 30px;
}

p {
    margin: 0 0 14px;
    color: var(--muted);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--ink);
}

/* the fallback mailto stays a plain inline link now that the form is the
   primary action — see .form-field / #submit-btn below for the CTA styling */
a[href^="mailto"] {
    color: var(--accent);
    font-weight: 600;
    text-decoration-color: rgba(47, 163, 224, 0.4);
    text-underline-offset: 3px;
}

a[href^="mailto"]:hover,
a[href^="mailto"]:focus-visible {
    text-decoration-color: var(--accent);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------- deletion request form -------------------------- */

#deletion-form {
    margin: 20px 0 8px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-line);
    border-radius: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-field:last-of-type {
    margin-bottom: 20px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.form-field input {
    font: inherit;
    color: var(--ink);
    background: var(--bg-deep);
    border: 1px solid var(--surface-line);
    border-radius: 10px;
    padding: 12px 14px;
    direction: rtl;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input::placeholder {
    color: rgba(159, 179, 201, 0.55);
}

.form-field input:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-tint);
}

/* honeypot: present in the DOM for bots, invisible and unreachable for people */
.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

#submit-btn {
    font: inherit;
    font-weight: 700;
    font-size: 16px;
    color: #04202f;
    background: var(--accent);
    border: none;
    border-radius: 999px;
    padding: 13px 28px;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

#submit-btn:hover,
#submit-btn:focus-visible {
    background: var(--accent-strong);
}

#submit-btn:disabled {
    opacity: 0.65;
    cursor: default;
}

#form-status {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 600;
    min-height: 1.4em;
}

#form-status.success {
    color: #5fd68a;
}

#form-status.error {
    color: #f08a80;
}

.fallback-note {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

/* ---------------------------- bulleted lists -------------------------------- */

ul {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

ul li {
    position: relative;
    padding-right: 22px;
    margin-bottom: 9px;
    color: var(--muted);
}

ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

ul li:last-child {
    margin-bottom: 0;
}

/* ------------------------- ordered list (real sequence) --------------------- */

ol {
    counter-reset: step;
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

ol li {
    counter-increment: step;
    position: relative;
    padding: 12px 0 12px 0;
    padding-right: 46px;
    border-bottom: 1px solid var(--surface-line);
    color: var(--ink);
}

ol li:last-child {
    border-bottom: none;
}

ol li::before {
    content: counter(step);
    position: absolute;
    right: 0;
    top: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-tint);
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------------------------- responsive --------------------------------- */

@media (max-width: 520px) {
    .hero {
        padding: 40px 0 20px;
    }

    .content-column {
        padding: 32px 20px;
        border-radius: 16px;
    }

    h2 {
        margin: 30px 0 12px;
    }
}

/* ------------------------------ reduced motion ------------------------------- */

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
