/* garmousha.ai. One stylesheet, no scripts. Colours are the app's own tokens (light). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ground: #ffffff;
  --surface: #f7f6f3;
  --band: #f4f3f0;
  --ink: #1d1c1a;
  --ink-2: #55524c;
  --ink-3: #706d66;
  --body: #3a3835;
  --line: #e7e5e1;
  --line-strong: #c9c5be;
  --accent: #0b7a75;
  --accent-dark: #075b57;
  --accent-tint: #eef6f5;
  --night: #1d1c1a;
  --night-ink: #edebe7;
  --night-ink-2: #b3b0aa;
  --night-line: #4a4844;
  --night-accent: #3cc2b7;
  --wrap: 1120px;
  --display: "Outfit", "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 500; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: 0.4px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }
.stack { display: flex; flex-direction: column; }

/* Header and footer */
.site-header { border-bottom: 1px solid transparent; }
.site-header.ruled { border-bottom-color: var(--line); }
.site-header .wrap {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.2px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { color: var(--ink); border-color: var(--ink-3); }
.nav .btn-dark, .btn-dark {
  min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 500;
}
.nav .btn-dark:hover, .btn-dark:hover { background: #000; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer .wrap {
  padding-top: 32px; padding-bottom: 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  font-size: 14px; color: var(--ink-3);
}
.site-footer.ruled { border-top: 1px solid var(--line); }
.site-footer .who { display: flex; flex-direction: column; gap: 6px; }
.site-footer .who strong { font-family: var(--display); font-size: 18px; font-weight: 500; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.site-footer nav a { color: var(--ink-2); padding: 6px 0; }

/* Home: hero */
.hero { max-width: 880px; margin: 0 auto; padding: 72px 24px 56px; text-align: center; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.04; letter-spacing: -1.5px; }
.hero .lede { max-width: 640px; }
.hero .btn-row { justify-content: center; padding-top: 8px; }

.shot-band { background: var(--band); padding: 56px 24px 72px; }
.shot {
  max-width: var(--wrap); margin: 0 auto; border-radius: 12px; overflow: hidden;
  border: 1px solid #dad7d1; box-shadow: 0 30px 80px rgba(30, 25, 15, 0.18); background: #fff;
}
.shot img { width: 100%; height: auto; }

/* Home: sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.8px; }
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > .copy { flex: 1 1 300px; min-width: 0; gap: 18px; }

.keys { flex: 1 1 300px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.key {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 15px;
}
kbd {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px;
  border: 1px solid var(--line-strong); border-bottom-width: 3px; border-radius: 8px; background: var(--surface);
  font: 600 15px var(--text); color: var(--ink);
}
.key.all { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-dark); }
.key.all kbd { border-color: var(--accent); background: #fff; color: var(--accent-dark); }
@media (max-width: 520px) { .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tinted { background: var(--surface); }
.tinted .wrap { gap: 48px; }
.tinted .h2 { max-width: 720px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card {
  padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line); gap: 12px;
}
.card svg { width: 28px; height: 28px; color: var(--accent); }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 22px; }
.card p { font-size: 16px; color: var(--ink-2); }

.phone-split { justify-content: center; }
.phone { flex: none; width: min(326px, 100%); padding: 9px; border-radius: 50px; background: var(--ink); box-shadow: 0 30px 70px rgba(30, 25, 15, 0.22); }
.phone img { width: 100%; height: auto; border-radius: 42px; background: #fff; }
.phone-split > .copy { max-width: 520px; }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "•"; color: var(--accent); font-weight: 600; }

.night { background: var(--night); color: var(--night-ink); }
.night .wrap { gap: 48px; }
.night .intro { gap: 16px; max-width: 760px; }
.night .intro p { font-size: 19px; color: var(--night-ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; }
.facts > div { gap: 8px; border-top: 1px solid var(--night-line); padding-top: 20px; }
.facts h3 { font-size: 17px; font-weight: 600; }
.facts p { font-size: 16px; color: var(--night-ink-2); }
.night a { color: var(--night-accent); font-weight: 500; }
.night a:hover { color: #7ee0d6; }

.google { padding-top: 88px; padding-bottom: 0; }
.google .box { padding: 28px; border: 1px solid var(--line); border-radius: 16px; gap: 10px; }
.google h2 { font-size: 17px; font-weight: 600; }
.google p { font-size: 15px; color: var(--ink-2); }

.name {
  margin-top: 88px; background: var(--surface);
  padding: 96px max(24px, calc((100% - var(--wrap)) / 2));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 88px;
}
.name .mark { flex: 0 1 380px; width: 100%; max-width: 380px; height: auto; color: var(--ink); }
.name .copy { flex: 1 1 380px; max-width: 540px; gap: 18px; }
.name h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -1px; }
.name .story { font-size: 19px; color: var(--ink-2); }
.name .arabic { font-family: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", sans-serif; font-weight: 300; font-size: 40px; line-height: 1.3; }
.name .btn-row { padding-top: 8px; }

/* Text pages: privacy, terms, support */
.page-head { padding-top: 72px; padding-bottom: 40px; gap: 14px; }
.page-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -1.2px; }
.summary { padding: 32px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); gap: 16px; margin-bottom: 56px; }
.summary h2 { font-family: var(--display); font-weight: 500; font-size: 24px; }
.summary ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px 40px; font-size: 16px; }
.summary li { display: flex; gap: 10px; }
.summary li::before { content: "•"; color: var(--accent); font-weight: 600; }

