/* Tavelo marketing site. Colours, radii and timings come from tokens.css,
   a verbatim copy of tavelo-pms/src/styles/tokens.css — change that one, copy it here.
   The page adds three things of its own: --lime (the accent on dark), pill buttons, and a serif italic for one word a heading. */

:root {
  --lime: #B6F36A;                 /* accent on the dark hero: accent-300 pushed toward yellow, 12:1 on --ink */
  --lime-soft: #D6F9A8;
  --ink: #04150E;                  /* the hero's ground, under brand-900 */
  --serif: "Instrument Serif", Georgia, serif;
  /* Not var(--display): that asks for a locally installed Colasta first, and a trial copy of it has no
     punctuation — every full stop and comma in a heading vanished on the owner's own Mac. Until the webfont licence
     is in place the site names Outfit outright; then add an @font-face for Colasta and put it first here. */
  --display: "Outfit", system-ui, sans-serif;
  --r-xl: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tv-canvas); color: var(--tv-text); font: 400 16px/1.6 var(--tv-font-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
i, em { font-style: normal; }
:focus-visible { outline: 2px solid var(--tv-focus); outline-offset: 3px; border-radius: var(--tv-radius-sm); }

/* a drawn product screen is a screenshot: it stays light whatever the page's theme */
.light {
  --tv-canvas:var(--tv-n-50); --tv-surface:var(--tv-n-0); --tv-subtle:var(--tv-n-100); --tv-selected:var(--tv-brand-50);
  --tv-border:var(--tv-n-200); --tv-border-strong:var(--tv-n-300); --tv-text:var(--tv-n-800); --tv-text-muted:var(--tv-n-500); --tv-text-faint:var(--tv-n-400);
  --tv-action:var(--tv-brand-600);
  --tv-success:#1B8A1E; --tv-success-bg:#E5F6E4; --tv-success-border:#A5E2A2; --tv-warning:#B96C0C; --tv-warning-bg:#FDF3E3; --tv-warning-border:#F0DCB6;
  --tv-danger:#C8372D; --tv-danger-bg:#FBEAE8; --tv-info:#2563A8; --tv-info-bg:#E8F0F9; --tv-purple:#7B52B0; --tv-purple-bg:#F0EAF6; --tv-purple-border:#DCCDEA;
  color: var(--tv-text);
}

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1180px, 100% - 64px); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tv-surface); padding: 8px 12px; border-radius: var(--tv-radius-sm); z-index: 50; }
.skip:focus { left: 8px; }
.mono { font-family: var(--tv-font-mono); font-size: .92em; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* type. Neither display face has a ₹ glyph: a rupee figure is never set in a heading. */
h1, h2 { font-family: var(--display); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; max-width: 15em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--tv-action); padding-right: .04em; }
h1 em { font-size: 1.1em; line-height: .9; }
h3 { font: 600 17px/1.35 var(--tv-font-ui); letter-spacing: -.01em; }
.sub { color: var(--tv-text-muted); font-size: 17px; max-width: 40em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--tv-font-ui); color: var(--tv-action); margin-bottom: var(--tv-space-4); }
.kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kicker--on, .sec--dark em { color: var(--lime); }
.sub--on { color: rgba(255,255,255,.68); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--tv-radius-full); font: 500 14px/1 var(--tv-font-ui); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--tv-dur-base) var(--tv-ease), color var(--tv-dur-base) var(--tv-ease), border-color var(--tv-dur-base) var(--tv-ease), transform var(--tv-dur-fast) var(--tv-ease), box-shadow var(--tv-dur-base) var(--tv-ease); }
.btn:active { transform: scale(.98); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn--glow { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 0 rgba(182,243,106,0); }
.btn--glow:hover { background: var(--lime-soft); box-shadow: 0 8px 32px -6px rgba(182,243,106,.45); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--tv-brand-50); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--solid { background: var(--tv-n-900); color: #fff; }
.btn--solid:hover { background: var(--tv-brand-700); }
[data-theme="dark"] .btn--solid { background: var(--lime); color: var(--ink); }
[data-theme="dark"] .btn--solid:hover { background: var(--lime-soft); }
.btn[disabled] { opacity: .6; cursor: progress; }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--tv-dur-base) var(--ease-out); }
a:hover > .arrow, .btn:hover .arrow { transform: translate(2px, -2px); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: inherit; opacity: .8; cursor: pointer; transition: opacity var(--tv-dur-fast), background var(--tv-dur-fast); }
.icon-btn:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }

.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--tv-border); border-radius: var(--tv-radius-sm); background: var(--tv-subtle); color: var(--tv-text-muted); font: 500 11px/1 var(--tv-font-ui); white-space: nowrap; }
.chip--success { background: var(--tv-success-bg); border-color: var(--tv-success-border); color: var(--tv-success); }
.chip--warning { background: var(--tv-warning-bg); border-color: var(--tv-warning-border); color: var(--tv-warning); }
.chip--purple { background: var(--tv-purple-bg); border-color: var(--tv-purple-border); color: var(--tv-purple); }
.avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tv-brand-100); color: var(--tv-brand-700); font: 600 11px/1 var(--tv-font-ui); }
.avatar--sm { width: 28px; height: 28px; font-size: 10px; }
.mini-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: var(--tv-radius-full); border: 1px solid var(--tv-border-strong); font: 500 11.5px/1 var(--tv-font-ui); white-space: nowrap; }
.mini-btn--solid { background: var(--tv-brand-600); border-color: var(--tv-brand-600); color: #fff; }
.pulse { position: relative; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--tv-accent-400); }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--tv-accent-400); animation: pulse 2.4s var(--tv-ease) infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }

