/* GIRÊ — website styles
   Direction: calm editorial layout, hairlines instead of boxes, one accent (forest),
   one signature motion (the hero conversation). No scripts. */

@font-face {
  font-family: "Bahij Koufiya";
  src: url("../fonts/bahij-koufiya-regular.woff") format("woff");
  font-weight: 100 549;
  font-style: normal;
  font-display: swap;
  size-adjust: 115%;
}
@font-face {
  font-family: "Bahij Koufiya";
  src: url("../fonts/bahij-koufiya-bold.woff") format("woff");
  font-weight: 550 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 115%;
}

:root {
  /* palette */
  --paper: #f7f7f2;          /* page ground: warm off-white */
  --paper-2: #efefe7;        /* quiet alternate band */
  --white: #ffffff;
  --ink: #12261c;            /* text */
  --ink-2: #4f5d55;          /* secondary text 6.5:1 on paper */
  --ink-3: #66716b;          /* meta text, large only */
  --rule: #dcddd3;           /* hairlines */
  --rule-strong: #c4c7bb;
  --accent: #0f351c;         /* the one accent: buttons, links, numbers, active states */
  --accent-hover: #1b4a2e;
  --accent-soft: #e4ede4;    /* tint of the accent for selected/outgoing states */
  --on-accent: #ffffff;
  --leaf: #6ee07e;           /* logo green: used only inside the logo and the live dot */
  --band: #0f351c;           /* closing band */
  --band-ink: #c9d6cd;
  --header-bg: rgba(247, 247, 242, .88);
  --screen: #f3f4ee;
  --panel: #fbfbf8;
  --field: #f0f1ea;
  --hair: #eceee6;
  --chip: #ecefe7;
  --ph-a: #dfe8dc;
  --ph-b: #c3d6c4;
  --shadow-device: 0 50px 80px -40px rgba(18, 38, 28, .45);
  color-scheme: light;

  /* type */
  --sans: "Bahij Koufiya", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ar-body: "Bahij Koufiya", "Segoe UI", "SF Arabic", "Geeza Pro", Tahoma, sans-serif;
  --ar-display: "Bahij Koufiya", "Segoe UI", "SF Arabic", Tahoma, sans-serif;

  /* shape */
  --r-btn: 10px;
  --r-media: 22px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: var(--ar-body); line-height: 1.8; }
