:root {
  color-scheme: light;
  font-family:
    Inter, "Noto Sans Hebrew", "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --focus: #ffb703;
  --anchor-offset: 7.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

html:lang(he) {
  font-family: "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
}

html:lang(en) {
  font-family: Inter, "Noto Sans", Arial, sans-serif;
}

body {
  margin: 0;
  overflow-x: clip;
  overflow-wrap: anywhere;
  background: var(--surface, #f7f5ef);
  color: var(--ink, #142329);
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  min-width: 0;
  line-height: 1.12;
  hyphens: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: normal;
}

p,
li {
  min-width: 0;
  hyphens: none;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  word-break: normal;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #071317 !important;
}

::selection {
  background: var(--accent, #c69b59);
  color: #071317;
}

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

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 1000;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  translate: 0 -180%;
  padding: 0.75rem 1rem;
  border-radius: 0.45rem;
  background: #fff;
  color: #071317;
  font-weight: 800;
  box-shadow: 0 8px 30px rgb(0 0 0 / 20%);
}

.skip-link:focus {
  translate: 0;
}

.eyebrow {
  margin-block-end: 0.8rem;
  color: var(--accent-strong, #8d672d);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0.03em;
}

.site-language-shell {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding-inline-start: 0.75rem;
  border-inline-start: 1px solid rgb(127 127 127 / 28%);
}

.site-language-switcher {
  display: inline-flex;
  border: 1px solid rgb(127 127 127 / 38%);
  border-radius: var(--button-radius, 0.35rem);
}

.site-language-button {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
  opacity: 0.72;
  white-space: nowrap;
}

.site-language-button + .site-language-button {
  border-inline-start: 1px solid rgb(127 127 127 / 32%);
}

.site-language-button:first-child {
  border-start-start-radius: inherit;
  border-end-start-radius: inherit;
}

.site-language-button:last-child {
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
}

.site-language-button:hover {
  background: rgb(127 127 127 / 12%);
  opacity: 1;
}

.site-language-button:focus-visible {
  opacity: 1;
}

.site-language-button[aria-pressed="true"] {
  background: rgb(127 127 127 / 10%);
  box-shadow: inset 0 -3px var(--accent, #c69b59);
  font-weight: 900;
  opacity: 1;
}

.noscript-shell {
  width: min(calc(100% - 2rem), 760px);
  margin: 4rem auto;
  padding: 2rem;
  border: 1px solid #b9b4a8;
  background: #fff;
}

@media (max-width: 1370px) {
  .site-language-shell { padding-inline-start: 0; border-inline-start: 0; }
}

@media (max-width: 440px) {
  .site-language-shell, .site-language-switcher { width: 100%; }
  .site-language-switcher { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