/* announcement + bar */
.announce { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; background: var(--lime); color: var(--ink); font-size: 13.5px; text-decoration: none; text-align: center; }
.announce b { font-weight: 600; }
.bar { position: sticky; top: 0; z-index: 30; color: #fff; border-bottom: 1px solid transparent; transition: background var(--tv-dur-slow) var(--tv-ease), color var(--tv-dur-slow) var(--tv-ease), border-color var(--tv-dur-slow) var(--tv-ease); }
.bar[data-scrolled] { background: color-mix(in srgb, var(--ink) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-color: rgba(255,255,255,.08); }
.bar[data-past] { backdrop-filter: blur(14px) saturate(1.4); background: color-mix(in srgb, var(--tv-canvas) 84%, transparent); color: var(--tv-text); border-color: var(--tv-border); }
.bar__in { height: 68px; display: flex; align-items: center; gap: var(--tv-space-5); }
.logo { display: block; }
.logo__img { display: block; width: 102px; height: 27px; background: currentColor; -webkit-mask: url(assets/tavelo-logo.svg) left center / contain no-repeat; mask: url(assets/tavelo-logo.svg) left center / contain no-repeat; }
.bar[data-past] .logo__img { color: var(--tv-action); }
.bar__nav { display: none; gap: 4px; margin-inline: auto; }
.bar__nav a { padding: 8px 14px; border-radius: var(--tv-radius-full); font-size: 14px; color: inherit; opacity: .78; text-decoration: none; transition: opacity var(--tv-dur-fast), background var(--tv-dur-fast); }
.bar__nav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.bar__end { margin-left: auto; display: flex; gap: 6px; align-items: center; }
@media (min-width: 980px) { .bar__nav { display: flex; } .bar__end { margin-left: 0; } }

/* hero */
.hero { position: relative; isolation: isolate; margin-top: -68px; padding: calc(68px + clamp(48px, 8vw, 96px)) 0 0; background: var(--ink); color: #fff; overflow: hidden; text-align: center; }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%); }
.hero__glow { position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.hero__glow--l { left: -400px; top: 34%; background: radial-gradient(circle, #9BE84A, rgba(35,169,38,.5) 45%, transparent 70%); }
.hero__glow--r { right: -420px; top: 26%; background: radial-gradient(circle, var(--tv-brand-400), rgba(13,122,85,.4) 50%, transparent 70%); animation-delay: -8s; }
@keyframes drift { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }
.hero__copy { display: grid; justify-items: center; }
.hero h1 em { color: var(--lime); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgba(182,243,106,.35); border-radius: var(--tv-radius-full); background: rgba(182,243,106,.06); color: var(--lime-soft); font-size: 13px; margin-bottom: var(--tv-space-5); }
.pill .pulse, .pill .pulse::after { background-color: var(--lime); border-color: var(--lime); }
.lede { margin-top: var(--tv-space-5); font-size: clamp(16px, 1.5vw, 18px); color: rgba(255,255,255,.72); max-width: 38em; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--tv-space-3); margin-top: var(--tv-space-6); }
.hero__note { margin-top: var(--tv-space-4); font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 480px) { .hero__cta { width: 100%; } .hero__cta .btn { width: 100%; } }

/* load sequence and scroll reveal — only when the script is there to finish them */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) calc(var(--d) * 90ms + 80ms) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out) var(--rd, 0ms), transform .8s var(--ease-out) var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* the drawn app */
.hero__stage { margin-top: clamp(40px, 6vw, 72px); perspective: 1600px; }
.app { text-align: left; background: var(--tv-canvas); border-radius: var(--r-xl) var(--r-xl) 0 0; border: 1px solid rgba(255,255,255,.5); border-bottom: 0; box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 -20px 80px -20px rgba(155,232,74,.35); overflow: hidden; font-size: 12px; transform: rotateX(var(--tilt, 0deg)); transform-origin: 50% 100%; will-change: transform; }
.app__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--tv-surface); border-bottom: 1px solid var(--tv-border); }
.app__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.app__brand img { height: 22px; width: auto; }
.app__me { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.app__live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: var(--tv-radius-full); background: var(--tv-success-bg); color: var(--tv-success); font-weight: 500; font-size: 11px; }
.app__body { padding: clamp(14px, 2.2vw, 24px); display: grid; gap: clamp(12px, 1.6vw, 18px); }
.app__hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app__hello strong { display: block; font: 500 clamp(18px, 2.2vw, 24px)/1.2 var(--display); letter-spacing: -.02em; }
.app__hello span { color: var(--tv-text-muted); }
.app__create { flex: none; padding: 8px 14px; border-radius: var(--tv-radius-full); background: var(--tv-brand-600); color: #fff !important; font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.tile { padding: 14px 16px; border-radius: var(--tv-radius-lg); background: var(--tv-surface); border: 1px solid var(--tv-border); display: grid; gap: 2px; }
.tile span { color: var(--tv-text-muted); font-weight: 500; }
.tile b { font: 600 clamp(22px, 2.6vw, 30px)/1.15 var(--tv-font-ui); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile small { font-size: 11px; color: var(--tv-text-faint); }
.tile--brand { background: linear-gradient(160deg, var(--tv-brand-500), var(--tv-brand-800)); border-color: transparent; color: #fff; }
.tile--brand span, .tile--brand small { color: rgba(255,255,255,.75); }
.tile--ring { grid-template-columns: 1fr auto; align-items: center; }
.tile--ring > div { display: grid; gap: 2px; }
.ring { width: 52px; height: 52px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--tv-subtle); stroke-width: 5; }
.ring .ring__v { stroke: var(--tv-accent-500); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); transition: stroke-dashoffset 1.6s var(--ease-out) .9s; }
.js .app:not(.is-in) .ring__v { stroke-dashoffset: 100; }
.app__cols { display: grid; gap: clamp(12px, 1.6vw, 18px); }
@media (min-width: 900px) { .app__cols { grid-template-columns: 1.7fr 1fr; } }
.panel { background: var(--tv-surface); border: 1px solid var(--tv-border); border-radius: var(--tv-radius-lg); overflow: hidden; }
.panel__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; font-size: 13px; }

/* calendar: a bar runs from the middle of its arrival column to the middle of its departure column */
.cal__grid { position: relative; --rail: 64px; border-top: 1px solid var(--tv-border); }
.cal__head, .cal__row { display: grid; grid-template-columns: var(--rail) 1fr; }
.cal__rail { padding: 0 10px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; border-right: 1px solid var(--tv-border); }
.cal__head { background: var(--tv-canvas); border-bottom: 1px solid var(--tv-border); }
.cal__days { display: grid; grid-template-columns: repeat(6, 1fr); }
.cal__days span { padding: 6px 0; text-align: center; color: var(--tv-text-muted); font-size: 10px; line-height: 1.3; }
.cal__days span:first-child { background: var(--tv-selected); color: var(--tv-action); }
.cal__days b { display: block; font-size: 12.5px; color: var(--tv-text); }
.cal__row { height: 38px; border-bottom: 1px solid var(--tv-border); }
.cal__row:last-of-type { border-bottom: 0; }
.cal__lane { position: relative; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), var(--tv-border) calc(100% / 6 - 1px) calc(100% / 6)); }
.bk { position: absolute; top: 6px; height: 26px; left: calc((var(--s) + .5) / 6 * 100% + 2px); width: calc((var(--e) - var(--s)) / 6 * 100% - 4px); display: flex; align-items: center; padding: 0 8px; border-radius: 7px; font-weight: 500; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid; transform-origin: left center; }
.bk--edge { left: 0; width: calc((var(--e) + .5) / 6 * 100% - 2px); border-radius: 0 7px 7px 0; }
.js .app .bk { transform: scaleX(0); opacity: 0; transition: transform .9s var(--ease-out), opacity .4s; }
.js .app.is-in .bk { transform: none; opacity: 1; }
.app .cal__row:nth-of-type(2) .bk { transition-delay: .75s; } .app .cal__row:nth-of-type(3) .bk { transition-delay: .83s; } .app .cal__row:nth-of-type(4) .bk { transition-delay: .91s; } .app .cal__row:nth-of-type(5) .bk { transition-delay: .99s; } .app .cal__row:nth-of-type(6) .bk { transition-delay: 1.07s; }
.bk--in { background: var(--tv-success-bg); color: var(--tv-success); border-color: var(--tv-success); }
.bk--conf { background: var(--tv-info-bg); color: var(--tv-info); border-color: var(--tv-info); }
.bk--hold { background: var(--tv-warning-bg); color: var(--tv-warning); border: 1px dashed var(--tv-warning); }
.bk--block { color: var(--tv-text-muted); border-color: var(--tv-n-400); background: repeating-linear-gradient(135deg, var(--tv-subtle) 0 6px, var(--tv-surface) 6px 12px); }
.st { width: 7px; height: 7px; border-radius: 50%; }
.st--clean { background: var(--tv-success); } .st--dirty { background: var(--tv-danger); } .st--prog { background: var(--tv-warning); }
.cal__now { position: absolute; top: 0; bottom: 0; left: calc(var(--rail) + (100% - var(--rail)) * .105); width: 2px; background: var(--tv-danger); opacity: .75; }

/* chart */
.chart { display: none; padding-bottom: 14px; }
@media (min-width: 900px) { .chart { display: block; } }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 10px; height: 168px; padding: 8px 16px 0; }
.bars i { height: calc(var(--h) * 1%); border-radius: 8px 8px 3px 3px; background: var(--tv-n-900); transform-origin: bottom; transition: transform 1s var(--ease-out); }
.bars i.is-today { background: var(--tv-brand-600); }
.bars i.is-fc { background: var(--lime); }
.js .app:not(.is-in) .bars i { transform: scaleY(0); }
.bars i:nth-child(1) { transition-delay: .8s; } .bars i:nth-child(2) { transition-delay: .86s; } .bars i:nth-child(3) { transition-delay: .92s; } .bars i:nth-child(4) { transition-delay: .98s; } .bars i:nth-child(5) { transition-delay: 1.04s; } .bars i:nth-child(6) { transition-delay: 1.1s; } .bars i:nth-child(7) { transition-delay: 1.16s; }
.bars__x { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; padding: 6px 16px 0; text-align: center; font-size: 10.5px; color: var(--tv-text-faint); }
.bars__k { display: flex; align-items: center; gap: 6px; padding: 10px 16px 0; font-size: 11px; color: var(--tv-text-muted); }
.bars__k i { width: 8px; height: 8px; border-radius: 2px; background: var(--tv-n-900); } .bars__k i.fc { background: var(--lime); margin-left: 8px; }

/* marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--tv-border); background: var(--tv-surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: slide 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li { display: flex; align-items: center; gap: 28px; padding: 18px 14px; font-size: 14px; font-weight: 500; color: var(--tv-text-muted); white-space: nowrap; }
.marquee li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--tv-accent-400); }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--tint { background: var(--tv-surface); border-block: 1px solid var(--tv-border); }
.sec--pad0 { padding-top: 0; }
.sec__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head .sub { margin-top: var(--tv-space-5); }

/* bento */
.bento { display: grid; gap: 14px; }
.cell { position: relative; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-xl); background: var(--tv-surface); border: 1px solid var(--tv-border); overflow: hidden; transition: border-color var(--tv-dur-slow) var(--tv-ease), transform var(--tv-dur-slow) var(--ease-out), box-shadow var(--tv-dur-slow) var(--tv-ease); }
.sec--tint .cell { background: var(--tv-canvas); }
.bento .cell:hover { border-color: color-mix(in srgb, var(--tv-action) 45%, var(--tv-border)); transform: translateY(-3px); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--tv-action) 45%, transparent); }
.cell > p, .cell > div > p { margin-top: 8px; font-size: 14.5px; color: var(--tv-text-muted); }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > .cell { grid-column: span 3; } }
@media (min-width: 1000px) {
  .bento > .cell { grid-column: span 2; }
  .bento--arrival .cell--hw { order: -1; }
  .bento--arrival .cell--wallet { grid-column: span 4; display: grid; grid-template-columns: 1fr 264px; gap: 40px; align-items: center; }
  .bento--arrival .cell--hw { grid-column: span 6; }
  .bento--product .cell--wide { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
}
.cell .light { margin-top: 20px; border: 1px solid var(--tv-border); border-radius: var(--tv-radius-lg); background: var(--tv-surface); font-size: 12.5px; }
.cell--wide .light { margin-top: 20px; } @media (min-width: 1000px) { .cell--wide .light { margin-top: 0; } }

.invoice { padding: 18px 20px; box-shadow: 0 24px 48px -28px rgba(0,46,30,.35); }
.invoice__top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--tv-border); }
.invoice__top b { display: block; font-size: 11px; letter-spacing: .08em; color: var(--tv-action); }
.invoice__seller { text-align: right; font-weight: 600; }
.invoice__seller span { display: block; font-weight: 400; font-size: 10.5px; color: var(--tv-text-muted); }
.invoice__lines { width: 100%; border-collapse: collapse; margin-top: 4px; }
.invoice__lines th { text-align: left; font: 500 10.5px/1 var(--tv-font-ui); color: var(--tv-text-faint); text-transform: uppercase; letter-spacing: .05em; padding: 10px 0 6px; }
.invoice__lines th.num { text-align: right; }
.invoice__lines td { padding: 7px 0; border-top: 1px solid var(--tv-border); }
.invoice__lines .tax td { color: var(--tv-text-muted); }
.invoice__lines tfoot td { font-weight: 700; font-size: 15px; border-top: 2px solid var(--tv-text); padding-top: 10px; }
.invoice__words { margin-top: 10px; font-size: 11px; color: var(--tv-text-muted); }

