/* dornabooking.com. Laid out after the help and legal pages of Fresha and Booksy (2026-10-27, owner: "get inspirations
   from real-world examples"): a white page, the wordmark with "Help Centre", a row of document tabs, an "On this page"
   list beside the text on a wide screen, pill chips, a soft gradient behind the home page's opening. The app's own
   palette (constants/dornaDesign.ts): teal text only where it clears 4.5:1. Logical properties throughout, so Hebrew and
   Arabic mirror without a second stylesheet. */

/* Rubik (SIL Open Font License 1.1, website/src/fonts/OFL.txt): one family for Latin, Hebrew and Arabic, its softly
   rounded corners after the wordmark's. Served from this site, never from Google: no visitor request leaves
   dornabooking.com. One variable file per script, loaded only when a page uses that script. */

/* latin */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* hebrew */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/rubik-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* arabic */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/rubik-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

:root {
  --page: #FFFFFF;
  --surface: #FFFFFF;
  --subtle: #F4F7F7;
  --ink: #172124;
  --muted: #5F6B6B;
  --hairline: #E3E9E9;
  --hairline-strong: #CFD9D9;
  --accent: #0F828C;
  --accent-strong: #0B6870;
  --accent-soft: #E3F3F4;
  --glow: #D7EEF0;
  --button: #172124;
  --button-ink: #FFFFFF;
  --radius: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #121214;
    --surface: #1C1C1F;
    --subtle: #18181B;
    --ink: #F7F7F7;
    --muted: #B8B8BC;
    --hairline: #2C2C30;
    --hairline-strong: #3D3D42;
    --accent: #3FA3AB;
    --accent-strong: #3FB8C4;
    --accent-soft: #10333A;
    --glow: #0E2B30;
    --button: #F7F7F7;
    --button-ink: #172124;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Hebrew", "Noto Sans Arabic", Tahoma,
    Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body:lang(ar) {
  line-height: 1.85;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--button);
  color: var(--button-ink);
  border-radius: 999px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* Header: the wordmark with "Help Centre", the languages, then the document tabs (Fresha's legal pages). */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px 6px;
}

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

.brand img {
  width: 104px;
  height: auto;
  display: block;
}

.brand-label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--hairline-strong);
  line-height: 1.2;
}

.languages {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
}

.languages a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.languages a:hover {
  color: var(--ink);
}

.languages a[aria-current="page"] {
  background: var(--button);
  color: var(--button-ink);
}

.doc-tabs {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.doc-tabs::-webkit-scrollbar {
  display: none;
}

.doc-tabs a {
  flex: none;
  padding-block: 14px 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.doc-tabs a:hover {
  color: var(--ink);
}

.doc-tabs a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Home: a soft teal glow behind the opening, a big question, chips, then cards (Fresha's help centre). */
.home {
  background: radial-gradient(60rem 26rem at 50% -6rem, var(--glow), transparent 70%);
}

.home-inner {
  max-width: 52rem;
  margin-inline: auto;
  padding-block: clamp(48px, 9vw, 96px) 72px;
  text-align: center;
}

.home h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
}

.chips a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.chips a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 16px;
  text-align: start;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--hairline-strong);
  color: var(--ink);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card strong {
  font-size: 1.125rem;
  font-weight: 600;
}

.card > span:not(.card-icon) {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card:hover {
    transition: none;
    transform: none;
  }
}

/* Documents: "On this page" beside the text on a wide screen (Fresha's legal pages), the text alone on a phone. */
.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding-block: clamp(32px, 6vw, 64px) 72px;
}

@media (min-width: 960px) {
  .doc-layout {
    grid-template-columns: 15rem minmax(0, 46rem);
    justify-content: center;
    gap: 64px;
  }
}

.toc {
  display: none;
}

@media (min-width: 960px) {
  .toc {
    display: block;
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
}

.toc-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 6px 0 12px;
}

body:lang(he) .toc-title,
body:lang(ar) .toc-title {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-inline-start: 1px solid var(--hairline);
}