.doc { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; padding-bottom: 104px; }
.toc { flex: 1 1 220px; max-width: 260px; gap: 10px; font-size: 15px; }
.toc span { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.4px; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 3px 0; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { flex: 999 1 560px; min-width: 0; max-width: 720px; gap: 44px; line-height: 1.6; }
.prose section { display: flex; flex-direction: column; gap: 12px; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.4px; scroll-margin-top: 24px; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.prose ol { padding-left: 22px; list-style: decimal; display: flex; flex-direction: column; gap: 8px; }
.table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 16px; }
.table > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.table > div:last-child { border-bottom: 0; }
.table strong { flex: 0 0 150px; font-weight: 600; }
.table span { flex: 1 1 320px; color: var(--body); }
.callout { padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--accent-tint); font-size: 16px; }
.prose .callout { color: var(--ink); }

.support-head { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; }
.support-head .copy { flex: 1 1 300px; min-width: 0; gap: 14px; }
.support-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -1.2px; }
.support-head .lede { max-width: 520px; font-size: 19px; }
.contact { flex: 1 1 260px; min-width: 0; max-width: 440px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); gap: 12px; }
.contact h2 { font-size: 17px; font-weight: 600; }
.contact .btn { min-height: 48px; border-radius: 10px; }
.contact p { font-size: 14px; color: var(--ink-2); }
.contact address { font-style: normal; font-size: 14px; color: var(--ink-3); }
.steps-band { background: var(--surface); padding: 72px 0; }
.steps-band .wrap { gap: 32px; }
.h2-small { font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -0.5px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; font-size: 16px; }
.steps li { padding: 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--accent); }
.steps strong { font-weight: 600; }
.steps span:last-child { color: var(--ink-2); }
.faq { max-width: 820px; margin: 0 auto; padding: 88px 24px 104px; }
.faq .h2-small { margin-bottom: 24px; }
.faq article { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 24px; }
.faq article:last-child { border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 18px; font-weight: 600; }
.faq p { color: var(--ink-2); }

.notfound { max-width: 640px; margin: 0 auto; padding: 120px 24px 160px; text-align: center; align-items: center; gap: 20px; }
.notfound svg { width: 96px; height: 96px; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -1px; line-height: 1.05; }

@media (max-width: 640px) {
  /* The hero's own button is right below, so the header keeps to one row of links. */
  .nav { gap: 4px 22px; }
  .nav .btn-dark { display: none; }
  /* A whole Mac window is unreadable at phone width: show the start of the list, larger. */
  .shot img { height: 520px; object-fit: cover; object-position: 30% 0; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .split { gap: 40px; }
  .hero { padding-top: 48px; }
  .shot-band { padding: 32px 16px 40px; }
  .name { padding-top: 64px; padding-bottom: 64px; margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