.deadline__row, .arrivals li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; }
.deadline__row + .deadline__row, .arrivals li + li { border-top: 1px solid var(--tv-border); }
.deadline b, .arrivals b { display: block; font-weight: 600; }
.deadline .mono, .arrivals span:not(.avatar):not(.chip):not(.mini-btn) { color: var(--tv-text-muted); font-size: 11.5px; }
.meter { height: 5px; margin-top: 7px; border-radius: 3px; background: var(--tv-subtle); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--w) * 1%); border-radius: 3px; background: var(--tv-warning); transform-origin: left; transition: transform 1.4s var(--ease-out) .3s; }
.js .reveal:not(.is-in) .meter i { transform: scaleX(0); }
.idcard { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.idcard .mono { font-size: 17px; letter-spacing: .08em; font-weight: 500; }
.rooms li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 14px 11px 16px; position: relative; }
.rooms li + li { border-top: 1px solid var(--tv-border); }
.rooms li::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.rooms b { font-size: 14px; } .rooms span { color: var(--tv-text-muted); } .rooms em { font-weight: 500; font-size: 11.5px; color: var(--c); }
.u-urgent { --c: var(--tv-danger); } .u-high { --c: var(--tv-warning); } .u-ok { --c: var(--tv-success); }
.ticket { padding: 14px 16px; display: grid; gap: 6px; }
.ticket > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; } .ticket b { font-size: 14px; }
.ticket i { color: var(--tv-text-muted); font-size: 11.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: 14px 16px; display: grid; gap: 2px; } .split > div + div { border-left: 1px solid var(--tv-border); }
.split span, .split i, .rateline span:not(.chip) { color: var(--tv-text-muted); font-size: 11.5px; } .split b, .rateline .num b { font-size: 15px; font-variant-numeric: tabular-nums; }
.rateline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.rateline > div { display: grid; gap: 4px; } .rateline .num { justify-items: end; }

/* assistant */
.ai { position: relative; isolation: isolate; overflow: hidden; margin-top: 14px; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--ink); color: #fff; display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .ai { grid-template-columns: 1.1fr minmax(0, 420px); } }
.ai__glow { position: absolute; z-index: -1; right: -200px; top: -240px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(155,232,74,.5), rgba(13,122,85,.35) 45%, transparent 70%); filter: blur(70px); }
.ai h2 { font-size: clamp(28px, 3.4vw, 40px); } .ai h2 em { color: var(--lime); }
.ai .sub { margin-top: var(--tv-space-5); }
.ticks { margin-top: var(--tv-space-5); display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(182,243,106,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23B6F36A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.800 2.800L14 7.500'/%3E%3C/svg%3E") center/20px no-repeat; }
.ticks--on li { color: rgba(255,255,255,.82); } .ticks--on b { color: #fff; font-weight: 600; }
.chat { padding: 18px; display: grid; gap: 10px; border-radius: var(--tv-radius-lg); background: var(--tv-surface); font-size: 13.5px; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 30px 60px -30px #000; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: var(--tv-subtle); }
.msg--me { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--tv-n-900); color: #fff; }
.approve { border: 1px solid var(--tv-border-strong); border-radius: var(--tv-radius-lg); padding: 14px; }
.approve__t { font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--tv-text-muted); }
.approve dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 10px 0 12px; }
.approve dt { color: var(--tv-text-muted); } .approve dd { font-weight: 500; text-align: right; }
.approve__b { display: flex; gap: 8px; }

/* founding */
.founding { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 6vw, 80px); border-radius: clamp(22px, 3vw, 36px); background: var(--ink); color: #fff; display: grid; gap: clamp(32px, 5vw, 56px); }
.founding .hero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%); }
.founding__glow { position: absolute; z-index: -1; left: -240px; bottom: -380px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, #9BE84A, rgba(35,169,38,.45) 45%, transparent 70%); filter: blur(90px); opacity: .5; }
.founding h2 em { color: var(--lime); }
.founding .big { color: var(--lime); font-variant-numeric: tabular-nums; }
.founding .sub { margin-top: var(--tv-space-5); }
.founding__cols { display: grid; gap: 14px; }
@media (min-width: 860px) { .founding__cols { grid-template-columns: 1.3fr 1fr; } }
.offer { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.offer .btn { margin-top: var(--tv-space-6); }

/* apply */
.apply { display: grid; gap: var(--tv-space-7); align-items: start; }
@media (min-width: 960px) { .apply { grid-template-columns: 1fr minmax(0, 580px); gap: var(--tv-space-8); } .apply__copy { position: sticky; top: 108px; } }
.apply .sub { margin-top: var(--tv-space-5); }
.steps { counter-reset: s; margin-top: var(--tv-space-6); display: grid; gap: var(--tv-space-5); }
.steps li { counter-increment: s; position: relative; padding-left: 48px; color: var(--tv-text-muted); font-size: 15px; }
.steps li b { color: var(--tv-text); font-weight: 600; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--tv-border-strong); color: var(--tv-action); font: italic 400 18px/1 var(--serif); }
.form { display: grid; gap: var(--tv-space-4); padding: clamp(20px, 3vw, 36px); box-shadow: 0 40px 80px -48px color-mix(in srgb, var(--tv-action) 50%, transparent); }
.form__row { display: grid; gap: var(--tv-space-4); }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 500; }
.field i { color: var(--tv-text-faint); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--tv-border-strong); border-radius: 12px; background: var(--tv-canvas); color: var(--tv-text); font: 400 16px/1.4 var(--tv-font-ui); transition: border-color var(--tv-dur-fast), box-shadow var(--tv-dur-base), background var(--tv-dur-fast); }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: var(--tv-surface); border-color: var(--tv-action); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tv-focus) 20%, transparent); }
.field[data-bad] input, .field[data-bad] select { border-color: var(--tv-danger); }
.field small { color: var(--tv-danger); font-size: 12.5px; animation: nudge .3s var(--tv-ease); }
@keyframes nudge { from { opacity: 0; transform: translateY(-4px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--tv-text-muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--tv-brand-600); flex: none; }
.check[data-bad] { color: var(--tv-danger); }
.form__error { padding: 12px 14px; border-radius: 12px; background: var(--tv-danger-bg); border: 1px solid var(--tv-danger-border); color: var(--tv-danger); font-size: 14px; }
.form__submit { width: 100%; }
.form__fine { font-size: 12.5px; color: var(--tv-text-faint); text-align: center; }
.done { padding: clamp(32px, 5vw, 56px); text-align: center; display: grid; gap: var(--tv-space-3); justify-items: center; animation: rise .7s var(--ease-out); }
.done[hidden], .form[hidden] { display: none; }
.done__mark { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.done__mark path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s var(--ease-out) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 22px; } .done p { color: var(--tv-text-muted); max-width: 30em; }
.done a { color: var(--tv-action); font-weight: 500; }

/* faq */
.faq__list { max-width: 860px; border-top: 1px solid var(--tv-border); }
details { border-bottom: 1px solid var(--tv-border); }
summary { cursor: pointer; padding: 22px 48px 22px 0; font-size: 17px; font-weight: 500; list-style: none; position: relative; transition: color var(--tv-dur-fast); }
summary:hover { color: var(--tv-action); }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: currentColor; transition: transform var(--tv-dur-slow) var(--ease-out); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { padding: 0 48px 24px 0; color: var(--tv-text-muted); font-size: 15.5px; max-width: 46em; animation: nudge .35s var(--tv-ease); }

/* the phone's apply bar */
.dock { position: fixed; inset: auto 0 0 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--tv-surface) 90%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--tv-border); transform: translateY(110%); transition: transform var(--tv-dur-slow) var(--ease-out); }
.dock .btn { width: 100%; }
.dock[data-show] { transform: none; }
@media (min-width: 720px) { .dock { display: none; } }

/* somebody who asked for less motion gets the finished page, still */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rise, .js .reveal, .js .app .bk, .js .w { opacity: 1; transform: none; filter: none; }
  .js .app:not(.is-in) .bars i, .js .reveal:not(.is-in) .meter i { transform: none; }
  .js .app:not(.is-in) .ring__v { stroke-dashoffset: calc(100 - var(--v)); }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; } .marquee li[aria-hidden] { display: none; }
}

/* ───────────── things a visitor can use ───────────── */

/* where you are: a progress line under the bar, and the section's link lit */
.bar__prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; }
.bar[data-past] .bar__prog { background: var(--tv-action); }
.bar__nav a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }

/* the hero's light follows the pointer */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--spot, 0); transition: opacity .6s var(--tv-ease); background: radial-gradient(520px circle at var(--hx, 50%) var(--hy, 30%), rgba(182,243,106,.13), transparent 65%); }

