/*
Theme Name: Ventures IQ Landing
Author: Ventures IQ
Version: 1.0.0
Requires PHP: 8.1
Text Domain: viq-landing
*/

:root {
  --ground: #FFFFFF;
  --alt: #FAF8F3;
  --ink: #0E2A2F;
  --muted: #4A5B5E;
  --rule: #D9D6CC;
  --green: #14523F;
  --teal: #0F6E6E;
  --error: #9B1C1C;
  --ok-bg: #E8F1EC;
  --err-bg: #FBECEC;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

[dir="rtl"] {
  --serif: "Arial Hebrew", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
  --sans: "Arial Hebrew", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 18px/1.6 var(--sans);
}

a { color: var(--teal); }
a:hover { color: var(--green); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 10;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 18px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

header,
main > section,
footer {
  padding-inline: max(20px, calc((100% - 1080px) / 2));
}

main > section {
  padding-block: 112px;
  border-top: 1px solid var(--rule);
}

.divisions,
.accessibility { background: var(--alt); }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--rule);
  border-top: 0;
}
.brand {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.top a[hreflang="he"] {
  color: var(--teal);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 96px;
  border-top: 0;
}
.hero .button { align-self: flex-start; }
.hero-text { display: flex; flex-direction: column; }
.hero-art { display: block; width: 100%; max-width: 420px; height: auto; margin-top: 48px; }
.eyebrow {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--teal);
  margin-bottom: 28px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.lede {
  font-size: clamp(19px, 2vw, 23px);
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 40px;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 24px;
}
h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 650;
  margin: 0 0 6px;
}

.rows {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: row;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.rows li {
  counter-increment: row;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.rows li::before {
  content: counter(row, decimal-leading-zero);
  display: block;
  font: 500 15px/1 var(--serif);
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.rows h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
}
.rows li p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}
.note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--green);
  color: #FFFFFF;
  border: 0;
  border-radius: 2px;
  font: 600 17px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #0E3F30; }

.contact form {
  max-width: 640px;
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.field {
  margin: 0;
  display: grid;
  gap: 6px;
}
label {
  font-size: 16px;
  font-weight: 600;
}
input[type=text],
input[type=email],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid #6B7A7C;
  border-radius: 2px;
}
textarea {
  min-height: 160px;
  resize: vertical;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border: 2px solid var(--error);
}
.field--check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
}
.field--check label {
  font-weight: 400;
  font-size: 16px;
}
input[type=checkbox] {
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--green);
  flex: none;
}
.hp {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  padding: 14px 18px;
  margin: 20px 0 0;
  max-width: 640px;
  background: var(--ok-bg);
  border-inline-start: 4px solid var(--green);
}
.notice--error {
  background: var(--err-bg);
  border-inline-start-color: var(--error);
}

.small {
  font-size: 15px;
  color: var(--muted);
}
bdi { unicode-bidi: isolate; }

.foot {
  background: var(--ink);
  color: #E6ECEA;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding-block: 40px;
  font-size: 15px;
  border-top: 0;
}
.foot p { margin: 0; }
.foot a { color: #BFE0D6; }
.foot a:hover { color: #FFFFFF; }

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
}
[dir="rtl"] h1 {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}
[dir="rtl"] .rows h3 { font-weight: 700; }

@media (min-width: 1000px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: 64px;
    align-items: center;
  }
  .hero-art {
    max-width: none;
    margin-top: 0;
  }
  .contact {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 80px;
    align-items: start;
    grid-auto-flow: dense;
  }
  .contact > h2 {
    grid-column: 1;
    grid-row: 1;
  }
  .contact > p:not(.notice) {
    grid-column: 1;
    grid-row: 2;
  }
  .contact > .notice {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    max-width: none;
  }
  .contact > form {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    max-width: none;
  }
  .contact > .notice + form {
    grid-row: 2 / span 2;
  }
}
@media (max-width: 800px) {
  .rows {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 700px) {
  main > section { padding-block: 64px; }
}
