/* timeoffbalance.com
   Type:    Bricolage Grotesque (headings, numerals) + Inter (text; the product's own UI face)
   Palette: the product's navy, amber and blue, on white and a cool paper tint
   One motif: the amber balance ring from the product's icon. */

@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

:root {
  --night: #0b1f3f;     /* hero, dark bands, footer        */
  --navy: #183964;      /* the product's navy              */
  --blue: #0b5cad;      /* links, the popup's own button   */
  --amber: #f2a33a;     /* the balance ring; primary action */
  --amber-deep: #d98816;
  --ink: #0f2140;       /* text and headings on light      */
  --muted: #53617a;
  --paper: #f3f6fb;
  --line: #dbe2ed;
  --white: #fff;
  --on-dark: #c9d6ea;

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1160px;
  --band: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--text); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); font-weight: 700; line-height: 1; letter-spacing: -.022em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 650; line-height: 1.06; letter-spacing: -.02em; }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.2; letter-spacing: -.015em; }
kbd { font: 600 .85em var(--text); background: var(--white); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: .1em .45em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: .5rem; top: .5rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 650 1rem/1.2 var(--text); padding: .85rem 1.4rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent; }
.btn-small { padding: .55rem 1rem; font-size: .95rem; }
.btn-primary { background: var(--amber); color: #201300; }
.btn-primary:hover { background: #ffb650; color: #201300; }
.btn-quiet { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-quiet:hover { border-color: var(--navy); color: var(--ink); }
.btn-on-dark { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-on-dark:hover { border-color: var(--white); color: var(--white); }

/* ---- top bar ---- */
.top { position: sticky; top: 0; z-index: 10; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.15rem var(--display); letter-spacing: -.02em; color: var(--white); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--white); }
.top-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.top-nav a, .top-signin { color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .98rem; }
.top-nav a:hover, .top-signin:hover { color: var(--white); }
.top-actions { display: flex; align-items: center; gap: 1rem; }

/* ---- hero ---- */
.hero { background: var(--night); color: var(--on-dark); overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(7rem, 14vw, 11rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--white); }
.hero-lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 34ch; color: var(--on-dark); margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.25rem; }
.hero-note { font-size: .95rem; color: #9fb2cf; }

.hero-shot { position: relative; padding-top: 1rem; }
.ring { position: absolute; width: 132%; max-width: none; left: -6%; top: -22%; pointer-events: none; }
.browser { position: relative; background: #eef1f6; border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); min-height: 35rem; }
.browser-bar { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; background: #f8f9fb; border-radius: 14px 14px 0 0; border-bottom: 1px solid #dfe3ea; }
.browser-dots { display: inline-flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c3c9d4; }
.browser-addr { flex: 1; background: #e6e9ef; color: #5b6475; border-radius: 999px; font-size: .82rem; padding: .35rem .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-ext { position: relative; border: 0; background: transparent; padding: 5px; border-radius: 9px; cursor: pointer; }
.browser-ext:hover, .browser-ext[aria-expanded="true"] { background: #dfe6f1; }
.browser-ext img { border-radius: 6px; }
.browser-badge { position: absolute; right: -4px; bottom: -3px; background: var(--blue); color: var(--white); font: 700 .62rem/1 var(--text); padding: 2px 4px; border-radius: 4px; border: 2px solid #f8f9fb; }
.browser-page { padding: 1.5rem; display: grid; gap: .8rem; max-width: 46%; }
.browser-page i { height: 11px; border-radius: 6px; background: #dde2ea; }
.browser-page i:nth-child(1) { width: 70%; height: 18px; }
.browser-page i:nth-child(3) { width: 85%; }
.browser-page i:nth-child(5) { width: 55%; }
.popup { position: absolute; right: .75rem; top: 3.4rem; width: min(340px, calc(100% - 1.5rem)); border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 18px 44px rgba(11, 31, 63, .3), 0 0 0 1px rgba(15, 33, 64, .1); transform-origin: top right; animation: popup-open .28s cubic-bezier(.2, .9, .3, 1.2) .7s both; }
.popup[hidden] { display: none; }
.popup.is-reopened { animation: popup-open .22s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes popup-open { from { opacity: 0; transform: scale(.9) translateY(-6px); } to { opacity: 1; transform: none; } }
.hero-hint { font-size: .85rem; color: #9fb2cf; margin: .9rem 0 0; position: relative; }

/* ---- bands ---- */
.band { padding: var(--band) 0; }
.band-tint { background: var(--paper); }
.band-dark { background: var(--night); color: var(--on-dark); }
.band-dark h2 { color: var(--white); }
.band-dark a { color: var(--white); }

/* The video sits across the hero's lower edge. */
.band-video { padding-top: 0; }
.film { margin: 0; }
.band-video .film { margin-top: clamp(-9rem, -11vw, -5rem); position: relative; }
.film video { width: 100%; border-radius: 16px; background: var(--night); box-shadow: 0 24px 60px rgba(11, 31, 63, .28); aspect-ratio: 16 / 9; }
.film figcaption { font-size: .95rem; color: var(--muted); margin-top: .9rem; }

/* ---- who it helps ---- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.trio > div { border-top: 4px solid var(--amber); padding-top: 1.1rem; }
.trio p { color: var(--muted); }
.trio p:last-child { color: var(--ink); font-weight: 500; margin-bottom: 0; }

/* ---- feature rows ---- */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3.5rem, 8vw, 6rem); }
.feature-flip .feature-copy { order: 2; }
.feature-copy p { color: var(--muted); }
.tag { display: inline-block; font: 650 .85rem var(--text); color: #5a3a00; background: #fde6c2; border-radius: 999px; padding: .25rem .75rem; margin-bottom: 1rem; }
.art-popups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.art-popups img { border-radius: 10px; box-shadow: 0 16px 40px rgba(11, 31, 63, .16), 0 0 0 1px rgba(15, 33, 64, .08); }
.art-popups img:last-child { margin-top: 3.5rem; }
.art-portal { position: relative; padding: 0 0 5.5rem 0; }
.art-portal img { border-radius: 12px; box-shadow: 0 16px 40px rgba(11, 31, 63, .16), 0 0 0 1px rgba(15, 33, 64, .08); }
.art-portal .art-preview { position: absolute; right: -1rem; bottom: 0; width: 46%; border-radius: 10px; box-shadow: 0 20px 44px rgba(11, 31, 63, .28), 0 0 0 3px var(--amber); }

/* ---- steps ---- */
.how-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 2.25rem; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3.5rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 3px solid var(--amber); font: 700 1.1rem/1 var(--display); display: grid; place-items: center; color: var(--ink); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.13rem; top: 2.5rem; bottom: .15rem; width: 3px; background: var(--line); border-radius: 2px; }
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--muted); margin: 0; }
.steps-plain { margin-top: 0; }
.steps-plain li::before { background: var(--white); }

/* ---- security ---- */
.proofs { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(2rem, 5vw, 4rem); }
.proofs li { padding-left: 2.4rem; position: relative; max-width: 46ch; }
.proofs li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.6 3.6 7.4-8' fill='none' stroke='%230b1f3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.proofs strong { color: var(--white); display: block; font: 650 1.15rem/1.3 var(--display); margin-bottom: .2rem; }
.proofs-more { margin: 2.25rem 0 0; }

/* ---- plans ---- */
.packs { border: 0; padding: 0; margin: 2.25rem 0 1.75rem; min-width: 0; }
.packs legend { font: 650 1.3rem var(--display); padding: 0; margin-bottom: .9rem; }
.pack-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pack { position: relative; cursor: pointer; }
.pack input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pack-n, .pack-d { display: block; text-align: center; }
.pack-n { font: 700 1.15rem var(--display); padding: .55rem 1.1rem 0; }
.pack-d { font-size: .78rem; color: var(--muted); padding: 0 1.1rem .5rem; }
.pack::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--line); border-radius: 12px; }
.pack:has(input:checked)::before { border-color: var(--navy); background: rgba(24, 57, 100, .06); }
.pack:has(input:focus-visible)::before { outline: 3px solid var(--amber); outline-offset: 2px; }
.packs-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; max-width: 80ch; }

.plan-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem 1.5rem; background: var(--white); display: flex; flex-direction: column; }
.plan-popular { border: 2px solid var(--navy); box-shadow: 0 18px 44px rgba(11, 31, 63, .14); }
.plan-flag { position: absolute; top: -.85rem; left: 1.25rem; background: var(--navy); color: var(--white); font: 650 .8rem var(--text); padding: .25rem .7rem; border-radius: 999px; margin: 0; }
.plan-name { font-size: 1.5rem; margin-bottom: .6rem; }
.plan-price { margin: 0; color: var(--muted); font-size: .95rem; }
.plan-price strong { font: 700 2.75rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.plan-price s { color: var(--muted); margin-left: .25rem; }
.plan-unit { font-size: .92rem; color: var(--muted); margin: .35rem 0 1rem; }
.plan-desc { margin-bottom: 1.25rem; min-height: 3.2em; }
.plan .btn { align-self: stretch; }
.plan-list { list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: .97rem; }
.plan-list li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.plan-list li::before { content: ""; position: absolute; left: .1rem; top: .78rem; width: .85rem; height: .45rem; border-left: 2.5px solid var(--amber-deep); border-bottom: 2.5px solid var(--amber-deep); transform: rotate(-45deg) translateY(-50%); }
.plans-note { font-size: .92rem; color: var(--muted); margin: 1.5rem 0 0; max-width: 90ch; }

.payback { margin-top: 3rem; background: var(--paper); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.payback h3 { font-size: 1.5rem; }
.payback-in { font-size: 1.1rem; max-width: none; line-height: 2.2; margin-bottom: .5rem; }
.payback-in input { font: 700 1.1rem var(--display); width: 4.2rem; padding: .3rem .4rem; border: 2px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); text-align: center; margin: 0 .15rem; }
.payback-in input:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--navy); }
.payback-out { font: 650 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--display); letter-spacing: -.015em; max-width: 46ch; margin-bottom: .75rem; }
.payback-out b { color: var(--blue); font-weight: 700; }
.payback-fine { font-size: .88rem; color: var(--muted); margin: 0; }

.addons { margin-top: 2.5rem; }
.addon { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.addon h3 { margin-bottom: .3rem; }
.addon-kind { font: 600 .8rem var(--text); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .12rem .6rem; margin-left: .4rem; vertical-align: middle; letter-spacing: 0; }
.addon p { color: var(--muted); max-width: 80ch; }
.addon-price strong { color: var(--ink); }

.compare { margin-top: 2rem; border-top: 1px solid var(--line); }
.compare summary, .faq summary { cursor: pointer; font: 650 1.15rem var(--display); padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative; }
.compare summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.compare summary::after, .faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .6rem; height: .6rem; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); }
.compare[open] summary::after, .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.compare-scroll { overflow-x: auto; }
.cmp { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: .95rem; }
.cmp th, .cmp td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 700 1.1rem var(--display); border-bottom: 2px solid var(--ink); }
.cmp thead .is-popular { color: var(--blue); }
.cmp tbody th { font-weight: 600; width: 34%; }
.cmp-hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.cmp-group th { font: 650 .95rem var(--display); background: var(--paper); color: var(--ink); width: auto; }
.cmp .yes { color: #0c7a43; font-weight: 700; }
.cmp .no { color: #8a94a6; }
.compare-note { font-size: .88rem; color: var(--muted); margin-top: .75rem; }

/* ---- for employees ---- */
.emp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); }
.emp-icon img { border-radius: 14px; box-shadow: 0 10px 24px rgba(11, 31, 63, .2); margin-top: 1.5rem; }
.emp-more { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: .5rem; color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1rem; }