/* headings arrive a word at a time */
.w { display: inline-block; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out); transition-delay: calc(var(--i) * 45ms + 80ms); }
.js .reveal:not(.is-in) .w, .js h1:not(.is-in) .w { opacity: 0; transform: translateY(.35em); filter: blur(10px); }

/* a card's light follows the pointer too */
.cell::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--tv-ease); background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--tv-action) 13%, transparent), transparent 65%); }
.cell:hover::after { opacity: 1; }

/* app tabs */
.app__top { flex-wrap: wrap; }
.app__tabs { position: relative; display: flex; gap: 2px; order: 3; width: 100%; padding: 3px; border-radius: var(--tv-radius-full); background: var(--tv-subtle); overflow-x: auto; scrollbar-width: none; }
.app__tabs::-webkit-scrollbar { display: none; }
.app__tabs button { position: relative; z-index: 1; flex: 1 0 auto; padding: 7px 13px; border: 0; border-radius: var(--tv-radius-full); background: none; font: 500 12px/1 var(--tv-font-ui); color: var(--tv-text-muted); cursor: pointer; transition: color var(--tv-dur-base) var(--tv-ease); }
.app__tabs button:hover { color: var(--tv-text); }
.app__tabs button[aria-selected="true"] { color: #fff; }
.app__ink { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: var(--x, 3px); width: var(--wd, 80px); border-radius: var(--tv-radius-full); background: var(--tv-n-900); transition: left .45s var(--ease-out), width .45s var(--ease-out); }
@media (min-width: 860px) { .app__tabs { order: 0; width: auto; margin-inline: auto; } .app__tabs button { flex: none; } .app__me { margin-left: 0; } }
.app__body { display: grid; min-height: 380px; align-content: start; }
.view { display: grid; gap: clamp(12px, 1.6vw, 18px); align-content: start; animation: view .45s var(--ease-out); }
.view[hidden] { display: none; }
@keyframes view { from { opacity: 0; transform: translateY(10px) scale(.995); filter: blur(4px); } }

/* dragging a booking */
.app--ready .bk { transition: left .4s var(--ease-out), width .4s var(--ease-out), transform .25s var(--ease-out), box-shadow .2s, opacity .2s !important; transition-delay: 0s !important; }
.bk--drag { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.bk--drag:hover { box-shadow: 0 4px 12px -4px rgba(20,26,24,.35); }
.bk--drag:focus-visible { outline: 2px solid var(--tv-brand-600); outline-offset: 1px; }
.bk.is-drag { cursor: grabbing; z-index: 5; transition: box-shadow .2s !important; box-shadow: 0 10px 24px -6px rgba(20,26,24,.45); opacity: .95; }
.bk.is-bad { animation: shake .4s var(--tv-ease); }
@keyframes shake { 20% { translate: -5px 0; } 40% { translate: 5px 0; } 60% { translate: -3px 0; } 80% { translate: 3px 0; } }
.cal__lane.is-over { box-shadow: inset 0 0 0 2px var(--tv-brand-300); }
.hint { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 7px; border-radius: var(--tv-radius-full); background: var(--tv-n-900); color: #fff; font-size: 11px; font-weight: 500; transition: opacity .4s, transform .4s var(--ease-out); }
.hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; animation: nudge-x 1.8s var(--tv-ease) infinite; }
@keyframes nudge-x { 0%, 100% { transform: none; } 50% { transform: translateX(5px) rotate(8deg); } }
.hint.is-gone { opacity: 0; transform: scale(.9); pointer-events: none; }
.toast { position: absolute; left: 50%; bottom: 18px; z-index: 6; max-width: min(520px, calc(100% - 32px)); width: max-content; margin: 0; padding: 10px 16px; border-radius: 14px; background: var(--tv-n-900); color: #fff; font-size: 12.5px; line-height: 1.45; text-align: center; box-shadow: 0 12px 32px -8px rgba(0,0,0,.5); opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-bad { background: var(--tv-danger); }
.app { position: relative; }

/* housekeeping */
.hk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .hk { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.hk__room { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 18px; border: 1px solid var(--tv-border); border-radius: var(--tv-radius-lg); background: var(--tv-surface); font: inherit; color: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: transform .25s var(--ease-out), border-color .25s, background .4s; }
.hk__room::before, .rooms button::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); transition: background .4s; }
.hk__room:hover { transform: translateY(-2px); border-color: var(--c); }
.hk__room:active, .rooms button:active { transform: scale(.98); }
.hk__room b { font-size: 20px; letter-spacing: -.02em; } .hk__room em { font-weight: 600; color: var(--c); transition: color .4s; } .hk__room span { color: var(--tv-text-muted); font-size: 11px; }
.hk__room.u-ok { background: color-mix(in srgb, var(--tv-success-bg) 55%, var(--tv-surface)); }
.is-pop { animation: pop .45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.04); } }
.rooms button { position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 14px 11px 16px; border: 0; border-top: 1px solid var(--tv-border); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.rooms button:first-child { border-top: 0; }
.rooms button:hover { background: var(--tv-canvas); }
.rooms em { transition: color .4s; }
.rooms__note { margin: 0; padding: 9px 16px; border-top: 1px solid var(--tv-border); font-size: 11.5px; color: var(--tv-text-muted); background: var(--tv-canvas); }

/* folio */
.app__cols--money { align-items: start; }
.folio { width: 100%; border-collapse: collapse; font-size: 13px; }
.folio td { padding: 12px 16px; border-bottom: 1px solid var(--tv-border); }
.folio .tax td { color: var(--tv-text-muted); }
.folio .pay td { color: var(--tv-success); font-weight: 500; animation: nudge .4s var(--tv-ease); }
.folio tfoot td { border: 0; font-weight: 700; font-size: 16px; }
.paybox { padding: 16px; display: grid; gap: 12px; font-size: 13px; }
.paybox__m { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paybox__m button { height: 40px; border: 1px solid var(--tv-border-strong); border-radius: 12px; background: var(--tv-surface); font: 500 12.5px/1 var(--tv-font-ui); color: var(--tv-text); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.paybox__m button:hover { border-color: var(--tv-brand-500); background: var(--tv-brand-50); }
.paybox__m button:active { transform: scale(.97); }
.paybox__m button[disabled] { opacity: .45; cursor: default; }
.paybox p { color: var(--tv-text-muted); font-size: 12px; }

/* the GST slider */
.cell .gst { margin-top: 20px; border: 0; background: none; }
.gst__ctl { display: grid; gap: 10px; font-size: 13px; font-weight: 500; color: var(--tv-text-muted); }
[data-theme="dark"] .gst__ctl, [data-theme="dark"] .gst__bands { color: var(--tv-n-400); }
.gst__ctl span { display: flex; justify-content: space-between; align-items: baseline; }
.gst__ctl output { font-size: 20px; font-weight: 600; color: var(--tv-action); font-variant-numeric: tabular-nums; }
[data-theme="dark"] .gst__ctl output { color: var(--lime); }
.gst input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; cursor: pointer; }
.gst input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--tv-accent-400) 0 var(--cut, 42.3%), var(--tv-warning) var(--cut, 42.3%) 100%); }
.gst input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--tv-accent-400) 0 var(--cut, 42.3%), var(--tv-warning) var(--cut, 42.3%) 100%); }
.gst input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--tv-n-900); box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .15s; }
.gst input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--tv-n-900); }
.gst input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.gst__bands { position: relative; display: flex; justify-content: space-between; margin: 2px 0 16px; font-size: 11px; color: var(--tv-text-muted); }
.gst__mark { position: absolute; left: 42.3%; transform: translateX(-50%); font-weight: 600; }
.cell .gst .invoice { border: 1px solid var(--tv-border); border-radius: var(--tv-radius-lg); background: var(--tv-surface); font-size: 12.5px; }
.invoice__lines tfoot .chip { margin-left: 8px; vertical-align: 2px; transition: background .3s, color .3s, border-color .3s; }
.is-flash { animation: flash .6s var(--tv-ease); }
@keyframes flash { 30% { background: color-mix(in srgb, var(--tv-warning) 22%, transparent); } }

/* the assistant you can ask */
.chatbox { border-radius: var(--tv-radius-lg); background: var(--tv-surface); box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 30px 60px -30px #000; overflow: hidden; }
.chatbox .chat { height: 330px; overflow-y: auto; align-content: start; border-radius: 0; box-shadow: none; scroll-behavior: smooth; }
.chat > * { animation: msg .45s var(--ease-out); }
@keyframes msg { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat__asks { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--tv-border); background: var(--tv-canvas); }
.chat__asks button { padding: 8px 12px; border: 1px solid var(--tv-border-strong); border-radius: var(--tv-radius-full); background: var(--tv-surface); font: 500 12px/1.2 var(--tv-font-ui); color: var(--tv-text); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .15s, opacity .2s; }
.chat__asks button:hover { border-color: var(--tv-brand-500); background: var(--tv-brand-50); }
.chat__asks button:active { transform: scale(.97); }
.chat__asks button[disabled] { opacity: .4; cursor: default; }
.typing { display: inline-flex; gap: 4px; padding: 14px 13px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--tv-text-faint); animation: bounce 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 30% { transform: translateY(-4px); opacity: 1; } }
.step { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 10px; border-radius: var(--tv-radius-sm); background: var(--tv-canvas); border: 1px solid var(--tv-border); font: 400 11px/1 var(--tv-font-mono); color: var(--tv-text-muted); }
.step::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--tv-border-strong); border-top-color: var(--tv-brand-600); animation: spin .7s linear infinite; }
.step.is-done::before { animation: none; border-color: var(--tv-success); background: var(--tv-success); }
@keyframes spin { to { transform: rotate(360deg); } }
.approve button { cursor: pointer; font: inherit; font-size: 11.5px; font-weight: 500; background: none; transition: transform .15s, background .2s; }
.approve button.mini-btn--solid { background: var(--tv-brand-600); }
.approve button:hover { transform: translateY(-1px); }
.approve.is-decided { opacity: .55; pointer-events: none; }
.msg--ok { background: var(--tv-success-bg); color: var(--tv-success); }