.toc a {
  display: block;
  padding: 7px 0 7px 16px;
  padding-inline: 16px 0;
  margin-inline-start: -1px;
  border-inline-start: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--ink);
  border-inline-start-color: var(--ink);
}

.doc {
  min-width: 0;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 12px;
  text-wrap: balance;
}

.doc-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0 0 32px;
}

.doc-meta .version {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--subtle);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-weight: 500;
}

.doc h2 {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 56px 0 16px;
  text-wrap: balance;
}

.doc h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 28px 0 8px;
}

.doc p,
.doc li {
  overflow-wrap: anywhere;
}

.doc p {
  margin: 0 0 14px;
}

.doc ul,
.doc ol {
  padding-inline-start: 1.3em;
  margin: 0 0 16px;
}

.doc li + li {
  margin-top: 6px;
}

.doc .lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 28px;
}

/* "In short" (Booksy's "A quick look"): the page's answer before its detail. */
.summary {
  background: var(--subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 8px;
}

.doc .summary-title {
  font-weight: 600;
  margin: 0 0 8px;
}

.doc .summary ul {
  margin: 0;
}

/* Numbered steps: what to tap, in order. */
ol.steps {
  list-style: none;
  counter-reset: step;
  padding-inline-start: 0;
  margin: 12px 0 18px;
}

ol.steps > li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 46px;
  min-height: 30px;
  padding-top: 2px;
}

ol.steps > li + li {
  margin-top: 12px;
}

ol.steps > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--button);
  color: var(--button-ink);
  font-weight: 600;
  font-size: 0.875rem;
  display: grid;
  place-items: center;
}

.path {
  font-weight: 600;
}

/* Contact: two quiet panels with the addresses large enough to copy. */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 14px;
  margin: 0 0 14px;
}

.contact-panel {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 0;
}

.contact-panel h3,
.contact-panel .panel-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.doc .contact-panel p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0 0 12px;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.button:hover {
  color: var(--button-ink);
  opacity: 0.88;
}

.fine {
  color: var(--muted);
  font-size: 0.9375rem;
}

.callout {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 16px;
}

.callout > :last-child {
  margin-bottom: 0;
}

.email {
  font-weight: 600;
  white-space: nowrap;
}

/* Questions and answers: closed until opened, no script (help centres everywhere). */
.faq {
  border-bottom: 1px solid var(--hairline);
}

.faq:first-of-type {
  border-top: 1px solid var(--hairline);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font-weight: 600;
  font-size: 1.0625rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: grid;
  place-items: center;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--ink);
}

.faq[open] summary::after {
  content: "−";
}

/* Reached from a link (the home page's chips): the question is marked, ready to open. */
.faq:target > summary {
  color: var(--accent);
}

.faq-body {
  padding-block: 0 18px;
}

.faq-body > :last-child {
  margin-bottom: 0;
}

/* Two columns of facts (deleted / kept), one column on a phone. */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 14px;
  margin: 8px 0 16px;
}

.columns > section {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 0;
}

.columns h3 {
  margin-top: 0;
}

.doc-changes {
  margin-top: 64px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.doc-changes h2 {
  margin-top: 24px;
  font-size: 1.125rem;
}

.doc-changes p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc-changes ol {
  list-style: none;
  padding-inline-start: 0;
}

.change-head {
  font-weight: 600;
  margin-inline-end: 8px;
}

/* Footer: a quiet band with the pages and the addresses. */
.site-footer {
  background: var(--subtle);
  border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 28px 40px;
  padding-block: 40px 24px;
}

.footer-brand img {
  width: 88px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-brand p,
.footer-col p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-col h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li + li {
  margin-top: 6px;
}

.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-block: 18px 28px;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

/* 404 */
.not-found-page {
  padding-block: 64px;
  max-width: 40rem;
}

.not-found-logo {
  width: 104px;
  margin-bottom: 28px;
}

.not-found {
  border-top: 1px solid var(--hairline);
  padding-block: 20px;
}

.not-found h1 {
  font-size: 1.375rem;
  margin: 0 0 6px;
}
