:root {
  --ink: #14211e;
  --muted: #52615d;
  --forest: #0d251f;
  --forest-2: #173c31;
  --green: #06c755;
  --green-dark: #049640;
  --blue: #dce9ef;
  --blue-deep: #2b5668;
  --gold: #b38a46;
  --white: #ffffff;
  --surface: #f4f7f6;
  --line: #d5ddda;
  --shadow: 0 18px 50px rgba(13, 37, 31, 0.14);
  --shell: min(1160px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

button,
select {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100% - 1160px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1.12;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-line,
.header-whatsapp {
  padding: 9px 0;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions select {
  min-height: 38px;
  max-width: 150px;
  padding: 7px 30px 7px 10px;
  color: var(--white);
  background: rgba(6, 24, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[dir="rtl"] body {
  font-family: "SF Arabic", "Geeza Pro", Arial, sans-serif;
}

html[dir="rtl"] .hero-scrim {
  transform: scaleX(-1);
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .process-list,
html[dir="rtl"] .builder-intro,
html[dir="rtl"] .message-tool,
html[dir="rtl"] .support-layout,
html[dir="rtl"] .final-layout,
html[dir="rtl"] .footer-copy {
  text-align: right;
}

html[dir="rtl"] #summary-text {
  direction: rtl;
  text-align: right;
  border-left: 0;
  border-right: 3px solid var(--forest-2);
}

.hero {
  position: relative;
  min-height: min(800px, 88svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 58%;
}

.hero-scrim {
  background: linear-gradient(90deg, rgba(6, 24, 20, 0.88) 0%, rgba(6, 24, 20, 0.62) 47%, rgba(6, 24, 20, 0.14) 78%), linear-gradient(0deg, rgba(6, 24, 20, 0.46), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  padding-top: 150px;
  padding-bottom: 88px;
}

.hero-content > * {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #d2b576;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue-deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6.2vw, 78px);
  font-weight: 500;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
}

.hero-lede {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions,
.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.header-line:focus-visible,
.header-whatsapp:focus-visible,
.brand:focus-visible,
select:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #f5c95f;
  outline-offset: 3px;
}

.button-line,
.button-whatsapp {
  color: #072411;
  background: var(--green);
  border-color: var(--green);
}

.button-line:hover,
.button-whatsapp:hover {
  background: #2bd66d;
  border-color: #2bd66d;
}

.button-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(8px);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-dark {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.button-dark:hover {
  background: var(--forest-2);
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.location-note {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.intro-band,
.process-band,
.builder-band,
.support-band {
  padding: 100px 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 54px;
}

.section-heading p:last-child {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.four-things {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.four-things li {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.four-things li:first-child {
  padding-left: 0;
}

.four-things li:last-child {
  padding-right: 0;
  border-right: 0;
}

.four-things span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.four-things strong {
  margin-top: auto;
  font-size: 19px;
}

.four-things small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.process-band {
  background: var(--blue);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.section-heading.compact {
  margin-bottom: 0;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(43, 86, 104, 0.3);
}

.process-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(43, 86, 104, 0.3);
}

.step-number {
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.process-list strong {
  font-size: 19px;
}

.process-list p {
  margin: 5px 0 0;
  color: #36505a;
}

.builder-band {
  background: var(--surface);
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}

.builder-intro {
  position: sticky;
  top: 104px;
}

.builder-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.privacy-callout {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding: 20px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line);
}

.privacy-callout span {
  color: var(--muted);
  font-size: 14px;
}

.message-tool {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

#intake-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 800;
}

.field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 38px 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aebbb7;
  border-radius: 4px;
}

#intake-form .button,
.form-error {
  grid-column: 1 / -1;
}

.form-error {
  margin: 0;
  color: #a11e22;
  font-size: 14px;
  font-weight: 700;
}

.summary-panel {
  margin-top: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.summary-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.summary-heading h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.summary-heading span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

#summary-text {
  min-height: 190px;
  margin: 0 0 20px;
  padding: 18px;
  overflow: auto;
  white-space: pre-wrap;
  color: #21352f;
  background: #eef4f1;
  border-left: 3px solid var(--forest-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: end;
}

.support-layout h2 {
  margin-bottom: 0;
}

.support-layout > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 18px;
}

.final-cta {
  padding: 72px 0;
  color: var(--white);
  background: var(--forest);
}

.final-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.final-layout h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 50px);
}

.site-footer {
  padding: 40px 0;
  color: #3e4b47;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  width: 156px;
  height: auto;
}

.footer-copy {
  display: grid;
  justify-items: end;
  font-size: 13px;
}

.footer-copy span {
  color: var(--muted);
}

.footer-copy a {
  margin-top: 7px;
  color: var(--blue-deep);
}

.privacy-page {
  min-height: 100vh;
  background: var(--surface);
}

.privacy-header {
  position: static;
  color: var(--ink);
  background: var(--white);
  border-bottom-color: var(--line);
}

.privacy-header .brand {
  color: var(--ink);
}

.privacy-header .brand-copy span {
  color: var(--muted);
}

.privacy-main {
  width: min(780px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 110px;
}

.privacy-main h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 64px);
}

.privacy-main h2 {
  margin-top: 50px;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 23px;
  font-weight: 800;
}

.privacy-main p,
.privacy-main li {
  color: var(--muted);
}

.privacy-main .button {
  margin-top: 30px;
}

@media (max-width: 860px) {
  .four-things {
    grid-template-columns: 1fr 1fr;
  }

  .four-things li,
  .four-things li:first-child,
  .four-things li:last-child {
    min-height: 180px;
    padding: 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .four-things li:nth-child(2n) {
    border-right: 0;
  }

  .four-things li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .process-layout,
  .builder-layout,
  .support-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .builder-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(100% - 32px, 1160px);
  }

  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy span {
    font-size: 9px;
  }

  .header-line,
  .header-whatsapp {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions select {
    max-width: 128px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-scrim {
    background: linear-gradient(0deg, rgba(6, 24, 20, 0.94) 0%, rgba(6, 24, 20, 0.7) 58%, rgba(6, 24, 20, 0.24) 100%);
  }

  .hero-content {
    padding-top: 132px;
    padding-bottom: 62px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .summary-actions {
    display: grid;
  }

  .hero-actions .button,
  .summary-actions .button {
    width: 100%;
  }

  .location-note {
    display: none;
  }

  .intro-band,
  .process-band,
  .builder-band,
  .support-band {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .four-things {
    grid-template-columns: 1fr;
  }

  .four-things li,
  .four-things li:first-child,
  .four-things li:last-child {
    min-height: 138px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .four-things li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .four-things li:last-child {
    border-bottom: 0;
  }

  .four-things strong {
    margin-top: 20px;
  }

  .message-tool {
    padding: 22px 18px;
  }

  #intake-form {
    grid-template-columns: 1fr;
  }

  .field,
  #intake-form .button,
  .form-error {
    grid-column: 1;
  }

  .summary-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .final-layout,
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    justify-items: start;
  }

  .privacy-main {
    width: min(100% - 32px, 780px);
    padding-top: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
