/* ============================================================
   seniorOS website
   Calm, product-first, light. System type (SF Pro on Apple devices, Inter elsewhere),
   white and soft-grey surfaces, one brand blue, rounded cards, live product illustrations.
   No inline styles anywhere (CSP style-src 'self').
   ============================================================ */

@font-face{
  font-family:"Inter"; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root{
  color-scheme: light;
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;
  --bg-sunk:   #ececf0;
  --ink:       #1d1d1f;
  --ink-2:     #545459;   /* body copy on white, 7:1 */
  --ink-3:     #6e6e73;   /* secondary, 4.9:1 */
  --line:      #d2d2d7;
  --hair:      rgba(0,0,0,0.08);

  --brand-900: #0c1a2b;
  --brand-700: #15325c;
  --accent:    #1f5fae;   /* brand blue from the mark, 6:1 on white */
  --accent-2:  #174d8f;
  --accent-soft:#eaf1fb;
  --accent-on-dark:#8fb8ef;

  --alert:     #f08c00;
  --alert-ink: #8a4b00;
  --alert-soft:#fff3e0;
  --ok:        #1f9d55;
  --ok-ink:    #11683a;
  --ok-soft:   #e6f6ec;
  --occ:       #c9daf2;   /* occupied bed */

  --dark:      #0b1320;
  --dark-2:    #141f31;
  --on-dark:   #f5f7fa;
  --on-dark-2: #a9b6c8;
  --dark-line: rgba(255,255,255,0.12);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r:    20px;
  --r-lg: 28px;
  --sh-1: 0 1px 2px rgba(16,24,40,0.04), 0 4px 14px rgba(16,24,40,0.05);
  --sh-2: 0 2px 6px rgba(16,24,40,0.05), 0 28px 60px -18px rgba(16,24,40,0.28);
  --sh-3: 0 10px 30px -10px rgba(16,24,40,0.30);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 60px;
}

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 16px); }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); font-size:17px; line-height:1.55; letter-spacing:-0.011em;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility;
}
img,svg{ display:block; max-width:100%; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }
p{ margin:0; }
h1,h2,h3,h4{ margin:0; font-family:var(--display); color:var(--ink); }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font:inherit; }
:focus-visible{ outline:3px solid rgba(31,95,174,0.5); outline-offset:2px; border-radius:6px; }
main:focus{ outline:none; }
[hidden]{ display:none !important; }

.skip{
  position:absolute; left:16px; top:-60px; z-index:100; background:var(--ink); color:#fff;
  padding:10px 16px; border-radius:999px; font-size:14px; transition:top .2s;
}
.skip:focus{ top:12px; text-decoration:none; }

.container{ width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }
.container--narrow{ max-width:760px; }
.center{ text-align:center; }

/* ---------- type ---------- */
.eyebrow{ font-size:17px; font-weight:600; color:var(--accent); letter-spacing:-0.01em; margin-bottom:10px; }
.eyebrow--dark{ color:var(--accent-on-dark); }
.display{
  font-size:clamp(40px, 6.4vw, 76px); line-height:1.04; font-weight:700; letter-spacing:-0.035em;
  text-wrap:balance;
}
.h1{ font-size:clamp(36px, 5vw, 60px); line-height:1.06; font-weight:700; letter-spacing:-0.032em; text-wrap:balance; }
.h2{ font-size:clamp(30px, 4vw, 48px); line-height:1.08; font-weight:700; letter-spacing:-0.03em; text-wrap:balance; }
.h3{ font-size:clamp(22px, 2.4vw, 28px); line-height:1.18; font-weight:650; letter-spacing:-0.022em; text-wrap:balance; }
.h4{ font-size:19px; line-height:1.3; font-weight:650; letter-spacing:-0.016em; }
.lead{ font-size:clamp(19px, 1.9vw, 22px); line-height:1.45; color:var(--ink-3); letter-spacing:-0.016em; text-wrap:pretty; }
.body{ color:var(--ink-2); text-wrap:pretty; }
.small{ font-size:14px; color:var(--ink-3); }
.muted{ color:var(--ink-3); }

.prose{ color:var(--ink-2); font-size:18px; line-height:1.65; }
.prose p + p{ margin-top:1em; }
.prose h2{ font-size:22px; font-weight:650; letter-spacing:-0.02em; margin:44px 0 12px; color:var(--ink); }
.prose a{ text-decoration:underline; text-underline-offset:3px; }

/* ---------- buttons and links ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:44px; padding:10px 22px; border-radius:999px; border:0;
  font-size:16px; font-weight:550; letter-spacing:-0.01em; line-height:1.2; cursor:pointer;
  transition:background-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
  text-decoration:none !important; white-space:nowrap;
}
.btn:active{ transform:scale(0.98); }
.btn--primary{ background:var(--accent); color:#fff; }
.btn--primary:hover{ background:var(--accent-2); }
.btn--secondary{ background:var(--bg-alt); color:var(--ink); }
.btn--secondary:hover{ background:var(--bg-sunk); }
.btn--white{ background:#fff; color:var(--ink); }
.btn--white:hover{ background:#eef1f5; }
.btn--ghost-dark{ background:rgba(255,255,255,0.1); color:#fff; }
.btn--ghost-dark:hover{ background:rgba(255,255,255,0.18); }
.btn--lg{ min-height:52px; padding:14px 28px; font-size:17px; }
.btn--sm{ min-height:34px; padding:6px 14px; font-size:14px; }
.actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.center .actions, .actions--center{ justify-content:center; }

.more{ display:inline-flex; align-items:center; gap:4px; font-weight:550; font-size:17px; color:var(--accent); }
.more svg{ width:16px; height:16px; transition:transform .2s var(--ease); }
.more:hover{ text-decoration:none; }
.more:hover svg{ transform:translateX(3px); }
.more--dark{ color:var(--accent-on-dark); }

/* ---------- status chip ---------- */
.chip-status{
  display:inline-flex; align-items:center; gap:6px; white-space:nowrap; vertical-align:middle;
  font-size:13px; font-weight:600; line-height:1; letter-spacing:0;
  padding:6px 10px 6px 8px; border-radius:999px; background:var(--bg-alt); color:var(--ink-2);
}
.chip-status__dot{ width:7px; height:7px; border-radius:50%; background:currentColor; flex:none; }
.chip-status--funcionando{ background:var(--ok-soft); color:var(--ok-ink); }
.chip-status--em-construcao{ background:var(--accent-soft); color:var(--accent-2); }
.chip-status--proximo{ background:var(--alert-soft); color:var(--alert-ink); }
.chip-status--no-roadmap{ background:var(--bg-alt); color:var(--ink-3); }
.chip-status--proximo .chip-status__dot{ background:var(--alert); }
.chip-status--funcionando .chip-status__dot{ background:var(--ok); }

/* ---------- language suggestion bar ---------- */
.langbar{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px 14px; position:relative;
  background:var(--bg-alt); border-bottom:1px solid var(--hair); padding:10px 52px; text-align:center;
  font-size:14px; color:var(--ink-2); animation:barIn .35s var(--ease);
}
@keyframes barIn{ from{ opacity:0; transform:translateY(-6px); } }
.langbar__text{ display:inline-flex; align-items:center; gap:8px; }
.langbar__flag{ font-size:17px; line-height:1; }
.langbar__go{ font-weight:600; white-space:nowrap; }
.langbar__close{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:30px; height:30px; border:0; border-radius:50%; background:transparent; color:var(--ink-3); cursor:pointer; font-size:18px;
}
.langbar__close:hover{ background:var(--bg-sunk); color:var(--ink); }

/* ---------- nav ---------- */
.nav{ position:sticky; top:0; z-index:50; border-bottom:1px solid var(--hair); }
/* The frosted background sits on a pseudo-element: a backdrop-filter on .nav itself would make it the
   containing block for the fixed mobile menu panel and squeeze it into the bar. */
.nav::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(255,255,255,0.78);
  -webkit-backdrop-filter:saturate(180%) blur(20px); backdrop-filter:saturate(180%) blur(20px);
}
.nav__inner{ max-width:1180px; margin:0 auto; padding:0 24px; height:var(--nav-h); display:flex; align-items:center; gap:28px; }
.brand{ display:flex; align-items:center; gap:9px; color:var(--ink); flex:none; }
.brand:hover{ text-decoration:none; }
.brand__icon{ width:30px; height:30px; }
.brand__word{ font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:-0.03em; }
.nav__links{ display:flex; align-items:center; gap:4px; margin:0 auto; }
.nav__links > a, .drop__top{
  color:var(--ink-2); font-size:14.5px; font-weight:500; padding:8px 12px; border-radius:999px; transition:color .15s, background-color .15s;
}
.nav__links > a:hover, .drop__top:hover{ color:var(--ink); background:rgba(0,0,0,0.04); text-decoration:none; }
.nav__links a.is-active, .drop__top.is-active{ color:var(--ink); font-weight:600; }
.nav__right{ display:flex; align-items:center; gap:10px; flex:none; }
.nav__cta{ min-height:36px; padding:8px 16px; font-size:14.5px; }

