/* suri.rw — public website. Colours and type follow the Suri design system (lib/theme). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url("/fonts/Inter-400.ttf") format("truetype"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url("/fonts/Inter-500.ttf") format("truetype"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url("/fonts/Inter-600.ttf") format("truetype"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url("/fonts/Inter-700.ttf") format("truetype"); }

:root {
  --orange: #d4520a;
  --deep-orange: #b5460a;
  --mist: #fff0e8;
  --ink: #262626;
  --muted: #4a4a4a;
  --white: #ffffff;
  --border: #e0e0e0;
  --grey: #f5f5f5;
  --cream: #fef7eb;
  --navy: #1d2330;
  --success-bg: #e8f5e9;
  --warning-bg: #fff8e1;
  --on-dark: #e6e6e6;
  --shadow: 0 8px 24px rgba(29, 35, 48, 0.08);
  --shadow-lg: 0 30px 60px rgba(29, 35, 48, 0.16);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--deep-orange); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; color: var(--navy); text-wrap: balance; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: 96px; }
.section-sm { padding-block: 72px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep-orange); }
.h2 { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.lead { font-size: 17px; color: var(--muted); max-width: 36em; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { gap: 40px; }
.section > .wrap.stack:not(.stack-lg) { gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.col { flex: 1 1 440px; min-width: 0; }
.link-strong { font-size: 15px; font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9999px; padding: 12px 22px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; min-height: 44px; }
.btn-primary { background: var(--deep-orange); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border-radius: 9999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.pill-mist { background: var(--mist); color: var(--deep-orange); }
.pill-grey { background: var(--grey); color: var(--ink); }
.pill-orange { background: var(--deep-orange); color: var(--white); }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--border); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--deep-orange); }
.spacer { flex: 1 1 0; }
.lang { display: flex; gap: 2px; background: var(--grey); border-radius: 9999px; padding: 3px; font-size: 13px; font-weight: 500; }
.lang a { border-radius: 9999px; padding: 6px 12px; color: var(--ink); text-decoration: none; }
.lang a[aria-current="page"] { background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 9999px; display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.menu-panel a { padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--grey); }
.menu-panel .lang { margin-top: 8px; align-self: flex-start; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.hero .wrap { padding-top: 72px; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; flex: 1 1 480px; min-width: 0; }
.badge-line { align-self: flex-start; background: var(--white); border: 1px solid var(--border); font-weight: 500; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--orange); }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.hero .lead { font-size: 18px; max-width: 34em; }
.search { display: flex; flex-wrap: wrap; background: var(--white); border: 1px solid var(--border); border-radius: 9999px; padding: 6px; box-shadow: var(--shadow); max-width: 560px; }
.search label { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; padding: 8px 20px; }
.search label + label { border-left: 1px solid var(--border); }
.search .k { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.search input { border: 0; outline: 0; padding: 2px 0; background: transparent; font-size: 15px; min-width: 0; }
.search button { border: 0; border-radius: 9999px; background: var(--deep-orange); color: var(--white); width: 52px; min-height: 52px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search button:hover { background: var(--ink); }
.search .submit-text { display: none; }
.popular { font-size: 13px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 18px; text-decoration: none; }
.store-dark { background: var(--navy); color: var(--white); }
.store-dark:hover { background: var(--ink); color: var(--white); }
.store-outline { border: 1px solid var(--border); color: var(--ink); background: var(--white); }
.store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-text small { font-size: 11px; }
.store-text strong { font-size: 16px; font-weight: 600; }

.hero-visual { flex: 1 1 440px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 600px; }
.device { border: 10px solid var(--navy); border-radius: 44px; background: var(--white); overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; color: var(--ink); }
.device-a { width: 270px; height: 560px; position: relative; z-index: 2; }
.device-b { width: 250px; height: 520px; margin-left: -16px; margin-bottom: 60px; z-index: 1; align-items: center; padding: 36px 18px 18px; gap: 12px; }
.device-c { width: 290px; height: 590px; padding: 28px 16px; gap: 14px; }
.device-dark { border-color: #000000; }
.scr { padding: 22px 16px 10px; display: flex; flex-direction: column; gap: 10px; }
.scr-top { display: flex; justify-content: space-between; align-items: center; }
.scr-top small { display: block; font-size: 11px; }
.scr-top b { font-size: 13px; font-weight: 600; }
.ring { width: 30px; height: 30px; border-radius: 9999px; border: 1px solid var(--border); }
.fake-search { background: var(--grey); border-radius: 9999px; padding: 9px 14px; font-size: 11px; color: #6e6e6e; }
.promo { background: var(--ink); color: var(--white); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.promo span { align-self: flex-start; background: var(--deep-orange); border-radius: 9999px; padding: 2px 8px; font-size: 9px; font-weight: 600; }
.promo b { font-size: 13px; font-weight: 600; }
.scr-h { font-size: 13px; font-weight: 600; }
.bubbles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; font-size: 9px; }
.bubbles > span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bubble { width: 44px; height: 44px; border-radius: 9999px; background: var(--mist); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.mini-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mini-photo { height: 92px; width: 100%; object-fit: cover; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.mini-photo img { width: 40px; height: 40px; border-radius: 10px; }
.mini-body { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.mini-body b { font-size: 12px; font-weight: 600; }
.mini-body small { font-size: 10px; }
.tabbar { margin-top: auto; border-top: 1px solid var(--border); display: flex; justify-content: space-around; padding: 10px 0 14px; color: var(--navy); }
.tabbar .on { color: var(--orange); }
.check { width: 64px; height: 64px; border-radius: 9999px; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; }
.confirm-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.confirm-sub { font-size: 11px; text-align: center; }
.receipt { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.receipt div { display: flex; justify-content: space-between; gap: 8px; }
.receipt b { font-weight: 600; }
.receipt hr { border: 0; height: 1px; background: var(--border); margin: 0; width: 100%; }
.fake-btn { margin-top: auto; width: 100%; text-align: center; background: var(--deep-orange); color: var(--white); border-radius: 9999px; padding: 10px 0; font-size: 12px; font-weight: 600; }
.notif { position: absolute; left: 0; top: 40px; width: 280px; max-width: 90%; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 16px 40px rgba(29, 35, 48, 0.16); padding: 12px 14px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.notif-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.notif-head img { width: 20px; height: 20px; border-radius: 5px; }
.notif p { font-size: 13px; line-height: 1.4; }
.notif-actions { display: flex; gap: 6px; }
.notif-actions span { flex: 1; text-align: center; border-radius: 9999px; padding: 6px 0; font-size: 11px; font-weight: 600; background: var(--grey); }
.notif-actions span:first-child { background: var(--mist); color: var(--deep-orange); }

/* Promise strip */
.promise { border-block: 1px solid var(--border); }
.promise ul { list-style: none; margin: 0 auto; padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; font-size: 15px; font-weight: 500; }
.promise li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.promise svg { color: var(--orange); }

