:root {
  color-scheme: light;
  --ink: #0f172a;
  --navy: #1e3a5f;
  --blue: #3b82f6;
  --action: #1d4ed8;
  --muted: #475569;
  --border: #cbd5e1;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #f8fafc;
}

:root[lang="ar"] { font-family: "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }

* { box-sizing: border-box; }
body { margin: 0; }
.site-header { background: white; border-block-end: 1px solid #e5e7eb; }
.header-inner {
  max-width: 1192px;
  padding: 12px 24px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { display: inline-flex; gap: 10px; align-items: center; color: var(--navy); font-weight: 750; text-decoration: none; }
.wordmark img { object-fit: contain; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
#language {
  color: var(--navy);
  padding-inline: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 44px;
}
main {
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(24px, 6vw, 80px) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 6vw, 72px);
}
.intro { padding-block: 32px; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4.4rem); line-height: 1.04; margin: 20px 0 16px; letter-spacing: -.045em; }
.title-brand { display: block; white-space: nowrap; }
:root[lang="ar"] h1 { letter-spacing: normal; line-height: 1.25; }
.subtitle { color: var(--navy); font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 700; line-height: 1.4; margin: 0; }
.intro-copy { max-width: 42ch; color: var(--muted); line-height: 1.65; margin: 12px 0 0; }
.crest { display: block; object-fit: contain; width: clamp(64px, 12vw, 100px); height: auto; }
.benefits { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.benefits li { display: flex; align-items: baseline; gap: 9px; line-height: 1.5; }
.checkmark { color: var(--action); font-weight: 800; }
.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .07);
  padding: clamp(21px, 4vw, 36px);
}
h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 0; }
.card-description { color: var(--muted); line-height: 1.5; margin: 9px 0 20px; }
form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
label, legend { font-size: .9rem; font-weight: 650; padding: 0; }
legend { margin-block-end: 6px; }
small { color: var(--muted); margin-inline-start: 5px; font-weight: 500; }
input, select { width: 100%; min-height: 46px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: white; }
.phone { display: grid; gap: 8px; grid-template-columns: minmax(95px, .85fr) minmax(0, 1.15fr); }
#submit { min-height: 49px; padding: 10px 16px; margin-block-start: 4px; color: white; background: var(--action); border: 0; border-radius: 8px; font-weight: 700; }
#submit:hover:enabled { background: #1e40af; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.demo, .status { border-radius: 8px; padding: 9px 12px; margin: 0; font-size: .875rem; line-height: 1.5; background: #eff6ff; color: var(--navy); }
.demo { margin-block-end: 16px; }
.status[data-error="true"] { background: #fff1f2; color: #9f1239; }
@media (max-width: 690px) {
  main { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
  .intro { padding-block: 0; }
  h1 { margin-block-start: 14px; }
  .header-inner { padding-inline: 16px; }
}