/* ---- questions ---- */
.faq { max-width: 52rem; margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* ---- closing band and footer ---- */
.close-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.close-row p { margin: 0; font-size: 1.15rem; }
.close-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.foot { background: #071530; color: #9fb2cf; padding: 3rem 0 2.5rem; font-size: .95rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.foot-brand { display: grid; gap: 1.25rem; }
.foot-maker { display: inline-flex; align-items: center; gap: .9rem; color: #9fb2cf; text-decoration: none; font-size: .88rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.foot-nav a { color: var(--on-dark); text-decoration: none; padding: .25rem 0; }
.foot-nav a:hover { color: var(--white); text-decoration: underline; }
.foot-legal { font-size: .85rem; max-width: 90ch; margin: 2.25rem 0 0; color: #8194b3; }

/* ---- 404 ---- */
.lost { min-height: 70vh; display: grid; align-items: center; }
.lost p { color: var(--on-dark); font-size: 1.2rem; }

/* ---- narrower screens ---- */
@media (max-width: 900px) {
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
  .hero-grid, .feature, .how-grid, .emp-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: clamp(6rem, 22vw, 9rem); }
  .hero-lede { max-width: 44ch; }
  .hero-shot { max-width: 34rem; }
  .feature-flip .feature-copy { order: 0; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .proofs { grid-template-columns: minmax(0, 1fr); }
  .band-video .film { margin-top: clamp(-7rem, -18vw, -4rem); }
}
@media (max-width: 520px) {
  .top-signin { display: none; }
  .brand span { font-size: 1.05rem; }
  .browser { min-height: 0; padding-bottom: .75rem; }
  .browser-page { display: none; }
  .popup { position: relative; right: auto; top: auto; margin: .75rem auto 0; width: calc(100% - 1.5rem); }
  .art-popups { grid-template-columns: minmax(0, 1fr); max-width: 20rem; }
  .art-popups img:last-child { margin-top: 0; }
  .art-portal .art-preview { right: 0; }
  .plan-desc { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .popup, .popup.is-reopened { animation: none; }
}

/* ================= the home page sections added with the launch (promo band, tiles, forms) ================= */
/* ---- shared bits ---- */
.eyebrow { font: 650 .85rem var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 .9rem; }
.eyebrow-on-dark { color: var(--amber); }
.watch-btn { gap: .5rem; cursor: pointer; background: transparent; }
.btn-primary.watch-btn { background: var(--amber); }
.linkish { font: inherit; color: var(--blue); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---- promo band (replaces the inline video) ---- */
.promo-band { position: relative; margin-top: clamp(-9rem, -11vw, -5rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--white); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 30px 70px rgba(11, 31, 63, .22); }
.promo-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.promo-copy h2 span { color: var(--blue); }
.promo-copy p:not(.eyebrow) { color: var(--muted); }
.promo-preview { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 14px; overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; }
.promo-preview video { width: 100%; height: 100%; object-fit: cover; }
.promo-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #201300; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .15s; }
.promo-preview:hover .promo-play { transform: scale(1.07); }
.promo-len { position: absolute; right: .75rem; bottom: .75rem; font: 600 .8rem var(--text); color: #fff; background: rgba(7, 21, 48, .75); border-radius: 6px; padding: .2rem .45rem; }

/* ---- lightbox and plan finder dialogs ---- */
.lightbox, .finder { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop, .finder::backdrop { background: rgba(7, 21, 48, .82); }
.lightbox video { width: 100%; border-radius: 14px; background: #000; }
.lightbox-close { position: absolute; top: .5rem; right: .5rem; z-index: 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; font: 400 1.6rem/1 var(--text); background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.finder { max-width: 38rem; }
.finder-form { position: relative; background: var(--white); border-radius: 18px; padding: 2rem; max-height: 90vh; overflow: auto; }
.finder h2 { font-size: 1.8rem; }
.finder fieldset { border: 0; padding: 0; margin: 1.25rem 0 0; }
.finder legend { font-weight: 650; margin-bottom: .5rem; }
.finder fieldset label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 1rem .4rem 0; }
.finder-result { margin-top: 1.5rem; background: var(--paper); border-radius: 14px; padding: 1.25rem 1.4rem; }
.finder-result h3 { margin-bottom: .25rem; }
.finder-result p { color: var(--muted); }

/* ---- feature tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.tiles article { border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.3rem; background: var(--white); }
.tile-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff1dc; color: var(--amber-deep); margin-bottom: 1rem; }
.tiles h3 { font-size: 1.15rem; }
.tiles p { color: var(--muted); font-size: .97rem; margin: 0; }
.tile-tag { font: 650 .7rem var(--text); color: var(--blue); border: 1px solid #b8cfea; border-radius: 999px; padding: .15rem .45rem; vertical-align: middle; white-space: nowrap; }
.tiles-more { text-align: center; margin: 2.25rem auto 0; max-width: none; }
.plans-more { margin: 1.5rem 0 0; color: var(--muted); max-width: none; }

/* ---- Managed tile ---- */
.impl-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.impl-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--night); color: var(--amber); }
.impl-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.impl-copy p:last-child { color: var(--muted); margin: 0; }

/* ---- share card ---- */
.share-card { display: flex; gap: 1.75rem; align-items: center; background: #0f5132; color: #d6f0e1; border-radius: 22px; padding: 1.75rem 2rem; max-width: 46rem; margin: 0 auto; }
.share-qr { background: #fff; border-radius: 12px; padding: 8px; flex: none; }
.share-eyebrow { font: 650 .8rem var(--text); letter-spacing: .08em; text-transform: uppercase; color: #9fe0bb; margin: 0 0 .4rem; }
.share-title { font: 650 1.45rem/1.2 var(--display); color: #fff; margin: 0 0 .5rem; }
.share-text { margin: 0 0 .75rem; }
.share-link { color: #fff; font-weight: 600; }
.share-link:hover { color: #fff; }
.on-phone { display: none; }

/* ---- integrations ---- */
.int-head { text-align: center; margin: 0 auto 2rem; }
.int-head p { margin-left: auto; margin-right: auto; color: var(--muted); }
.logo-row { overflow: hidden; margin-top: 1rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; gap: 1rem; list-style: none; margin: 0; padding: .25rem 0; width: max-content; }
.logo-row.is-moving .logo-track { animation: logo-loop var(--logo-loop, 40s) linear infinite; }
.logo-row.is-moving.is-reverse .logo-track { animation-direction: reverse; }
.logo-row:hover .logo-track { animation-play-state: paused; }
@keyframes logo-loop { to { transform: translateX(calc(-50% - .5rem)); } }
.logo-row:not(.is-moving) .logo-track:not(.is-measuring) { margin: 0 auto; flex-wrap: wrap; justify-content: center; width: auto; }
.logo-tile { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .65rem; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: .7rem 1.1rem .7rem .8rem; background: var(--white); white-space: nowrap; }
.logo-mono { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--paper); color: var(--navy); font: 700 .8rem var(--display); }
.logo-icon { grid-row: span 2; width: 36px; height: 28px; object-fit: contain; }
.logo-name { font-weight: 650; }
.logo-tile small { color: var(--muted); font-size: .78rem; }
.int-foot { text-align: center; color: var(--muted); font-size: .9rem; margin: 1.5rem auto 0; }

/* ---- stay connected ---- */
.stay-grid-outer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.stay-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.stay-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.stay-input { font: 400 1rem var(--text); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; color: var(--ink); background: var(--white); width: 100%; }
.stay-form > .stay-input { flex: 1 1 14rem; width: auto; }
.stay-hp { position: absolute; left: -9999px; }
.stay-topics { border: 0; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .93rem; width: 100%; }
.stay-topics label { display: inline-flex; gap: .35rem; align-items: center; }
.stay-fine { font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }
.stay-error { color: #b42318; font-size: .9rem; margin: 0; width: 100%; }
.stay-sent-title { font: 650 1.3rem var(--display); margin-bottom: .25rem; }
.stay-details { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.stay-details-title { font-weight: 600; font-size: .95rem; }
.stay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .9rem; }
.stay-grid label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; }
.stay-saved { color: #0c7a43; font-weight: 600; margin: 1rem 0 0; }

.foot-stay { border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 2rem; margin-bottom: 2.25rem; }
.foot-stay-form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.foot-stay-form label { color: var(--white); font-weight: 600; }
.foot-stay-form .stay-input { flex: 0 1 18rem; width: auto; background: #0d2148; border-color: #2a4170; color: #fff; padding: .55rem .8rem; }
.foot-stay-sent { color: var(--white); margin: 0; }

@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impl-tile { grid-template-columns: auto minmax(0, 1fr); }
  .impl-tile .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .promo-band { grid-template-columns: minmax(0, 1fr); }
  .stay-grid-outer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .impl-tile { grid-template-columns: minmax(0, 1fr); }
  .share-card { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .share-qr { display: none; }
  .on-wide { display: none; }
  .on-phone { display: inline; }
  .stay-grid { grid-template-columns: minmax(0, 1fr); }
  .finder-form { padding: 1.5rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-row.is-moving .logo-track { animation: none; }
}

.band-tiles { padding-top: clamp(2.5rem, 5vw, 4rem); }
.impl-tile + .share-card { margin-top: 2rem; }
.integrations { padding-top: clamp(3rem, 6vw, 5rem); }

/* ---- inner pages: a short dark opener ---- */
.page-hero { background: var(--night); color: var(--on-dark); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 18ch; }
.page-hero .hero-lede { max-width: 52ch; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero .hero-note { margin: 1.25rem 0 0; }
.top-nav a[aria-current="page"] { color: var(--white); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.compare-open { border-top: 0; margin-top: 3.5rem; }
.compare-open h2 { margin-bottom: 1.25rem; }
.request-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 3.5rem; align-items: start; }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.request-form label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
.request-form textarea { resize: vertical; font-weight: 400; }
.request-wide { grid-column: 1 / -1; }
.request-opt { font-weight: 400; color: var(--muted); }
.request-alt { color: var(--muted); }
button.btn { cursor: pointer; font-family: var(--text); }
button.btn-on-dark { background: transparent; }
.how-grid > .addons:empty { display: none; }
button.btn:disabled { opacity: .6; cursor: default; }
[hidden] { display: none !important; }

/* ---- the launch splash page (splash-render.js). While it's on, it is the whole site. ---- */
#splash { display: none; }
html.splash-on body { background: var(--night); }
html.splash-on body > :not(#splash) { display: none !important; }
html.splash-on #splash { display: flex; }
.sp { min-height: 100vh; flex-direction: column; background: var(--night); color: var(--on-dark); }
.sp-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gutter); max-width: var(--max); width: 100%; margin: 0 auto; }
.sp-main { flex: 1; display: grid; place-items: center; padding: 1rem var(--gutter) 3rem; }
.sp-inner { width: 100%; max-width: 54rem; text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
.sp-ring { position: relative; width: clamp(9rem, 22vw, 12rem); aspect-ratio: 1; }
.sp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sp-track { stroke: rgba(255, 255, 255, .08); }
.sp-arc { stroke: var(--amber); transition: stroke-dashoffset 1s linear; }
.sp-ring img { position: absolute; inset: 0; margin: auto; width: 44%; border-radius: 18%; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.sp-eyebrow { font: 650 .85rem var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin: .5rem 0 0; max-width: none; }
.sp h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0; max-width: 16ch; }
.sp-msg { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 46ch; margin: 0; }
.sp-count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 2vw, 1rem); margin-top: .75rem; width: min(100%, 36rem); }
.sp-unit { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: .9rem .25rem .7rem; }
.sp-unit b { display: block; font: 700 clamp(2rem, 6vw, 3.4rem)/1 var(--display); color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sp-unit span { display: block; margin-top: .45rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb2cf; }
.sp-stay { width: min(100%, 32rem); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 1.1rem; margin-top: .5rem; text-align: left; }
.sp-stay-title { margin: 0 0 .6rem; color: var(--white); font-weight: 600; }
.sp-stay form { display: flex; flex-wrap: wrap; gap: .5rem; }
.sp-stay input[type="email"] { flex: 1 1 14rem; min-width: 0; font: 400 1rem var(--text); padding: .75rem .9rem; border-radius: 12px; border: 1px solid #2a4170; background: #0d2148; color: var(--white); }
.sp-stay small { display: block; margin-top: .55rem; color: #9fb2cf; font-size: .8rem; }
.sp-stay small a, .sp-note a, .sp-foot a { color: var(--white); }
.sp-stay .stay-error { color: #ffb4a8; }
.sp-sent { color: var(--white); margin: 0; }
.sp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .75rem; }
.sp-note { font-size: .95rem; color: #9fb2cf; margin: .5rem 0 0; max-width: 52ch; }
.sp-foot { text-align: center; font-size: .82rem; color: #8194b3; padding: 1.5rem var(--gutter); border-top: 1px solid rgba(255, 255, 255, .07); }
.sp-foot p { margin: 0 auto; max-width: 80ch; }
.sp-preview { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; background: #fff4df; color: #5a3a00; font-size: .9rem; padding: .55rem var(--gutter); }
.sp-preview button { font: 600 .85rem var(--text); border: 1px solid #d9b46b; background: #fff; color: #5a3a00; border-radius: 999px; padding: .3rem .9rem; cursor: pointer; }

@media (max-width: 900px) {
  .request-grid { grid-template-columns: minmax(0, 1fr); }
  .tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tiles-3, .request-form { grid-template-columns: minmax(0, 1fr); }
  .sp-unit span { font-size: .66rem; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) { .sp-arc { transition: none; } }