/* the form says how far along you are */
.form__prog { height: 4px; margin: -4px 0 4px; border-radius: 2px; background: var(--tv-subtle); overflow: hidden; }
.form__prog i { display: block; height: 100%; width: 100%; border-radius: 2px; background: var(--tv-action); transform: scaleX(var(--f, 0)); transform-origin: left; transition: transform .5s var(--ease-out); }
[data-theme="dark"] .form__prog i { background: var(--lime); }

/* whatsapp */
.wa { display: grid; gap: clamp(12px, 1.6vw, 18px); }
@media (min-width: 760px) { .wa { grid-template-columns: 280px 1fr; } }
.wa__c { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--tv-border); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.wa__c:last-child { border-bottom: 0; } .wa__c:hover { background: var(--tv-canvas); } .wa__c.is-on { background: var(--tv-selected); }
.wa__c b { display: block; font-weight: 600; } .wa__c i { display: block; color: var(--tv-text-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.wa__n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; background: #25D366; color: #fff; font-size: 10.5px; font-weight: 600; }
.wa__thread { display: grid; grid-template-rows: auto 1fr auto; min-height: 300px; }
.wa__ctx { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--tv-border); font-size: 13px; } .wa__ctx span { color: var(--tv-text-muted); font-size: 11.5px; }
.wa__msgs { display: grid; gap: 8px; align-content: end; padding: 16px; background: var(--tv-canvas); font-size: 13px; }
.wa__msgs p { max-width: 80%; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: var(--tv-surface); border: 1px solid var(--tv-border); animation: msg .4s var(--ease-out); }
.wa__msgs p.me { justify-self: end; border-radius: 12px 12px 4px 12px; background: #DCF8C6; border-color: #C5EBA9; }
.wa__msgs small { display: block; margin-top: 3px; text-align: right; font-size: 10px; color: var(--tv-text-muted); transition: color .3s; } .wa__msgs small.read { color: #34A7F0; }
.wa__replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--tv-border); }
.wa__replies button { padding: 8px 12px; border: 1px solid var(--tv-border-strong); border-radius: var(--tv-radius-full); background: var(--tv-surface); font: 500 12px/1.2 var(--tv-font-ui); color: var(--tv-text); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.wa__replies button:hover { border-color: #25D366; background: #EFFBF1; } .wa__replies button:active { transform: scale(.97); }
.wa__replies span { font-size: 12px; color: var(--tv-text-muted); padding: 8px 2px; }

/* restaurant */
.pos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .pos { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.pos__t { display: grid; gap: 2px; min-height: 92px; align-content: start; padding: 14px 16px; border: 1px dashed var(--tv-border-strong); border-radius: var(--tv-radius-lg); background: none; font: inherit; color: var(--tv-text-muted); text-align: left; transition: transform .25s var(--ease-out), background .4s, border-color .4s, color .4s; }
.pos__t b { font-size: 18px; color: var(--tv-text); } .pos__t i { margin-top: 4px; font-weight: 600; color: var(--tv-text); font-variant-numeric: tabular-nums; }
.pos__t--open { border-style: solid; border-color: var(--tv-border); background: var(--tv-surface); }
.pos__t--qr { border: 1px solid var(--tv-purple-border); background: var(--tv-purple-bg); color: var(--tv-purple); cursor: pointer; animation: qr 2.4s var(--tv-ease) infinite; }
.pos__t--qr:hover { transform: translateY(-2px); }
@keyframes qr { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--tv-purple) 14%, transparent); } }

/* talk to us on WhatsApp — shown once config.js has Tavelo's number */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 26; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: var(--tv-radius-full); background: #25D366; color: #fff; font-weight: 500; font-size: 14px; text-decoration: none; box-shadow: 0 12px 32px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease-out), box-shadow .3s; animation: rise .8s var(--ease-out) 1.6s backwards; }
.fab[hidden] { display: none; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -8px rgba(37,211,102,.7); }
.fab svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 719px) { .fab { bottom: 84px; width: 52px; padding: 0; justify-content: center; } .fab span { display: none; } }

/* ───────────── smart check-in ───────────── */
.tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 4px 10px; border-radius: var(--tv-radius-full); font-size: 11.5px; font-weight: 500; }
.tag--dev { background: var(--tv-warning-bg); color: var(--tv-warning); border: 1px solid var(--tv-warning-border); }
.tag--dev::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.led { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--tv-border-strong); }
.led--ok { background: var(--tv-accent-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tv-accent-500) 20%, transparent); }
.led--dev { background: var(--tv-warning); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tv-warning) 20%, transparent); }
.flow { counter-reset: f; margin-top: 22px; display: grid; gap: 4px; }
.flow li { counter-increment: f; display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; color: var(--tv-text-faint); transition: color .4s; }
.flow li::before { content: counter(f); width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--tv-border-strong); font-size: 11.5px; font-weight: 600; transition: background .4s, color .4s, border-color .4s; }
.flow li.is-on { color: var(--tv-text); font-weight: 500; } .flow li.is-on::before { border-color: var(--tv-action); color: var(--tv-action); }
.flow li.is-done { color: var(--tv-text-muted); } .flow li.is-done::before { content: '✓'; background: var(--tv-action); border-color: var(--tv-action); color: var(--tv-canvas); }

.cell .phone { margin: 24px auto 0; border: 0; border-radius: 40px; font-size: 13px; }
@media (min-width: 1000px) { .cell .phone { margin: 0; } }
.phone { position: relative; width: 264px; height: 500px; padding: 10px; border-radius: 40px; background: var(--tv-n-900) !important; box-shadow: 0 30px 60px -24px rgba(0,30,20,.55), inset 0 0 0 1.5px var(--tv-n-700); }
.phone__notch { position: absolute; z-index: 2; top: 18px; left: 50%; width: 76px; height: 20px; translate: -50% 0; border-radius: 12px; background: var(--tv-n-900); }
.phone__screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: var(--tv-canvas); }
.step-v { position: absolute; inset: 0; display: grid; align-content: center; gap: 10px; padding: 48px 20px 22px; text-align: center; opacity: 0; transform: translateX(28px); pointer-events: none; transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
.step-v.is-on { opacity: 1; transform: none; pointer-events: auto; }
.step-v.is-out { opacity: 0; transform: translateX(-28px); }
.step-v strong { font: 500 21px/1.2 var(--display); letter-spacing: -.02em; }
.step-v p { margin: 0; font-size: 12.5px; color: var(--tv-text-muted); }
.phone__brand { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tv-action); }
.phone__btn { height: 46px; margin-top: 10px; border: 0; border-radius: var(--tv-radius-full); background: var(--tv-n-900); color: #fff; font: 500 14px/1 var(--tv-font-ui); cursor: pointer; transition: transform .15s, background .3s; }
.phone__btn:hover { background: var(--tv-brand-700); } .phone__btn:active { transform: scale(.97); } .phone__btn[disabled] { opacity: .6; cursor: progress; }
.phone__btn.is-ok { background: var(--tv-accent-500); }
.phone__again { border: 0; background: none; font: 500 12px/1 var(--tv-font-ui); color: var(--tv-text-muted); cursor: pointer; padding: 6px; }
.scan { position: relative; height: 128px; margin: 6px 0; border-radius: 16px; border: 2px dashed var(--tv-border-strong); display: grid; place-items: end center; padding-bottom: 12px; overflow: hidden; background: var(--tv-surface); transition: border-color .3s; }
.scan span { font: 400 10.5px/1 var(--tv-font-mono); color: var(--tv-text-muted); }
.scan i { position: absolute; left: 8px; right: 8px; top: 10px; height: 2px; border-radius: 1px; background: var(--tv-accent-400); box-shadow: 0 0 12px 2px var(--tv-accent-300); opacity: 0; }
.scan.is-busy i { opacity: 1; animation: scan 1.1s var(--tv-ease) infinite alternate; }
.scan.is-ok { border-style: solid; border-color: var(--tv-accent-500); }
@keyframes scan { to { top: 112px; } }
.sign { width: 100%; height: 84px; margin: 6px 0; border-radius: 16px; border: 1px solid var(--tv-border); background: var(--tv-surface); }
.sign path { fill: none; stroke: var(--tv-n-800); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.2s var(--tv-ease); }
.sign.is-ok path { stroke-dashoffset: 0; }
.phone__sum { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0; padding: 16px; border-radius: 16px; background: var(--tv-surface); border: 1px solid var(--tv-border); font-size: 13px; color: var(--tv-text-muted); }
.phone__sum b { font-size: 19px; color: var(--tv-text); font-variant-numeric: tabular-nums; }
.pass { position: relative; padding: 16px; border-radius: 18px; text-align: left; color: #fff; background: linear-gradient(150deg, var(--tv-brand-500), var(--tv-brand-900)); box-shadow: 0 14px 28px -14px rgba(0,46,30,.7); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .4s; }
.pass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); }
.pass.is-added::after { transition: transform 1s var(--tv-ease); transform: translateX(120%); }
.pass.is-near { transform: translateY(-6px) scale(1.03); box-shadow: 0 0 0 3px var(--lime), 0 18px 32px -14px rgba(0,46,30,.8); }
.pass__top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .06em; opacity: .85; } .pass__top b { color: var(--lime); }
.pass__room { font: 500 46px/1.1 var(--display); letter-spacing: -.03em; margin: 8px 0 4px; }
.pass__row { display: flex; justify-content: space-between; font-size: 11.5px; opacity: .9; }
.pass__nfc { position: absolute; right: 16px; top: 44px; display: flex; gap: 3px; align-items: center; }
.pass__nfc i { width: 3px; border-radius: 2px; background: var(--lime); opacity: .5; } .pass__nfc i:nth-child(1) { height: 8px; } .pass__nfc i:nth-child(2) { height: 14px; } .pass__nfc i:nth-child(3) { height: 20px; }
.pass.is-near .pass__nfc i { animation: nfc .7s var(--tv-ease) infinite alternate; } .pass.is-near .pass__nfc i:nth-child(2) { animation-delay: .12s; } .pass.is-near .pass__nfc i:nth-child(3) { animation-delay: .24s; }
@keyframes nfc { to { opacity: 1; } }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wallets button { height: 36px; border: 1px solid var(--tv-border-strong); border-radius: 10px; background: var(--tv-surface); font: 500 10.5px/1.15 var(--tv-font-ui); color: var(--tv-text); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .15s; }
.wallets button:active { transform: scale(.97); }
.wallets button.is-ok { background: var(--tv-n-900); border-color: var(--tv-n-900); color: #fff; }

.door { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; }
.lock { width: 46px; height: 46px; fill: none; stroke: var(--tv-n-800); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.lock rect { fill: var(--tv-subtle); transition: fill .4s; } .lock circle { fill: var(--tv-n-800); stroke: none; transition: fill .4s; }
.lock__arm { transform-origin: 44px 30px; transition: transform .6s var(--ease-out); }
.door b { display: block; font-size: 14px; } .door span { color: var(--tv-text-muted); font-size: 12px; }
.door__led { width: 12px; height: 12px; border-radius: 50%; background: var(--tv-danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tv-danger) 18%, transparent); transition: background .4s, box-shadow .4s; }
.door.is-open .lock { stroke: var(--tv-accent-600); } .door.is-open .lock rect { fill: var(--tv-success-bg); } .door.is-open .lock circle { fill: var(--tv-accent-600); }
.door.is-open .lock__arm { transform: rotateY(180deg) translateY(-5px); }
.door.is-open .door__led { background: var(--tv-accent-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tv-accent-500) 22%, transparent), 0 0 18px var(--tv-accent-400); }
.door.is-open span { color: var(--tv-success); font-weight: 500; }

