/* Public product tour (/predstaveni). Standalone — it does not load the app's Bootstrap
   theme, so nothing here can leak into the application and nothing there into this.
   Palette is lifted from the logo: forest green, oak-leaf yellow, hat ochre, berry rust. */

:root {
  --paper: #fbf7ee;
  --paper-2: #f3ecdc;
  --card: #ffffff;
  --ink: #1b251c;
  --ink-2: #4a5749;
  --muted: #7b8678;
  --line: rgba(27, 37, 28, 0.12);
  --forest: #1f5b2e;
  --forest-2: #2e7d32;
  --forest-deep: #133a1e;
  --accent: #1f5b2e;
  --leaf: #e3c21e;
  --leaf-soft: #f7e9a6;
  --ochre: #a8742c;
  --rust: #b84f32;
  --logo-bg: transparent;
  --shadow-sm: 0 1px 2px rgba(19, 58, 30, 0.08), 0 4px 12px rgba(19, 58, 30, 0.06);
  --shadow-lg: 0 2px 6px rgba(19, 58, 30, 0.08), 0 24px 60px -12px rgba(19, 58, 30, 0.28);
  --radius: 22px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1611;
    --paper-2: #151f17;
    --card: #1b261d;
    --ink: #eef2ea;
    --ink-2: #bac5b6;
    --muted: #8d998a;
    --line: rgba(238, 242, 234, 0.12);
    --accent: #86cf8e;
    --leaf-soft: #4a4214;
    --logo-bg: #fbf7ee;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 24px 60px -12px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body.tour {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.tour img { max-width: 100%; height: auto; display: block; }
.tour a { color: inherit; }
.tour h1, .tour h2, .tour h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.tour h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
.tour h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 650; }
.tour p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 820px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px !important;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--leaf); }
.eyebrow--light { color: var(--leaf); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--forest); color: #fff !important; box-shadow: 0 8px 24px -8px rgba(31, 91, 46, 0.6); }
.btn--primary:hover { background: var(--forest-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--sm { padding: 9px 16px; font-size: 0.92rem; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

/* ── Top bar ──────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.4); }
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.topbar__brand { flex: none; background: var(--logo-bg); border-radius: 12px; padding: 4px 8px; margin-left: -8px; }
.topbar__brand img { height: 52px; width: auto; }
.topbar__links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 0.97rem; }
.topbar__links a { text-decoration: none; color: var(--ink-2); position: relative; }
.topbar__links a:hover { color: var(--ink); }
.topbar__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--leaf); border-radius: 2px; transition: right .25s ease;
}
.topbar__links a:hover::after { right: 0; }
.topbar__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.lang a {
  padding: 5px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-decoration: none; color: var(--muted);
}
.lang a.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 960px) {
  .topbar__links { display: none; }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .topbar__brand img { height: 38px; }
  .topbar__actions .btn { padding: 8px 12px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 62vw; height: 62vw;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--leaf) 26%, transparent), transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 0.92fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 em {
  font-style: italic; color: var(--accent);
  background: linear-gradient(transparent 68%, color-mix(in srgb, var(--leaf) 55%, transparent) 68% 92%, transparent 92%);
  padding-inline: 2px;
}
.hero__ctas { margin: 30px 0 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 14px !important; font-size: 0.92rem; color: var(--muted); }
.hero__visual { position: relative; padding: 0 0 14% 14%; margin-right: -4%; }
.hero__browser { transform: rotate(1.2deg); }
.hero__phone { position: absolute !important; left: 0; bottom: 0; width: 36%; transform: rotate(-4deg); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow-lg);
  font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip__dot {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: 0.85rem; color: #fff;
}
.chip__dot--ok { background: var(--forest-2); }
.chip__dot--bell { background: var(--rust); font-size: 0.55rem; }
.chip--a { right: -2%; top: 8%; }
.chip--b { right: 8%; bottom: 2%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { padding: 0 0 18% 14%; margin-top: 8px; }
  .chip--a { top: -4%; right: 0; }
}
@media (max-width: 520px) {
  .chip { font-size: 0.8rem; padding: 8px 12px 8px 8px; }
  .chip__dot { width: 22px; height: 22px; }
  .chip--b { display: none; }
}

/* ── Store badges ─────────────────────────────────────────────────────── */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 18px 0 14px; border-radius: 12px;
  background: #000; color: #fff !important; text-decoration: none;
  border: 1px solid #a6a6a6;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55); }
.store-badge__logo { width: 26px; height: 26px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge__text small { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.04em; }
.store-badge__text strong { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
.store-badge--soon { background: #d4d6d2; color: #6f736d !important; border-color: #c3c6c1; cursor: default; }
.store-badge__soon {
  position: absolute; top: -10px; right: -8px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--leaf); color: #3a3000;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.35);
}
@media (prefers-color-scheme: dark) {
  .store-badge--soon { background: #2b322c; color: #879084 !important; border-color: #3a433b; }
}
.store-badges--light .store-badge--soon { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5) !important; border-color: rgba(255, 255, 255, 0.2); }
.store-badges--small .store-badge { height: 44px; }
.store-badges--small .store-badge__text strong { font-size: 1.05rem; }
.store-badges--small .store-badge__logo { width: 22px; height: 22px; }

/* ── Device frames ────────────────────────────────────────────────────── */
.browser {
  margin: 0; border-radius: 14px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.browser__bar {
  display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e5695b; }
.browser__dots i:nth-child(2) { background: #e9b949; }
.browser__dots i:nth-child(3) { background: #62b35d; }
.browser__url {
  flex: 1; max-width: 300px; margin-inline: auto; transform: translateX(-24px);
  padding: 3px 12px; border-radius: 7px; text-align: center;
  background: var(--card); color: var(--muted); font-size: 0.72rem;
}
.browser img, .phone img { cursor: zoom-in; width: 100%; }

.phone {
  position: relative; margin: 0;
  padding: 9px; border-radius: 46px;
  background: linear-gradient(145deg, #2b2f2c, #0c0e0c);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.phone__screen { border-radius: 38px; overflow: hidden; background: #fff; }
.phone__status {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 30px; padding: 0 22px; background: #fff; color: #111;
  font: 600 0.72rem/1 var(--font-body);
}
.phone__camera { position: absolute; left: 50%; top: 8px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #0c0e0c; }
.phone__icons { display: inline-flex; align-items: center; gap: 5px; }
.phone__signal { width: 14px; height: 9px; background: linear-gradient(90deg, #111 0 20%, transparent 20% 27%, #111 27% 47%, transparent 47% 54%, #111 54% 74%, transparent 74% 81%, #111 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.phone__battery { width: 20px; height: 9px; border-radius: 2.5px; border: 1.5px solid #111; position: relative; }
.phone__battery::after { content: ""; position: absolute; inset: 1px; right: 4px; background: #111; border-radius: 1px; }

/* ── Highlights ───────────────────────────────────────────────────────── */
.highlights { border-block: 1px solid var(--line); background: var(--card); }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; flex-direction: column; gap: 4px; padding: 30px 24px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight strong { font: 700 1.6rem/1.1 var(--font-display); color: var(--accent); }
.highlight span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) {
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .highlight { padding: 22px 14px; } .highlight strong { font-size: 1.3rem; } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2 { margin-bottom: 16px; }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Roles */
.roles__grid { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 20px; }
.role-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px; border-radius: var(--radius); text-decoration: none;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.role-card p { color: var(--ink-2); flex: 1; }
.role-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: color-mix(in srgb, var(--forest-2) 14%, transparent); color: var(--accent);
}
.role-card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.role-card--teachers .role-card__icon { background: color-mix(in srgb, var(--leaf) 30%, transparent); color: #7a6200; }
.role-card--lead { background: transparent; border-style: dashed; box-shadow: none; }
.role-card--lead .role-card__icon { background: color-mix(in srgb, var(--ochre) 18%, transparent); color: var(--ochre); }
.role-card__cta { font-weight: 700; color: var(--accent); }
@media (prefers-color-scheme: dark) { .role-card--teachers .role-card__icon { color: var(--leaf); } }
@media (max-width: 900px) { .roles__grid { grid-template-columns: 1fr; } }

/* Feature rows */
.feature {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.feature + .feature { margin-top: clamp(80px, 11vw, 150px); }
.feature--flip .feature__copy { order: 2; }
.feature__num {
  display: block; margin-bottom: 14px;
  font: 700 0.9rem/1 var(--font-body); letter-spacing: 0.1em; color: var(--ochre);
}
.feature__copy h3 { margin-bottom: 14px; }
.feature__copy > p { color: var(--ink-2); font-size: 1.08rem; }
.feature__visual { position: relative; padding: 0 0 14% 16%; }
.feature--flip .feature__visual { padding: 0 16% 14% 0; }
.phone--float { position: absolute !important; left: 0; bottom: 0; width: 32%; }
.feature--flip .phone--float { left: auto; right: 0; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .feature__visual, .feature--flip .feature__visual { padding: 0 0 22% 22%; }
  .feature--flip .phone--float { left: 0; right: auto; }
  .phone--float { width: 40%; }
}

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--forest-2) 14%, transparent);
}
.ticks li::after {
  content: ""; position: absolute; left: 8px; top: 7px; width: 6px; height: 11px;
  border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.ticks--light li { color: rgba(255, 255, 255, 0.88); }
.ticks--light li::before { background: rgba(227, 194, 30, 0.2); }
.ticks--light li::after { border-color: var(--leaf); }

/* ── Apps band ────────────────────────────────────────────────────────── */
.apps {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(227, 194, 30, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(46, 125, 50, 0.55), transparent 60%),
    var(--forest-deep);
}
.apps__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.apps h2 { color: #fff; margin-bottom: 16px; font-size: clamp(2.3rem, 5vw, 3.8rem); }
.apps .lead { color: rgba(255, 255, 255, 0.78); }
.apps__get { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.apps__qr { display: flex; align-items: center; gap: 14px; max-width: 220px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.apps__qr-code { flex: none; width: 92px; padding: 7px; border-radius: 12px; background: #fff; }
.apps__qr-code svg { display: block; width: 100%; height: auto; }
.apps__ios { margin-top: 26px !important; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); max-width: 52ch; }
.apps__phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 100%; }
.apps__phone { width: 42%; flex: none; }
.apps__phone--l { transform: translateX(22%) rotate(-9deg) scale(0.88); z-index: 1; }
.apps__phone--c { z-index: 2; }
.apps__phone--r { transform: translateX(-22%) rotate(9deg) scale(0.88); z-index: 1; }
@media (max-width: 900px) {
  .apps__grid { grid-template-columns: 1fr; }
  .apps__phones { order: -1; }
  .apps__qr { display: none; }
}

/* ── Gallery ──────────────────────────────────────────────────────────── */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.toggle button {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  padding: 9px 20px; border-radius: 999px; font: 600 0.95rem/1 var(--font-body);
}
.toggle button.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.gallery { display: grid; gap: 22px; }
.gallery--mob { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery--web { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
[data-mode="mob"] .gallery--web, [data-mode="web"] .gallery--mob { display: none; }
@media (max-width: 420px) {
  .gallery--mob { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery--web { grid-template-columns: 1fr; }
}
.shot { margin: 0; }
.shot img {
  border-radius: 18px; border: 1px solid var(--line); background: var(--card);
  box-shadow: var(--shadow-sm); cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot--web img { border-radius: 12px; }
.shot img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shot figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); line-height: 1.35; }

/* ── Safety ───────────────────────────────────────────────────────────── */
.safety__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety-card { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.safety-card h3 { font-size: 1.3rem; margin: 18px 0 10px; }
.safety-card p { color: var(--ink-2); }
.safety-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: var(--leaf); }
.safety-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.safety__link { margin-top: 32px !important; font-weight: 600; color: var(--accent); }
@media (max-width: 860px) { .safety__grid { grid-template-columns: 1fr; } }

/* ── Leadership card ──────────────────────────────────────────────────── */
.lead-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: 28px;
  background: linear-gradient(120deg, var(--leaf-soft), color-mix(in srgb, var(--leaf-soft) 40%, var(--card)));
  border: 1px solid var(--line);
}
.lead-card > div { max-width: 640px; position: relative; }
.lead-card h2 { margin-bottom: 12px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); font-size: 1.2rem; font-weight: 500; transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--ink-2); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: grid; gap: 16px; max-width: 420px; }
.footer__brand img { height: 56px; width: auto; background: var(--logo-bg); border-radius: 12px; padding: 4px 8px; margin-left: -8px; }
.footer__brand p { color: var(--ink-2); }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-weight: 500; }
.footer__links a { text-decoration: none; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
.footer__legal { margin-top: 40px; font-size: 0.85rem; color: var(--muted); }

/* ── Decorative leaves (from the logo) ────────────────────────────────── */
.leaf { position: absolute; pointer-events: none; width: 120px; opacity: 0.9; }
.leaf--hero-a { left: -34px; top: 56%; transform: rotate(-24deg); width: 110px; }
.leaf--hero-b { right: 4%; top: 6%; transform: rotate(160deg) scaleX(-1); width: 70px; opacity: 0.55; }
.leaf--apps { right: -30px; bottom: -20px; width: 220px; opacity: 0.18; transform: rotate(-30deg); }
.leaf--card { right: 150px; bottom: -46px; width: 170px; opacity: 0.3; transform: rotate(-18deg); }
@media (max-width: 700px) { .leaf--card { right: -30px; } }
@media (max-width: 900px) { .tour .leaf--hero-a, .tour .leaf--hero-b { display: none; } }

/* On a phone a desktop screenshot shrinks to unreadable, so the feature rows show the app
   alone — it is also exactly what a visitor on a phone would get. */
@media (max-width: 600px) {
  .feature__visual, .feature--flip .feature__visual { padding: 0; display: flex; justify-content: center; }
  .feature__visual .browser { display: none; }
  .feature__visual .phone--float, .feature--flip .feature__visual .phone--float {
    position: relative !important; left: auto; right: auto; width: min(78%, 300px);
  }
}

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 16, 11, 0.82); backdrop-filter: blur(6px); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__caption { margin-top: 14px !important; text-align: center; color: #e8ede5; font-size: 0.95rem; }
.lightbox__close {
  position: fixed; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.8rem; line-height: 1;
}

/* ── Scroll reveal (only when JS is there to undo it) ─────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
}