html[dir="rtl"] :is(h1, h2, h3, .display) { font-family: var(--ar-display); }
.ar { font-family: var(--ar-body); }
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
html[dir="rtl"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.4; font-weight: 700; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 16px; background: var(--accent); color: #fff; padding: 8px 12px; z-index: 10; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* inline text link with a drawn underline */
.link { color: var(--accent); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
html[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.site-header { border-bottom-color: var(--rule); }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; font-size: 15px; }
.nav a { color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.langs { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.langs a { color: var(--ink-3); padding: 4px 6px; border-radius: 6px; transition: color .2s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.langs span { width: 3px; height: 3px; border-radius: 50%; background: var(--rule-strong); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: var(--r-btn); font-weight: 600; font-size: 15.5px; white-space: nowrap; transition: background-color .25s var(--ease), color .25s, transform .25s var(--ease); }
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:hover .ico { transform: translateX(3px); }
html[dir="rtl"] .btn-primary:hover .ico { transform: scaleX(-1) translateX(3px); }
.btn-primary:active { transform: translateY(1px); }
.btn-quiet { color: var(--ink); padding: 0 6px; height: 50px; }
.btn-quiet:hover { color: var(--accent); }
.header-cta { height: 42px; padding: 0 18px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kicker .live { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(110, 224, 126, .22); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); margin: 26px 0 26px; }
.hero h1 em { font-style: normal; color: var(--accent); display: block; font-weight: 500; }
html[dir="rtl"] .hero h1 { font-size: clamp(36px, 5vw, 62px); }
html[dir="rtl"] .hero h1 em { font-weight: 600; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 33em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 38px; }
.promise { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; list-style: none; padding: 26px 0 0; margin: 40px 0 0; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); }
.promise li { display: flex; gap: 8px; align-items: center; }
.promise .ico { width: 17px; height: 17px; color: var(--accent); }

/* The device — the page's single visual moment */
.device { justify-self: center; width: 320px; max-width: 100%; padding: 9px; border-radius: 46px; background: #10231a; box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255,255,255,.06); }
.screen { border-radius: 38px; overflow: hidden; background: var(--screen); height: 600px; display: flex; flex-direction: column; }
.sb { display: flex; justify-content: space-between; padding: 14px 26px 6px; font-size: 11.5px; font-weight: 600; direction: ltr; color: var(--ink); }
.sb i { display: inline-flex; gap: 3px; align-items: flex-end; }
.sb i b { width: 3px; background: var(--ink); border-radius: 1px; }
.sb i b:nth-child(1) { height: 5px; } .sb i b:nth-child(2) { height: 7px; } .sb i b:nth-child(3) { height: 9px; }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 10px 16px 14px; border-bottom: 1px solid var(--rule); background: var(--white); }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; flex: none; }
.chat-head .who { flex: 1; min-width: 0; line-height: 1.3; }
.chat-head b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head small { font-size: 11.5px; color: var(--ink-3); }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--accent); padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); white-space: nowrap; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.thread { flex: 1; min-height: 0; padding: 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.msg { max-width: 82%; padding: 9px 12px 7px; border-radius: 16px; font-size: 13px; line-height: 1.5; background: var(--white); border-start-start-radius: 5px; align-self: flex-start; }
.msg.out { align-self: flex-end; background: var(--accent-soft); border-start-start-radius: 16px; border-start-end-radius: 5px; }
.msg time { display: block; text-align: end; font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.msg .by { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 3px; }
.msg .by .ico { width: 11px; height: 11px; }
.unit { margin-top: 7px; border-radius: 10px; overflow: hidden; background: var(--white); }
.unit .ph { height: 64px; background: linear-gradient(160deg, var(--ph-a), var(--ph-b)); display: grid; place-items: center; color: rgba(15, 53, 28, .45); }
.unit .ph .ico { width: 30px; height: 30px; stroke-width: 1.25; }
.unit div:last-child { padding: 7px 9px; font-size: 11.5px; color: var(--ink-2); }
.unit div:last-child b { display: block; color: var(--ink); font-size: 12px; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 11px 13px; border-radius: 16px; border-start-end-radius: 5px; background: var(--accent-soft); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .35; }
.compose { display: flex; align-items: center; gap: 8px; padding: 10px 12px 16px; background: var(--white); border-top: 1px solid var(--rule); }
.compose span:first-child { flex: 1; height: 36px; border-radius: 999px; background: var(--field); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; padding: 0 14px; }
.compose .go { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.compose .go .ico { width: 16px; height: 16px; }

/* The signature motion: the conversation plays once, GIRÊ "types", then answers. */
@media (prefers-reduced-motion: no-preference) {
  .play .m1 { animation: rise .6s var(--ease) .4s both; }
  .play .typing { animation: typing 1.6s var(--ease) 1.1s both; }
  .play .typing span { animation: blink 1s ease-in-out 1.1s 2; }
  .play .typing span:nth-child(2) { animation-delay: 1.25s; }
  .play .typing span:nth-child(3) { animation-delay: 1.4s; }
  .play .m2 { animation: rise .7s var(--ease) 2.7s both; }
  .play .m3 { animation: rise .6s var(--ease) 4.1s both; }
  .play .m4 { animation: rise .7s var(--ease) 5.1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes typing {
  0% { opacity: 0; transform: translateY(8px); max-height: 40px; padding-block: 11px; margin-bottom: 0; }
  15%, 80% { opacity: 1; transform: none; max-height: 40px; padding-block: 11px; }
  100% { opacity: 0; max-height: 0; padding-block: 0; margin-bottom: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .typing { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Ledger (facts row) ---------- */
.ledger { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ledger .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger .wrap > div { padding-block: 30px; padding-inline: 0 24px; }
.ledger .wrap > div + div { border-inline-start: 1px solid var(--rule); padding-inline-start: 24px; }
.ledger b { display: block; font-size: 28px; line-height: 1.15; font-weight: 600; color: var(--accent); letter-spacing: -0.01em; }
html[dir="rtl"] .ledger b { font-family: var(--ar-display); font-size: 24px; }
.ledger span { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.band { background: var(--paper-2); }
.label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
html[dir="rtl"] .label { letter-spacing: 0; font-size: 14px; }
.title { font-size: clamp(32px, 4.2vw, 52px); max-width: 16em; }
html[dir="rtl"] .title { font-size: clamp(28px, 3.6vw, 44px); }
.intro { color: var(--ink-2); font-size: 18px; max-width: 34em; margin-top: 18px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head .intro { margin: 0; }

/* Steps: numbered columns on hairlines */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.steps li { border-top: 1px solid var(--ink); padding-top: 26px; }
.steps .n { font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 23px; margin: 30px 0 12px; letter-spacing: -0.01em; }
html[dir="rtl"] .steps h3 { font-size: 21px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* Inside the app: screens laid out in a staggered row, no device chrome */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.shot { margin: 0; min-width: 0; }
.shot:nth-child(even) { margin-top: 56px; }
.panel-ui { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-media); overflow: hidden; height: 420px; font-size: 12px; transition: transform .5s var(--ease), border-color .3s; }
.shot:hover .panel-ui { transform: translateY(-4px); border-color: var(--rule-strong); }
.shot figcaption { padding: 22px 4px 0; }
.shot .n { font-size: 13px; font-weight: 600; color: var(--accent); }
.shot h3 { font-size: 18px; margin: 8px 0 8px; letter-spacing: -0.005em; line-height: 1.3; }
.shot p { font-size: 15px; color: var(--ink-2); }
.ui-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px; }
.ui-top b { font-size: 15px; }
.ui-top .ico { width: 18px; height: 18px; color: var(--ink-3); }
.seg { display: flex; gap: 14px; padding: 0 16px 10px; border-bottom: 1px solid var(--rule); font-size: 11.5px; color: var(--ink-3); }
.seg span { padding-bottom: 6px; }
.seg .on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.row { display: flex; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--hair); }
.row .av { width: 32px; height: 32px; font-size: 11.5px; background: var(--chip); color: var(--ink-2); }
.row .t { flex: 1; min-width: 0; line-height: 1.35; }
.row .t b { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
.row .t b em { font-style: normal; font-weight: 400; font-size: 10.5px; color: var(--ink-3); }
.row .t span { display: block; font-size: 11px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 10px; font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.tag.on { color: var(--accent); }
.tag.on::before { content: "● "; color: var(--leaf); }
.dot-new { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.q { margin: 14px 16px 0; }
.q .msg { max-width: 100%; background: var(--white); border: 1px solid var(--hair); font-size: 12px; }
.draft { margin: 14px 16px; padding: 12px; border-radius: 14px; background: var(--accent-soft); font-size: 12px; line-height: 1.55; }
.draft small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.draft small .ico { width: 12px; height: 12px; }
.draft .acts { display: flex; gap: 14px; align-items: center; margin-top: 10px; font-size: 11px; font-weight: 600; }
.draft .acts span:last-child { background: var(--accent); color: var(--on-accent); padding: 5px 12px; border-radius: 7px; }
.drop { margin: 4px 16px 6px; padding: 12px; border: 1px dashed var(--rule-strong); border-radius: 14px; text-align: center; color: var(--ink-2); font-size: 11.5px; }
.drop .ico { width: 20px; height: 20px; margin: 0 auto 4px; color: var(--accent); }
.drop p { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.prop { display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--hair); }
.prop .th { width: 46px; height: 46px; border-radius: 10px; flex: none; background: linear-gradient(160deg, var(--ph-a), var(--ph-b)); }
.prop .th.b2 { background: linear-gradient(160deg, var(--ph-a), var(--chip)); }
.prop .th.b3 { background: linear-gradient(200deg, var(--ph-a), var(--ph-b)); }
.prop .t { flex: 1; min-width: 0; line-height: 1.35; font-size: 11px; color: var(--ink-2); }
.prop .t b { display: block; font-size: 12px; color: var(--ink); }
.prop .t i { display: block; font-style: normal; font-weight: 600; font-size: 12px; color: var(--accent); margin-top: 2px; }
.log { padding: 0 16px; }
.log div { padding: 12px 0 12px 14px; border-bottom: 1px solid var(--hair); position: relative; }
html[dir="rtl"] .log div { padding: 12px 14px 12px 0; }
.log div::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.log div.warn::before { background: #b7791f; }
.log b { display: flex; justify-content: space-between; font-size: 12px; }
.log b em { font-style: normal; font-weight: 400; font-size: 10.5px; color: var(--ink-3); }
.log p { font-size: 11px; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
.log small { display: block; font-size: 10px; color: var(--accent); font-weight: 600; margin-top: 5px; }

/* Features: a typographic list on hairlines */
.features { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.features .sticky { position: sticky; top: 120px; align-self: start; }
.flist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.flist li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.flist .ico { width: 24px; height: 24px; color: var(--accent); margin-top: 3px; }
.flist h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.3; }
html[dir="rtl"] .flist h3 { font-size: 19px; }
.flist p { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.modes { display: inline-flex; gap: 2px; margin-top: 14px; padding: 3px; border-radius: 999px; border: 1px solid var(--rule); font-size: 13px; }
.modes span { padding: 5px 13px; border-radius: 999px; color: var(--ink-2); }
.modes .on { background: var(--accent); color: var(--on-accent); }

/* Control */
.control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.points .ico { color: var(--accent); margin-top: 3px; }
.points b { display: block; font-weight: 600; }
.points span { color: var(--ink-2); font-size: 16px; }
.settings { background: var(--white); border-radius: var(--r-media); padding: 8px 28px; border: 1px solid var(--rule); }
.settings h4 { margin: 0; padding: 20px 0 14px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.setting small { display: block; color: var(--ink-3); font-size: 13.5px; }
.sw { width: 42px; height: 24px; border-radius: 999px; background: var(--rule-strong); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.sw.on { background: var(--accent); }
.sw.on::after { inset-inline-start: 21px; }

/* Company */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.company .copy-col p { color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-3); font-size: 14px; padding-top: 1px; }
.facts dd { margin: 0; font-size: 15.5px; }

/* FAQ with smooth open/close */
.faq { border-top: 1px solid var(--rule); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18.5px; font-weight: 600; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .ico { color: var(--accent); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 26px; max-width: 46em; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: hidden; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* Closing band */
.closing { background: var(--band); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.closing h2 { font-size: clamp(32px, 4.2vw, 52px); }
html[dir="rtl"] .closing h2 { font-size: clamp(28px, 3.6vw, 44px); }
.closing p { color: var(--band-ink); margin-top: 18px; font-size: 18px; }
.reach { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.reach li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.reach a, .reach li > span { display: flex; align-items: center; gap: 14px; padding: 20px 0; font-size: 17px; transition: color .2s, padding .3s var(--ease); }
.reach a:hover { color: var(--leaf); padding-inline-start: 6px; }
.reach .ico { color: #9fb7a6; }
.reach .ltr { direction: ltr; unicode-bidi: isolate; }
.reach small { margin-inline-start: auto; color: #9fb7a6; font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; font-size: 14px; color: var(--ink-2); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 40px; }
.site-footer .logo { height: 26px; width: auto; margin-bottom: 18px; }
.site-footer p { margin-bottom: 6px; max-width: 52em; }
.site-footer strong { color: var(--ink); font-weight: 600; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer .copy { max-width: none; } .copy { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 12px; color: var(--ink-3); }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(56px, 8vw, 104px) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 10px; }
.legal .updated { color: var(--ink-3); font-size: 14px; margin: 0 0 44px; }
.legal h2 { font-size: 23px; margin: 44px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-bottom: 12px; }
.legal ul { padding-inline-start: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .btn-primary { color: #fff; text-decoration: none; }

/* ---------- Connect: website or app ---------- */
.connect { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.connect .sub { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.ways { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 36px); }
.ways li { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.ways .ico { width: 22px; height: 22px; color: var(--accent); margin-bottom: 6px; }
.ways b { font-size: 18px; font-weight: 600; }
.ways span { color: var(--ink-2); font-size: 15.5px; }
.flow-h { font-size: 15px; font-weight: 600; margin: 44px 0 16px; }
.flow { list-style: none; counter-reset: flow; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 36em; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: 15.5px; }
.flow li::before { content: counter(flow); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; margin-top: 1px; }
.roadmap { align-self: start; }
.road { list-style: none; padding: 0; margin: 0; }
.road li { position: relative; padding-inline-start: 30px; padding-bottom: 28px; display: grid; gap: 3px; }
.road li::before { content: ""; position: absolute; inset-inline-start: 5px; top: 14px; bottom: -4px; width: 1px; background: var(--rule-strong); }
.road li:last-child { padding-bottom: 0; }
.road li:last-child::before { display: none; }
.road li::after { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--rule-strong); box-sizing: border-box; }
.road li.now::after { background: var(--leaf); border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(110, 224, 126, .22); }
.road .when { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.road b { font-size: 17px; font-weight: 600; }
.road .t { color: var(--ink-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink-2); }
.chip small { font-size: 12px; color: var(--ink-3); }
.chip.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.chip.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.chip.on small { color: var(--accent); font-weight: 400; }
@media (max-width: 900px) { .connect { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .ways { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero: the visit GIRÊ booked ---------- */
.booked { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: start; margin-top: 7px; padding: 9px 10px; border-radius: 10px; background: var(--white); }
.booked > .ico { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); box-sizing: border-box; }
.booked b { display: block; font-size: 12px; color: var(--ink); }
.booked span { display: block; font-size: 11.5px; color: var(--ink-2); }
.booked small { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 10.5px; font-weight: 600; color: var(--accent); }
.booked small .ico { width: 11px; height: 11px; }
@media (prefers-reduced-motion: no-preference) {
  .play .m5 { animation: rise .6s var(--ease) 6.3s both; }
  .play .m6 { animation: rise .7s var(--ease) 7.3s both; }
}

/* ---------- Small capability tags under the steps ---------- */
.steps .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.steps .tags span { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink-2); }
.closing .cta-how { display: inline-block; margin-top: 22px; color: #fff; }

/* ---------- How it works: steps beside an animated stage ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.how-grid .steps { display: block; }
.how-grid .steps li { border-top: 1px solid var(--rule); padding: 22px 0 0; cursor: pointer; opacity: .5; transition: opacity .35s var(--ease); }
.how-grid .steps li:hover { opacity: .8; }
.how-grid .steps li[aria-current="step"] { opacity: 1; }
.how-grid .steps h3 { margin: 10px 0 8px; font-size: 21px; }
.how-grid .steps p { font-size: 15.5px; }
.how-grid .steps .tags { margin-top: 14px; }
.how-grid .bar { display: block; height: 2px; margin-top: 22px; background: transparent; overflow: hidden; }
.how-grid li[aria-current="step"] .bar { background: var(--rule); }
.how-grid .bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
html[dir="rtl"] .how-grid .bar i { transform-origin: right center; }
.how-grid li[aria-current="step"] .bar i { transform: scaleX(1); }
.playing li[aria-current="step"] .bar i { animation: barfill 5.5s linear both; }
@keyframes barfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps .tags .ch-tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; font-size: 13px; }
.steps .tags .ch-tag .ico, .steps .tags .ch-tag .ch-logo { width: 16px; height: 16px; }
.steps .tags .ch-tag small { font-size: 11.5px; color: var(--ink-3); }
.steps .tags .ch-tag.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.steps .tags .ch-tag.on small { color: var(--accent); font-weight: 400; }

.stage { position: relative; height: 450px; border: 1px solid var(--rule); border-radius: var(--r-media); background: var(--panel); overflow: hidden; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
[data-active="0"] .s0, [data-active="1"] .s1, [data-active="2"] .s2 { opacity: 1; visibility: visible; }
.st-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.st-top span { font-size: 12px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.st-body { flex: 1; min-height: 0; padding: 18px 18px 76px; }
.toast { position: absolute; bottom: 16px; inset-inline: 18px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; line-height: 1.4; }
.toast .ico { width: 16px; height: 16px; flex: none; }

/* 01 · posts and a sheet become listings */
.flowx { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); gap: 12px; align-items: center; }
.srcs { display: grid; gap: 12px; }
.post, .sheet { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; font-size: 12px; }
.post small, .sheet small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); margin-bottom: 6px; }
.post small .ico, .sheet small .ico { width: 13px; height: 13px; }
.post p { color: var(--ink); line-height: 1.5; }
.sheet .grid { display: grid; grid-template-columns: 1.3fr .7fr 1.1fr; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; font-size: 10.5px; }
.sheet .grid span { padding: 4px 6px; border-bottom: 1px solid var(--rule); border-inline-start: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .grid span:nth-child(3n+1) { border-inline-start: 0; }
.sheet .grid span:nth-child(-n+3) { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.sheet .grid span:nth-last-child(-n+3) { border-bottom: 0; }
.go { display: grid; place-items: center; color: var(--accent); }
.go .ico { width: 22px; height: 22px; }
.outs { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.outs .prop { padding: 9px 12px; }
.outs .prop:last-child { border-bottom: 0; }
.outs .prop .th { width: 38px; height: 38px; border-radius: 8px; }
.outs .ok { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* 02 · three channels join GIRÊ */
.st-body.tree { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 30px; }
.hub { position: relative; }
.hub img { display: block; width: 56px; height: 56px; border-radius: 16px; }
.hub::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 18px; background: var(--rule-strong); }
.bus { position: relative; width: 58.67%; height: 24px; margin-top: 18px; border: 1.5px solid var(--rule-strong); border-bottom: 0; border-radius: 12px 12px 0 0; }
.bus::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: var(--rule-strong); }
.chs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 88%; }
.ch { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; text-align: center; }
.ch-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); }
.ch-ic .ico, .ch-ic .ch-logo { width: 20px; height: 20px; }
.ch b { font-size: 13px; }
.ch small { font-size: 11px; color: var(--ink-3); }
.ch.on { border-color: var(--accent); }
.ch.on .ch-ic { background: var(--accent-soft); color: var(--accent); }
.ch.on small { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600; }
.ch.on small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }

/* 03 · a new chat is answered and a visit booked */
.inbox { padding: 0 0 76px; }
.inbox .row { padding: 13px 18px; }
.inbox .row.r1 { background: var(--white); }
.seq { display: grid; flex: none; }
.seq .tag { grid-area: 1 / 1; justify-self: end; padding: 3px 9px; border-radius: 999px; background: var(--chip); }
.seq .tag.on { background: var(--accent-soft); }
.seq .ta, .seq .tb { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .playing[data-active="0"] .s0 .post { animation: up .5s var(--ease) .2s both; }
  .playing[data-active="0"] .s0 .sheet { animation: up .5s var(--ease) .5s both; }
  .playing[data-active="0"] .s0 .go { animation: up .4s var(--ease) 1s both; }
  .playing[data-active="0"] .s0 .sp1 { animation: up .5s var(--ease) 1.3s both; }
  .playing[data-active="0"] .s0 .sp2 { animation: up .5s var(--ease) 1.6s both; }
  .playing[data-active="0"] .s0 .sp3 { animation: up .5s var(--ease) 1.9s both; }
  .playing[data-active="0"] .s0 .ok { animation: pop .35s var(--ease) 2.3s both; }
  .playing[data-active="0"] .s0 .toast { animation: up .5s var(--ease) 2.8s both; }
  .playing[data-active="1"] .s1 .hub { animation: pop .5s var(--ease) .2s both; }
  .playing[data-active="1"] .s1 .bus { animation: reveal .6s var(--ease) .7s both; }
  .playing[data-active="1"] .s1 .c1 { animation: up .5s var(--ease) 1.1s both; }
  .playing[data-active="1"] .s1 .c2 { animation: up .5s var(--ease) 1.3s both; }
  .playing[data-active="1"] .s1 .c3 { animation: up .5s var(--ease) 1.5s both; }
  .playing[data-active="1"] .s1 .ch.on { animation: up .5s var(--ease) 1.1s both, lit .5s var(--ease) 2.3s both; }
  .playing[data-active="1"] .s1 .ch.on small { animation: up .4s var(--ease) 2.3s both; }
  .playing[data-active="2"] .s2 .row { animation: up .5s var(--ease) .2s both; }
  .playing[data-active="2"] .s2 .row + .row { animation-delay: .35s; }
  .playing[data-active="2"] .s2 .row + .row + .row { animation-delay: .5s; }
  .playing[data-active="2"] .s2 .row + .row + .row + .row { animation-delay: .65s; }
  .playing[data-active="2"] .s2 .ta { animation: seqA 3.4s linear .3s both; }
  .playing[data-active="2"] .s2 .tb { animation: seqB 3.4s linear .3s both; }
  .playing[data-active="2"] .s2 .tc { animation: seqC 3.4s linear .3s both; }
  .playing[data-active="2"] .s2 .toast { animation: up .5s var(--ease) 3.4s both; }
}
@keyframes up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lit { from { border-color: var(--rule); } to { border-color: var(--accent); } }
@keyframes seqA { 0% { opacity: 0; } 10%, 40% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes seqB { 0%, 43% { opacity: 0; } 48%, 75% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes seqC { 0%, 78% { opacity: 0; } 83%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scene { transition: none; } }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .how-grid .stage { order: -1; }
}
@media (max-width: 600px) {
  .stage { height: 520px; }
  .flowx { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .srcs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: start; }
  .go { display: none; }
  .post, .sheet { padding: 8px 9px; }
  .sheet .grid { font-size: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .sheet .grid span:nth-child(3n+2) { display: none; }
  .chs { width: 100%; gap: 6px; }
  .bus { width: 66.67%; }
  .ch b { font-size: 12px; }
}

/* ---------- From message to visit ---------- */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.journey-list { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.journey-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 26px 0; border-top: 1px solid var(--rule); }
.journey-list li:first-child { border-top-color: var(--ink); }
.journey-list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid var(--rule-strong); color: var(--accent); box-sizing: border-box; }
.journey-list li:last-child .ico { background: var(--accent-soft); border-color: transparent; }
.journey-list h3 { font-size: 19px; font-weight: 600; margin: 2px 0 6px; }
.journey-list p { color: var(--ink-2); font-size: 15.5px; }
.journey-list .n { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 4px; }
@media (max-width: 900px) { .journey { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .langs { margin-inline-start: auto; }
  .screens { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
  .shot:nth-child(even) { margin-top: 40px; }
}
@media (max-width: 900px) {
  .hero .wrap, .split-head, .features, .control, .company, .closing .wrap, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .features .sticky { position: static; }
  .ledger .wrap { grid-template-columns: repeat(2, 1fr); }
  .ledger .wrap > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .ledger .wrap > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps h3 { margin-top: 18px; }
  .promise { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header .wrap { gap: 14px; height: 64px; }
  .brand img { height: 26px; }
  .header-cta { display: none; }
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; max-width: none; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 78%; scroll-snap-align: center; }
  .shot:nth-child(even) { margin-top: 0; }
  .device { width: 300px; }
  .screen { height: 560px; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .settings { padding: 6px 20px; }
  .actions .btn-primary { flex: 1 1 100%; }
}
html[dir="ltr"] .site-footer .ar { text-align: left; }
html[dir="rtl"] .site-footer [dir="ltr"] { text-align: right; }

/* ---------- Night theme ---------- */
:root[data-theme="dark"] {
  --paper: #0c1510;
  --paper-2: #101b15;
  --white: #15221b;
  --ink: #e7ede8;
  --ink-2: #aab7ae;
  --ink-3: #82918a;
  --rule: #233229;
  --rule-strong: #34463b;
  --accent: #8fe39d;
  --accent-hover: #a9ecb4;
  --accent-soft: #1b3324;
  --on-accent: #0c2415;
  --band: #0f2a1a;
  --band-ink: #b9c9be;
  --header-bg: rgba(12, 21, 16, .86);
  --screen: #0f1914;
  --panel: #121e18;
  --field: #1a2820;
  --hair: #1f2d25;
  --chip: #1e2c24;
  --ph-a: #1f3427;
  --ph-b: #2b4636;
  --shadow-device: 0 50px 80px -40px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
  --paper: #0c1510;
  --paper-2: #101b15;
  --white: #15221b;
  --ink: #e7ede8;
  --ink-2: #aab7ae;
  --ink-3: #82918a;
  --rule: #233229;
  --rule-strong: #34463b;
  --accent: #8fe39d;
  --accent-hover: #a9ecb4;
  --accent-soft: #1b3324;
  --on-accent: #0c2415;
  --band: #0f2a1a;
  --band-ink: #b9c9be;
  --header-bg: rgba(12, 21, 16, .86);
  --screen: #0f1914;
  --panel: #121e18;
  --field: #1a2820;
  --hair: #1f2d25;
  --chip: #1e2c24;
  --ph-a: #1f3427;
  --ph-b: #2b4636;
  --shadow-device: 0 50px 80px -40px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
}
/* logo swap */
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-light { display: none; }
  :root:not([data-theme]) .logo-dark { display: block; }
}
/* device frame stays dark in both themes, a touch lifted at night */
:root[data-theme="dark"] .device { background: #050a07; box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255,255,255,.08); }
:root[data-theme="dark"] .closing { border-top: 1px solid var(--rule); }
:root[data-theme="dark"] .reach a:hover { color: var(--accent); }

/* theme switch */
.theme-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink-2); cursor: pointer; padding: 0; transition: color .2s, border-color .2s, background-color .2s; }
.theme-btn:hover { color: var(--ink); border-color: var(--rule-strong); }
.theme-btn .ico { width: 18px; height: 18px; }
.theme-btn .moon { display: block; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
/* smooth cross-fade only while switching, never on first paint */
.theming, .theming * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }
