/* ==========================================================================
   Iricu — landing
   Archetype: Glassmorphism Modern, adapted to the Iricu brand greens.
   Sections: tokens · base · buttons · nav · hero · devices · app UI ·
             platforms · manifesto · roles · bento · airbnb · custom ·
             compare · security · roadmap · faq · final · footer · responsive
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #f7faf9;
  --bg-2: #eef6f3;
  --white: #ffffff;
  --ink: #10262a;
  --ink-2: #33504c;
  --mute: #647b77;
  --line: rgba(16, 38, 42, 0.1);

  --green: #0f6e5e;
  --green-d: #0b5348;
  --deep: #12383a;
  --deeper: #0a2527;
  --lime: #8cd06d;
  --leaf: #48a973;
  --leaf-2: #2f946b;
  --mint: #e6f4f1;

  --amber: #c9791a;
  --amber-l: #fdf1e0;
  --danger: #c0392b;
  --danger-l: #fbe6e3;
  --info: #3b7dd8;
  --info-l: #e8f1fc;
  --success: #1c7a44;
  --success-l: #eaf7ee;

  --glass: rgba(255, 255, 255, 0.62);
  --shadow-sm: 0 1px 2px rgba(10, 37, 39, 0.06), 0 6px 18px -8px rgba(10, 37, 39, 0.12);
  --shadow-lg: 0 50px 90px -40px rgba(10, 37, 39, 0.45), 0 18px 40px -20px rgba(10, 37, 39, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius: 24px;

  --font-d: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-s: "Instrument Serif", Georgia, serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-d); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--deeper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 880px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lime), var(--green)); }
.kicker.light { color: var(--lime); }
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.032em;
  text-wrap: balance;
}
.h2 em, .final-title em, .hero-title em {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; color: var(--green);
}
.h2.light { color: #fff; }
.h2.light em { color: var(--lime); }
.h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: 1.15rem; color: var(--mute); max-width: 60ch; margin-top: 18px; }
.lead.light { color: rgba(230, 244, 241, 0.78); }
.lead em { font-style: italic; }

.section-head { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.section-head .lead { margin-inline: auto; }

/* Reveal — only hides when JS is running (html.js), so no-JS still reads */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* CSS-only safety: if main.js never runs, reveal everything after 7s */
.js .reveal:not(.is-visible) { animation: revealSafety 0.6s 7s forwards; }
@keyframes revealSafety { to { opacity: 1; transform: none; } }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-d); font-weight: 700; border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap; will-change: transform;
}
.btn .ic { width: 1.2em; height: 1.2em; }
.btn-sm { font-size: 14px; padding: 10px 18px; }
.btn-lg { font-size: 16px; padding: 16px 26px; }
.btn-xl { font-size: 18px; padding: 20px 34px; }
.btn-primary {
  background: linear-gradient(180deg, #13806d, var(--green));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 14px 30px -12px rgba(15, 110, 94, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 22px 40px -14px rgba(15, 110, 94, 0.75); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost .ic { transition: transform 0.3s var(--ease); }
.btn-ghost:hover .ic { transform: translateX(3px); }
.btn-lime { background: var(--lime); color: var(--deeper); box-shadow: 0 16px 40px -16px rgba(140, 208, 109, 0.7); }
.btn-lime:hover { transform: translateY(-2px); background: #9ddb80; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 16px 0; transition: padding 0.3s var(--ease); }
.nav-inner {
  max-width: 1200px; margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled .nav-inner { background: rgba(255, 255, 255, 0.86); border-color: var(--line); box-shadow: var(--shadow-sm); }
@supports (backdrop-filter: blur(10px)) {
  .nav.is-scrolled .nav-inner { background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); }
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--deep); }
.brand img { width: 34px; height: auto; }
.nav-links { position: relative; display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a { padding: 6px 0; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-underline { position: absolute; bottom: -2px; height: 2px; border-radius: 2px; background: var(--green); width: 0; left: 0; opacity: 0; transition: left 0.35s var(--ease), width 0.35s var(--ease), opacity 0.2s; pointer-events: none; }
.nav-toggle { display: none; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 40px; isolation: isolate; }
.hero-mesh { position: absolute; inset: -10% -10% 10% -10%; z-index: -2; pointer-events: none; overflow: hidden; }
.hero-mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.7; }
.hero-mesh i:nth-child(1) { width: 46vw; height: 46vw; left: 4%; top: 2%; background: radial-gradient(circle, rgba(140, 208, 109, 0.75), transparent 65%); animation: drift1 22s ease-in-out infinite; }
.hero-mesh i:nth-child(2) { width: 52vw; height: 52vw; right: -2%; top: 8%; background: radial-gradient(circle, rgba(72, 169, 115, 0.45), transparent 65%); animation: drift2 26s ease-in-out infinite; }
.hero-mesh i:nth-child(3) { width: 40vw; height: 40vw; left: 30%; top: 38%; background: radial-gradient(circle, rgba(191, 232, 220, 0.9), transparent 65%); animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate(-10vw, 8vh) scale(0.9); } }
@keyframes drift3 { 50% { transform: translate(-6vw, -8vh) scale(1.15); } }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(15, 110, 94, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 110, 94, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--deep);
  padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(72, 169, 115, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(72, 169, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(72, 169, 115, 0); } }
.hero-title {
  font-size: clamp(2.8rem, 7.4vw, 6.4rem);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.045em;
  max-width: 13ch; text-wrap: balance; color: var(--deeper);
}
.hero-title em { font-size: 1.06em; letter-spacing: -0.02em; background: linear-gradient(100deg, var(--leaf-2) 10%, var(--green) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; margin-right: -0.1em; }
.hero-sub { max-width: 60ch; margin-top: 26px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.hero-stage { position: relative; max-width: 1140px; margin-top: 72px; padding-bottom: 60px; }
.stage-laptop { width: 80%; }
.stage-phone { position: absolute; right: 3%; bottom: 0; width: clamp(150px, 25%, 290px); z-index: 2; }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
@supports (backdrop-filter: blur(10px)) { .chip { background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); } }
.chip b { display: block; font-family: var(--font-d); font-size: 13.5px; }
.chip small { color: var(--mute); font-size: 12px; }
.chip-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.chip-ic .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.chip-ic.ok { background: var(--success-l); color: var(--success); }
.chip-ic.air { background: var(--amber-l); color: var(--amber); }
.chip-ic.cal { background: var(--mint); color: var(--green); }
.chip-a { left: -1%; top: 14%; }
.chip-b { left: 12%; bottom: 6px; }
.chip-c { right: 22%; top: -26px; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Hero entrance — pure CSS so it never depends on JS */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }
@keyframes stageIn { from { opacity: 0; transform: translateY(70px); } }
@keyframes chipIn { from { opacity: 0; transform: scale(0.85) translateY(10px); } }
[data-hero-in] { animation: heroIn 0.9s var(--ease) both; }
.eyebrow[data-hero-in] { animation-delay: 0.05s; }
.hero-title[data-hero-in] { animation-delay: 0.14s; }
.hero-sub[data-hero-in] { animation-delay: 0.24s; }
.hero-ctas[data-hero-in] { animation-delay: 0.34s; }
.stage-laptop { animation: stageIn 1.1s var(--ease) 0.45s both; }
.stage-phone { animation: stageIn 1.1s var(--ease) 0.62s both; }
.chip-a { animation: chipIn 0.6s var(--ease) 1.1s both, bob 6s ease-in-out 1.7s infinite; }
.chip-b { animation: chipIn 0.6s var(--ease) 1.25s both, bob 6s ease-in-out 1.85s infinite; }
.chip-c { animation: chipIn 0.6s var(--ease) 1.4s both, bob 6s ease-in-out 2s infinite; }
.chip-float { animation: bob 6s ease-in-out infinite; }

/* ---------- Devices ---------- */
.fit { width: 100%; overflow: hidden; position: relative; }
.fit-inner { width: max-content; transform-origin: 0 0; }

.laptop { width: 100%; filter: drop-shadow(0 50px 50px rgba(10, 37, 39, 0.28)); }
.laptop-lid { background: #0d1a18; border-radius: 18px 18px 8px 8px; padding: 1.6% 1.6% 2.2%; border: 1px solid #2c403d; position: relative; }
.laptop-lid::before { content: ""; position: absolute; top: 0.6%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2c403d; }
.laptop-lid .fit { border-radius: 6px; }
.laptop-base { height: 14px; margin: 0 -7%; border-radius: 2px 2px 18px 18px; background: linear-gradient(180deg, #e4ebe9, #b3c2be 70%, #97a8a3); position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #a9b8b4; }

.phone { width: 100%; background: #0d1a18; border-radius: 15% / 7.2%; padding: 3.4%; box-shadow: var(--shadow-lg), 0 0 0 1px #2c403d inset; }
.phone .fit { border-radius: 12% / 5.8%; }
.phone-lg { width: min(330px, 100%); }

.tablet { width: 100%; max-width: 760px; background: #0d1a18; border-radius: 30px; padding: 2.4%; box-shadow: var(--shadow-lg), 0 0 0 1px #2c403d inset; }
.tablet .fit { border-radius: 14px; }

/* ---------- App UI (recreated app screens) ---------- */
.ui-desktop, .ui-phone { font-family: var(--font-b); color: #152a27; line-height: 1.35; font-size: 12px; text-align: left; }
.ui-desktop { width: 880px; height: 540px; display: grid; grid-template-columns: 188px 1fr; background: #f4f7f6; }
.ui-tabletui { width: 720px; height: 500px; grid-template-columns: 168px 1fr; }
.ui-sidebar { background: #0d1a18; color: #cfe4df; padding: 18px 12px; }
.ui-sb-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 800; font-size: 15px; color: #fff; padding: 0 8px; }
.ui-sb-condo { font-size: 10.5px; opacity: 0.55; margin: 4px 8px 16px; }
.ui-sidebar li { padding: 8px 10px; border-radius: 8px; font-size: 12px; opacity: 0.8; margin-bottom: 2px; transition: background 0.3s, opacity 0.3s; }
.ui-sidebar li.on { background: rgba(255, 255, 255, 0.1); opacity: 1; color: #fff; font-weight: 600; }
.ui-sidebar li.soon { opacity: 0.4; }
.ui-sidebar li em { font-style: normal; font-size: 9px; padding: 1px 6px; border-radius: 99px; background: rgba(140, 208, 109, 0.2); color: var(--lime); margin-left: 4px; }
.ui-main { padding: 20px 22px; position: relative; overflow: hidden; }
.ui-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ui-topbar strong { font-size: 18px; font-weight: 700; color: #0b5348; }
.ui-avatar { width: 30px; height: 30px; border-radius: 50%; background: #0f6e5e; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ui-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ui-stats.three { grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
.ui-stat { background: #fff; border: 1px solid #dfe8e5; border-radius: 12px; padding: 12px 14px; }
.ui-stat span { display: block; font-size: 11px; color: #5b7570; }
.ui-stat b { display: block; font-size: 18px; margin-top: 4px; letter-spacing: -0.02em; white-space: nowrap; }
.ui-stat.danger b { color: #c0392b; }
.ui-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ui-row2.wide-left { grid-template-columns: 1.3fr 1fr; margin-top: 0; }
.ui-row2.tight { gap: 8px; margin-top: 0; }
.ui-panel { background: #fff; border: 1px solid #dfe8e5; border-radius: 12px; padding: 14px; }
.ui-panel-h { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.ui-bars i { flex: 1; height: var(--h); background: #cfe8e1; border-radius: 6px 6px 2px 2px; transform-origin: bottom; }
.ui-bars i.hi { background: linear-gradient(180deg, #48a973, #0f6e5e); }
.ui-screen.is-active .ui-bars i, .hero .ui-bars i { animation: grow 1s var(--ease) both; }
.ui-bars i:nth-child(2) { animation-delay: 0.05s !important; } .ui-bars i:nth-child(3) { animation-delay: 0.1s !important; } .ui-bars i:nth-child(4) { animation-delay: 0.15s !important; } .ui-bars i:nth-child(5) { animation-delay: 0.2s !important; } .ui-bars i:nth-child(6) { animation-delay: 0.25s !important; } .ui-bars i:nth-child(7) { animation-delay: 0.3s !important; }
@keyframes grow { from { transform: scaleY(0); } }
.ui-bars-x { display: flex; gap: 8px; margin-top: 6px; }
.ui-bars-x span { flex: 1; text-align: center; font-size: 10px; color: #5b7570; }
.ui-note b { display: block; font-size: 13px; }
.ui-note span, .ui-muted { font-size: 11px; color: #5b7570; }
.ui-muted.pad { margin: 2px 0 -4px; }
.ui-progress { height: 8px; border-radius: 99px; background: #e6edeb; margin: 16px 0 8px; overflow: hidden; }
.ui-progress i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #48a973, #0f6e5e); border-radius: 99px; }

.ui-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #dfe8e5; border-radius: 12px; overflow: hidden; font-size: 12px; }
.ui-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: #5b7570; font-weight: 600; padding: 10px 12px; background: #f8faf9; }
.ui-table td { padding: 11px 12px; border-top: 1px solid #e8efed; white-space: nowrap; }
.ui-link { color: #0f6e5e; font-weight: 600; font-size: 11.5px; }
.ui-search { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #dfe8e5; border-radius: 10px; padding: 7px 12px; font-size: 11.5px; color: #5b7570; min-width: 180px; }
.ui-search.on { color: #152a27; border-color: #0f6e5e; font-weight: 600; }
.ui-filters { display: flex; gap: 6px; margin-bottom: 12px; }
.ui-filters.inline { margin: 0; }
.ui-filters span { padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid #dfe8e5; font-size: 11.5px; }
.ui-filters span.on { background: #e6f4f1; border-color: #bfe0d7; color: #0f6e5e; font-weight: 700; }

.ui-label { display: block; font-size: 10px; font-weight: 700; color: #5b7570; text-transform: uppercase; letter-spacing: 0.05em; margin: 10px 0 5px; }
.ui-panel > .ui-label:first-child { margin-top: 0; }
.ui-input { background: #f8faf9; border: 1px solid #dfe8e5; border-radius: 9px; padding: 9px 11px; font-size: 12.5px; }
.ui-input.tall { min-height: 76px; line-height: 1.45; }
.ui-checks { display: flex; gap: 6px; flex-wrap: wrap; }
.ui-checks span { padding: 6px 10px; border-radius: 8px; border: 1px solid #dfe8e5; font-size: 11.5px; }
.ui-checks span.on { border-color: #0f6e5e; background: #e6f4f1; color: #0f6e5e; font-weight: 700; }
.ui-checks span.on::before { content: "✓ "; }
.ui-donut { position: relative; width: 128px; height: 128px; border-radius: 50%; margin: 4px auto 12px; display: grid; place-content: center; text-align: center; background: conic-gradient(#0f6e5e calc(var(--p) * 1%), #e6edeb 0); }
.ui-donut::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.ui-donut b, .ui-donut span { position: relative; }
.ui-donut b { font-size: 22px; }
.ui-donut span { font-size: 10.5px; color: #5b7570; }
.ui-mini-list div { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-top: 1px solid #e8efed; font-size: 11.5px; }

.ui-tickets { display: flex; flex-direction: column; gap: 10px; }
.ui-ticket { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #dfe8e5; border-radius: 12px; padding: 12px; }
.ui-ticket > div { flex: 1; min-width: 0; }
.ui-ticket b { display: block; font-size: 13px; }
.ui-ticket span:not(.ui-pill):not(.ui-av) { font-size: 11px; color: #5b7570; }
.ui-ticket.air { border-color: #f1d3a6; background: #fffaf2; }
.ui-thumb { width: 52px; height: 52px; border-radius: 10px; flex: none; }
.ui-thumb.t1 { background: radial-gradient(circle at 30% 30%, #bfe0f5, #3b7dd8); }
.ui-thumb.t2 { background: radial-gradient(circle at 60% 30%, #fff3c4, #e0a91e); }
.ui-thumb.t3 { background: radial-gradient(circle at 40% 40%, #dfe8e5, #7d928e); }

.ui-pill { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #eaf7ee; color: #1c7a44; white-space: nowrap; }
.ui-pill.warn { background: #fdf1e0; color: #b96f14; }
.ui-pill.danger { background: #fbe6e3; color: #c0392b; }
.ui-pill.info { background: #e8f1fc; color: #3b7dd8; }
.ui-pill.muted { background: #eef2f1; color: #5b7570; }
.ui-pill.air { background: #fdf1e0; color: #b96f14; }

.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #0f6e5e; color: #fff; font-weight: 600; font-size: 12px; padding: 9px 14px; border-radius: 10px; }
.ui-btn .ic { width: 14px; height: 14px; }
.ui-btn.block { width: 100%; margin-top: 6px; }
.ui-btn.ghost { background: #fff; color: #c0392b; border: 1px solid #f0cdc8; }
.ui-btn.sm { font-size: 11px; padding: 7px 11px; }
.ui-btn.sm.ghost { color: #0f6e5e; border-color: #bfe0d7; }
.ui-btn.white { background: #fff; color: #c0392b; }

.ui-phone { width: 300px; height: 620px; background: #f4f7f6; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.ui-status { height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.ui-status span:last-child { font-size: 7px; letter-spacing: 1px; }
.ui-island { width: 86px; height: 24px; border-radius: 20px; background: #0d1a18; }
.ui-appbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 10px; }
.ui-appbar strong { font-size: 18px; font-weight: 700; color: #0b5348; }
.ui-appbar .ic { width: 20px; height: 20px; color: #5b7570; }
.ui-appbar.dark strong { color: #fff; }
.ui-appbar.dark .ic { color: #cfe4df; }
.ui-bell { position: relative; display: grid; }
.ui-bell i, .ui-menugrid i { position: absolute; top: -5px; right: -6px; min-width: 16px; height: 16px; border-radius: 99px; background: #c0392b; color: #fff; font-style: normal; font-size: 9.5px; font-weight: 700; display: grid; place-items: center; }
.ui-plus { width: 30px; height: 30px; border-radius: 50%; background: #0f6e5e; display: grid; place-items: center; }
.ui-plus .ic { color: #fff !important; width: 16px !important; height: 16px !important; stroke-width: 2.4; }
.ui-body { padding: 2px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.ui-hello { font-size: 15px; font-weight: 700; }
.ui-pillrow { display: flex; gap: 6px; margin-top: -4px; }
.ui-sos { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #d9503f, #b3291e); color: #fff; box-shadow: 0 12px 24px -12px rgba(192, 57, 43, 0.8); }
.ui-sos b { display: block; font-size: 14px; }
.ui-sos small { font-size: 11px; opacity: 0.85; }
.ui-sos-ring { width: 40px; height: 40px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, 0.25); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); position: relative; animation: sos 2s infinite; }
.ui-sos-ring::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
@keyframes sos { 70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.ui-card { background: #fff; border: 1px solid #dfe8e5; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.ui-card b { font-size: 13px; }
.ui-card small { font-size: 11.5px; color: #5b7570; }
.ui-card.soft { background: #e6f4f1; border-color: #cfe8e1; }
.ui-sectionrow { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.ui-sectionrow b { font-size: 13px; }
.ui-listcard { background: #fff; border: 1px solid #dfe8e5; border-radius: 14px; overflow: hidden; }
.ui-listcard > div { padding: 10px 12px; }
.ui-listcard > div + div { border-top: 1px solid #e8efed; }
.ui-listcard b { display: block; font-size: 12.5px; }
.ui-listcard small { display: block; font-size: 11px; color: #5b7570; }
.ui-listcard.people > div { display: flex; align-items: center; gap: 10px; }
.ui-listcard.people > div > :last-child { margin-left: auto; }
.ui-listcard.people b { display: inline; }
.ui-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; flex: none; background: #e6f4f1; color: #0f6e5e; }
.ui-av .ic { width: 15px; height: 15px; }
.ui-av.a2 { background: #efeafb; color: #6c4fd6; }
.ui-av.car { background: #e8f1fc; color: #3b7dd8; }
.ui-av.pet { background: #fce8ef; color: #d1477a; }
.ui-av.air { background: #fdf1e0; color: #b96f14; }
.ui-ticket .ui-av { width: 40px; height: 40px; font-size: 12px; }
.ui-ticket .ui-av .ic { width: 19px; height: 19px; }
.ui-plate { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border: 1.5px solid #152a27; border-radius: 4px; }
.ui-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 10px; background: #e3ebe9; margin: 0 16px 2px; }
.ui-body .ui-seg { margin: 0; }
.ui-seg span { text-align: center; padding: 6px 0; font-size: 11.5px; border-radius: 8px; color: #5b7570; }
.ui-seg span.on { background: #fff; color: #152a27; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.ui-qrcard { background: #fff; border: 1px solid #dfe8e5; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.ui-phone > .ui-qrcard { margin: 10px 16px; }
.ui-qrcard b { font-size: 15px; margin-top: 6px; }
.ui-qrcard > span:not(.ui-pill) { font-size: 11.5px; color: #5b7570; }
.ui-qr { width: 148px; height: 148px; shape-rendering: crispEdges; }
.ui-qr rect { fill: #152a27; }
.ui-btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 8px; }
.ui-tabbar { margin-top: auto; height: 64px; flex: none; background: #fff; border-top: 1px solid #dfe8e5; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: 8px; }
.ui-tabbar span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 9.5px; color: #5b7570; transition: color 0.3s; }
.ui-tabbar .ic { width: 21px; height: 21px; }
.ui-tabbar span.on { color: #0f6e5e; font-weight: 700; }
.ui-amenities { display: flex; gap: 6px; }
.ui-amenities span { padding: 6px 11px; border-radius: 99px; background: #fff; border: 1px solid #dfe8e5; font-size: 11.5px; white-space: nowrap; }
.ui-amenities span.on { background: #0f6e5e; border-color: #0f6e5e; color: #fff; font-weight: 600; }
.ui-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ui-days span { background: #fff; border: 1px solid #dfe8e5; border-radius: 12px; text-align: center; padding: 7px 0; font-size: 15px; font-weight: 700; }
.ui-days small { display: block; font-size: 10px; font-weight: 500; color: #5b7570; }
.ui-days span.on { background: #0f6e5e; border-color: #0f6e5e; color: #fff; }
.ui-days span.on small { color: rgba(255, 255, 255, 0.8); }
.ui-days span.off { opacity: 0.4; }
.ui-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ui-slots span { text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid #dfe8e5; background: #fff; font-size: 12px; }
.ui-slots span.on { border-color: #0f6e5e; background: #e6f4f1; color: #0f6e5e; font-weight: 700; }
.ui-slots span.off { opacity: 0.4; text-decoration: line-through; }
.ui-dark { background: #0d1a18; }
.ui-menugrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 18px; }
.ui-menugrid span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 8px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); color: #cfe4df; font-size: 12px; }
.ui-menugrid .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.ui-menugrid i { top: 16px; right: 38px; }

/* Stacked screens (one visible at a time) */
.ui-stack .ui-screen { position: absolute; inset: 20px 22px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s; }
.ui-stack .ui-screen.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s; }
.ui-phone.ui-stack .ui-screen { inset: 40px 0 64px 0; overflow: hidden; }
.ui-phone.ui-stack .ui-tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }

/* Guard scanner */
.ui-scanwrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; height: 400px; }
.ui-camera { background: radial-gradient(circle at 50% 40%, #1d3431, #0d1a18); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #cfe4df; font-size: 11px; }
.ui-viewfinder { position: relative; width: 196px; height: 196px; display: grid; place-items: center; }
.ui-viewfinder > i { position: absolute; width: 34px; height: 34px; border: 3px solid var(--lime); }
.ui-viewfinder > i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.ui-viewfinder > i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.ui-viewfinder > i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.ui-viewfinder > i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.ui-qr.ghost { width: 140px; height: 140px; background: #fff; padding: 8px; border-radius: 8px; transform: rotate(-4deg); }
.ui-scanline { position: absolute; left: 10px; right: 10px; top: 12%; height: 2px; background: var(--lime); box-shadow: 0 0 16px 3px rgba(140, 208, 109, 0.7); z-index: 2; animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 86%; } }
.ui-result { background: #fff; border: 1px solid #dfe8e5; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.ui-screen.is-active .ui-result { animation: resultIn 0.7s var(--ease) 1.1s both; }
@keyframes resultIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.ui-result > b { font-size: 17px; color: #1c7a44; margin-bottom: 6px; }
.ui-result-ic { width: 46px; height: 46px; border-radius: 50%; background: #eaf7ee; color: #1c7a44; display: grid; place-items: center; }
.ui-result-ic .ic { width: 24px; height: 24px; stroke-width: 2.6; }
.ui-kv { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #dfe8e5; font-size: 12px; }
.ui-kv span { color: #5b7570; }
.ui-result .ui-btn { margin-top: auto; }
.ui-switchrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 10px; padding: 12px; background: #e6f4f1; border-radius: 10px; }
.ui-switchrow b { display: block; font-size: 12px; }
.ui-switchrow small { font-size: 10.5px; color: #5b7570; }
.ui-switch { width: 36px; height: 20px; border-radius: 99px; background: #cfd9d6; position: relative; flex: none; }
.ui-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left 0.3s; }
.ui-switch.on { background: #0f6e5e; }
.ui-switch.on::after { left: 18px; }
.ui-alertbar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #c0392b; color: #fff; margin-bottom: 14px; animation: alertPulse 1.8s infinite; }
.ui-alertbar > .ic { width: 22px; height: 22px; }
.ui-alertbar b { display: block; font-size: 13px; }
.ui-alertbar small { font-size: 11px; opacity: 0.85; }
.ui-alertbar .ui-btn { margin-left: auto; }
@keyframes alertPulse { 50% { box-shadow: 0 0 0 6px rgba(192, 57, 43, 0.18); } }

/* ---------- Platforms strip ---------- */
.platforms { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); margin-top: 20px; }
.platforms-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; }
.platforms-lead { font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); max-width: 36ch; }
.platform-list { display: flex; gap: 14px; }
.platform-list li { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.platform-list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--deep); color: var(--lime); stroke-width: 1.8; }
.platform-list b { display: block; font-family: var(--font-d); font-size: 15px; line-height: 1.2; }
.platform-list small { font-size: 12.5px; color: var(--mute); }

/* ---------- Manifesto ---------- */
.manifesto { padding: 120px 0 40px; }
.manifesto-text { font-family: var(--font-d); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }
.hl { background: linear-gradient(transparent 62%, rgba(140, 208, 109, 0.5) 62%); padding: 0 2px; }

/* ---------- Roles explorer ---------- */
.roles { padding: 110px 0 120px; }
.role-tabs { position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 56px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.role-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--ink-2); transition: color 0.3s; }
.role-tabs button .ic { width: 18px; height: 18px; }
.role-tabs button[aria-selected="true"] { color: #fff; }
.role-tabs-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 999px; background: linear-gradient(180deg, #13806d, var(--green)); box-shadow: 0 10px 24px -10px rgba(15, 110, 94, 0.8); transition: left 0.45s var(--ease), width 0.45s var(--ease); }
.no-js-pill .role-tabs button[aria-selected="true"] { background: var(--green); }

.role-panel { display: grid; grid-template-columns: minmax(300px, 0.85fr) 1.5fr; gap: 56px; align-items: center; }
.role-panel[hidden] { display: none; }
.role-panel.is-entering .role-device { animation: deviceIn 0.7s var(--ease) both; }
.role-panel.is-entering .role-copy { animation: copyIn 0.6s var(--ease) both; }
@keyframes deviceIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes copyIn { from { opacity: 0; transform: translateX(-16px); } }
.role-copy > p { color: var(--mute); margin-top: 12px; font-size: 1.02rem; }
.role-more { font-size: 0.92rem !important; margin-top: 18px !important; padding-left: 16px; border-left: 2px solid var(--lime); }
.feat-list { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.feat-list button { position: relative; width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1px solid transparent; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; overflow: hidden; }
.feat-list button:hover { background: rgba(255, 255, 255, 0.6); }
.feat-list button > .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--mint); color: var(--green); transition: background 0.3s, color 0.3s; }
.feat-list b { display: block; font-family: var(--font-d); font-size: 15.5px; color: var(--ink); }
.feat-list small { display: block; font-size: 13.5px; color: var(--mute); line-height: 1.45; margin-top: 2px; }
.feat-list button.is-on { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.feat-list button.is-on > .ic { background: var(--green); color: #fff; }
.feat-list button::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.role-panel.autoplay .feat-list button.is-on::after { animation: fill 5.5s linear both; }
@keyframes fill { to { transform: scaleX(1); } }
.role-device { position: relative; display: flex; justify-content: center; }
@media (min-width: 1081px) {
  .role-panel { align-items: start; }
  .role-device { position: sticky; top: 110px; margin-top: 8px; }
}
.role-device::before { content: ""; position: absolute; inset: 5% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(140, 208, 109, 0.35), transparent); filter: blur(30px); }

/* ---------- Bento ---------- */
.features { padding: 110px 0; background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.card { position: relative; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(10, 37, 39, 0.35); border-color: rgba(15, 110, 94, 0.25); }
.card h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin: 18px 0 8px; }
.card p { color: var(--mute); font-size: 0.97rem; line-height: 1.55; }
.card-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--green); }
.card-ic .ic { width: 22px; height: 22px; }
.card-xl { grid-column: span 2; grid-row: span 2; background: linear-gradient(155deg, var(--deep), #0c4a42 70%, var(--green-d)); color: #fff; border-color: transparent; padding: 34px; min-height: 420px; }
.card-xl h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 16ch; margin-top: 22px; }
.card-xl p { color: rgba(230, 244, 241, 0.78); max-width: 42ch; font-size: 1.02rem; }
.card-xl .card-ic { background: rgba(140, 208, 109, 0.15); color: var(--lime); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 60%; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #dff1ea; }
.qr-orbit { position: absolute; right: -30px; bottom: -30px; width: 250px; height: 250px; border-radius: 40px; display: grid; place-items: center; background: #fff; transform: rotate(-10deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); transition: transform 0.6s var(--ease); }
.qr-orbit::before { content: ""; position: absolute; inset: -10px; border-radius: 48px; padding: 3px; background: conic-gradient(from var(--a, 0deg), var(--lime), transparent 35%, transparent 65%, var(--lime)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.card-xl:hover .qr-orbit { transform: rotate(-4deg) scale(1.04); }
.qr-orbit .ui-qr { width: 180px; height: 180px; }
.card-air { grid-column: span 2; background: linear-gradient(135deg, #fff8ee, #fdf1e0); border-color: #f5dcb6; }
.card-air .card-ic { background: #fff; color: var(--amber); }
.badge { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--amber); color: #fff; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-d); font-weight: 700; color: #a4610f; font-size: 14.5px; }
.card-link .ic { transition: transform 0.3s var(--ease); }
.card-link:hover .ic { transform: translateX(4px); }
.card-sos { grid-column: span 2; background: linear-gradient(135deg, #fff, #fdeeeb); }
.card-sos .card-ic { background: var(--danger-l); color: var(--danger); }

/* ---------- Airbnb ---------- */
.airbnb { padding: 120px 0; position: relative; }
.airbnb-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.airbnb .h2 em { color: var(--amber); }
.airbnb .kicker { color: var(--amber); }
.airbnb .kicker::before { background: linear-gradient(90deg, #f4c07a, var(--amber)); }
.steps { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.steps li > span { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-d); font-weight: 800; background: var(--amber-l); color: var(--amber); }
.steps b { font-family: var(--font-d); font-size: 1.08rem; }
.steps p { color: var(--mute); margin-top: 4px; }
.airbnb-visual { position: relative; display: flex; justify-content: center; }
.airbnb-visual .phone { width: min(310px, 100%); transform: rotate(3deg); }
.airbnb-visual::before { content: ""; position: absolute; inset: 10% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(244, 192, 122, 0.45), transparent); filter: blur(30px); }
.chip-float { left: -6%; bottom: 14%; }

/* ---------- Custom modules (feature flags) ---------- */
.custom { position: relative; padding: 130px 0; background: linear-gradient(170deg, var(--deep), var(--deeper) 70%); color: #fff; overflow: hidden; isolation: isolate; }
.custom-glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(140, 208, 109, 0.28), transparent); filter: blur(40px); }
.custom::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(207, 228, 223, 0.09) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.custom-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.check-list { margin: 30px 0 36px; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; color: rgba(230, 244, 241, 0.82); }
.check-list .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(140, 208, 109, 0.16); color: var(--lime); stroke-width: 2.6; margin-top: 1px; }
.check-list b { color: #fff; }
.flags { border-radius: 26px; padding: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
@supports (backdrop-filter: blur(10px)) { .flags { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.flags-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 16px; }
.flags-head b { display: block; font-family: var(--font-d); font-size: 1.05rem; }
.flags-head small { font-size: 12.5px; color: rgba(207, 228, 223, 0.65); }
.flags-count { font-family: var(--font-d); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 99px; background: rgba(140, 208, 109, 0.16); color: var(--lime); }
.flags-list li { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1px solid rgba(255, 255, 255, 0.08); transition: opacity 0.3s; }
.fl-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: #cfe4df; flex: none; }
.fl-ic .ic { width: 17px; height: 17px; }
.fl-name { flex: 1; font-size: 14.5px; color: #e6f4f1; }
.fl-name em { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--lime); color: var(--deeper); white-space: nowrap; }
.flags-list li.fl-custom { margin-top: 8px; border: 1px dashed rgba(140, 208, 109, 0.5); border-radius: 14px; padding: 11px 10px; background: rgba(140, 208, 109, 0.06); }
.flags-list li.is-off .fl-name, .flags-list li.is-off .fl-ic { opacity: 0.45; }
.switch { position: relative; width: 46px; height: 27px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); flex: none; transition: background 0.3s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 0.35s var(--ease); }
.switch.on { background: var(--leaf); }
.switch.on::after { transform: translateX(19px); }
.flags-foot { font-size: 12px; color: rgba(207, 228, 223, 0.5); padding: 14px 6px 0; }

/* ---------- Compare ---------- */
.compare { padding: 120px 0 60px; }
.compare-table { max-width: 980px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-row > span { padding: 20px 26px 20px 58px; position: relative; font-size: 1rem; }
.cmp-row + .cmp-row > span { border-top: 1px solid var(--line); }
.cmp-row > span:first-child { color: var(--mute); background: #fafcfb; }
.cmp-row > span:last-child { color: var(--ink); font-weight: 500; }
.cmp-row:not(.cmp-head) > span::before { content: ""; position: absolute; left: 24px; top: 22px; width: 20px; height: 20px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.cmp-row:not(.cmp-head) > span:first-child::before { background-color: #eef2f1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23879a96' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.cmp-row:not(.cmp-head) > span:last-child::before { background-color: var(--success-l); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c7a44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cmp-head > span { font-family: var(--font-d); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding-block: 16px; padding-left: 26px; }
.cmp-head > span:last-child { color: #fff; background: var(--green); }

/* ---------- Security ---------- */
.security { padding: 90px 0 110px; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.sec .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--deep); color: var(--lime); }
.sec h3 { font-size: 1.1rem; margin: 18px 0 8px; letter-spacing: -0.01em; }
.sec p { font-size: 0.95rem; color: var(--mute); }

/* ---------- Roadmap ---------- */
.roadmap { padding: 100px 0; background: linear-gradient(180deg, transparent, var(--bg-2)); }
.road-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.road { position: relative; padding: 26px; border-radius: var(--radius); border: 1.5px dashed rgba(15, 110, 94, 0.28); background: rgba(255, 255, 255, 0.55); }
.road > .ic { width: 28px; height: 28px; color: var(--green); }
.road h3 { font-size: 1.1rem; margin: 16px 0 6px; }
.road p { color: var(--mute); font-size: 0.95rem; }
.soon-tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--amber-l); color: #a4610f; }

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-family: var(--font-d); font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); flex: none; transition: transform 0.35s var(--ease), background 0.3s; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--green); border-radius: 2px; }
.faq-x::after { transform: rotate(90deg); }
.faq details[open] .faq-x { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding: 0 4px 26px; color: var(--mute); max-width: 70ch; }

/* ---------- Final CTA ---------- */
.final { position: relative; padding: 130px 0 140px; text-align: center; isolation: isolate; overflow: hidden; }
.final-mesh { position: absolute; inset: 0; z-index: -1; }
.final-mesh i { position: absolute; border-radius: 50%; filter: blur(80px); }
.final-mesh i:first-child { width: 50vw; height: 50vw; left: -8vw; top: 10%; background: radial-gradient(circle, rgba(140, 208, 109, 0.5), transparent 65%); animation: drift1 24s ease-in-out infinite; }
.final-mesh i:last-child { width: 46vw; height: 46vw; right: -8vw; bottom: -10%; background: radial-gradient(circle, rgba(72, 169, 115, 0.4), transparent 65%); animation: drift2 28s ease-in-out infinite; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-logo { width: 96px; height: auto; margin-bottom: 30px; filter: drop-shadow(0 20px 30px rgba(15, 110, 94, 0.3)); animation: bob 7s ease-in-out infinite; }
.final-title { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.045em; max-width: 13ch; text-wrap: balance; color: var(--deeper); }
.final .lead { margin: 22px auto 38px; text-align: center; }
.final-title em { margin-right: -0.05em; }

/* ---------- Footer ---------- */
.footer { background: var(--deeper); color: rgba(207, 228, 223, 0.7); padding: 44px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .brand { color: #fff; font-size: 19px; }
.footer .brand img { width: 30px; }
.footer-plat { margin-left: auto; font-weight: 600; color: var(--lime); }
.footer-copy { width: 100%; font-size: 12.5px; opacity: 0.6; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 16px 30px -10px rgba(37, 211, 102, 0.7); transition: transform 0.35s var(--ease); }
.wa-float .ic { width: 28px; height: 28px; stroke-width: 2; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .role-panel { grid-template-columns: 1fr; gap: 36px; }
  .role-copy { max-width: 720px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .road-track { grid-template-columns: repeat(2, 1fr); }
  .custom-grid, .airbnb-grid { grid-template-columns: 1fr; gap: 56px; }
  .flags { max-width: 560px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; left: 16px; right: 16px; top: 78px; flex-direction: column; gap: 0; margin: 0;
    padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, 0.97); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav-links a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .nav-links a:hover { background: var(--mint); }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s; }
  .nav.is-open .nav-inner { background: rgba(255, 255, 255, 0.95); border-color: var(--line); }
  .nav-underline { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: block; }
  .platforms-inner { flex-direction: column; text-align: center; }
  .platforms-lead { max-width: none; }
}

@media (max-width: 720px) {
  .container { padding-inline: 16px; }
  .hero { padding-top: 120px; }
  .hero-ctas .btn { width: 100%; }
  .hero-stage { margin-top: 48px; padding-bottom: 40px; }
  .stage-laptop { width: 92%; }
  .stage-phone { width: 38%; right: 0; bottom: 0; }
  .chip { font-size: 12px; padding: 8px 12px 8px 8px; }
  .chip b { font-size: 12.5px; }
  .chip small { font-size: 11px; }
  .chip-ic { width: 30px; height: 30px; }
  .chip-a { left: 0; top: -54px; }
  .hero-stage { margin-top: 84px; }
  .chip-b, .chip-c { display: none; }
  .platform-list { flex-direction: column; width: 100%; }
  .manifesto { padding-top: 90px; }

  .roles { padding: 90px 0; }
  .role-tabs { width: 100%; }
  .role-tabs button { flex: 1; justify-content: center; padding: 11px 8px; font-size: 14px; }
  .role-tabs button .ic { display: none; }
  /* Mobile: capabilities become a horizontal chip row above the device */
  .role-panel { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .role-copy { display: contents; }
  .role-copy > .h3 { order: 1; font-size: 1.35rem; }
  .role-copy > p:not(.role-more) { order: 2; }
  .feat-list { order: 3; flex-direction: row; overflow-x: auto; gap: 8px; margin: 20px -16px 22px; padding: 2px 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .feat-list::-webkit-scrollbar { display: none; }
  .feat-list li { flex: none; scroll-snap-align: start; }
  .feat-list button { padding: 9px 14px 9px 9px; align-items: center; border-color: var(--line); background: rgba(255, 255, 255, 0.6); border-radius: 99px; }
  .feat-list button > .ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; }
  .feat-list small { display: none; }
  .feat-list b { font-size: 14px; white-space: nowrap; }
  .feat-list button::after { left: 20px; right: 20px; }
  .role-device { order: 4; }
  .role-more { order: 5; margin-top: 26px !important; }

  .bento { grid-template-columns: 1fr; }
  .card-xl, .card-air, .card-sos { grid-column: auto; grid-row: auto; }
  .card-xl { min-height: 0; padding-bottom: 200px; }
  .tags { max-width: none; }
  .qr-orbit { width: 190px; height: 190px; right: -20px; bottom: -40px; }
  .qr-orbit .ui-qr { width: 140px; height: 140px; }
  .sec-grid, .road-track { grid-template-columns: 1fr; }
  .airbnb, .custom { padding: 90px 0; }
  .chip-float { left: 0; bottom: 6%; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > span { padding: 16px 18px 16px 52px; }
  .cmp-row:not(.cmp-head) > span::before { left: 18px; top: 18px; }
  .cmp-row + .cmp-row > span:last-child { border-top: 0; padding-top: 4px; }
  .cmp-row + .cmp-row > span:last-child::before { top: 6px; }
  .cmp-row > span:first-child { background: transparent; }
  .cmp-head { display: none; }
  .cmp-row:nth-child(2) > span:first-child { border-top: 0; }
  .footer-plat { margin-left: 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .btn-xl { font-size: 16px; padding: 18px 24px; white-space: normal; text-align: center; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh i, .final-mesh i, .ui-scanline, .qr-orbit::before { animation: none; }
}