.drop{ position:relative; }
.drop__panel{
  position:absolute; top:calc(100% + 10px); left:50%; transform:translate(-50%, 6px);
  min-width:220px; padding:8px; background:#fff; border-radius:16px; box-shadow:var(--sh-2); border:1px solid var(--hair);
  opacity:0; visibility:hidden; transition:opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.drop__panel::before{ content:""; position:absolute; left:0; right:0; top:-12px; height:12px; }
.drop:hover .drop__panel, .drop:focus-within .drop__panel{ opacity:1; visibility:visible; transform:translate(-50%, 0); }
.drop__panel a{ display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; color:var(--ink); font-size:15px; font-weight:500; }
.drop__panel a:hover{ background:var(--bg-alt); text-decoration:none; }
.drop__panel a[aria-current]{ color:var(--accent); }
.drop__icon{ width:32px; height:32px; border-radius:9px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; flex:none; }
.drop__icon svg{ width:18px; height:18px; }

/* country and language pickers */
.pickers{ display:flex; gap:4px; }
.picker{ position:relative; }
.picker > summary{ list-style:none; }
.picker > summary::-webkit-details-marker{ display:none; }
.picker__btn{
  display:inline-flex; align-items:center; gap:5px; cursor:pointer; user-select:none;
  height:34px; padding:0 10px; border-radius:999px; font-size:13px; font-weight:600; color:var(--ink-2);
}
.picker__btn:hover{ background:rgba(0,0,0,0.05); color:var(--ink); }
.picker__btn::after{ content:""; width:6px; height:6px; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg) translate(-2px,-2px); opacity:.7; }
.picker[open] .picker__btn{ background:rgba(0,0,0,0.06); color:var(--ink); }
.picker__panel{
  position:absolute; right:0; top:calc(100% + 8px); z-index:60; min-width:236px; padding:8px;
  background:#fff; border-radius:16px; box-shadow:var(--sh-2); border:1px solid var(--hair);
}
.picker__label{ font-size:12px; font-weight:600; color:var(--ink-3); padding:6px 10px 8px; }
.picker__opt{ display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:10px; color:var(--ink); font-size:15px; }
.picker__opt:hover{ background:var(--bg-alt); text-decoration:none; }
.picker__opt.is-active{ background:var(--accent-soft); color:var(--accent-2); font-weight:600; }
.picker__code{ font-size:11px; font-weight:700; letter-spacing:0.02em; color:var(--ink-3); min-width:42px; }
.picker__opt.is-active .picker__code{ color:var(--accent); }

