/* Find Studio site. Warm paper background, the brand emerald (#075B46) for actions, real screenshots and photos.
   Type is the system font, the same as in the iPhone app. Motion is quiet: a short fade on load and on scroll,
   and sticky product stories. Without JS everything is visible; prefers-reduced-motion turns motion off. */
:root {
  --paper: #f5f2ec;
  --white: #ffffff;
  --sand: #ece5d8;
  --sand-2: #e0d6c4;
  --line: #e2dcd1;
  --ink: #1d1d1b;
  --ink-2: #66635d;
  --emerald: #075b46;
  --emerald-dark: #054a39;
  --emerald-soft: #e2eee8;
  --dark: #1c1e1c;
  --danger: #b5432f;
  --star: #e8a33a;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px;
  --header: 68px;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(45, 35, 20, 0.06), 0 20px 44px -22px rgba(45, 35, 20, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; overflow-wrap: break-word; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
table { border-collapse: separate; border-spacing: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Focus and skip link */
:focus { outline: none; }
:focus-visible { outline: 3px solid #2f8f73; outline-offset: 3px; border-radius: 8px; }
.final :focus-visible, .footer :focus-visible { outline-color: #ffffff; }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: var(--emerald); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Type */
h1 { font-size: clamp(2.4rem, 1.55rem + 2.9vw, 4rem); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.85rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--emerald); }
.kicker { margin-bottom: 14px; color: var(--emerald); font-size: 15px; font-weight: 600; }
.lead { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-2); max-width: 33em; }
.section-lead { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 34em; }
.fine { margin-top: 22px; font-size: 15px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.fine .icon { margin-top: 2px; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15.5px/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: #cbc4b7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  background: rgba(245, 242, 236, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.header.is-scrolled, .header.is-open { border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; border-radius: 8px; }
.logo img { height: 32px; width: auto; }
.logo .logo-word { height: 18px; }
.nav { display: flex; align-items: center; gap: 24px; margin-right: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.nav-cta { display: none; }
.header-end { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer; place-items: center; padding: 0;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-icon { display: grid; place-items: center; }
.menu-close, .header.is-open .menu-open { display: none; }
.header.is-open .menu-close { display: grid; }

/* Language switch */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #ebe6dc; }
.lang a { min-width: 34px; padding: 5px 8px; border-radius: 8px; text-align: center; text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }

/* Devices around the real screenshots: thin frames, soft shadows */
.device { position: relative; box-shadow: var(--shadow); }
.device img { width: 100%; }
.browser { border-radius: 12px; padding: 0 5px 5px; background: #e9e7e2; border: 1px solid #dad6ce; }
.browser > img, .browser .screens { border-radius: 7px; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 7px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cdc8bf; }
.tablet { padding: 2.2%; border-radius: 6.5% / 4.6%; background: #1c1c1e; }
.tablet img { border-radius: 4.4% / 3%; }
.phone { padding: 1.6%; border-radius: 13% / 6%; background: #1c1c1e; }
.phone img, .phone .screens { border-radius: 11.6% / 5.35%; overflow: hidden; }

/* Screens that switch inside one device */
.screens { position: relative; }
.screen { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.screen:first-child { position: relative; }
.screen.is-on { opacity: 1; }

/* Quiet motion: fade in on load and on scroll */
html.js .intro, html.js .reveal { opacity: 0; transform: translate3d(0, 14px, 0); }
html.is-ready .intro { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--d, 0) * 80ms), transform .7s ease calc(var(--d, 0) * 80ms); }
html.js .reveal { transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* Sections */
.section { padding: 110px 0; }
.section-tight { padding: 40px 0 90px; }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split + .split, .split + .wrap, .wrap + .wrap { margin-top: 120px; }

/* Hero */
.hero { padding: calc(var(--header) + 64px) 0 100px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.stage { position: relative; padding: 0 4% 9% 7%; }
.stage-desk { position: relative; z-index: 1; }
.stage-tab { position: absolute; left: 0; bottom: 0; width: 25%; z-index: 2; }
.stage-phone { position: absolute; right: 0; bottom: -4%; width: 22%; z-index: 3; }
.stage-biz { padding: 0 6% 10% 0; }
.stage-biz .stage-phone { width: 25%; bottom: -2%; }

/* Store badges (official artwork; the app is not published yet, so they are not links) */
.stores { margin-top: 30px; }
.stores-label { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.stores-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stores-row img { height: 44px; width: auto; }

/* Statement and the two ways in */
.statement { max-width: 860px; }
.statement h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.45rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.entry {
  display: grid; grid-template-columns: minmax(0, 1fr) 38%; gap: 20px; min-height: 360px;
  padding: 34px 0 0 34px; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.entry-client { background: var(--white); border: 1px solid var(--line); }
.entry-biz { background: var(--emerald); color: var(--white); }
.entry:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.entry-copy { display: flex; flex-direction: column; padding-bottom: 34px; }
.entry-label { font-size: 14.5px; font-weight: 600; color: var(--emerald); }
.entry-biz .entry-label { color: #bfe0d2; }
.entry h3 { margin-top: 10px; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); letter-spacing: -0.02em; }
.entry p { margin-top: 10px; color: var(--ink-2); max-width: 22em; }
.entry-biz p { color: #d4e8df; }
.entry-link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.entry-link .icon { width: 18px; height: 18px; }
.entry-art { align-self: end; display: flex; justify-content: center; }
.entry-art .device { width: 100%; max-width: 210px; margin-bottom: -36%; }
.entry-biz .entry-art .device { max-width: 250px; margin-bottom: -56%; margin-right: -14%; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); }

/* Categories: real photos */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat { position: relative; border-radius: 16px; overflow: hidden; background: var(--sand); }
.cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cat span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: var(--white); font-size: 14.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.cats-more { margin-top: 18px; color: var(--ink-2); }

/* Sticky story: steps on one side, one device on the other */
.story { position: relative; overflow-x: clip; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.story-head { margin-bottom: 16px; }
.story-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; }
html.js .story-step { opacity: 0.35; transition: opacity .4s ease; }
html.js .story-step.is-on { opacity: 1; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--emerald-soft); color: var(--emerald); font-weight: 700; font-size: 16px;
}
.step-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--emerald-soft); color: var(--emerald); }
.step-icon .icon { width: 22px; height: 22px; }
.story-step h3 { margin-top: 14px; font-size: clamp(1.6rem, 1.25rem + 1vw, 2.15rem); letter-spacing: -0.02em; }
.story-step p { margin-top: 10px; font-size: 1.075rem; color: var(--ink-2); max-width: 27em; }
.step-shot { display: none; }
.story-stage { position: relative; }
.story-sticky {
  position: sticky; top: max(calc(var(--header) + 24px), calc(50vh - 340px));
  display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 44px 24px 28px;
  border-radius: 28px; background: var(--sand);
}
.section-sand .story-sticky { background: var(--white); }
.phone-lg { width: min(280px, 100%); }
.story-dots { display: flex; gap: 7px; }
.story-dots li { width: 7px; height: 7px; border-radius: 99px; background: var(--sand-2); transition: width .3s ease, background-color .3s ease; }
.story-dots li.is-on { width: 22px; background: var(--emerald); }
.story-mirror .story-stage { order: -1; }
.story-wide .story-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 48px; }
.story-wide .story-step { min-height: 56vh; }
.story-wide .story-sticky { top: max(calc(var(--header) + 24px), calc(50vh - 270px)); padding: 36px 32px 24px; }
.browser-lg { width: 100%; }

/* Details */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); min-height: 230px; }
.tile h3 { font-size: 1.25rem; }
.tile p { font-size: 15.5px; color: var(--ink-2); }
.tile-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--emerald-soft); color: var(--emerald); margin-bottom: 6px; }
.tile-icon .icon { width: 21px; height: 21px; }
.tile-wide { grid-column: span 2; }
.tile-green { background: var(--emerald); color: var(--white); border: 0; flex-direction: row; align-items: flex-end; gap: 28px; }
.tile-green p { color: #d4e8df; }
.tile-green .tile-icon { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.tile-sand { background: var(--sand); border-color: transparent; }
.tile-sand .tile-icon { background: var(--white); }
.tile-row { flex-direction: row; align-items: center; gap: 28px; }
.tile-copy { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 6px; }
.stars .icon { width: 21px; height: 21px; fill: currentColor; }
.mini-slots { flex: 0 0 auto; max-width: 290px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); }
.mini-slots p { color: #d4e8df; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.mini-slots ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-slots li { padding: 9px 0; border-radius: 10px; text-align: center; background: rgba(255, 255, 255, 0.12); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.mini-slots li.off { opacity: 0.4; text-decoration: line-through; }
.mini-slots li.on { background: var(--white); color: var(--emerald); }
.mini-push { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 14px; }
.mini-push img { width: 30px; height: 30px; border-radius: 7px; }
.mini-push b { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.mini-langs { margin-top: auto; display: flex; gap: 6px; }
.mini-langs span { padding: 6px 12px; border-radius: 8px; background: var(--white); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.mini-langs .on { background: var(--emerald); color: var(--white); }
.mini-booking { flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; padding: 18px; border-radius: 16px; background: var(--paper); min-width: 260px; }
.mini-booking b { font-size: 15.5px; }
.mini-booking small { color: var(--ink-2); font-size: 13.5px; }
.mini-btns { display: flex; gap: 8px; margin-top: 12px; }
.mini-btns span { padding: 7px 12px; border-radius: 9px; border: 1px solid var(--emerald); color: var(--emerald); font-weight: 600; font-size: 13.5px; }
.mini-btns .danger { border-color: rgba(181, 67, 47, 0.45); color: var(--danger); }

/* Running list of services */
.marquee { margin-top: 72px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; font-size: 1.35rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee li::after { content: "·"; margin: 0 22px; color: var(--sand-2); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Salons teaser */
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 32px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.ticks .icon { width: 20px; height: 20px; color: var(--emerald); margin-top: 2px; }
.showcase { position: relative; padding: 0 8% 10% 0; }
.showcase-phone { position: absolute; right: 0; bottom: 0; width: 24%; }

/* Coming to the stores */
.download-salon { margin-top: 28px; color: var(--ink-2); font-size: 15.5px; max-width: 30em; }
.download-salon a { color: var(--emerald); font-weight: 600; }
.download-art { display: flex; justify-content: center; gap: 20px; }
.download-art .phone { width: min(230px, 42%); }
.download-art .phone:last-child { margin-top: 56px; }

/* Before / after */
.ba-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.ba-cols span:last-child { color: var(--emerald); }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.ba-before { display: flex; gap: 18px; }
.ba-num { font-size: 15px; font-weight: 600; color: #a39e94; font-variant-numeric: tabular-nums; padding-top: 3px; }
.ba-before h3 { font-size: 1.3rem; }
.ba-before p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.ba-after { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--emerald-soft); }
.ba-after p { color: #1f4a3c; font-weight: 500; font-size: 16px; }
.ba-tag { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--emerald); color: var(--white); }
.ba-tag .icon { width: 16px; height: 16px; }

/* Any screen */
.devices-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.devices-art { position: relative; padding: 0 0 30px; }
.devices-art .tablet { width: 62%; margin-left: 6%; }
.devices-art .phone { position: absolute; right: 6%; bottom: 0; width: 28%; }

/* Storefront, team, connect, FAQ */
.pair { display: flex; justify-content: center; gap: 20px; }
.pair .phone { width: min(240px, 44%); }
.pair .phone:last-child { margin-top: 64px; }
.matrix-wrap { overflow-x: auto; }
.matrix { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 15px; }
.matrix th, .matrix td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.matrix thead th, .matrix thead td { font-size: 14px; font-weight: 600; color: var(--ink-2); background: #faf8f4; }
.matrix tbody th { font-weight: 600; }
.m-yes, .m-part { display: inline-block; padding: 5px 10px; border-radius: 8px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.m-yes { background: var(--emerald-soft); color: var(--emerald); }
.m-part { background: var(--sand); color: #6b5a33; }
.m-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #efebe4; color: #a39e94; }
.m-icon .icon { width: 16px; height: 16px; }
.m-on { background: var(--emerald); color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--emerald); color: var(--white); font-weight: 700; margin-bottom: 20px; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.faq-wrap { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; border-radius: 8px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: 1.125rem; font-weight: 600; }
.faq-item .icon { width: 20px; height: 20px; color: var(--ink-2); transition: transform .2s ease; }
.faq-item[open] .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 44px 24px 0; font-size: 16.5px; color: var(--ink-2); }
.faq-item a { color: var(--emerald); font-weight: 600; }

/* Final call to action */
.final { background: var(--emerald); color: var(--white); text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final .kicker { color: #bfe0d2; }
.final .section-lead { margin-left: auto; margin-right: auto; color: #d4e8df; }
.final .actions { justify-content: center; }
.final .btn-primary { background: var(--white); color: var(--emerald); }
.final .btn-primary:hover { background: #eef5f1; }
.final .btn-secondary { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.final .btn-secondary:hover { border-color: var(--white); }
.final-call { margin-top: 26px; color: #d4e8df; font-size: 15.5px; }
.final-call a, .tel { color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sep { margin: 0 10px; opacity: 0.5; }

/* Footer */
.footer { padding: 72px 0 36px; background: var(--dark); color: #b3b0a9; font-size: 15px; }
.footer .logo-word { filter: brightness(0) invert(1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 24em; }
.footer-h { color: var(--white); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-note { margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.footer .lang { background: rgba(255, 255, 255, 0.08); }
.footer .lang a { color: #b3b0a9; }
.footer .lang a[aria-current] { background: rgba(255, 255, 255, 0.16); color: var(--white); box-shadow: none; }
.made-by { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.bagtech-logo { width: 74px; height: 20px; background: url(/assets/img/bagtech.png) left center / contain no-repeat; filter: brightness(0) invert(1); opacity: 0.8; }

/* Language suggestion */
.hint {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 14px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; max-width: calc(100% - 32px);
}
.hint a { padding: 8px 14px; border-radius: 10px; background: var(--emerald); color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hint button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--paper); color: var(--ink); font-size: 20px; cursor: pointer; }

/* Privacy and terms */
.doc { padding: calc(var(--header) + 64px) 0 100px; min-height: 70vh; }
.doc-wrap { max-width: 800px; }
.doc h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem); margin-top: 18px; }
.back { color: var(--emerald); font-weight: 600; text-decoration: none; }
.doc-body { margin-top: 36px; font-size: 17px; color: #34332f; }
.doc-body h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc-body h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.doc-body p, .doc-body ul, .doc-body ol { margin: 0 0 14px; }
.doc-body ul { list-style: disc; padding-left: 22px; }
.doc-body ol { list-style: decimal; padding-left: 22px; }
.doc-body a { color: var(--emerald); }
.muted { color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 9px; font-size: 14.5px; }
  .header-cta { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 640px; }
  .stage { max-width: 820px; }
  .story-wide .story-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 36px; }
}

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header) 0 auto; flex-direction: column; align-items: stretch; gap: 14px;
    padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line);
    margin: 0; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s .2s;
  }
  .header.is-open .nav { visibility: visible; opacity: 1; transition: opacity .2s ease; box-shadow: 0 0 0 100vmax rgba(20, 18, 14, 0.35); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 14px 2px; font-size: 18px; color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: inline-flex; align-self: flex-start; }
  .header-end { margin-left: auto; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .section { padding: 84px 0; }
  .section-tight { padding: 20px 0 70px; }
  .story-grid, .story-wide .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-stage { display: none; }
  .story-head { margin-bottom: 28px; }
  .story-steps {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none;
  }
  .story-steps::-webkit-scrollbar { display: none; }
  html.js .story-step, .story-step {
    flex: 0 0 min(84%, 380px); min-height: 0; opacity: 1; scroll-snap-align: start; justify-content: flex-start;
    padding: 24px 22px 0; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  }
  .section:not(.section-white) .story-step { background: var(--white); }
  .story-step h3 { font-size: 1.55rem; }
  .story-step p { font-size: 16px; }
  .step-shot { display: block; margin-top: 24px; }
  .step-shot.phone { width: 72%; margin: 24px auto -40%; }
  .step-shot.browser { margin: 22px -22px 0 0; border-radius: 10px 0 0 0; padding: 0 0 0 5px; overflow: hidden; box-shadow: none; }
  .step-shot.browser img { width: 160%; max-width: none; margin-left: -27%; border-radius: 7px 0 0 0; }
  .entries { grid-template-columns: 1fr; margin-top: 40px; }
  .split, .split-wide, .devices-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split + .split, .split + .wrap, .wrap + .wrap { margin-top: 90px; }
  .split-team > .matrix-wrap { order: 2; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 700px) {
  .hero { padding: calc(var(--header) + 36px) 0 72px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .stage { padding: 0 2% 16% 8%; }
  .stage-tab { width: 28%; }
  .stage-phone { width: 27%; }
  .stage-biz { padding: 0 8% 14% 0; }
  .stage-biz .stage-phone { width: 30%; }
  .browser { border-radius: 9px; padding: 0 3px 3px; }
  .browser-bar { height: 16px; gap: 4px; padding: 0 4px; }
  .browser-bar i { width: 5px; height: 5px; }
  .browser > img, .browser .screens { border-radius: 5px; }
  .entry { grid-template-columns: minmax(0, 1fr); padding: 26px 24px 0; min-height: 0; }
  .entry-copy { padding-bottom: 4px; }
  .entry-art { max-height: 230px; }
  .entry-art .device { max-width: 190px; margin-bottom: 0; }
  .entry-biz .entry-art .device { max-width: 230px; margin-right: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; }
  .tile-green, .tile-row { flex-direction: column; align-items: stretch; }
  .mini-slots, .mini-booking { max-width: none; min-width: 0; }
  .tile { padding: 24px; min-height: 0; }
  .ba-cols { display: none; }
  .ba-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .devices-art .tablet { width: 70%; margin-left: 0; }
  .devices-art .phone { width: 34%; right: 0; }
  .pair .phone:last-child { margin-top: 44px; }
  .matrix { font-size: 14px; }
  .matrix th, .matrix td { padding: 12px 10px; }
  .m-yes, .m-part { white-space: normal; font-size: 12.5px; padding: 4px 8px; }
  .faq-item p { padding-right: 0; }
  .sep { display: block; height: 0; overflow: hidden; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .hint { flex-wrap: wrap; justify-content: center; text-align: center; padding: 14px 14px 12px; bottom: 12px; gap: 10px; width: calc(100% - 24px); }
  .hint p { flex: 1 1 100%; }
  .lang a { min-width: 30px; padding: 5px 6px; }
  .logo .logo-word { display: none; }
  .stores-row img { height: 40px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .header-in { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html.js .intro, html.js .reveal { opacity: 1; transform: none; }
}
