/* KALINGA website — v20
   Bento tiles, a floating pill header and a scroll-driven "one visit" timeline.
   Type: Archivo (wide, for headlines) and Geist (body). */
:root {
  /* colors taken from the KALINGA app */
  --bg: #f4f6f8;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #475569;
  --line: #e2eaf3;
  --iris: #0a6cc9;
  --iris-deep: #0a45a3;
  --iris-soft: #eaf4fc;
  --sky: #1e90d8;
  --teal: #2fb8d8;
  --aqua: #5fe0e6;
  --aqua-soft: #dcf6f8;
  --mint: #1fb46a;
  --mint-soft: #dcf5e8;
  --sun: #ffc93c;
  --sun-ink: #2d2200;
  --rose: #e5484d;
  --rose-soft: #ffe4e4;
  --night: #0a45a3;
  --night-2: #0a3f96;
  --focus: #ffb000;
  --grad-hero: linear-gradient(120deg, #0a3f96 0%, #0a6cc9 52%, #2fb8d8 100%);
  --grad-app: linear-gradient(150deg, #5fe0e6 0%, #2a93d6 45%, #0a45a3 100%);
  --grad-btn: linear-gradient(135deg, #1e90d8, #0a45a3);
  --grad-hire: linear-gradient(135deg, #34d399, #16a34a);
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 1px 2px rgba(11, 31, 68, .05), 0 20px 44px -24px rgba(10, 69, 163, .38);
  --wrap: 1220px;
  --display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --body: 'Geist', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--iris); text-underline-offset: 3px; }
a:hover { color: var(--iris-deep); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1.04; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip:focus { left: 16px; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: transform .18s, background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { flex-shrink: 0; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 17px; }
.btn-ink { background: var(--grad-btn); color: #fff; }
.btn-ink:hover { color: #fff; box-shadow: 0 14px 30px -12px rgba(11, 31, 68, .55); }
.btn-iris { background: var(--grad-btn); color: #fff; }
.btn-iris:hover { color: #fff; box-shadow: 0 14px 30px -12px rgba(10, 69, 163, .6); }
.btn-sun { background: #fff; color: var(--iris-deep); }
.btn-sun:hover { color: var(--iris-deep); box-shadow: 0 14px 30px -12px rgba(10, 69, 163, .5); }
.btn-soft { background: var(--iris-soft); color: var(--iris-deep); }
.btn-soft:hover { color: var(--iris-deep); }
.btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: inline-grid; place-items: center; cursor: pointer; color: var(--ink); transition: background-color .2s, color .2s, opacity .2s;
}
.round-btn:hover { background: var(--grad-btn); color: #fff; border-color: transparent; }
.round-btn:disabled { opacity: .35; cursor: default; background: var(--surface); color: var(--ink); }

/* ---------- tiles ---------- */
.tile { background: var(--surface); border-radius: var(--r-lg); padding: 26px; position: relative; overflow: hidden; }

/* ---------- floating header ---------- */
.top { position: sticky; top: 12px; z-index: 40; padding: 0 12px; margin-top: 12px; }
.top-pill {
  max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px 24px;
  padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: box-shadow .25s;
}
.top.scrolled .top-pill { box-shadow: 0 12px 34px -18px rgba(10, 69, 163, .45); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand span { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.nav { flex: 1 1 auto; }
.nav ul { display: flex; justify-content: center; gap: 4px; }
.nav a { display: inline-block; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--iris-soft); color: var(--ink); }
.nav a.on { background: var(--grad-btn); color: #fff; }
.top-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.lang button { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 13px; border-radius: 999px; padding: 6px 10px; cursor: pointer; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 31, 68, .15); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: var(--grad-btn); color: #fff; border-radius: 50%; cursor: pointer; place-items: center; }
.menu-lines { display: grid; gap: 5px; width: 16px; }
.menu-lines i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; overflow: hidden; }
.hero-head { text-align: center; max-width: 980px; margin: 0 auto; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(31, 185, 127, .5); animation: live 2s infinite; flex-shrink: 0; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(31, 185, 127, .5); } 70% { box-shadow: 0 0 0 9px rgba(31, 185, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 185, 127, 0); } }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.4vw, 86px); line-height: .98; letter-spacing: -.035em; overflow-wrap: break-word; }
html[lang="tl"] .hero h1 { font-size: clamp(34px, 5.2vw, 70px); }
.lead { margin: 22px auto 0; font-size: 19px; color: var(--ink-2); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-meta { margin-top: 16px; font-size: 15px; color: var(--muted); }

.bento-hero {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr; grid-template-rows: auto auto auto; gap: 16px;
  margin-top: 56px; align-items: stretch;
}
.bento-hero .tile { border: 0; text-align: left; font: inherit; color: inherit; }
.bento-hero button.tile { cursor: zoom-in; display: flex; flex-direction: column; gap: 16px; }
.t-text { display: grid; gap: 4px; padding-right: 40px; }
.t-text b { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -.015em; }
.t-text > span { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.bento-hero .crop-win { margin-top: auto; flex-shrink: 0; box-shadow: 0 10px 24px -14px rgba(10, 69, 163, .45); }
.t-sub { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.t-live { grid-column: 1; grid-row: 1; background: var(--mint-soft); }
.chip-live { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.t-cal { grid-column: 1; grid-row: 2 / 4; }
.t-pro { grid-column: 3; grid-row: 1; background: var(--iris-soft); }
.t-rec { grid-column: 3; grid-row: 2; }
.t-lang { grid-column: 3; grid-row: 3; background: var(--aqua-soft); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.t-lang .t-sub { color: var(--ink-2); }
.hello span:first-child { background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hello { display: grid; font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 30px; line-height: 1.02; letter-spacing: -.03em; }
.hello span:last-child { opacity: .45; }
/* the full Home screen, at its true proportions */
.bento-hero .t-screen {
  grid-column: 2; grid-row: 1 / 4; padding: 60px 28px 28px; cursor: zoom-in;
  background: var(--grad-app);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.t-screen img { display: block; width: 100%; max-width: 290px; height: auto; aspect-ratio: 390 / 844; border-radius: 28px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .22), 0 30px 60px -20px rgba(4, 22, 60, .6); }
.t-screen-tag { position: absolute; left: 20px; top: 18px; color: #fff; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 999px; }

/* the one load moment: tiles assemble */
@media (prefers-reduced-motion: no-preference) {
  .js .bento-hero .tile { animation: tile-in .8s cubic-bezier(.2, .8, .2, 1) both; }
  .js .bento-hero .t-screen { animation-delay: .05s; }
  .js .bento-hero .t-live { animation-delay: .2s; }
  .js .bento-hero .t-pro { animation-delay: .28s; }
  .js .bento-hero .t-cal { animation-delay: .36s; }
  .js .bento-hero .t-rec { animation-delay: .42s; }
  .js .bento-hero .t-lang { animation-delay: .48s; }
}
@keyframes tile-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- services ticker ---------- */
.ticker { margin-top: 56px; background: var(--grad-hero); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; gap: 0; animation: tick 50s linear infinite; }
.ticker li { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 20px; }
.ticker li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.story-intro h2, .who-head h2, .safety-head h2, .inside-head h2, .faq-side h2 { font-size: clamp(34px, 4.6vw, 58px); }

/* ---------- story ---------- */
.story { padding: 112px 0 96px; }
.story-intro { max-width: 760px; }
.story-intro p { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; margin-top: 56px; align-items: start; }
.clock-col { position: sticky; top: 104px; }
.clock { background: var(--grad-hero); color: #fff; border-radius: var(--r-xl); padding: 34px 34px 30px; }
.clock-day { font-size: 18px; color: rgba(255, 255, 255, .7); font-weight: 500; }
.clock-time { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(64px, 8vw, 118px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.clock-time small { font-size: .3em; letter-spacing: 0; margin-left: 10px; color: var(--aqua); }
.clock-time.flip { animation: flip .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes flip { from { opacity: .2; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.clock-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.clock-steps li { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); transition: background-color .3s, color .3s; }
.clock-steps li.on { background: #fff; color: var(--iris-deep); }
.clock-steps li.done { color: #fff; }
.clock-bar { margin-top: 24px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.clock-bar span { display: block; height: 100%; width: 25%; background: #fff; border-radius: 6px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.story-cards { display: grid; gap: 28px; }
.scard { background: var(--surface); border-radius: var(--r-xl); padding: 30px; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.scard.on { border-color: var(--iris); box-shadow: var(--shadow); }
.stamp { display: inline-block; font-size: 14px; font-weight: 600; color: var(--iris-deep); background: var(--iris-soft); padding: 5px 12px; border-radius: 999px; }
.scard h3 { display: flex; align-items: center; gap: 12px; font-size: 32px; margin-top: 16px; }
.sn { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.scard > p:not(.stamp) { margin-top: 10px; color: var(--ink-2); }
.crop { display: block; width: 100%; margin-top: 22px; padding: 0; border: 0; background: none; cursor: zoom-in; }
.crop-win {
  --x: 0; --w: 390; position: relative; display: block; aspect-ratio: var(--w) / var(--h); overflow: hidden;
  border-radius: var(--r-md); background: #fff;
}
/* border drawn on top, so it never changes the size the screen is cut from */
.crop-win::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.crop-win img { position: absolute; max-width: none; height: auto; width: calc(390 / var(--w) * 100%); left: calc(var(--x) / var(--w) * -100%); top: calc(var(--y) / var(--h) * -100%); }
/* zoom icon sits in the card corner, never on top of the app screen */
.zoom-ic, .crop::after, .bento-hero button.tile:not(.t-screen)::after {
  content: ""; position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: .85; transition: opacity .2s, transform .2s;
}
.scard { position: relative; }
.scard .crop::after { top: 28px; right: 28px; }
.crop:hover::after, .crop:focus-visible::after, .bento-hero button.tile:hover::after, .bento-hero button.tile:focus-visible::after { opacity: 1; transform: scale(1.08); }

/* ---------- who ---------- */
.who { padding: 40px 0 112px; }
.who-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.who-head h2 { max-width: 13em; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 11px 24px; font-weight: 700; font-size: 16px; border-radius: 999px; color: var(--ink-2); transition: color .3s; min-width: 130px; }
.switch button[aria-selected="true"] { color: #fff; }
.switch-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--grad-btn); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.switch.pro .switch-thumb { transform: translateX(100%); }
.bento-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.w-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px; }
.w-lead h3 { font-size: clamp(28px, 3.4vw, 44px); }
.w-fam { background: var(--iris-soft); }
.w-pro { background: var(--mint-soft); }
.w-note { font-size: 18px; color: var(--ink-2); padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); }
.crop-flat { margin-top: 0; }
.crop-flat .crop-win { box-shadow: var(--shadow); }
.w-item h4 { font-size: 22px; margin-top: 18px; }
.w-item p { margin-top: 8px; color: var(--ink-2); font-size: 16.5px; }
.w-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); color: var(--iris); }
.who-panel:not([hidden]) .tile { animation: tile-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.who-panel:not([hidden]) .tile:nth-child(2) { animation-delay: .05s; }
.who-panel:not([hidden]) .tile:nth-child(3) { animation-delay: .1s; }
.who-panel:not([hidden]) .tile:nth-child(4) { animation-delay: .15s; }

/* ---------- safety ---------- */
.safety { background: var(--grad-hero); color: #fff; padding: 104px 0; border-radius: 48px; margin: 0 12px; }
.safety-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.safety-head p { font-size: 19px; color: rgba(255, 255, 255, .72); }
.bento-safe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento-safe .tile { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); }
.bento-safe h3 { font-size: 22px; margin-top: 18px; }
.bento-safe p { margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: 16.5px; }
.s-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--aqua); }
.s-wide { grid-column: span 2; padding-right: 220px; }
.bento-safe .s-sos { background: var(--rose); border-color: var(--rose); }
.s-sos .s-ic { background: rgba(255, 255, 255, .2); color: #fff; }
.bento-safe .s-sos p { color: rgba(255, 255, 255, .92); }
.bento-safe .s-link { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border-color: #fff; }
.bento-safe .s-link p { color: var(--ink) !important; }
.bento-safe .s-link p { margin: 0; color: #fff; font-size: 18px; font-weight: 500; }
.id-stack { position: absolute; right: 36px; top: 50%; transform: translateY(-50%) rotate(-6deg); }
.id-card { display: block; width: 150px; height: 96px; border-radius: 14px; background: #fff; padding: 14px; position: relative; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.id-card i { position: absolute; left: 14px; top: 16px; width: 40px; height: 48px; border-radius: 8px; background: var(--iris-soft); }
.id-card b { position: absolute; left: 64px; right: 14px; height: 8px; border-radius: 4px; background: #dbe6f3; top: 22px; }
.id-card b + b { top: 40px; right: 40px; }
.id-check { position: absolute; right: -14px; bottom: -14px; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; border: 4px solid #0a5bb8; transform: rotate(6deg); }

/* ---------- inside: centered carousel ---------- */
.inside { padding: 112px 0 96px; }
.inside-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 16px; }
.inside-head p { color: var(--ink-2); max-width: 26em; }
.carousel { --cw: 270px; --step: 232px; position: relative; overflow: hidden; padding: 24px 0 8px; margin: 0 -8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.cv-track { position: relative; height: calc(var(--cw) * 844 / 390 + 96px); outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cv-track:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 24px; }
.cv-track li {
  position: absolute; top: 0; left: 50%; width: var(--cw); margin-left: calc(var(--cw) / -2);
  transform: translateX(calc(var(--off, 0) * var(--step) + var(--drag, 0px))) scale(var(--sc, 1));
  opacity: var(--op, 1); z-index: var(--z, 1); transition: transform .65s cubic-bezier(.2, .8, .2, 1), opacity .45s ease; will-change: transform;
}
.cv-track.dragging li { transition: none; }
.cv-track button { display: block; width: 100%; padding: 0; border: 0; border-radius: 30px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: var(--shadow); transition: box-shadow .4s; }
.cv-track li.on button { cursor: zoom-in; box-shadow: 0 0 0 4px var(--iris-soft), 0 34px 60px -24px rgba(10, 69, 163, .55); }
.cv-track button img { width: 100%; height: auto; aspect-ratio: 390 / 844; pointer-events: none; -webkit-user-drag: none; }
.cv-track p { margin-top: 18px; font-size: 15.5px; color: var(--ink-2); text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.cv-track li.on p { opacity: 1; transform: none; transition-delay: .15s; }
.cv-track p b { display: block; font-family: var(--display); font-stretch: 112%; font-size: 20px; color: var(--ink); }
.cv-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.cv-dots { display: flex; gap: 8px; }
.cv-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .35s cubic-bezier(.2, .8, .2, 1), background-color .3s; }
.cv-dots button[aria-current="true"] { width: 30px; background: var(--grad-btn); }
.cv-nav .round-btn { width: 52px; height: 52px; }
.also-title { font-size: 24px; margin-top: 64px; max-width: 30em; line-height: 1.25; letter-spacing: -.015em; }
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.also .tile { padding: 22px 24px; }
.also b { display: block; font-family: var(--display); font-stretch: 112%; font-size: 19px; }
.also b.aa { font-size: 23px; }
.also span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15.5px; }
.also .t-dark { background: #0f172a; color: #fff; }
.also .t-dark span { color: rgba(255, 255, 255, .72); }

/* ---------- download ---------- */
.download { padding: 0 0 104px; }
.dl-card {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: center;
  border-radius: 44px; padding: 52px; color: #fff;
  background: var(--grad-app);
}
.dl-logo { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.dl-card h2 { font-size: clamp(40px, 5.6vw, 72px); margin-top: 20px; letter-spacing: -.035em; }
.dl-lead { margin-top: 10px; font-size: 19px; color: rgba(255, 255, 255, .86); max-width: 30em; }
.dl-row { margin-top: 28px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 22px; }
.dl-meta dt { font-size: 13px; color: rgba(255, 255, 255, .7); }
.dl-meta dd { font-weight: 700; }
.ios-note { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.ios-note p { flex: 1 1 260px; font-size: 16px; }
.share-msg { font-size: 15px; font-weight: 700; }
.qr-box { background: #fff; color: var(--sun-ink); border-radius: var(--r-xl); padding: 28px; display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 340px; margin-left: auto; }
.qr-box b { font-family: var(--display); font-stretch: 112%; font-size: 20px; color: #0b1f44; }
.qr-box p { margin-top: 4px; font-size: 15px; color: #3d5170; }
.qr { width: 200px; height: 200px; display: grid; place-items: center; }
.qr img, .qr canvas { width: 100% !important; height: auto !important; }
.qr-fallback { font-size: 13px; color: #62748f; }
.dl-lower { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.install-tile h3 { font-size: 24px; }
.install { counter-reset: i; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.install li { counter-increment: i; display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink-2); background: var(--bg); padding: 16px; border-radius: var(--r-md); }
.install li::before { content: counter(i); flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; }
.install b { color: var(--ink); }
.dl-notes { display: grid; gap: 16px; align-content: start; }
.dl-notes .tile { padding: 22px 24px; font-size: 16px; color: var(--ink-2); }
.dl-notes b { color: var(--ink); }
.warn-tile { background: var(--rose-soft) !important; }
.whatsnew ul { margin-top: 8px; display: grid; gap: 4px; }
.whatsnew li { position: relative; padding-left: 18px; }
.whatsnew li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--iris); }

/* ---------- faq ---------- */
.faq { padding: 8px 0 112px; }
.faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px 64px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side p { margin-top: 16px; color: var(--ink-2); }
.faq-side .mail { font-weight: 700; font-size: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color .2s; }
.faq-list details[open] { border-color: var(--iris); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 20px 22px; font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 18.5px; line-height: 1.3; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a6cc9' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { background: var(--grad-hero); color: rgba(255, 255, 255, .8); margin: 0 12px 12px; border-radius: 48px; padding: 56px 0 32px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.brand-foot, .brand-foot:hover { color: #fff; }
.brand-foot img { width: 40px; height: 40px; }
.brand-foot span { font-size: 24px; }
.foot-about { max-width: 30em; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px 0; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--aqua); }
.foot nav ul { display: grid; gap: 8px; }
.foot-contact { display: grid; gap: 8px; justify-items: end; text-align: right; }
.copy { font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ---------- dock ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 24px;
  background: var(--grad-btn); color: #fff; box-shadow: 0 16px 40px -10px rgba(4, 22, 60, .55);
  transform: translateY(150%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); font-size: 14px; line-height: 1.3;
}
.dock img { width: 36px; height: 36px; border-radius: 10px; }
.dock > span { flex: 1; }
.dock b { font-family: var(--display); font-stretch: 120%; font-size: 15px; }
.dock.show { transform: none; }
.viewing .dock { visibility: hidden; }

/* ---------- viewer ---------- */
.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: #fff; }
.viewer::backdrop { background: rgba(4, 16, 36, .92); backdrop-filter: blur(6px); }
.viewer-in { height: 100%; display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; gap: 20px; padding: 20px; }
.viewer figure { margin: 0; text-align: center; }
.viewer img { height: min(82dvh, 844px); width: auto; border-radius: 28px; background: #fff; }
.viewer figcaption { margin-top: 12px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 18px; }
.viewer .round-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.viewer .round-btn:hover { background: #fff; color: #0b1f44; }
.viewer-x { position: fixed; top: 16px; right: 16px; }
.viewer[open] figure { animation: tile-in .3s ease-out; }

/* ---------- legal pages ---------- */
.page-head { padding: 64px 0 36px; }
.page-head .back { display: inline-flex; font-weight: 600; text-decoration: none; background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; color: var(--ink); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin-top: 22px; letter-spacing: -.035em; }
.page-head p { margin-top: 10px; color: var(--muted); }
.legal { padding: 0 0 96px; }
.legal-body { max-width: 800px; display: grid; gap: 14px; }
.legal-body .sec { padding: 28px 30px; background: var(--surface); border-radius: var(--r-lg); }
.legal-body h2 { font-size: 23px; margin-bottom: 12px; letter-spacing: -.015em; line-height: 1.3; }
.legal-body p { margin: 0 0 12px; color: var(--ink-2); }
.legal-body .cl { display: flex; gap: 12px; }
.legal-body .cl-n { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--iris-deep); background: var(--iris-soft); border-radius: 8px; padding: 2px 8px; height: fit-content; margin-top: 3px; }
.legal-body ul { margin: 4px 0 14px; }
.legal-body li { position: relative; padding-left: 22px; margin: 6px 0; color: var(--ink-2); }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--iris); }
.legal-msg { padding: 28px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink-2); }
html[lang="en"] .only-tl { display: none; }
.only-tl { max-width: 800px; margin-bottom: 16px; color: var(--muted); font-size: 16px; }

/* ---------- 404 ---------- */
.nf { min-height: 66vh; display: flex; align-items: center; padding: 64px 0; }
.nf-in { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.nf-tile { width: 200px; height: 200px; border-radius: 44px; background: var(--iris); color: #fff; display: grid; place-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 60px; flex-shrink: 0; transform: rotate(-6deg); }
.nf h1 { font-size: clamp(36px, 5.5vw, 62px); letter-spacing: -.03em; }
.nf p { margin-top: 12px; font-size: 19px; color: var(--ink-2); }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .nav a { padding: 9px 10px; font-size: 14.5px; }
  .s-wide { padding-right: 26px; }
  .id-stack { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { display: block; padding: 14px 18px; font-size: 18px; border-radius: 16px; }
  .bento-hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-hero .t-screen { grid-column: 1 / -1; grid-row: auto; order: -1; padding: 64px 24px 32px; }
  .t-screen img { max-width: 280px; }
  .t-live, .t-cal, .t-pro, .t-rec, .t-lang { grid-column: auto; grid-row: auto; }
  .story-grid { grid-template-columns: 1fr; }
  .clock-col { display: none; }
  .safety-head { grid-template-columns: 1fr; }
  .bento-safe { grid-template-columns: 1fr 1fr; }
  .s-wide { grid-column: 1 / -1; }
  .also { grid-template-columns: 1fr 1fr; }
  .dl-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .qr-box { margin: 0; grid-template-columns: 140px 1fr; justify-items: start; text-align: left; max-width: none; align-items: center; }
  .qr { width: 140px; height: 140px; }
  .dl-lower { grid-template-columns: 1fr; }
  .faq-in { grid-template-columns: 1fr; gap: 24px; }
  .faq-side { position: static; }
}
@media (max-width: 760px) {
  .dock { display: flex; }
  .dl-side { display: none; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .top { top: 8px; margin-top: 8px; padding: 0 8px; }
  .top-pill { padding: 6px 6px 6px 12px; gap: 8px; }
  .top-cta { display: none; }
  .brand span { font-size: 17px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.02; }
  html[lang="tl"] .hero h1 { font-size: clamp(28px, 8.2vw, 38px); }
  .lead { font-size: 17.5px; }
  .cta-row .btn { flex: 1 1 100%; }
  .bento-hero { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .bento-hero .t-screen { padding: 60px 16px 24px; }
  .t-screen img { width: 74%; max-width: 270px; border-radius: 22px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22), 0 24px 44px -18px rgba(4, 22, 60, .6); }
  .tile { padding: 20px; border-radius: 24px; }
  .t-text b { font-size: 18px; }
  .t-text > span { font-size: 14.5px; }
  .t-lang { min-height: 0; flex-direction: row; align-items: center; }
  .hello { font-size: 24px; }
  .ticker { margin-top: 36px; padding: 14px 0; }
  .ticker li { font-size: 17px; }
  .story { padding: 80px 0 64px; }
  .story-grid { margin-top: 36px; }
  .story-cards { gap: 16px; }
  .scard { padding: 20px; border-radius: 28px; }
  .scard h3 { font-size: 26px; }
  .sn { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
  .who { padding: 24px 0 80px; }
  .switch { width: 100%; }
  .switch button { min-width: 0; padding: 11px 12px; }
  .bento-who { grid-template-columns: 1fr; gap: 12px; }
  .w-lead { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
  .safety { padding: 72px 0; border-radius: 32px; margin: 0 8px; }
  .bento-safe { grid-template-columns: 1fr; gap: 12px; }
  .inside { padding: 80px 0 64px; }
  .carousel { --cw: 210px; --step: 150px; margin: 0 -16px; -webkit-mask-image: none; mask-image: none; }
  .cv-track p { font-size: 14.5px; }
  .also { grid-template-columns: 1fr; gap: 10px; }
  .also-title { margin-top: 48px; font-size: 21px; }
  .download { padding-bottom: 72px; }
  .dl-card { padding: 30px 22px; border-radius: 32px; }
  .dl-logo { width: 56px; height: 56px; border-radius: 16px; }
  .dl-row .btn { width: 100%; }
  .install { grid-template-columns: 1fr; }
  .faq { padding-bottom: 72px; }
  .faq-list summary { font-size: 17px; padding: 18px; }
  .faq-list details p { padding: 0 18px 18px; }
  .foot { margin: 0 8px 8px; border-radius: 32px; padding-top: 40px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-contact { justify-items: start; text-align: left; }
  .viewer-in { grid-template-columns: 1fr; padding: 64px 12px 84px; }
  .viewer img { height: auto; max-height: calc(100dvh - 190px); width: auto; max-width: 100%; border-radius: 20px; }
  .viewer-prev, .viewer-next { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .viewer-prev { left: calc(50% - 62px); }
  .viewer-next { right: calc(50% - 62px); }
  .page-head { padding: 40px 0 28px; }
  .legal-body .sec { padding: 22px 20px; }
  .nf-tile { width: 140px; height: 140px; font-size: 42px; border-radius: 32px; }
}
@media (max-width: 370px) {
  .lang button { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .ticker li[aria-hidden="true"] { display: none; }
}
@media print { .top, .dock, .viewer, .cv-nav, .ticker { display: none !important; } }

/* ================= motion ================= */
/* scroll reveal */
.motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }
/* hero text rises in */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-head > * { animation: rise-in .9s cubic-bezier(.2, .8, .2, 1) both; }
  .js .hero-head > :nth-child(2) { animation-delay: .08s; }
  .js .hero-head > :nth-child(3) { animation-delay: .16s; }
  .js .hero-head > :nth-child(4) { animation-delay: .24s; }
  .js .hero-head > :nth-child(5) { animation-delay: .32s; }
  /* the Home screen floats gently */
  .t-screen img { animation: bob 6s ease-in-out 1.2s infinite; }
  /* SOS icon pulses */
  .s-sos .s-ic { animation: sos 2.2s ease-out infinite; }
  /* download button shine */
  #dl-btn { position: relative; overflow: hidden; }
  #dl-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); animation: shine 3.6s ease-in-out 1.5s infinite; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sos { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 80%, 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }
@keyframes shine { 0% { left: -80%; } 35%, 100% { left: 130%; } }
/* tiles lift when you point at them */
.bento-hero button.tile, .w-item, .bento-safe .tile, .also .tile, .scard { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .3s, opacity .7s ease; }
@media (hover: hover) {
  .bento-hero button.tile:not(.t-screen):hover, .w-item:hover, .also .tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .bento-safe .tile:hover { transform: translateY(-6px); }
  .crop:hover .crop-win img, .bento-hero button.tile:hover .crop-win img { transform: scale(1.04); }
}
.crop-win img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 50%; }
/* story screens settle in when their step is active */
.scard .crop-win img { transform: scale(1.06); }
.scard.on .crop-win img { transform: scale(1); }
/* hero screen tilts toward the pointer */
.bento-hero .t-screen { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.bento-hero .t-screen.tilting { transition: transform .12s linear; }
/* scroll progress on the header */
.top-pill { position: relative; }
.top-pill::after { content: ""; position: absolute; left: 28px; bottom: -1px; height: 3px; width: calc(var(--p, 0) * (100% - 56px)); background: linear-gradient(90deg, var(--aqua), var(--sky), var(--iris-deep)); border-radius: 3px; }
/* download card glow follows the pointer */
.dl-card { position: relative; overflow: hidden; }
.dl-card::before { content: ""; position: absolute; width: 520px; height: 520px; left: calc(var(--gx, 80%) - 260px); top: calc(var(--gy, 10%) - 260px); border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 65%); pointer-events: none; transition: left .25s ease-out, top .25s ease-out; }
.dl-card > * { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .motion .rv { opacity: 1; transform: none; }
  .cv-track li { transition: none; }
}