/* mobile menu */
.menu{ display:none; }
.menu > summary{ list-style:none; }
.menu > summary::-webkit-details-marker{ display:none; }
.menu__btn{
  width:40px; height:40px; border-radius:50%; display:grid; place-items:center; cursor:pointer; color:var(--ink);
  font-size:0;
}
.menu__btn:hover{ background:rgba(0,0,0,0.05); }
.menu__btn::before{
  content:""; width:18px; height:12px;
  background:linear-gradient(currentColor 0 0) top/100% 1.8px no-repeat, linear-gradient(currentColor 0 0) bottom/100% 1.8px no-repeat;
  transition:transform .2s;
}
.menu[open] .menu__btn::before{
  height:18px;
  background:linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
             linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.menu__panel{
  position:fixed; left:0; right:0; top:var(--menu-top, var(--nav-h)); bottom:0; z-index:49; overflow:auto;
  background:#fff; padding:16px 24px 40px; display:flex; flex-direction:column;
  animation:menuIn .25s var(--ease);
}
@keyframes menuIn{ from{ opacity:0; transform:translateY(-8px); } }
.menu__panel > a:not(.btn){ font-family:var(--display); font-size:26px; font-weight:650; letter-spacing:-0.025em; color:var(--ink); padding:10px 0; border-bottom:1px solid var(--hair); }
.menu__panel > a[aria-current]{ color:var(--accent); }
.menu__sub{ display:flex; flex-direction:column; padding:4px 0 8px 16px; border-bottom:1px solid var(--hair); }
.menu__sub a{ font-size:18px; color:var(--ink-2); padding:8px 0; }
.menu__panel .pickers{ margin:20px 0 16px; }
.menu__panel .picker__panel{ left:0; right:auto; }
.menu__panel .btn{ margin-top:8px; }
body:has(.menu[open]){ overflow:hidden; }

/* ---------- sections ---------- */
.section{ padding:120px 0; }
.section--alt{ background:var(--bg-alt); }
.section--tight{ padding:72px 0; }
.section--flush-top{ padding-top:0; }
.head{ text-align:center; max-width:820px; margin:0 auto 56px; }
.head .lead{ margin-top:16px; }
.head--left{ text-align:left; margin-left:0; }

.grid{ display:grid; gap:20px; }
.grid--2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.grid--3{ grid-template-columns:repeat(3, minmax(0,1fr)); }
.grid--4{ grid-template-columns:repeat(4, minmax(0,1fr)); }

.card{
  background:#fff; border-radius:var(--r-lg); padding:32px; box-shadow:var(--sh-1); border:1px solid var(--hair); overflow:hidden;
}
.section--alt .card{ border-color:transparent; }
.card--flat{ background:var(--bg-alt); box-shadow:none; border-color:transparent; }
.card__icon{
  width:44px; height:44px; border-radius:12px; display:grid; place-items:center; margin-bottom:20px;
  background:var(--accent-soft); color:var(--accent);
}
.card__icon svg{ width:24px; height:24px; }
.card__t{ font-size:20px; line-height:1.25; font-weight:650; letter-spacing:-0.02em; margin-bottom:8px; }
.card__b{ color:var(--ink-2); font-size:16px; line-height:1.55; }
.card__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:6px; }
.card .chip-status{ margin-top:16px; }
.card__top .chip-status{ margin-top:0; }
a.card{ color:inherit; transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
a.card:hover{ text-decoration:none; transform:translateY(-3px); box-shadow:var(--sh-2); }

.ico{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* tick list */
.ticks{ display:grid; gap:14px; }
.ticks li{ position:relative; padding-left:34px; color:var(--ink-2); line-height:1.5; }
.ticks li::before{
  content:""; position:absolute; left:0; top:1px; width:22px; height:22px; border-radius:50%; background:var(--ok-soft);
}
.ticks li::after{
  content:""; position:absolute; left:7px; top:6px; width:6px; height:10px;
  border-right:2px solid var(--ok); border-bottom:2px solid var(--ok); transform:rotate(45deg);
}
.ticks--dark li{ color:var(--on-dark-2); }
.ticks--dark li::before{ background:rgba(31,157,85,0.18); }
.ticks--dark li::after{ border-color:#5fd18f; }

/* feature list (grouped, like a settings table) */
.flist{ background:#fff; border-radius:var(--r); border:1px solid var(--hair); overflow:hidden; }
.flist__item{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; }
.flist__item + .flist__item{ border-top:1px solid var(--hair); }
.flist__text{ color:var(--ink); font-size:16px; line-height:1.45; }
.flist__group{ display:block; font-size:12.5px; font-weight:600; color:var(--ink-3); margin-bottom:2px; }
.card .flist{ border:0; border-radius:0; margin:0 -32px -32px; border-top:1px solid var(--hair); }
.card .flist__item{ padding:15px 32px; }
.fgroup__head{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.fgroup__head .card__icon{ margin:0; }

/* notice */
.notice{
  display:flex; align-items:center; gap:16px; padding:18px 22px; border-radius:var(--r);
  background:var(--alert-soft); color:var(--alert-ink); font-size:16px; line-height:1.5;
}
.notice .chip-status{ background:#fff; }
.notice--info{ background:var(--accent-soft); color:var(--accent-2); }

/* availability note (early-access countries) */
.avail{ padding:0 0 8px; }
.avail__inner{
  display:flex; gap:18px; align-items:flex-start; padding:22px 26px; border-radius:var(--r);
  background:var(--alert-soft); max-width:980px; margin:0 auto;
}
.avail__k{ flex:none; }
.avail__h{ font-size:17px; font-weight:650; letter-spacing:-0.015em; color:var(--alert-ink); margin-bottom:4px; }
.avail__b{ font-size:15px; color:#6b4a1c; line-height:1.5; }

/* ---------- hero (home) ---------- */
.hero{ padding:88px 0 0; text-align:center; overflow:hidden; }
.hero .display{ max-width:17ch; margin:0 auto; }
.hero__sub{ text-wrap:balance; }
.hero__sub{ max-width:640px; margin:22px auto 0; }
.hero .actions{ justify-content:center; margin-top:34px; }
.hero__proof{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 28px; margin-top:28px; font-size:14px; color:var(--ink-3); }
.hero__proof li{ display:flex; align-items:center; gap:8px; }
.hero__proof svg{ width:18px; height:18px; color:var(--ok); }
.hero__stage{ position:relative; margin-top:56px; padding-bottom:64px; }
.hero__stage::before{
  content:""; position:absolute; left:50%; top:12%; width:120%; height:90%; transform:translateX(-50%); z-index:-1;
  background:radial-gradient(ellipse at 50% 40%, rgba(31,95,174,0.16), transparent 62%);
}

/* ---------- interior page hero ---------- */
.pagehero{ padding:96px 0 72px; text-align:center; }
.pagehero .h1{ max-width:20ch; margin:0 auto; }
.pagehero .lead{ max-width:680px; margin:22px auto 0; }
.pagehero .actions{ justify-content:center; margin-top:32px; }
.pagehero + .avail{ margin-top:-24px; padding-bottom:40px; }

/* ============================================================
   Product illustrations. All illustrative; the base styles are the
   "alert" frame, so reduced motion shows a complete, still picture.
   ============================================================ */

/* app window */
.win{
  position:relative; background:#fff; border-radius:18px; box-shadow:var(--sh-2); border:1px solid var(--hair);
  overflow:hidden; text-align:left;
}
.win__bar{ display:flex; align-items:center; gap:14px; height:44px; padding:0 16px; border-bottom:1px solid var(--hair); background:#fbfbfd; }
.win__dots{ display:flex; gap:7px; }
.win__dots i{ width:11px; height:11px; border-radius:50%; background:#e2e2e6; }
.win__title{ display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--ink-2); }
.win__title svg{ width:18px; height:18px; }
.win__meta{ margin-left:auto; font-size:12px; font-weight:600; color:var(--ink-3); font-variant-numeric:tabular-nums; }

/* floor plan */
.floor{ padding:22px; display:grid; gap:14px; }
.floor__row{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
.floor__corridor{ height:30px; border-radius:10px; background:repeating-linear-gradient(90deg, var(--bg-alt) 0 14px, #fff 14px 18px); }
.room{ position:relative; border-radius:14px; border:1px solid var(--hair); background:#fcfcfd; padding:12px 12px 14px; }
.room__n{ font-size:12px; font-weight:600; color:var(--ink-3); margin-bottom:10px; }
.room__beds{ display:flex; gap:10px; }
.bed{ position:relative; flex:1; height:58px; border-radius:9px; background:var(--occ); }
.bed::before{ content:""; position:absolute; left:18%; right:18%; top:7px; height:9px; border-radius:4px; background:rgba(255,255,255,0.75); }
.bed--free{ background:transparent; border:1.5px dashed var(--line); }
.bed--free::before{ display:none; }
.bed__ring{ position:absolute; inset:-6px; border-radius:13px; border:2px solid var(--alert); opacity:0; pointer-events:none; }
.bed--alert{ background:var(--alert); }
.room--alert{ border-color:rgba(240,140,0,0.45); background:#fffaf2; }
.room__tag{
  position:absolute; right:10px; top:9px; font-size:11px; font-weight:700; color:var(--alert-ink);
  background:var(--alert-soft); padding:2px 7px; border-radius:999px;
}

/* notification (phone style) */
.notif{
  width:340px; max-width:100%; text-align:left; color:var(--ink);
  background:rgba(255,255,255,0.86); -webkit-backdrop-filter:blur(24px) saturate(180%); backdrop-filter:blur(24px) saturate(180%);
  border-radius:22px; padding:14px 16px 16px; box-shadow:var(--sh-3), 0 0 0 1px rgba(0,0,0,0.06);
}
.notif__head{ display:flex; align-items:center; gap:8px; font-size:12px; color:var(--ink-3); margin-bottom:8px; }
.notif__app{ width:22px; height:22px; border-radius:6px; background:var(--brand-900); display:grid; place-items:center; }
.notif__app svg{ width:16px; height:16px; }
.notif__app-name{ font-weight:600; color:var(--ink-2); font-size:12.5px; }
.notif__time{ margin-left:auto; }
.notif__t{ display:flex; align-items:center; gap:8px; font-size:16px; font-weight:650; letter-spacing:-0.015em; }
.notif__dot{ width:9px; height:9px; border-radius:50%; background:var(--alert); flex:none; }
.notif__b{ font-size:15px; color:var(--ink-2); margin-top:2px; }
.notif__actions{ display:grid; margin-top:12px; }
.notif__btn, .notif__ack{ grid-area:1/1; }
.notif__btn{
  position:relative; display:flex; align-items:center; justify-content:center; height:40px; border-radius:12px;
  background:var(--accent); color:#fff; font-size:15px; font-weight:600; overflow:hidden;
}
.notif__tap{ position:absolute; left:50%; top:50%; width:40px; height:40px; margin:-20px 0 0 -20px; border-radius:50%; background:rgba(255,255,255,0.55); opacity:0; }
.notif__ack{
  display:flex; align-items:center; gap:8px; min-height:40px; padding:0 12px; border-radius:12px;
  background:var(--ok-soft); color:var(--ok-ink); font-size:14px; font-weight:600; opacity:0;
}
.notif__ack svg{ width:18px; height:18px; flex:none; }

/* hero composition */
.demo{ position:relative; max-width:980px; margin:0 auto; }
.demo__win{ margin-right:110px; }
.demo__notif{ position:absolute; right:0; top:46%; }
.demo__caption{ margin-top:28px; font-size:14px; color:var(--ink-3); text-align:center; }

/* timing: one 9 s loop shared by bed, ring, notification, button and acknowledgment */
@media (prefers-reduced-motion: no-preference){
  .enhanced .anim .bed--alert{ animation:bedState 9s var(--ease) infinite; }
  .enhanced .anim .bed__ring{ animation:ring 9s ease-out infinite; }
  .enhanced .anim .room--alert{ animation:roomState 9s var(--ease) infinite; }
  .enhanced .anim .room__tag{ animation:tagState 9s var(--ease) infinite; }
  .enhanced .anim .notif{ animation:notifIn 9s var(--ease) infinite; }
  .enhanced .anim .notif__btn{ animation:btnOut 9s var(--ease) infinite; }
  .enhanced .anim .notif__tap{ animation:tap 9s ease-out infinite; }
  .enhanced .anim .notif__ack{ animation:ackIn 9s var(--ease) infinite; }
  .enhanced .anim .win__meta-ack{ animation:ackIn 9s var(--ease) infinite; }
}
@keyframes bedState{
  0%, 12%  { background:var(--occ); }
  15%, 60% { background:var(--alert); }
  64%, 92% { background:var(--ok); }
  100%     { background:var(--occ); }
}
@keyframes roomState{
  0%, 12%  { border-color:var(--hair); background:#fcfcfd; }
  15%, 60% { border-color:rgba(240,140,0,0.45); background:#fffaf2; }
  64%, 92% { border-color:rgba(31,157,85,0.35); background:#f5fcf8; }
  100%     { border-color:var(--hair); background:#fcfcfd; }
}
@keyframes tagState{ 0%, 13%{ opacity:0; transform:scale(.8); } 16%, 60%{ opacity:1; transform:none; } 63%, 100%{ opacity:0; } }
@keyframes ring{
  0%, 14% { opacity:0; transform:scale(.85); }
  15% { opacity:.9; transform:scale(.85); } 25% { opacity:0; transform:scale(1.45); }
  26% { opacity:.9; transform:scale(.85); } 36% { opacity:0; transform:scale(1.45); }
  37% { opacity:.9; transform:scale(.85); } 47% { opacity:0; transform:scale(1.45); }
  48% { opacity:.9; transform:scale(.85); } 58% { opacity:0; transform:scale(1.45); }
  100% { opacity:0; }
}
@keyframes notifIn{
  0%, 18%  { opacity:0; transform:translateY(-22px) scale(.96); }
  23%, 93% { opacity:1; transform:none; }
  98%, 100%{ opacity:0; transform:translateY(-10px) scale(.98); }
}
@keyframes btnOut{ 0%, 52%{ opacity:1; transform:none; } 54%{ transform:scale(.95); } 56%{ transform:none; opacity:1; } 60%, 100%{ opacity:0; } }
@keyframes tap{ 0%, 52%{ opacity:0; transform:scale(.4); } 53%{ opacity:1; transform:scale(.4); } 58%{ opacity:0; transform:scale(4); } 100%{ opacity:0; } }
@keyframes ackIn{ 0%, 59%{ opacity:0; transform:translateY(4px); } 63%, 93%{ opacity:1; transform:none; } 98%, 100%{ opacity:0; } }

/* ---------- feature tabs ---------- */
.tabs__list{
  display:none; margin:0 auto 40px; width:max-content; max-width:100%; padding:5px; gap:2px;
  background:var(--bg-sunk); border-radius:999px; overflow-x:auto; scrollbar-width:none;
}
.tabs__list::-webkit-scrollbar{ display:none; }
.enhanced .tabs__list{ display:flex; }
.tab{
  position:relative; display:flex; align-items:center; gap:8px; flex:none;
  height:42px; padding:0 18px; border:0; border-radius:999px; background:transparent; cursor:pointer;
  font-size:15px; font-weight:550; color:var(--ink-2); transition:color .2s, background-color .25s var(--ease), box-shadow .25s;
  overflow:hidden;
}
.tab svg{ width:18px; height:18px; }
.tab:hover{ color:var(--ink); }
.tab[aria-selected="true"]{ background:#fff; color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04); }
.tab__bar{ position:absolute; left:18px; right:18px; bottom:5px; height:2px; border-radius:2px; background:var(--accent); transform:scaleX(0); transform-origin:left; opacity:0; }
.tabs.is-auto .tab[aria-selected="true"] .tab__bar{ opacity:.85; animation:tabProgress var(--tab-ms, 8000ms) linear forwards; }
@keyframes tabProgress{ to{ transform:scaleX(1); } }

.tabs__panels{ display:grid; gap:24px; }
.enhanced .tabs__panel:not(.is-active){ display:none; }
.tabs__panel{
  display:grid; grid-template-columns:minmax(0, 0.85fr) minmax(0, 1.15fr); align-items:center; gap:56px;
  background:#fff; border-radius:32px; padding:56px; box-shadow:var(--sh-1); min-height:460px;
}
.enhanced .tabs__panel.is-active{ animation:panelIn .5s var(--ease); }
@keyframes panelIn{ from{ opacity:0; transform:translateY(10px); } }
.tabs__copy .h3{ margin:14px 0 12px; }
.tabs__copy .body{ font-size:17px; }
.tabs__copy .more{ margin-top:22px; }
.tabs__copy .body + p{ margin-top:16px; }
.tabs__label{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--ink-3); }
.tabs__label svg{ width:18px; height:18px; color:var(--accent); }
.tabs__visual{ position:relative; min-height:400px; display:grid; place-items:center; border-radius:24px; background:linear-gradient(160deg, #eef3fa, #f7f8fb 60%); overflow:hidden; padding:28px; }

/* tab visual: phone */
.phone{
  position:relative; width:270px; height:400px; border-radius:44px; padding:10px; background:#1b1b1f;
  box-shadow:var(--sh-2); margin-bottom:-90px; align-self:start; margin-top:20px;
}
.phone__screen{
  position:relative; height:100%; border-radius:35px; overflow:hidden; padding:58px 12px 0;
  background:linear-gradient(170deg, #1d3a66, #0c1a2b 70%); color:#fff; text-align:center;
}
.phone__island{ position:absolute; top:10px; left:50%; width:84px; height:24px; margin-left:-42px; border-radius:20px; background:#000; }
.phone__clock{ font-family:var(--display); font-size:58px; font-weight:600; letter-spacing:-0.03em; line-height:1; }
.phone__date{ font-size:13px; color:rgba(255,255,255,0.7); margin:6px 0 22px; }
.phone .notif{ width:auto; }

/* tab visual: resident record */
.rec{ width:100%; max-width:520px; }
.rec__body{ display:grid; grid-template-columns:150px 1fr; min-height:300px; }
.rec__nav{ border-right:1px solid var(--hair); padding:12px 8px; background:#fbfbfd; }
.rec__nav li{ font-size:12.5px; color:var(--ink-2); padding:6px 10px; border-radius:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rec__nav li:first-child{ background:var(--accent-soft); color:var(--accent-2); font-weight:600; }
.rec__main{ padding:18px; display:grid; gap:12px; align-content:start; }
.rec__who{ display:flex; align-items:center; gap:12px; }
.rec__avatar{ width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg, #c9daf2, #9fbde6); display:grid; place-items:center; color:#fff; }
.rec__avatar svg{ width:24px; height:24px; }
.rec__name{ font-size:15px; font-weight:650; }
.rec__bed{ font-size:12.5px; color:var(--ink-3); }
.rec__cards{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.rec__card{ border:1px solid var(--hair); border-radius:12px; padding:12px; display:grid; gap:8px; }
.rec__card--wide{ grid-column:1 / -1; }
.sk{ height:8px; border-radius:4px; background:var(--bg-sunk); }
.sk--40{ width:40%; } .sk--60{ width:60%; } .sk--80{ width:80%; } .sk--t{ height:10px; width:50%; background:#dcdce2; }
.rec__bars{ display:flex; align-items:flex-end; gap:6px; height:54px; }
.rec__bars i{ flex:1; border-radius:4px 4px 2px 2px; background:var(--occ); }
.rec__bars i:nth-child(1){ height:40%; } .rec__bars i:nth-child(2){ height:65%; } .rec__bars i:nth-child(3){ height:50%; }
.rec__bars i:nth-child(4){ height:80%; background:var(--accent); } .rec__bars i:nth-child(5){ height:60%; } .rec__bars i:nth-child(6){ height:72%; }
@media (prefers-reduced-motion: no-preference){
  .enhanced .is-active .sk{ background:linear-gradient(90deg, var(--bg-sunk) 0%, #f6f6f8 50%, var(--bg-sunk) 100%) 0 0 / 200% 100%; animation:shimmer 2.4s linear infinite; }
  .enhanced .is-active .rec__bars i{ animation:grow .9s var(--ease) both; transform-origin:bottom; }
  .enhanced .is-active .rec__bars i:nth-child(2){ animation-delay:.08s; } .enhanced .is-active .rec__bars i:nth-child(3){ animation-delay:.16s; }
  .enhanced .is-active .rec__bars i:nth-child(4){ animation-delay:.24s; } .enhanced .is-active .rec__bars i:nth-child(5){ animation-delay:.32s; }
  .enhanced .is-active .rec__bars i:nth-child(6){ animation-delay:.4s; }
}
@keyframes shimmer{ to{ background-position:-200% 0; } }
@keyframes grow{ from{ transform:scaleY(0); } }

/* tab visual: occupancy */
.occ{ width:100%; max-width:540px; }
.occ .floor{ padding:18px; gap:12px; }
.occ .bed{ height:46px; }
.occ__legend{ display:flex; gap:18px; padding:0 18px 16px; font-size:12.5px; color:var(--ink-3); }
.occ__legend span{ display:flex; align-items:center; gap:6px; }
.occ__legend i{ width:14px; height:14px; border-radius:4px; background:var(--occ); }
.occ__legend i.free{ background:transparent; border:1.5px dashed var(--line); }
@media (prefers-reduced-motion: no-preference){
  .enhanced .is-active .occ .room{ animation:pop .55s var(--ease) both; }
  .enhanced .is-active .occ .floor__row:first-child .room:nth-child(2){ animation-delay:.06s; }
  .enhanced .is-active .occ .floor__row:first-child .room:nth-child(3){ animation-delay:.12s; }
  .enhanced .is-active .occ .floor__row:first-child .room:nth-child(4){ animation-delay:.18s; }
  .enhanced .is-active .occ .floor__row:last-child .room:nth-child(1){ animation-delay:.24s; }
  .enhanced .is-active .occ .floor__row:last-child .room:nth-child(2){ animation-delay:.3s; }
  .enhanced .is-active .occ .floor__row:last-child .room:nth-child(3){ animation-delay:.36s; }
  .enhanced .is-active .occ .floor__row:last-child .room:nth-child(4){ animation-delay:.42s; }
}
@keyframes pop{ from{ opacity:0; transform:translateY(10px) scale(.96); } }

/* belongings: tagged jacket passing the door reader */
.rfid{ position:relative; width:100%; max-width:520px; display:grid; gap:18px; }
.rfid__scene{ position:relative; height:200px; border-radius:20px; background:#fff; border:1px solid var(--hair); overflow:hidden; box-shadow:var(--sh-1); }
.rfid__floor{ position:absolute; left:0; right:0; bottom:0; height:38px; background:var(--bg-alt); }
.rfid__door{ position:absolute; left:50%; bottom:38px; width:96px; height:138px; margin-left:-48px; border:3px solid #d8dbe2; border-bottom:0; border-radius:8px 8px 0 0; }
.rfid__reader{ position:absolute; left:calc(50% + 72px); bottom:52px; width:14px; height:104px; border-radius:6px; background:var(--brand-700); }
.rfid__waves{ position:absolute; left:calc(50% + 38px); bottom:86px; width:36px; height:36px; }
.rfid__waves path{ fill:none; stroke:var(--accent); stroke-width:2.5; stroke-linecap:round; }
.rfid__item{ position:absolute; left:calc(50% - 40px); bottom:44px; width:80px; height:80px; color:var(--accent); }
.rfid__item .jacket{ fill:#3d6fb3; }
.rfid__item .tagmark{ fill:var(--alert); }
.rfid__event{ display:flex; align-items:center; gap:14px; background:#fff; border-radius:16px; padding:14px 16px; box-shadow:var(--sh-3); border:1px solid var(--hair); }
.rfid__event .card__icon{ margin:0; width:40px; height:40px; background:var(--alert-soft); color:var(--alert-ink); }
.rfid__event-t{ font-size:15px; font-weight:650; }
.rfid__event-b{ font-size:13px; color:var(--ink-3); }
@media (prefers-reduced-motion: no-preference){
  .enhanced .anim .rfid__item{ animation:walk 6s var(--ease) infinite; }
  .enhanced .anim .rfid__waves{ animation:waves 6s ease-out infinite; }
  .enhanced .anim .rfid__event{ animation:eventIn 6s var(--ease) infinite; }
}
.rfid__waves{ opacity:1; }
@keyframes walk{ 0%{ transform:translateX(-240px); opacity:0; } 8%{ opacity:1; } 36%, 62%{ transform:none; opacity:1; } 86%{ transform:translateX(240px); opacity:0; } 100%{ transform:translateX(240px); opacity:0; } }
@keyframes waves{ 0%, 34%{ opacity:0; transform:scale(.7); } 40%{ opacity:1; transform:none; } 46%{ opacity:.25; } 52%{ opacity:1; } 60%, 100%{ opacity:0; } }
@keyframes eventIn{ 0%, 42%{ opacity:0; transform:translateY(10px); } 48%, 94%{ opacity:1; transform:none; } 100%{ opacity:0; } }

/* staff and access */
.staff{ width:100%; max-width:460px; }
.staff__list{ padding:8px 0; }
.staff__row{ display:flex; align-items:center; gap:12px; padding:11px 18px; }
.staff__row + .staff__row{ border-top:1px solid var(--hair); }
.staff__avatar{ width:34px; height:34px; border-radius:50%; flex:none; display:grid; place-items:center; color:#fff; }
.staff__avatar svg{ width:18px; height:18px; }
.staff__row:nth-child(1) .staff__avatar{ background:#5b8bd0; }
.staff__row:nth-child(2) .staff__avatar{ background:#3fa77a; }
.staff__row:nth-child(3) .staff__avatar{ background:#d58a3a; }
.staff__row:nth-child(4) .staff__avatar{ background:#8a7bd1; }
.staff__name{ flex:1; display:grid; gap:6px; }
.staff__role{ font-size:12px; font-weight:600; padding:4px 9px; border-radius:999px; background:var(--bg-alt); color:var(--ink-2); }
.staff__lock{ width:18px; height:18px; color:var(--ok); }
.staff__2fa{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-top:1px solid var(--hair); background:#fbfbfd; font-size:14px; font-weight:600; }
.toggle{ position:relative; width:46px; height:28px; border-radius:999px; background:var(--ok); flex:none; }
.toggle::after{ content:""; position:absolute; top:3px; left:21px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,0.2); }
@media (prefers-reduced-motion: no-preference){
  .enhanced .is-active .staff__row{ animation:pop .5s var(--ease) both; }
  .enhanced .is-active .staff__row:nth-child(2){ animation-delay:.08s; }
  .enhanced .is-active .staff__row:nth-child(3){ animation-delay:.16s; }
  .enhanced .is-active .staff__row:nth-child(4){ animation-delay:.24s; }
  .enhanced .is-active .toggle{ animation:toggleBg .5s .7s var(--ease) both; }
  .enhanced .is-active .toggle::after{ animation:toggleKnob .5s .7s var(--ease) both; }
}
@keyframes toggleBg{ from{ background:#d7d7dc; } }
@keyframes toggleKnob{ from{ left:3px; } }

/* ---------- roles ---------- */
.role{ padding:28px; }
.role .card__icon{ width:52px; height:52px; border-radius:16px; }
.role .card__icon svg{ width:26px; height:26px; }
.role:nth-child(2) .card__icon{ background:var(--ok-soft); color:var(--ok-ink); }
.role:nth-child(3) .card__icon{ background:var(--alert-soft); color:var(--alert-ink); }
.role:nth-child(4) .card__icon{ background:#f0edfb; color:#5a48a8; }

/* ---------- privacy band and flow diagram ---------- */
.darkcard{
  position:relative; overflow:hidden; background:var(--dark); color:var(--on-dark); border-radius:36px; padding:72px 64px;
}
.darkcard::before{
  content:""; position:absolute; right:-20%; top:-40%; width:80%; height:120%;
  background:radial-gradient(closest-side, rgba(31,95,174,0.35), transparent); pointer-events:none;
}
.darkcard .h2, .darkcard .h3, .darkcard h2, .darkcard h3{ color:#fff; }
.darkcard .lead, .darkcard .body{ color:var(--on-dark-2); }
.darkcard__grid{ position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:56px; align-items:center; }
.darkcard__copy .ticks{ margin:28px 0; }

.flow{ position:relative; display:grid; grid-template-columns:auto 1fr auto 1fr auto; align-items:center; gap:0; padding:28px 0 0; }
.flow__node{ display:grid; justify-items:center; gap:10px; text-align:center; width:112px; }
.flow__icon{
  width:72px; height:72px; border-radius:22px; display:grid; place-items:center;
  background:rgba(255,255,255,0.08); border:1px solid var(--dark-line); color:#fff;
}
.flow__icon svg{ width:32px; height:32px; }
.flow__icon--brand{ background:#fff; }
.flow__icon--brand svg{ width:44px; height:44px; }
.flow__icon--alert{ background:rgba(240,140,0,0.16); border-color:rgba(240,140,0,0.4); color:#ffb547; }
.flow__label{ font-size:13px; line-height:1.35; color:var(--on-dark-2); font-weight:500; }
.flow__link{ position:relative; height:2px; margin:0 6px 30px; background:repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 6px, transparent 6px 11px); }
.flow__link::after{ content:""; position:absolute; top:-4px; left:0; width:10px; height:10px; border-radius:50%; background:#ffb547; box-shadow:0 0 12px #ffb547; }
.flow__drop{
  grid-column:1 / 2; grid-row:2; justify-self:center; margin-top:14px; position:relative;
  display:grid; justify-items:center; gap:8px; text-align:center; width:132px;
}
.flow__drop::before{ content:""; width:2px; height:26px; background:repeating-linear-gradient(180deg, rgba(255,255,255,0.3) 0 5px, transparent 5px 9px); }
.flow__drop .flow__icon{ width:52px; height:52px; border-radius:16px; color:#ff8a80; background:rgba(255,90,80,0.12); border-color:rgba(255,90,80,0.35); }
.flow__drop .flow__icon svg{ width:24px; height:24px; }
.flow__drop .flow__label{ color:#ffb3ad; font-weight:600; }
@media (prefers-reduced-motion: no-preference){
  .enhanced .flow__link::after{ animation:travel 3s var(--ease) infinite; }
  .enhanced .flow__link--2::after{ animation-delay:1.5s; }
}
@keyframes travel{ 0%{ left:0; opacity:0; } 10%{ opacity:1; } 90%{ opacity:1; } 100%{ left:calc(100% - 10px); opacity:0; } }

/* light variant (privacy page) */
.flow--light .flow__icon{ background:var(--bg-alt); border-color:var(--hair); color:var(--ink); }
.flow--light .flow__icon--brand{ background:#fff; box-shadow:var(--sh-1); }
.flow--light .flow__icon--alert{ background:var(--alert-soft); border-color:rgba(240,140,0,0.3); color:var(--alert-ink); }
.flow--light .flow__label{ color:var(--ink-2); }
.flow--light .flow__link{ background:repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.flow--light .flow__link::after{ background:var(--alert); box-shadow:0 0 10px rgba(240,140,0,0.6); }
.flow--light .flow__drop::before{ background:repeating-linear-gradient(180deg, var(--line) 0 5px, transparent 5px 9px); }
.flow--light .flow__drop .flow__icon{ background:#fdecea; border-color:#f7c6c0; color:#c0392b; }
.flow--light .flow__drop .flow__label{ color:#b03a2e; }

/* ---------- stepper (how a home starts, deployment) ---------- */
.stepper{ position:relative; display:grid; grid-template-columns:repeat(var(--n, 4), minmax(0,1fr)); gap:24px; counter-reset:step; }
.stepper--4{ --n:4; }
.stepper--6{ --n:6; gap:18px; }
.stepper::before{
  content:""; position:absolute; top:23px; left:calc(100% / var(--n) / 2); right:calc(100% / var(--n) / 2); height:2px; background:var(--line);
}
.stepper::after{
  content:""; position:absolute; top:23px; left:calc(100% / var(--n) / 2); right:calc(100% / var(--n) / 2); height:2px; background:var(--accent);
  transform-origin:left; transform:scaleX(1);
}
.enhanced .stepper.reveal::after{ transform:scaleX(0); transition:transform 1.6s .2s var(--ease); }
.enhanced .stepper.reveal.in::after{ transform:scaleX(1); }
.step{ position:relative; text-align:center; counter-increment:step; }
.step::before{
  content:counter(step); position:relative; z-index:1; display:grid; place-items:center; margin:0 auto 20px;
  width:48px; height:48px; border-radius:50%; background:#fff; border:2px solid var(--accent); color:var(--accent);
  font-size:18px; font-weight:700; font-variant-numeric:tabular-nums;
}
.section--alt .step::before{ background:var(--bg-alt); }
.step:last-child::before{ background:var(--accent); color:#fff; }
.step__t{ font-size:18px; font-weight:650; letter-spacing:-0.016em; margin-bottom:6px; }
.step__b{ font-size:15px; color:var(--ink-2); line-height:1.5; max-width:30ch; margin:0 auto; }

/* ---------- fall timeline diagram ---------- */
.tl{ margin:0; position:relative; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px; padding:40px; border-radius:32px; background:var(--bg-alt); }
.tl__stage{ display:grid; justify-items:center; align-content:start; gap:16px; text-align:center; }
.tl__art{ width:100%; max-width:220px; height:150px; border-radius:20px; background:#fff; display:grid; place-items:center; position:relative; box-shadow:var(--sh-1); }
.tl__art svg{ width:180px; height:120px; }
.tl__art .bedframe{ fill:#dfe6f1; }
.tl__art .mattress{ fill:#fff; stroke:#cfd8e6; stroke-width:2; }
.tl__art .pillow{ fill:#e9eef6; }
.tl__art .person{ fill:none; stroke:var(--brand-700); stroke-width:7; stroke-linecap:round; stroke-linejoin:round; }
.tl__art .head{ fill:var(--brand-700); }
.tl__dot{ width:16px; height:16px; border-radius:50%; background:#fff; border:3px solid var(--line); position:relative; z-index:1; }
.tl__line{ position:absolute; left:calc(40px + (100% - 140px) / 8); right:calc(40px + (100% - 140px) / 8); top:calc(40px + 150px + 16px + 7px); height:3px; background:var(--line); border-radius:3px; }
.tl__name{ font-size:18px; font-weight:650; letter-spacing:-0.016em; }
.tl__mark{ display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; padding:8px 14px; border-radius:999px; }
.tl__stage--alert .tl__art{ box-shadow:0 0 0 3px var(--alert), var(--sh-2); }
.tl__stage--alert .tl__dot{ border-color:var(--alert); background:var(--alert); }
.tl__stage--alert .tl__mark{ background:var(--alert); color:#fff; }
.tl__stage--late .tl__mark{ background:#fff; color:var(--ink-3); border:1px dashed var(--line); }
.tl__stage--late .tl__art{ opacity:.7; }
.tl__ping{ position:absolute; right:14px; top:14px; width:14px; height:14px; border-radius:50%; background:var(--alert); }
.tl__ping::after{ content:""; position:absolute; inset:0; border-radius:50%; background:var(--alert); }
@media (prefers-reduced-motion: no-preference){
  .enhanced .tl__ping::after{ animation:ping 1.6s ease-out infinite; }
}
@keyframes ping{ to{ transform:scale(3); opacity:0; } }

/* ---------- platform stack diagram ---------- */
.stack{ margin:0; display:grid; gap:14px; padding:40px; border-radius:32px; background:var(--bg-alt); }
.stack__mods{ display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:12px; }
.mod{
  display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:16px; background:#fff; box-shadow:var(--sh-1);
  font-size:15px; font-weight:600; letter-spacing:-0.012em; border-top:3px solid var(--line);
}
.mod svg{ width:22px; height:22px; flex:none; color:var(--ink-3); }
.mod--funcionando{ border-top-color:var(--ok); } .mod--funcionando svg{ color:var(--ok); }
.mod--em-construcao{ border-top-color:var(--accent); } .mod--em-construcao svg{ color:var(--accent); }
.mod--proximo{ border-top-color:var(--alert); } .mod--proximo svg{ color:var(--alert); }
.mod--no-roadmap{ background:rgba(255,255,255,0.6); color:var(--ink-3); box-shadow:none; border:1px dashed var(--line); border-top:3px dashed var(--line); }
.stack__base{
  display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap;
  padding:24px; border-radius:20px; background:var(--dark); color:#fff; font-size:19px; font-weight:650; letter-spacing:-0.016em;
}
.stack__base svg{ width:28px; height:28px; }
.stack__base .chip-status{ background:rgba(31,157,85,0.2); color:#7be2a6; }
@media (prefers-reduced-motion: no-preference){
  .enhanced .stack.reveal .mod{ opacity:0; transform:translateY(14px); transition:opacity .5s var(--ease), transform .5s var(--ease); }
  .enhanced .stack.reveal.in .mod{ opacity:1; transform:none; }
}
.legend{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; margin-top:24px; }
.legend p{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--ink-3); }

/* ---------- FAQ ---------- */
.faq{ border-top:1px solid var(--line); }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__q{
  list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:24px 0; font-size:19px; font-weight:600; letter-spacing:-0.016em;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__q::after{
  content:""; flex:none; width:28px; height:28px; border-radius:50%; background:var(--bg-alt);
  background-image:linear-gradient(var(--ink) 0 0), linear-gradient(var(--ink) 0 0);
  background-size:12px 2px, 2px 12px; background-position:center; background-repeat:no-repeat; transition:transform .25s var(--ease);
}
.faq__item[open] .faq__q::after{ transform:rotate(45deg); }
.faq__a{ padding:0 48px 26px 0; color:var(--ink-2); line-height:1.6; }

/* ---------- closing ---------- */
.closing{ padding:40px 0 120px; }
.closing__card{
  position:relative; overflow:hidden; text-align:center; padding:80px 32px; border-radius:36px;
  background:linear-gradient(180deg, #f1f5fb, #f5f5f7);
}
.closing__mark{ width:64px; height:64px; margin:0 auto 26px; }
.closing__card .h2{ max-width:18ch; margin:0 auto; }
.closing__card .lead{ max-width:620px; margin:18px auto 0; }
.closing__card .actions{ justify-content:center; margin-top:32px; }
.closing__note{ margin-top:20px; font-size:14px; color:var(--ink-3); }

/* ---------- link cards ---------- */
.linkcard{ display:flex; flex-direction:column; justify-content:space-between; min-height:170px; }
.linkcard .card__t{ margin:0; }
.linkcard .more{ margin-top:22px; font-size:15px; }

/* ---------- status table ---------- */
.tablewrap{ overflow-x:auto; border-radius:var(--r); border:1px solid var(--hair); background:#fff; }
.stable{ width:100%; border-collapse:collapse; font-size:15px; }
.stable th{ text-align:left; font-size:12.5px; font-weight:600; color:var(--ink-3); padding:14px 20px; background:#fbfbfd; border-bottom:1px solid var(--hair); }
.stable td{ padding:14px 20px; border-bottom:1px solid var(--hair); vertical-align:middle; color:var(--ink); }
.stable tr:last-child td{ border-bottom:0; }
.stable td:first-child{ color:var(--ink-3); white-space:nowrap; font-size:14px; }
.updated{ font-size:14px; color:var(--ink-3); }

/* policy */
.draft{ padding:16px 20px; border-radius:var(--r-sm); background:var(--alert-soft); color:var(--alert-ink); font-size:15px; margin-bottom:12px; }
.policy__s{ margin-top:40px; }
.policy__s h2{ font-size:22px; font-weight:650; letter-spacing:-0.02em; margin-bottom:12px; }
.policy__s p{ color:var(--ink-2); line-height:1.65; }
.policy__s p + p{ margin-top:12px; }

/* ---------- contact ---------- */
.contact{ display:grid; grid-template-columns:minmax(0, 0.8fr) minmax(0, 1.2fr); gap:56px; align-items:start; }
.contact__aside{ position:sticky; top:calc(var(--nav-h) + 32px); display:grid; gap:28px; }
.nextlist{ display:grid; gap:22px; counter-reset:n; }
.nextlist li{ position:relative; padding-left:48px; color:var(--ink-2); line-height:1.5; counter-increment:n; }
.nextlist li::before{
  content:counter(n); position:absolute; left:0; top:-3px; width:32px; height:32px; border-radius:50%;
  display:grid; place-items:center; background:var(--accent-soft); color:var(--accent); font-weight:700; font-size:15px;
}
.mailcard{ display:flex; align-items:center; gap:14px; padding:18px 20px; border-radius:var(--r); background:var(--bg-alt); }
.mailcard .card__icon{ margin:0; background:#fff; }
.mailcard p{ font-size:14px; color:var(--ink-3); }
.mailcard a{ font-weight:600; font-size:16px; }

.form{ display:grid; grid-template-columns:1fr 1fr; gap:18px 16px; padding:40px; border-radius:32px; background:#fff; box-shadow:var(--sh-2); border:1px solid var(--hair); }
.form > *{ grid-column:1 / -1; }
.form > .field--half{ grid-column:auto; }
.form__req{ font-size:13px; color:var(--ink-3); }
.field{ display:grid; gap:7px; }
.field label{ font-size:14px; font-weight:600; color:var(--ink); }
.field input, .field textarea, .field select{
  width:100%; font:inherit; font-size:16px; color:var(--ink); background:#fff;
  /* #86868b keeps the field edge at 3:1 or more against white (WCAG 1.4.11) */
  border:1px solid #86868b; border-radius:12px; padding:13px 14px; transition:border-color .15s, box-shadow .15s;
  -webkit-appearance:none; appearance:none;
}
.field select{
  background-image:linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position:calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size:5px 5px; background-repeat:no-repeat; padding-right:40px;
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent); }
.field textarea{ resize:vertical; min-height:120px; }
.field [aria-invalid="true"]{ border-color:#c0392b; }
.field__err{ font-size:13.5px; color:#b03a2e; }
.field--hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.check{ display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; font-size:14.5px; color:var(--ink-2); line-height:1.5; }
.check input{ width:20px; height:20px; margin:1px 0 0; accent-color:var(--accent); }
.check .field__err{ grid-column:2; }
.form button[type=submit]{ justify-self:start; }
.form__errors{ padding:16px 20px; border-radius:var(--r-sm); background:#fdecea; color:#8e2a20; font-size:15px; }
.form__errors:focus{ outline:2px solid #c0392b; }
.form__errors ul{ margin-top:8px; padding-left:18px; list-style:disc; }
.form__errors a{ color:#8e2a20; text-decoration:underline; }
.form__success{ padding:24px; border-radius:var(--r); background:var(--ok-soft); color:var(--ok-ink); }
.form__success .h3{ color:var(--ok-ink); margin-bottom:6px; }

/* ---------- error and thanks ---------- */
.notfound{ min-height:calc(100vh - var(--nav-h) - 200px); display:grid; place-items:center; text-align:center; padding:96px 0; }
.notfound__code{ font-family:var(--display); font-size:clamp(96px, 16vw, 180px); font-weight:800; letter-spacing:-0.06em; line-height:1; background:linear-gradient(180deg, var(--accent), #9fbde6); -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:12px; }
.notfound .h1{ max-width:18ch; margin:0 auto; }
.notfound .lead{ max-width:560px; margin:18px auto 0; }
.notfound .actions{ justify-content:center; margin-top:32px; }
.notfound__mark{ width:72px; height:72px; margin:0 auto 24px; }

/* ---------- footer ---------- */
.footer{ background:var(--bg-alt); border-top:1px solid var(--hair); padding:56px 0 32px; font-size:13.5px; color:var(--ink-3); }
.footer__top{ display:grid; grid-template-columns:1.6fr repeat(3, 1fr); gap:32px; padding-bottom:32px; border-bottom:1px solid var(--line); }
.footer__brand{ display:flex; align-items:center; gap:9px; color:var(--ink); margin-bottom:12px; }
.footer__icon{ width:26px; height:26px; }
.footer__word{ font-family:var(--display); font-weight:700; font-size:17px; letter-spacing:-0.03em; }
.footer__tag{ max-width:34ch; line-height:1.5; margin-bottom:14px; }
.footer__mail{ font-weight:600; }
.footer__col{ display:flex; flex-direction:column; gap:10px; }
.footer__head{ font-size:13px; font-weight:650; color:var(--ink); margin-bottom:2px; font-family:var(--sans); }
.footer__col a{ color:var(--ink-3); }
.footer__col a:hover{ color:var(--ink); }
.footer__bottom{ display:flex; justify-content:space-between; gap:16px; padding-top:20px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference){
  .enhanced .reveal{ opacity:0; transform:translateY(18px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
  .enhanced .reveal.in{ opacity:1; transform:none; }
  .enhanced .stepper.reveal, .enhanced .stack.reveal{ opacity:1; transform:none; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1080px){
  .nav__links{ display:none; }
  .nav__right .pickers, .nav__cta{ display:none; }
  .nav__right{ margin-left:auto; }
  .menu{ display:block; }
  .tabs__panel{ grid-template-columns:1fr; gap:36px; padding:40px; min-height:0; }
  .darkcard__grid{ grid-template-columns:1fr; gap:40px; }
  .grid--4{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .stepper--6{ --n:3; row-gap:40px; }
  .stepper--6::before, .stepper--6::after{ display:none; }
  .contact{ grid-template-columns:1fr; gap:40px; }
  .card--feature .grid--2{ grid-template-columns:1fr; }
  .contact__aside{ position:static; }
  .footer__top{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 760px){
  body{ font-size:16px; }
  .container{ padding:0 16px; }
  .nav__inner{ padding:0 16px; }
  .section{ padding:76px 0; }
  .head{ margin-bottom:36px; }
  .hero{ padding-top:56px; }
  .hero__stage{ margin-top:44px; padding-bottom:40px; }
  .demo__win{ margin-right:0; }
  .demo__notif{ position:relative; right:auto; bottom:auto; margin:-40px auto 0; width:min(340px, 92%); }
  .demo__caption{ margin-top:24px; }
  .floor{ padding:12px; gap:10px; }
  .floor__row{ gap:8px; }
  .room{ padding:8px; border-radius:10px; }
  .room__n{ font-size:10.5px; margin-bottom:6px; }
  .room__beds{ gap:5px; }
  .bed{ height:38px; border-radius:6px; }
  .bed::before{ top:5px; height:6px; }
  .room__tag{ display:none; }
  .floor__corridor{ height:16px; }
  .win__title span{ display:none; }
  .pagehero{ padding:64px 0 48px; }
  .grid--2, .grid--3, .grid--4{ grid-template-columns:1fr; }
  .card{ padding:26px; border-radius:24px; }
  .card .flist{ margin:0 -26px -26px; }
  .card .flist__item{ padding:14px 26px; }
  .tabs__list{ width:auto; justify-content:flex-start; border-radius:999px; }
  .tab{ padding:0 14px; font-size:14px; }
  .tab svg{ display:none; }
  .tabs__panel{ padding:28px 22px; border-radius:26px; gap:28px; }
  .tabs__visual{ min-height:320px; padding:20px 14px; border-radius:20px; }
  .phone{ transform:scale(.88); transform-origin:top center; }
  .rec__body{ grid-template-columns:1fr; }
  .rec__nav{ display:flex; gap:4px; overflow:hidden; border-right:0; border-bottom:1px solid var(--hair); }
  .darkcard{ padding:44px 22px; border-radius:28px; }
  .flow{ grid-template-columns:1fr; justify-items:center; gap:0; }
  .flow__node{ width:auto; }
  .flow__link{ width:2px; height:40px; margin:10px 0; background:repeating-linear-gradient(180deg, rgba(255,255,255,0.3) 0 6px, transparent 6px 11px); }
  .flow--light .flow__link{ background:repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
  .flow__link::after{ left:-4px !important; animation-name:travelY !important; }
  .flow__drop{ grid-column:auto; grid-row:auto; margin-top:24px; }
  .flow__drop::before{ display:none; }
  .stepper, .stepper--6{ --n:1; grid-template-columns:1fr; gap:0; }
  .stepper::before, .stepper::after{ display:none; }
  .step{ display:grid; grid-template-columns:48px 1fr; column-gap:18px; text-align:left; padding-bottom:28px; position:relative; }
  .step::before{ margin:0; grid-row:span 2; }
  .step:not(:last-child)::after{ content:""; position:absolute; left:23px; top:52px; bottom:4px; width:2px; background:var(--line); }
  .step__b{ margin:0; }
  .tl{ grid-template-columns:1fr; padding:22px; gap:28px; }
  .tl__line{ display:none; }
  .tl__dot{ display:none; }
  .stack{ padding:20px; }
  .stack__mods{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .mod{ min-width:0; overflow-wrap:anywhere; hyphens:auto; }
  .mod{ font-size:13.5px; padding:12px; }
  .closing{ padding:24px 0 76px; }
  .closing__card{ padding:56px 22px; border-radius:28px; }
  .form{ grid-template-columns:1fr; padding:24px; border-radius:24px; }
  .form > .field--half{ grid-column:1 / -1; }
  .faq__q{ font-size:17px; }
  .role{ display:grid; grid-template-columns:52px 1fr; column-gap:16px; padding:22px; }
  .role .card__icon{ margin:0; grid-row:span 2; }
  .role .card__t{ margin-bottom:4px; }
  .footer__top{ grid-template-columns:1fr; }
  .footer__bottom{ flex-direction:column; }
  .notice, .avail__inner{ flex-direction:column; align-items:flex-start; gap:10px; }
}
@keyframes travelY{ 0%{ top:0; opacity:0; } 10%{ opacity:1; } 90%{ opacity:1; } 100%{ top:calc(100% - 10px); opacity:0; } }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ transition-duration:.01ms !important; }
}
.after{ margin-top:44px; }
.after-sm{ margin-top:18px; }
.h3--list{ margin-bottom:18px; }
.grid--top{ align-items:start; gap:56px; }
.grid--center{ align-items:center; gap:56px; }
.showcase{ margin:0; padding:48px; border-radius:32px; background:linear-gradient(160deg, #eef3fa, #f7f8fb 60%); display:grid; justify-items:center; gap:22px; }
.card__icon--dark{ background:rgba(255,255,255,0.1); color:#fff; }
@media (max-width: 760px){
  .showcase{ padding:22px 14px; border-radius:24px; }
  .grid--top, .grid--center{ gap:32px; }
}
.tl__art .legs{ stroke:#cfd8e6; stroke-width:5; stroke-linecap:round; fill:none; }
.linkcard .card__t{ display:block; }
.card--span{ grid-column:1 / -1; }
.card--feature{ padding:48px; }
.darkcard__cols{ position:relative; gap:40px; }
.notice > svg{ width:22px; height:22px; flex:none; }
@media (max-width: 760px){ .card--feature{ padding:26px; } }
.drop{ display:flex; align-items:center; }

/* ---------- features panel in the menu bar ---------- */
.drop__top{ display:inline-flex; align-items:center; gap:4px; }
.drop__chev{ width:14px; height:14px; transform:rotate(90deg); opacity:.6; transition:transform .2s var(--ease); }
.drop:hover .drop__chev, .drop:focus-within .drop__chev{ transform:rotate(-90deg); }
.mega{ left:-16px; transform:translateY(6px); width:640px; padding:12px; }
.drop:hover .mega, .drop:focus-within .mega{ transform:none; }
.mega__grid{ display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.drop__panel a.mega__item{ align-items:flex-start; padding:12px; gap:14px; }
.mega__item .drop__icon{ width:38px; height:38px; border-radius:11px; }
.mega__item .drop__icon svg{ width:20px; height:20px; }
.mega__text{ display:grid; gap:2px; }
.mega__t{ display:flex; align-items:center; gap:8px; font-size:15px; font-weight:600; color:var(--ink); }
.mega__t .chip-status{ font-size:11px; padding:3px 7px 3px 6px; }
.mega__d{ font-size:13px; font-weight:400; color:var(--ink-3); line-height:1.4; }
.drop__panel a.mega__foot{
  margin-top:8px; padding:14px 12px; border-top:1px solid var(--hair); border-radius:0 0 10px 10px;
  font-size:14px; font-weight:600; color:var(--accent); gap:10px;
}
.mega__foot svg{ width:18px; height:18px; }
.mega__foot .mega__chev{ width:14px; height:14px; margin-left:auto; }

.menu__label{ font-size:13px; font-weight:600; color:var(--ink-3); margin:8px 0 6px; }
.menu__features{ display:grid; grid-template-columns:1fr 1fr; gap:6px; padding-bottom:12px; border-bottom:1px solid var(--hair); }
.menu__features a{ display:flex; align-items:center; gap:10px; padding:10px; border-radius:12px; background:var(--bg-alt); color:var(--ink); font-size:15px; font-weight:600; }
.menu__features a[aria-current]{ color:var(--accent); }
.menu__features .drop__icon{ width:30px; height:30px; border-radius:9px; background:#fff; }

/* ---------- early alert: the motion stage and the time gained ---------- */
.tl__art .motion{ fill:none; stroke:var(--alert); stroke-width:3; stroke-linecap:round; }
.tl__gain{ grid-column:2 / 5; position:relative; display:grid; justify-items:center; gap:10px; margin:6px calc((100% - 40px) / 6) 0; }
.tl__gain-bar{
  position:relative; width:100%; height:12px;
  border:2px solid var(--alert); border-top:0; border-radius:0 0 10px 10px;
}
.tl__gain-label{
  display:inline-flex; align-items:center; gap:8px; padding:8px 16px; border-radius:999px;
  background:var(--alert-soft); color:var(--alert-ink); font-size:15px; font-weight:650;
}
.tl__gain-label svg{ width:18px; height:18px; }
@media (prefers-reduced-motion: no-preference){
  .enhanced .tl__art .motion{ animation:wiggle 1.4s ease-in-out infinite; }
}
@keyframes wiggle{ 0%, 100%{ opacity:.25; } 50%{ opacity:1; } }

@media (max-width: 1080px){
  .tl{ grid-template-columns:repeat(2, minmax(0,1fr)); row-gap:32px; }
  .tl__line{ display:none; }
  .tl__dot{ display:none; }
  .tl__gain{ grid-column:1 / -1; margin:0; }
  .tl__gain-bar{ display:none; }
}
@media (max-width: 760px){
  .tl{ grid-template-columns:1fr; }
  .tl__stage--1, .tl__stage--2{ order:0; }
  .tl__gain{ order:1; }
  .tl__stage--3, .tl__stage--4{ order:2; }
  .menu__features{ grid-template-columns:1fr; }
}

/* ---------- cookie notice ---------- */
.consent{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:70; max-width:560px;
  display:grid; gap:14px; padding:20px 22px; border-radius:20px;
  background:rgba(255,255,255,0.94); -webkit-backdrop-filter:blur(20px) saturate(180%); backdrop-filter:blur(20px) saturate(180%);
  box-shadow:var(--sh-2); border:1px solid var(--hair);
  animation:consentIn .4s var(--ease);
}
@keyframes consentIn{ from{ opacity:0; transform:translateY(12px); } }
.consent__text{ font-size:14.5px; line-height:1.5; color:var(--ink-2); }
.consent__text a{ font-weight:600; white-space:nowrap; }
.consent__actions{ display:flex; gap:10px; justify-content:flex-end; }
.consent__actions .btn{ min-width:110px; }
.footer__btn{ all:unset; cursor:pointer; color:var(--ink-3); }
.footer__btn:hover{ color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.footer__btn:focus-visible{ outline:3px solid rgba(31,95,174,0.5); outline-offset:2px; border-radius:4px; }
@media (max-width: 760px){
  .consent{ left:10px; right:10px; bottom:10px; }
  .consent__actions .btn{ flex:1; }
}