.hw { margin-top: 20px; display: grid; gap: 0 28px; }
@media (min-width: 640px) { .hw { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .hw { grid-template-columns: repeat(4, 1fr); } }
.hw li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--tv-border); }
.hw b { font-size: 14px; font-weight: 600; } .hw span { grid-column: 2; font-size: 12.5px; color: var(--tv-text-muted); }

/* ───────────── the voice preview ───────────── */
.modes { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--tv-border); background: var(--tv-canvas); }
.modes button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; border: 0; border-radius: var(--tv-radius-full); background: none; font: 500 12.5px/1 var(--tv-font-ui); color: var(--tv-text-muted); cursor: pointer; transition: background .3s, color .3s; }
.modes button[aria-selected="true"] { background: var(--tv-n-900); color: #fff; }
.modes svg, .orb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.voice { display: grid; justify-items: center; gap: 10px; padding: 0 16px 16px; }
.voice__log { width: 100%; height: 170px; overflow-y: auto; display: grid; gap: 8px; align-content: end; padding: 14px 0 6px; font-size: 13px; scroll-behavior: smooth; }
.voice__log p { margin: 0; max-width: 90%; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: var(--tv-subtle); animation: msg .4s var(--ease-out); }
.voice__log p.me { justify-self: end; border-radius: 12px 12px 4px 12px; background: var(--tv-n-900); color: #fff; }
.voice__log p.ok { background: var(--tv-success-bg); color: var(--tv-success); }
.voice__log p.voice__hint { justify-self: center; max-width: 26em; background: none; text-align: center; color: var(--tv-text-muted); }
.voice__log .step { animation: msg .4s var(--ease-out); }
.orb { position: relative; width: 84px; height: 84px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: radial-gradient(circle at 35% 30%, var(--lime-soft), var(--lime) 45%, var(--tv-accent-500)); box-shadow: 0 10px 30px -8px rgba(82,195,78,.7); transition: transform .3s var(--ease-out), box-shadow .4s, background .5s; }
.orb:hover { transform: scale(1.05); } .orb:active { transform: scale(.97); }
.orb svg { width: 28px; height: 28px; transition: opacity .3s, transform .3s; }
.orb__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--tv-accent-400); opacity: 0; }
.orb__wave { position: absolute; display: flex; gap: 4px; align-items: center; height: 34px; opacity: 0; transition: opacity .3s; }
.orb__wave i { width: 4px; height: 8px; border-radius: 2px; background: currentColor; }
[data-state="listening"] .orb__ring { animation: ripple 1.8s var(--tv-ease) infinite; } [data-state="listening"] .orb__ring + .orb__ring { animation-delay: .9s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
[data-state="thinking"] .orb { animation: breathe 1.2s var(--tv-ease) infinite alternate; background: radial-gradient(circle at 35% 30%, #fff, var(--tv-n-200) 60%, var(--tv-n-300)); box-shadow: 0 10px 30px -10px rgba(20,26,24,.4); }
@keyframes breathe { to { transform: scale(.92); } }
[data-state="speaking"] .orb { color: #fff; background: radial-gradient(circle at 35% 30%, var(--tv-brand-400), var(--tv-brand-600) 50%, var(--tv-brand-900)); box-shadow: 0 10px 36px -6px rgba(13,122,85,.8); }
[data-state="speaking"] .orb svg { opacity: 0; transform: scale(.6); } [data-state="speaking"] .orb__wave { opacity: 1; }
[data-state="speaking"] .orb__wave i { animation: wave .5s var(--tv-ease) infinite alternate; }
.orb__wave i:nth-child(2) { animation-delay: .1s !important; } .orb__wave i:nth-child(3) { animation-delay: .25s !important; } .orb__wave i:nth-child(4) { animation-delay: .05s !important; } .orb__wave i:nth-child(5) { animation-delay: .18s !important; }
@keyframes wave { to { height: 30px; } }
.voice__state { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--tv-text-muted); min-height: 1.4em; }
.voice__say { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 36px; }
.voice__say button { padding: 8px 14px; border: 1px solid var(--tv-border-strong); border-radius: var(--tv-radius-full); background: var(--tv-surface); font: 500 12px/1.2 var(--tv-font-ui); color: var(--tv-text); cursor: pointer; animation: msg .4s var(--ease-out); transition: border-color .2s, background .2s, transform .15s; }
.voice__say button::before { content: 'Say: '; color: var(--tv-text-muted); font-weight: 400; }
.voice__say button:hover { border-color: var(--tv-brand-500); background: var(--tv-brand-50); } .voice__say button:active { transform: scale(.97); }
.voice__mute { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--tv-text-muted); cursor: pointer; } .voice__mute input { accent-color: var(--tv-brand-600); }
#textmode[hidden] { display: none; }
#textmode .chat { height: 300px; }

/* ───────────── the platform, by the job it does ───────────── */
.plat { border: 1px solid var(--tv-border); border-radius: clamp(22px, 3vw, 32px); background: var(--tv-surface); overflow: hidden; }
.plat__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--tv-border); }
.plat__tabs::-webkit-scrollbar { display: none; }
.plat__tabs button { position: relative; display: grid; gap: 3px; padding: 20px 24px; border: 0; border-right: 1px solid var(--tv-border); background: none; font: inherit; color: var(--tv-text-muted); text-align: left; cursor: pointer; transition: background .3s, color .3s; }
.plat__tabs button:last-child { border-right: 0; }
.plat__tabs button:hover { background: var(--tv-canvas); }
.plat__tabs b { font-size: 16px; font-weight: 600; color: var(--tv-text); opacity: .55; transition: opacity .3s; }
.plat__tabs span { font-size: 12.5px; }
.plat__tabs button[aria-selected="true"] { background: var(--tv-canvas); } .plat__tabs button[aria-selected="true"] b { opacity: 1; }
.plat__tabs i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tv-action); transform: scaleX(0); transform-origin: left; }
[data-theme="dark"] .plat__tabs i { background: var(--lime); }
.plat__tabs button[aria-selected="true"] i { transform: scaleX(1); }
.plat.is-auto .plat__tabs button[aria-selected="true"] i { animation: fill var(--plat-ms, 7000ms) linear forwards; }
.plat.is-auto:hover .plat__tabs i, .plat.is-auto:focus-within .plat__tabs i, .plat.is-auto:not(.is-seen) .plat__tabs i { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.plat__panel { display: grid; gap: 32px; padding: clamp(24px, 4vw, 48px); align-items: center; }
.plat__panel[hidden] { display: none; }
@media (min-width: 960px) { .plat__panel { grid-template-columns: 1fr 1fr; gap: 56px; min-height: 440px; } }
.plat__copy h3 { font: 500 clamp(22px, 2.6vw, 30px)/1.15 var(--display); letter-spacing: -.02em; }
.plat__panel.is-on .plat__copy > *, .plat__panel.is-on .feats li, .plat__panel.is-on .plat__art > * { animation: up .6s var(--ease-out) backwards; }
.plat__panel.is-on .feats li:nth-child(1) { animation-delay: .08s; } .plat__panel.is-on .feats li:nth-child(2) { animation-delay: .14s; } .plat__panel.is-on .feats li:nth-child(3) { animation-delay: .2s; } .plat__panel.is-on .feats li:nth-child(4) { animation-delay: .26s; }
.plat__panel.is-on .plat__art > :nth-child(1) { animation-delay: .15s; } .plat__panel.is-on .plat__art > :nth-child(2) { animation-delay: .28s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
.feats { margin-top: 24px; display: grid; }
.feats li { display: grid; gap: 3px; padding: 14px 0 14px 30px; border-top: 1px solid var(--tv-border); position: relative; }
.feats li::before { content: ''; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: var(--tv-selected) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%230D7A55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9.500l2.700 2.700L13 6.500'/%3E%3C/svg%3E") center/18px no-repeat; }
.feats b { font-size: 15px; font-weight: 600; } .feats span { font-size: 14px; color: var(--tv-text-muted); }
.feats .soon { color: var(--tv-warning); font-weight: 500; }
.plat__art { display: grid; gap: 14px; padding: clamp(16px, 2.4vw, 28px); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--tv-brand-50), color-mix(in srgb, var(--tv-accent-100) 60%, var(--tv-brand-50))); }
[data-theme="dark"] .plat__art { background: linear-gradient(160deg, #0F2E22, #0B1F17); }
.plat__art .light { border: 1px solid var(--tv-border); border-radius: var(--tv-radius-lg); background: var(--tv-surface); font-size: 12.5px; box-shadow: 0 18px 36px -24px rgba(0,46,30,.4); overflow: hidden; }
.pricing > div { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 16px; } .pricing > div + div { border-top: 1px solid var(--tv-border); }
.pricing span { color: var(--tv-text-muted); } .pricing b { font-size: 14px; font-variant-numeric: tabular-nums; } .pricing em { font-size: 11px; font-weight: 500; color: var(--tv-text-muted); min-width: 72px; text-align: right; }
.pricing em.up { color: var(--tv-success); } .pricing em.down { color: var(--tv-info); }
.mini-wa { display: grid; gap: 8px; padding: 16px; background: var(--tv-canvas) !important; font-size: 13px !important; }
.mini-wa p { margin: 0; max-width: 84%; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: var(--tv-surface); border: 1px solid var(--tv-border); }
.mini-wa p.me { justify-self: end; border-radius: 12px 12px 4px 12px; background: #DCF8C6; border-color: #C5EBA9; } .mini-wa small { color: #34A7F0; margin-left: 6px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: clamp(40px, 6vw, 72px); padding: 0; border: 0; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { display: grid; gap: 6px; padding: 0 0 0 20px; border: 0; border-left: 1px solid var(--tv-border-strong); border-radius: 0; background: none; }
.facts b { font: 500 clamp(40px, 5vw, 60px)/1 var(--display); letter-spacing: -.04em; color: var(--tv-text); font-variant-numeric: tabular-nums; }
.facts span { font-size: 14px; font-weight: 400; color: var(--tv-text-muted); max-width: 16em; }

.types { display: grid; gap: 14px; }
@media (min-width: 640px) { .types { grid-template-columns: 1fr 1fr; } } @media (min-width: 1000px) { .types { grid-template-columns: repeat(3, 1fr); } }
.types .cell { background: var(--tv-canvas); transition: border-color var(--tv-dur-slow) var(--tv-ease), transform var(--tv-dur-slow) var(--ease-out), box-shadow var(--tv-dur-slow); }
.types .cell:hover { border-color: color-mix(in srgb, var(--tv-action) 45%, var(--tv-border)); transform: translateY(-3px); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--tv-action) 45%, transparent); }
.types__n { display: inline-block; margin-bottom: 28px; font: italic 400 19px/1 var(--serif); color: var(--tv-action); }
#assistant-sec .ai { margin-top: 0; }

/* the wallet key */
.cell .keydemo { margin-top: 20px; padding: 16px; display: grid; gap: 10px; border-radius: 24px; background: var(--tv-canvas); }
@media (min-width: 1000px) { .cell .keydemo { margin-top: 0; } }
.keydemo .phone__btn { margin-top: 0; }

/* ───────────── mobile app ───────────── */
.mob { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .mob { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.mob .sub { margin-top: var(--tv-space-5); }
.mob__stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px; background: var(--tv-n-900); color: #fff; }
[data-theme="dark"] .store { background: var(--tv-n-800); }
.store svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store span { display: grid; line-height: 1.25; } .store i { font-size: 11px; opacity: .65; } .store b { font-size: 13.5px; font-weight: 500; }
.store--soon { background: none !important; color: var(--tv-text); border: 1px dashed var(--tv-border-strong); } .store--soon svg { stroke: var(--tv-text-muted); }
.mob__stage { position: relative; display: grid; justify-items: center; isolation: isolate; }
.mob__glow { position: absolute; z-index: -1; inset: 8% 5%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tv-accent-300) 55%, transparent), color-mix(in srgb, var(--tv-brand-300) 30%, transparent) 50%, transparent 70%); filter: blur(50px); }
.phone--app { width: 292px; height: 590px; font-size: 12px; transition: transform .8s var(--ease-out); }
.mob__stage:hover .phone--app { transform: translateY(-6px) rotate(-1deg); }
.phone--app .phone__screen { display: grid; grid-template-rows: 1fr auto; }
.mscreen { grid-row: 1; grid-column: 1; display: grid; gap: 12px; align-content: start; padding: 50px 14px 12px; overflow: hidden; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.mscreen.is-on { opacity: 1; transform: none; pointer-events: auto; }
.m-top { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; } .m-top i { display: block; font-size: 11px; color: var(--tv-text-muted); } .m-top b { font-size: 15px; }
.m-bell { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--tv-surface); border: 1px solid var(--tv-border); } .m-bell em { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--tv-danger); border: 2px solid var(--tv-surface); }
.m-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 16px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, var(--tv-brand-600), var(--tv-brand-900)); }
.m-hero i { display: block; font-size: 11px; opacity: .75; } .m-hero b { display: block; font: 500 34px/1.1 var(--display); letter-spacing: -.03em; } .m-hero span { font-size: 11px; opacity: .8; }
.m-hero .ring circle { stroke: rgba(255,255,255,.18); } .m-hero .ring .ring__v { stroke: var(--lime); }
.m-hero--sm b { font-size: 26px; }
.js .reveal:not(.is-in) .ring--on .ring__v { stroke-dashoffset: 100; }
.m-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 10px; color: var(--tv-text-muted); }
.m-quick i { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 5px; border-radius: 50%; background: var(--tv-selected); color: var(--tv-action); font-size: 15px; font-weight: 600; }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .m-tiles div { padding: 10px 12px; border-radius: 14px; background: var(--tv-surface); } .m-tiles i { display: block; font-size: 10px; color: var(--tv-text-muted); } .m-tiles b { font-size: 19px; }
.m-h { margin: 2px 0 -4px; font-size: 11px; font-weight: 600; color: var(--tv-text-muted); }
.m-feed, .m-rooms, .m-inbox { display: grid; gap: 8px; }
.m-feed li, .m-rooms li { position: relative; padding: 11px 12px 11px 16px; border-radius: 14px; background: var(--tv-surface); overflow: hidden; }
.m-feed li::before, .m-rooms li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); transition: background .4s; }
.m-feed b, .m-rooms b, .m-inbox b { display: block; font-size: 12.5px; font-weight: 600; } .m-feed span, .m-rooms span, .m-inbox span { font-size: 11px; color: var(--tv-text-muted); }
.m-title { margin: 0; font: 500 22px/1.2 var(--display); letter-spacing: -.02em; }
.m-rooms li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; } .m-rooms b { font-size: 16px; }
.m-rooms button { height: 32px; padding: 0 12px; border: 0; border-radius: var(--tv-radius-full); background: var(--tv-n-900); color: #fff; font: 500 11px/1 var(--tv-font-ui); cursor: pointer; transition: transform .15s, background .3s; }
.m-rooms button:active { transform: scale(.95); } .m-rooms button[disabled] { background: var(--tv-success-bg); color: var(--tv-success); cursor: default; }
.m-inbox li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--tv-surface); } .m-inbox em { width: 8px; height: 8px; border-radius: 50%; background: var(--tv-accent-500); }
.m-inbox span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.m-cal { display: grid; gap: 6px; } .m-cal > div { position: relative; display: grid; grid-template-columns: 34px repeat(5, 1fr); align-items: center; height: 34px; border-radius: 10px; background: var(--tv-surface); }
.m-cal__h { background: none !important; height: 22px !important; text-align: center; font-size: 10.5px; color: var(--tv-text-muted); } .m-cal__h .on { justify-self: center; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: var(--tv-brand-600); color: #fff; }
.m-cal b { padding-left: 8px; font-size: 11px; } .m-cal i { position: absolute; top: 5px; bottom: 5px; left: calc(34px + (100% - 34px) / 5 * var(--s) + 2px); width: calc((100% - 34px) / 5 * var(--w) - 4px); display: flex; align-items: center; padding: 0 8px; border-radius: 7px; font-size: 10.5px; font-weight: 500; overflow: hidden; white-space: nowrap; border: 0; }
.m-tabs { grid-row: 2; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 8px 14px; background: var(--tv-surface); border-top: 1px solid var(--tv-border); }
.m-tabs button { display: grid; justify-items: center; gap: 3px; padding: 6px 0; border: 0; border-radius: 14px; background: none; font: 500 10px/1 var(--tv-font-ui); color: var(--tv-text-faint); cursor: pointer; transition: color .3s, background .3s; }
.m-tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-tabs button[aria-selected="true"] { color: var(--tv-brand-600); background: var(--tv-selected); }
.push { position: absolute; z-index: 3; top: 46px; left: 10px; right: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: color-mix(in srgb, var(--tv-n-900) 92%, transparent); color: #fff; backdrop-filter: blur(8px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.5); transform: translateY(-150%); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.push.is-on { transform: none; opacity: 1; }
.push img { width: 22px; height: 26px; padding: 3px 5px; border-radius: 7px; background: #fff; } .push b { display: block; font-size: 12px; } .push span { font-size: 11px; opacity: .75; } .push i { font-size: 10px; opacity: .55; align-self: start; }

/* ───────────── footer ───────────── */
.foot { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0 96px; background: var(--ink); color: rgba(255,255,255,.62); font-size: 14px; }
@media (min-width: 720px) { .foot { padding-bottom: 32px; } }
.foot .hero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 75%); }
.foot__glow { position: absolute; z-index: -1; left: 50%; bottom: -520px; width: 1100px; height: 760px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(155,232,74,.55), rgba(13,122,85,.4) 45%, transparent 70%); filter: blur(90px); }
.foot__cta { display: grid; justify-items: center; gap: 20px; text-align: center; padding-bottom: clamp(56px, 8vw, 96px); border-bottom: 1px solid rgba(255,255,255,.1); }
.foot__cta h2 { color: #fff; font-size: clamp(36px, 6vw, 68px); } .foot__cta h2 em { color: var(--lime); }
.foot__cta p { max-width: 34em; font-size: 17px; color: rgba(255,255,255,.7); margin: 0; }
.foot__cols { display: grid; gap: 40px 32px; padding: clamp(40px, 6vw, 72px) 0; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .foot__cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; max-width: 26em; color: #fff; }
@media (min-width: 860px) { .foot__brand { grid-column: auto; } }
.foot__brand p { margin: 0; color: rgba(255,255,255,.62); }
.foot__live { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--lime-soft) !important; } .foot__live .pulse, .foot__live .pulse::after { background-color: var(--lime); border-color: var(--lime); }
.foot nav { display: grid; gap: 12px; align-content: start; }
.foot nav h3 { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.foot nav a { width: fit-content; color: rgba(255,255,255,.78); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .4s var(--ease-out); }
.foot nav a:hover { color: #fff; background-size: 100% 1px; } .foot nav a[hidden] { display: none; }
.foot__word { aspect-ratio: 957 / 252; margin: 0 0 24px; background: linear-gradient(180deg, rgba(182,243,106,.34), rgba(182,243,106,.02) 90%); -webkit-mask: url(assets/tavelo-logo.svg) center / contain no-repeat; mask: url(assets/tavelo-logo.svg) center / contain no-repeat; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.45); }
.foot__base p { margin: 0; }
.foot__up { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); text-decoration: none; } .foot__up:hover { color: #fff; } .foot__up:hover .arrow { transform: translateY(-3px); }

/* ───────────── vacation rentals ───────────── */
.rental { margin-top: 14px; display: grid; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--tv-canvas); }
@media (min-width: 1000px) { .rental { grid-template-columns: 1fr 1.15fr; gap: 56px; } }
.rental .types__n { margin-bottom: 16px; }
.rental__copy h3 { font: 500 clamp(24px, 2.8vw, 32px)/1.15 var(--display); letter-spacing: -.02em; }
.rental__copy > p { margin-top: 12px; color: var(--tv-text-muted); }
.cell .rental__art { margin-top: 0; padding: 16px; display: grid; gap: 14px; border-radius: var(--r-xl); box-shadow: 0 24px 48px -28px rgba(0,46,30,.4); }
.rental__filter { display: flex; flex-wrap: wrap; gap: 6px; }
.rental__filter button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border: 1px solid var(--tv-border-strong); border-radius: var(--tv-radius-full); background: var(--tv-surface); font: 500 12px/1 var(--tv-font-ui); color: var(--tv-text-muted); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.rental__filter button:active { transform: scale(.96); }
.rental__filter button[aria-pressed="true"] { background: var(--tv-n-900); border-color: var(--tv-n-900); color: #fff; }
.src { width: 9px; height: 9px; flex: none; border-radius: 50%; } .src--airbnb { background: #FF5A5F; } .src--booking { background: #2563A8; } .src--direct { background: var(--tv-accent-500); }
.rental__cal { display: grid; gap: 6px; font-size: 11.5px; }
.rental__cal > div { position: relative; display: grid; grid-template-columns: 96px repeat(6, 1fr); align-items: center; height: 38px; border-radius: 10px; background: var(--tv-canvas); }
.rental__h { height: 20px !important; background: none !important; text-align: center; font-size: 10.5px; color: var(--tv-text-muted); }
.rental__cal b { padding-left: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rental__cal i { position: absolute; top: 5px; bottom: 5px; left: calc(96px + (100% - 96px) / 6 * var(--s) + 2px); width: calc((100% - 96px) / 6 * var(--w) - 4px); display: flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 7px; background: var(--tv-surface); border: 1px solid var(--tv-border); font-weight: 500; white-space: nowrap; overflow: hidden; transition: opacity .35s var(--tv-ease), transform .35s var(--ease-out), filter .35s; }
.rental__cal i.is-dim { opacity: .18; transform: scale(.97); filter: grayscale(1); }
.rental__sum { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--tv-border); padding-top: 12px; }
.rental__sum span { display: block; font-size: 11px; color: var(--tv-text-muted); } .rental__sum b { font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .rental__cal > div { grid-template-columns: 70px repeat(6, 1fr); } .rental__cal i { left: calc(70px + (100% - 70px) / 6 * var(--s) + 2px); width: calc((100% - 70px) / 6 * var(--w) - 4px); } .rental__h span { font-size: 9px; } }

/* ───────────── log in ───────────── */
.bar__login { padding: 8px 14px; border-radius: var(--tv-radius-full); font-size: 14px; font-weight: 500; color: inherit; text-decoration: none; opacity: .85; transition: opacity .2s, background .2s; }
.bar__login:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
@media (max-width: 420px) { .bar .icon-btn { display: none; } }
.login { min-height: 100vh; min-height: 100dvh; display: grid; }
@media (min-width: 900px) { .login { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.login__side { position: relative; isolation: isolate; overflow: hidden; display: none; grid-template-rows: auto 1fr auto; padding: 40px clamp(32px, 4vw, 64px); background: var(--ink); color: #fff; }
@media (min-width: 900px) { .login__side { display: grid; } }
.login__side .hero__glow--l { left: -300px; top: auto; bottom: -320px; }
.login__quote { align-self: center; max-width: 26em; }
.login__quote h1 { font-size: clamp(36px, 4vw, 56px); } .login__quote h1 em { color: var(--lime); }
.login__quote p { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.7); }
.login__live { font-size: 13px; color: var(--lime-soft); } .login__live li { display: flex; align-items: center; gap: 10px; }
.login__live .pulse, .login__live .pulse::after { background-color: var(--lime); border-color: var(--lime); }
.login__main { display: grid; grid-template-rows: auto 1fr; padding: 28px clamp(20px, 5vw, 64px) 48px; }
.login__back { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 14px; color: var(--tv-text-muted); text-decoration: none; } .login__back:hover { color: var(--tv-text); } .login__back:hover .arrow { transform: translateX(-3px); }
.login__card { align-self: center; justify-self: center; width: min(440px, 100%); display: grid; gap: 14px; animation: rise .8s var(--ease-out) backwards; }
.login__card img { height: 44px; width: auto; margin-bottom: 8px; }
.login__card h2 { font-size: clamp(28px, 3.4vw, 36px); }
.login__card .btn { margin-top: 12px; width: 100%; }
.login__where { margin: -4px 0 0; text-align: center; font: 400 12px/1 var(--tv-font-mono); color: var(--tv-text-faint); }
.login__rows { margin-top: 16px; border-top: 1px solid var(--tv-border); }
.login__rows a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--tv-border); color: inherit; text-decoration: none; transition: padding .3s var(--ease-out); }
.login__rows a[hidden] { display: none; } .login__rows a:hover { padding-left: 10px; }
.login__rows b { display: block; font-size: 14.5px; font-weight: 600; } .login__rows span { font-size: 13px; color: var(--tv-text-muted); }
.login__help { margin: 4px 0 0; font-size: 13px; color: var(--tv-text-faint); }