/* Services */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.head-row > .stack { flex: 1 1 520px; min-width: 0; }
.group { display: flex; flex-direction: column; gap: 16px; }
.group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.tiles-soon { display: flex; flex-wrap: wrap; gap: 8px; }
.tiles-soon .tile { flex-direction: row; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 9999px; border: 0; }
.tiles-soon .tile svg { width: 20px; height: 20px; }
.tiles-soon .tile b { font-size: 15px; font-weight: 500; }
.tile { border: 1px solid var(--border); border-radius: 12px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; background: var(--white); color: var(--ink); text-decoration: none; height: 100%; }
a.tile:hover { border-color: var(--orange); background: var(--mist); color: var(--ink); }
.tile svg { color: var(--orange); }
.tile b { font-size: 16px; font-weight: 600; }
.tile-soon { border-style: dashed; background: var(--grey); }
.tile-soon svg { color: var(--navy); }

/* Featured salons */
.featured { background: var(--grey); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.card-top { display: flex; justify-content: space-between; gap: 8px; }
.card-top b { font-size: 16px; font-weight: 600; }
.card .muted { color: var(--muted); }
.card .badge { color: var(--deep-orange); font-weight: 600; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.steps li { display: flex; gap: 20px; }
.num { flex: 0 0 40px; height: 40px; border-radius: 9999px; background: var(--mist); color: var(--deep-orange); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.steps p { color: var(--muted); }
.mock-col { display: flex; justify-content: center; }
.days { display: flex; gap: 6px; }
.days span { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 8px 0; text-align: center; font-size: 11px; line-height: 1.3; }
.days strong { display: block; font-size: 15px; }
.days .sel { background: var(--deep-orange); color: var(--white); border-color: var(--deep-orange); }
.times { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.times span { border: 1px solid var(--border); border-radius: 9999px; padding: 6px 12px; }
.times .sel { background: var(--deep-orange); color: var(--white); border-color: var(--deep-orange); }
.people { display: flex; gap: 8px; }
.people span { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 10px 0; text-align: center; font-size: 11px; }
.people .sel { border: 2px solid var(--orange); font-weight: 600; }
.mock-title { font-size: 15px; font-weight: 700; text-align: center; }

/* Why */
.why { background: var(--cream); }
.why .h2 { max-width: 18em; }
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.bento li { background: var(--white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.bento h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.bento p { color: var(--muted); }

/* Business */
.business { background: var(--navy); color: var(--white); }
.business .h2 { color: var(--white); }
.business .lead { color: var(--on-dark); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: 0 0 auto; color: var(--mist); margin-top: 3px; }
.business a:not(.btn) { color: var(--white); }
.small { font-size: 13px; }
.today { font-size: 15px; font-weight: 700; }
.totals { display: flex; gap: 8px; }
.totals div { flex: 1; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 2px; background: var(--grey); }
.totals div + div { background: var(--mist); }
.totals small { font-size: 11px; }
.totals b { font-size: 15px; font-weight: 700; }
.appt { border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.appt div { display: flex; justify-content: space-between; font-size: 12px; }
.appt .st { align-self: flex-start; border-radius: 9999px; padding: 2px 8px; font-size: 10px; font-weight: 600; background: var(--success-bg); }
.appt .st.wait { background: var(--warning-bg); }

/* Waitlist */
.form { flex: 1 1 420px; min-width: 0; border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.choice { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 9999px; padding: 10px 18px; font-size: 15px; font-weight: 500; cursor: pointer; }
.choice:has(input:checked) { border: 2px solid var(--orange); background: var(--mist); }
.choice input { accent-color: var(--orange); margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.field input, .field select { height: 50px; border: 1px solid #8a8a8a; border-radius: 8px; padding: 0 14px; font-size: 16px; background: var(--grey); }
.form .btn { height: 50px; font-size: 16px; }
.form-note { font-size: 13px; }
.form-status { font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--navy); }
.form-status.err { color: #b3261e; }
.form-closed { background: var(--mist); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.form fieldset:disabled, .form button:disabled { opacity: 0.55; cursor: not-allowed; }
.turnstile { min-height: 65px; }

/* FAQ */
.faq { background: var(--grey); }
.faq .wrap { max-width: 800px; }
.faq details { background: var(--white); border-radius: 12px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--deep-orange); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--border); }
.footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.foot-brand { flex: 2 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.foot-brand img { height: 32px; width: auto; align-self: flex-start; }
.foot-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { font-size: 13px; font-weight: 600; color: var(--ink); }
.foot-col a { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; border-top: 1px solid var(--border); padding-top: 24px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-bottom a { color: var(--ink); }

/* Phone bottom bar */
.bottom-bar { display: none; }

/* Tablet and phone */
@media (max-width: 960px) {
  .nav { display: none; }
}
@media (max-width: 720px) {
  .header .lang, .header .book { display: none; }
  .menu { display: block; }
  .section { padding-block: 56px; }
  .section-sm { padding-block: 48px; }
  .h2 { font-size: 28px; line-height: 1.2; }
  .hero .wrap { padding-top: 32px; padding-bottom: 24px; }
  .hero h1 { font-size: 38px; line-height: 1.1; }
  .hero .lead { font-size: 16px; }
  .search { flex-direction: column; border-radius: 16px; padding: 8px; }
  .search label { padding: 8px 12px; flex-basis: auto; }
  .search label + label { border-left: 0; border-top: 1px solid var(--border); }
  .search input { font-size: 16px; }
  .search button { width: 100%; min-height: 50px; }
  .search .submit-icon { display: none; }
  .search .submit-text { display: inline; font-weight: 600; font-size: 16px; }
  .hero-visual { min-height: 0; height: 380px; overflow: hidden; align-items: flex-start; }
  .device-b { display: none; }
  .device-a { width: 240px; height: 500px; }
  .notif { left: 0; right: 0; top: 150px; margin: 0 auto; width: 300px; }
  .promise ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tiles-live { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .cards > li { flex: 0 0 78%; scroll-snap-align: start; }
  .mock-col { display: none; }
  .form { padding: 20px; }
  .choice { flex: 1 1 0; justify-content: center; }
  .footer .wrap { padding-bottom: 120px; }
  .bottom-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; gap: 10px; background: var(--white); border-top: 1px solid var(--border); padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter); }
  .bottom-bar .btn { flex: 1; white-space: nowrap; padding-inline: 12px; }
  .btn-outline { border: 1px solid var(--border); color: var(--ink); background: var(--white); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
