/* Public landing page (/welcome). Same look as the printed flyer:
   off-white paper, near-black ink, one red accent, IBM Plex type. */
:root {
    --paper: #FBFAF7;
    --ink: #17181A;
    --muted: #45474B;
    --line: #D9D6CE;
    --accent: #B3261E;
    --accent-dark: #8E1E18;
    --white: #FFFFFF;
    --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
    --arabic: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, dl, figure { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.ar { font-family: var(--arabic); font-weight: 500; text-align: left; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px;
    font: 600 16px var(--sans); text-decoration: none;
    border: 2px solid var(--ink); cursor: pointer;
}
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--white); width: 100%; }
.btn-dark:hover { background: #000; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--accent); outline-offset: 2px;
}

/* top bar */
.top {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding-top: 20px; padding-bottom: 16px;
}
.top::after { content: none; }
.brand {
    font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none;
}
.top-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.top-links a:not(.btn) { text-decoration: none; color: var(--muted); }
.top-links a:not(.btn):hover { color: var(--ink); text-decoration: underline; }

/* hero */
.hero { padding-top: 56px; border-top: 1px solid var(--ink); }
.kicker {
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 18px;
}
h1 {
    font-size: clamp(42px, 7vw, 84px); line-height: 0.98; font-weight: 700; letter-spacing: -0.03em;
    max-width: 900px;
}
.dot { color: var(--accent); }
.ar-title {
    font-family: 'Amiri', serif; font-weight: 700; font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.35; margin-top: 18px; text-align: left;
}
.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-shot {
    margin-top: 48px; border: 1px solid var(--ink); background: var(--white);
    box-shadow: 12px 12px 0 var(--ink);
}

/* three promises */
.features {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
    margin-top: 88px;
}
.feature { border-top: 3px solid var(--accent); padding-top: 16px; }
.feature h2 { font-size: 22px; font-weight: 600; line-height: 1.2; }
.feature .ar { margin-top: 4px; }
.feature p:last-child { margin-top: 8px; color: var(--muted); font-size: 16px; }

.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.section-lead { color: var(--muted); margin-top: 10px; max-width: 640px; }

/* steps */
.steps { margin-top: 104px; }
.steps ol {
    list-style: none; padding: 0; margin-top: 28px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--ink);
}
.steps li { padding: 18px 20px 0 0; color: var(--muted); font-size: 16px; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.steps .num { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.steps strong { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }

/* screenshots */
.screens { margin-top: 104px; }
.shots {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
    margin-top: 32px;
}
.shots img { border: 1px solid var(--ink); background: var(--white); }
.shots figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.shots figcaption strong { color: var(--ink); }

/* about */
.about { margin-top: 104px; padding-top: 32px; border-top: 1px solid var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 20px; }
.about-grid > p { font-size: 19px; color: var(--muted); }
.contact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; font-size: 16px; }
.contact dt { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 3px; }
.contact dd { margin: 0; word-break: break-word; }

/* demo band */
.demo { background: var(--accent); color: var(--white); margin-top: 104px; padding: 72px 0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.demo-intro h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.demo-intro .ar { font-size: 19px; margin-top: 12px; }
.demo-intro p:last-child { margin-top: 16px; font-size: 18px; max-width: 440px; }
.form-card { background: var(--white); color: var(--ink); padding: 28px; }
.form-card.sent h3 { font-size: 24px; }
.form-card.sent p { margin-top: 8px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
    font: 16px var(--sans); color: var(--ink); background: var(--white);
    border: 1px solid #8A8780; border-radius: 0; padding: 11px 12px; min-height: 46px; width: 100%;
}
.field textarea { resize: vertical; }
.err { color: var(--accent); font-size: 14px; }
.form-error { color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.foot {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    padding-top: 24px; padding-bottom: 32px; font-size: 14px; color: var(--muted);
}

@media (max-width: 900px) {
    .features, .shots { grid-template-columns: 1fr; gap: 36px; }
    .steps ol { grid-template-columns: 1fr 1fr; }
    .steps li, .steps li + li { padding: 18px 16px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .about-grid, .demo-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-shot { box-shadow: 8px 8px 0 var(--ink); }
}
@media (max-width: 600px) {
    .top-links a:not(.btn) { display: none; }
    .hero { padding-top: 36px; }
    .steps ol { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 20px; }
    .demo { padding: 56px 0; }
}

/* super admin: demo requests list (/demo-requests) */
.requests { padding-top: 40px; padding-bottom: 64px; border-top: 1px solid var(--ink); }
.request { border-top: 3px solid var(--accent); background: var(--white); padding: 20px 24px; margin-top: 24px; }
.request-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.request-head h2 { font-size: 21px; font-weight: 600; }
.request-head .org { font-weight: 400; color: var(--muted); }
.request-head time { font-size: 13px; color: var(--muted); }
.request-msg { margin-top: 12px; color: var(--muted); white-space: pre-line; }
