/* Trillitask Desk marketing site (desk.trillitask.com). Cool paper, logo navy, Desk blue.
   Derived from trillitask.com's site.css (scratch mkdesk.php) + Desk components at the bottom. */

:root {
  --brand: #2d6cf6;
  --brand-600: #1f58db;
  --brand-700: #1746b5;
  --brand-50: #edf3ff;
  --brand-100: #dce7ff;
  --brand-200: #b5ccff;

  --navy: #0f2147;
  --navy-800: #13285a;
  --navy-900: #0b1836;
  --navy-950: #070f25;

  --ink: #0f2147;
  --text: #39435e;
  --muted: #646d84;
  --faint: #8f97aa;

  --paper: #f6f8fd;
  --paper-2: #eaf0fb;
  --card: #ffffff;
  --line: #e1e7f3;
  --line-2: #cfd8ea;

  --green: #12985a;  --green-50: #e6f7ee;
  --red: #e0383e;    --red-50: #fdecec;
  --blue: #3657d8;   --blue-50: #ecf0ff;
  --violet: #7a4cf0; --violet-50: #f2edff;
  --amber: #e79a12;  --amber-50: #fff6e2;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(15, 33, 71, .06), 0 2px 8px -2px rgba(15, 33, 71, .06);
  --shadow: 0 1px 2px rgba(15, 33, 71, .05), 0 10px 30px -10px rgba(15, 33, 71, .16), 0 30px 60px -30px rgba(15, 33, 71, .2);
  --shadow-lg: 0 2px 4px rgba(15, 33, 71, .04), 0 24px 48px -16px rgba(15, 33, 71, .22), 0 70px 120px -50px rgba(15, 33, 71, .35);

  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brandfont: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--display); font-weight: 600; }
p { margin: 0; }
::selection { background: var(--brand-200); color: var(--navy); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* Faint film grain over everything — keeps big flat areas from looking digital. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: italic 800 12.5px/1 var(--brandfont); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.h-display {
  font-size: clamp(46px, 6.6vw, 92px); line-height: .98; font-weight: 600;
}
.h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; font-weight: 600; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.006em; font-weight: 600; }
.h4 { font-size: 20px; line-height: 1.25; font-weight: 600; }
/* The logo's "TASK": heavy italic caps for one accent word per headline. */
.brandword { font-family: var(--brandfont); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; font-size: .9em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.accent { color: var(--brand); }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-top: 18px; }
.section-head .lede { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 600 16.5px/1 var(--display); letter-spacing: .005em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(15, 33, 71, .2), 0 8px 20px -8px rgba(15, 33, 71, .45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 4px rgba(15, 33, 71, .2), 0 14px 28px -10px rgba(15, 33, 71, .5); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-brand { --bg: var(--brand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(23, 70, 181, .3), 0 10px 24px -8px rgba(45, 108, 246, .6); }
.btn-brand:hover { --bg: var(--brand-600); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 4px rgba(23, 70, 181, .3), 0 16px 32px -10px rgba(45, 108, 246, .65); }
.btn-ghost { --bg: rgba(255, 255, 255, .7); --fg: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(15, 33, 71, .05); backdrop-filter: blur(8px); }
.btn-ghost:hover { --bg: #fff; box-shadow: inset 0 0 0 1px var(--faint), 0 6px 16px -8px rgba(15, 33, 71, .25); }
.btn-white { --bg: #fff; --fg: var(--navy); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  transition: background .3s, box-shadow .3s, height .3s;
}
.nav.is-scrolled { background: rgba(246, 248, 253, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); height: 66px; }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(15, 33, 71, .06); color: var(--navy); }
.nav-links .pill-new { display: inline-flex; align-items: center; gap: 7px; }
.nav-links .pill-new::after { content: "New"; font: 700 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #0a7a55; background: #dff7ec; padding: 4px 6px; border-radius: 999px; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-cta .signin { padding: 9px 14px; font-size: 15px; font-weight: 500; color: var(--navy); border-radius: 999px; }
.nav-cta .signin:hover { background: rgba(15, 33, 71, .06); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }
.nav-sheet { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta .signin { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { gap: 4px; }
  .nav-sheet {
    display: block; position: fixed; inset: 66px 12px auto 12px; z-index: 49;
    background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
  }
  .nav.is-open + .nav-sheet { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: rgba(246, 248, 253, .96); }
  .nav-sheet a { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-radius: 14px; font-size: 17px; font-weight: 500; color: var(--navy); }
  .nav-sheet a:hover { background: var(--paper); }
  .nav-sheet .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 6px 6px; }
  .nav-sheet .sheet-actions .btn { width: 100%; }
}
@media (max-width: 420px) { .nav-cta .btn { padding: 0 14px; font-size: 14px; } .nav-logo img { height: 28px; } }

/* ---------- Mascot (inline SVG) ---------- */
.mascot { overflow: visible; }
.mascot .m-face { transition: transform .35s var(--ease); }
.mascot .m-eyes { transform-box: fill-box; transform-origin: center; transition: transform .09s ease-in; }
.mascot.is-blink .m-eyes { transform: scaleY(.08); }
.mascot.is-bob { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 860px; height: 860px; right: -200px; top: -280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 108, 246, .24), rgba(110, 160, 255, .09) 55%, transparent 72%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; left: -260px; bottom: -320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 190, 255, .3), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 50px) scale(1.14); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 56px; align-items: center; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--navy); backdrop-filter: blur(6px);
}
.hero-copy .eyebrow b { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; }
.hero-copy h1 { margin-top: 26px; }
.hero-copy h1 .swoosh { position: relative; display: inline-block; color: var(--brand); }
.hero-copy h1 .swoosh svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero-copy h1 .swoosh path { fill: none; stroke: var(--brand); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s .55s var(--ease) forwards; opacity: .55; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy .lede { margin-top: 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--green); }

/* Floating annotation chips around the demo */
.float-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; color: var(--navy); white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .dot { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; }
.float-chip .dot svg { width: 15px; height: 15px; }
.float-chip.fc-1 { left: -18px; top: 36px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Works-with strip ---------- */
.works { padding: 6px 0 70px; }
.works .wrap { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; justify-content: center; }
.works small { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.works ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 0; padding: 0; }
.works li { font: 600 22px/1 var(--display); color: #9aa0b1; }

/* ---------- Big statement (words light up on scroll) ---------- */
.statement { padding: 70px 0 120px; }
.statement p { font: 600 clamp(30px, 4.1vw, 54px)/1.13 var(--display); color: var(--navy); max-width: 1050px; }
.js .statement .w { opacity: .16; transition: opacity .25s; }
.js .statement .w.on { opacity: 1; }
.statement .hl { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 90px 0; }
.bg-white { background: #fff; }
.bg-paper-2 { background: var(--paper-2); }
.rule-top { border-top: 1px solid var(--line); }

/* Story rows */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 80px; align-items: center; }
.story + .story { margin-top: 140px; }
.story.flip > .story-copy { order: 2; }
.story-copy .num { font: italic 800 13px/1 var(--brandfont); color: var(--brand-700); letter-spacing: .08em; text-transform: uppercase; }
.story-copy .h3 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.story-copy p { margin-top: 20px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text); }
.ticks li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--brand); }
.visual {
  position: relative; border-radius: var(--r-xl); padding: 44px; min-height: 440px; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #fff 0%, var(--brand-50) 100%); box-shadow: inset 0 0 0 1px var(--line);
}
.visual::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -20%; top: -30%; background: radial-gradient(closest-side, rgba(45, 108, 246, .16), transparent); }
.visual.v-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: none; }
.visual.v-navy::before { background: radial-gradient(closest-side, rgba(45, 108, 246, .35), transparent); }
.visual.v-cream { background: linear-gradient(160deg, #fff, var(--paper-2)); }

/* Mock: raw email → summary */
.mock-mail { width: 100%; max-width: 470px; display: grid; gap: 16px; }
.raw {
  position: relative; background: #fff; border-radius: 20px; padding: 18px 20px 0; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  height: 200px; overflow: hidden; transform: rotate(-1.5deg);
}
.raw::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(transparent, #fff 85%); }
.raw .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.raw .meta b { color: var(--navy); }
.raw .subj { margin-top: 6px; font-weight: 600; color: var(--navy); font-size: 15px; }
.raw p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: #7b8296; }
.arrow-chip { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.arrow-chip svg { width: 16px; height: 16px; }
.summary { background: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(45, 108, 246, .25); }
.summary .from { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.summary .from .av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 12px/1 var(--font); background: #3f7be0; }
.summary .line { margin-top: 12px; font: 600 19px/1.35 var(--display); color: var(--navy); }
.summary .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper); color: var(--navy); }
.chip svg { width: 14px; height: 14px; }
.chip.c-brand { background: var(--brand-100); color: var(--brand-700); }
.chip.c-green { background: var(--green-50); color: var(--green); }
.chip.c-blue { background: var(--blue-50); color: var(--blue); }
.chip.c-red { background: var(--red-50); color: var(--red); }
.chip.c-violet { background: var(--violet-50); color: var(--violet); }

/* Mock: chat */
.chat { width: 100%; max-width: 450px; display: grid; gap: 12px; }
.bubble { max-width: 86%; padding: 13px 16px; border-radius: 20px; font-size: 15px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.bubble.me { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { justify-self: start; background: #fff; color: var(--text); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.v-navy .bubble.ai { box-shadow: none; }
.draft { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 14px; color: var(--text); }
.draft .to { font-size: 12px; color: var(--muted); }
.draft .actions { display: flex; gap: 8px; margin-top: 10px; }
.draft .actions span { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.draft .actions .send { background: var(--navy); color: #fff; }
.draft .actions .edit { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--navy); }
.chat .sent { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #8fe0b5; }
.chat .sent svg { width: 16px; height: 16px; }
.js .chat [data-step] { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .5s var(--ease); }
.js .chat [data-step].on { opacity: 1; transform: none; }
.typing { justify-self: start; display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 20px; background: #fff; border-bottom-left-radius: 6px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b6bccb; animation: blinkdot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blinkdot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.sms-tag { justify-self: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.tile {
  position: relative; grid-column: span 4; border-radius: var(--r-lg); padding: 28px; background: #fff; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.tile.span-3 { grid-column: span 3; } .tile.span-5 { grid-column: span 5; } .tile.span-6 { grid-column: span 6; } .tile.span-7 { grid-column: span 7; } .tile.span-8 { grid-column: span 8; }
.tile.tall { grid-row: span 2; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { margin-top: 20px; font-size: 21px; line-height: 1.2; font-weight: 600; }
.tile p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.tile .badge { position: absolute; top: 24px; right: 24px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tile .say { margin-top: 16px; display: inline-flex; align-self: flex-start; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--paper); font-size: 14px; color: var(--navy); font-weight: 500; }
.tile .grow { flex: 1; }
.tile.dark { background: var(--navy); box-shadow: none; }
.tile.dark h3 { color: #fff; }
.tile.dark p { color: rgba(255, 255, 255, .7); }
.tile.dark .ico { background: rgba(45, 108, 246, .18); color: #8fb3ff; }
.tile.dark::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 108, 246, .4), transparent); }
.tile.warm { background: linear-gradient(160deg, #fff 30%, var(--brand-50)); }
.ico.i-blue { background: var(--blue-50); color: var(--blue); } .ico.i-green { background: var(--green-50); color: var(--green); }
.ico.i-violet { background: var(--violet-50); color: var(--violet); } .ico.i-red { background: var(--red-50); color: var(--red); }
.ico.i-amber { background: var(--amber-50); color: #b26b00; } .ico.i-navy { background: #e9edf6; color: var(--navy); }

.tile .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tile.dark .chip { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }
.tile.dark .chip svg { color: #8fb3ff; }
.scam-card { margin-top: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); padding: 16px 18px; position: relative; }
.scam-card .f { font-size: 13px; color: rgba(255, 255, 255, .55); }
.scam-card .f b { color: rgba(255, 255, 255, .85); font-weight: 600; }
.scam-card .s { margin-top: 6px; font-size: 15px; color: #fff; font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(255, 90, 90, .8); text-decoration-thickness: 2px; }
.scam-card .why { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.stamp { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(-8deg); padding: 6px 12px; border-radius: 10px; border: 2.5px solid #ff6b6b; color: #ff8080; font: italic 900 14px/1 var(--brandfont); letter-spacing: .06em; text-transform: uppercase; }
.mem { margin-top: 18px; display: grid; gap: 8px; }
.mem .bubble { font-size: 14px; padding: 10px 14px; max-width: 92%; }
.mem .when { font-size: 11.5px; font-weight: 600; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; justify-self: center; margin: 4px 0; }

/* ---------- Day timeline ---------- */
/* Hero media: real video with the product floating over it */
.hero-media { position: relative; padding: 0 0 70px 110px; }
.hero-media .media-frame { aspect-ratio: 4 / 5; max-height: 640px; width: 100%; }
.hero-media .media-frame video, .hero-media .media-frame img { object-position: 36% center; }
.inbox-wrap { position: absolute; left: 0; bottom: 0; width: 392px; z-index: 3; }
.inbox-wrap .mascot { position: absolute; z-index: 4; width: 92px; top: -76px; left: 26px; filter: drop-shadow(0 12px 18px rgba(15, 33, 71, .22)); }
.notif {
  position: absolute; z-index: 4; top: 34px; right: -34px; width: 320px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px;
  padding: 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: var(--shadow); animation: notif-in .9s 1.2s var(--ease) both;
}
.notif .app { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; }
.notif .app .mascot { width: 30px; }
.notif .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.notif b { display: block; margin-top: 2px; font: 600 15.5px/1.3 var(--display); color: var(--navy); }
.notif p { font-size: 13.5px; line-height: 1.4; color: var(--text); }
@keyframes notif-in { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-card { position: relative; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; isolation: isolate; color: #fff; box-shadow: var(--shadow); }
.ba-card > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.ba-card:hover > picture img { transform: scale(1.04); }
.ba-card.before > picture img { filter: grayscale(.92) brightness(.74) contrast(1.06); }
.ba-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 32, .25), rgba(8, 14, 32, 0) 28%, rgba(8, 14, 32, .1) 52%, rgba(8, 14, 32, .9)); }
.ba-tag { position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font: 600 15px/1 var(--display); }
.ba-card.before .ba-tag { background: rgba(10, 16, 35, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ba-card.after .ba-tag { background: var(--brand); }
.ba-cap { position: absolute; left: 28px; right: 28px; bottom: 26px; }
.ba-cap h3 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.ba-cap p { margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 16px; }
.unread { position: absolute; top: 78px; right: 22px; width: 240px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .13); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.unread .n b { display: block; font: 600 38px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.unread .n span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.unread .dot { position: absolute; top: -9px; right: -9px; height: 28px; min-width: 28px; padding: 0 9px; border-radius: 999px; background: var(--red); color: #fff; font: 700 13px/28px var(--font); text-align: center; box-shadow: 0 6px 14px -4px rgba(224, 56, 62, .8); animation: pop 1.8s ease-in-out infinite; }
.unread .ln { height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .24); margin-top: 10px; }
.unread .ln:nth-of-type(2n) { width: 72%; }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.mini-brief { position: absolute; top: 78px; right: 22px; width: 268px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); color: var(--text); }
.mini-brief b { font: 600 17px/1.2 var(--display); color: var(--navy); }
.mini-brief ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; font-size: 14px; }
.mini-brief li { display: flex; gap: 9px; align-items: center; }
.mini-brief li i { flex: none; width: 19px; height: 19px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; transition: background .35s, box-shadow .35s; }
.mini-brief li i svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .3s; }
.mini-brief li span { transition: color .35s; }
.mini-brief li.done i { background: var(--green); box-shadow: none; }
.mini-brief li.done i svg { opacity: 1; }
.mini-brief li.done span { color: var(--faint); text-decoration: line-through; }

/* A day, in photos */
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.strip-head .section-head { margin-bottom: 0; }
.strip-nav { display: flex; gap: 10px; flex: none; }
.strip-nav button { width: 54px; height: 54px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); transition: background .2s, color .2s, transform .2s; }
.strip-nav button:hover { background: var(--navy); color: #fff; }
.strip-nav button svg { width: 20px; height: 20px; }
.strip-nav .prev svg { transform: rotate(180deg); }
.strip {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 24px;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.strip::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 300px; scroll-snap-align: start; }
.moment .ph { aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: var(--shadow); }
.moment .ph img { transition: transform 1.2s var(--ease); }
.moment:hover .ph img { transform: scale(1.05); }
.moment time { position: absolute; z-index: 2; top: 16px; left: 16px; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font: 600 15px/1 var(--display); color: var(--navy); }
.moment p { margin-top: 16px; padding-right: 6px; font-size: 16px; line-height: 1.55; }
.moment p b { color: var(--navy); }

@media (max-width: 1100px) { .notif { right: -10px; } }
@media (max-width: 960px) {
  .hero-media { padding: 0; }
  .hero-media .media-frame { aspect-ratio: 4 / 3.6; }
  .inbox-wrap { position: relative; width: auto; margin: -150px 14px 0; }
  .notif { top: 16px; right: 16px; width: 290px; }
}
@media (max-width: 760px) {
  .ba { grid-template-columns: minmax(0, 1fr); }
  .ba-card { aspect-ratio: 4 / 4.6; }
  .unread, .mini-brief { top: 70px; right: 16px; width: 228px; }
  .strip-nav { display: none; }
  .moment { flex-basis: 76vw; }
}
@media (max-width: 640px) {
  .notif { width: auto; left: 12px; right: 12px; top: 12px; }
  .inbox-wrap { margin: -110px 8px 0; }
  .inbox-wrap .mascot { width: 76px; top: -64px; }
}
/* ---------- Privacy (dark) ---------- */
.dark-band { background: var(--navy-950); color: rgba(255, 255, 255, .78); overflow: hidden; isolation: isolate; }
.dark-band::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -400px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 108, 246, .22), transparent); }
.dark-band::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 110, 255, .2), transparent); }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .kicker { color: #8fb3ff; }
.dark-band .lede { color: rgba(255, 255, 255, .72); }
.privacy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.vow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vow { border-radius: 22px; padding: 24px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.vow .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(45, 108, 246, .16); color: #8fb3ff; }
.vow .ico svg { width: 21px; height: 21px; }
.vow h3 { margin-top: 16px; font-size: 19px; }
.vow p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .66); }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.prices.n-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.prices.n-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.prices.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price { position: relative; display: flex; flex-direction: column; border-radius: 30px; padding: 34px 30px 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.price .name { font: 600 22px/1 var(--display); color: var(--navy); }
.price .tag { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 24px; }
.price .amt { margin-top: 26px; display: flex; align-items: baseline; gap: 6px; }
.price .amt b { font: 600 58px/1 var(--display); color: var(--navy); }
.price .amt span { font-size: 15px; color: var(--muted); }
.price .yr { margin-top: 8px; font-size: 13.5px; color: var(--muted); min-height: 20px; }
.price ul { list-style: none; margin: 26px 0 30px; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text); }
.price li svg { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.price li.off { color: var(--faint); }
.price li.off svg { color: #c3c7d2; }
.price .btn { width: 100%; }
.price .foot { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.price.featured { background: var(--navy); box-shadow: 0 40px 80px -30px rgba(15, 33, 71, .55); transform: translateY(-10px); }
.price.featured .name, .price.featured .amt b { color: #fff; }
.price.featured .tag, .price.featured .amt span, .price.featured .yr, .price.featured .foot { color: rgba(255, 255, 255, .62); }
.price.featured ul { border-color: rgba(255, 255, 255, .12); }
.price.featured li { color: rgba(255, 255, 255, .85); }
.price.featured li svg { color: #8fb3ff; }
.price.featured li.off { color: rgba(255, 255, 255, .4); }
.price .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(45, 108, 246, .7); }
.price-note { margin-top: 28px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- Photography & motion (shared with trillibudget.com) ---------- */
.ph { position: relative; overflow: hidden; isolation: isolate; background: #dfe5f0; }
.ph > picture { position: absolute; inset: 0; display: block; }
.ph > picture img, .ph > img, .ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-frame { border-radius: 36px; box-shadow: var(--shadow-lg); }
.media-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 16, 35, 0) 55%, rgba(10, 16, 35, .3)); }
.kenburns > picture img, .kenburns > video { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.js .reveal-ph { clip-path: inset(9% 7% 9% 7% round 36px); transition: clip-path 1.3s var(--ease); }
.js .reveal-ph.is-in { clip-path: inset(0 0 0 0 round 36px); }

/* Story scenes: a photo or video with product UI on top */
.scene { position: relative; min-height: 580px; border-radius: 36px; overflow: hidden; isolation: isolate; display: flex; padding: 32px; box-shadow: var(--shadow); }
.scene > .bg { position: absolute; inset: -7% 0; z-index: -2; }
.scene > .bg picture, .scene > .bg img, .scene > .bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim, linear-gradient(90deg, rgba(10, 16, 35, 0) 25%, rgba(10, 16, 35, .5))); }
.scene.end { justify-content: flex-end; align-items: center; }
.scene.start { justify-content: flex-start; align-items: center; }
.scene.bottom { align-items: flex-end; }
.scene .mock-mail, .scene .chat, .scene .brief, .scene .checkin { max-width: 400px; }

/* Bento tiles with photos */
.tile.img { padding: 0; }
.tile.img .ph { aspect-ratio: 16 / 9; flex: none; }
.tile.img .ph img { transition: transform 1.2s var(--ease); }
.tile.img:hover .ph img { transform: scale(1.06); }
.tile.img .body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.tile.img .body h3 { margin-top: 0; }
.tile.img .badge { z-index: 3; background: rgba(255, 255, 255, .92); box-shadow: none; }

/* Animated vault graphic for the privacy band */
.rings { position: relative; width: min(300px, 64vw); aspect-ratio: 1; margin-top: 46px; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16); animation: ring 4.5s ease-out infinite; }
.rings i:nth-child(2) { animation-delay: 1.5s; }
.rings i:nth-child(3) { animation-delay: 3s; }
@keyframes ring { 0% { transform: scale(.36); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.06); opacity: 0; } }
.rings .orbit { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: spin 28s linear infinite; }
.rings .orbit b { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #8fb3ff; box-shadow: 0 0 18px #8fb3ff; }
.rings .orbit b + b { top: auto; bottom: -6px; }
.rings .core { position: absolute; inset: 33%; border-radius: 30%; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--brand), var(--brand-700)); box-shadow: 0 0 0 12px rgba(45, 108, 246, .14), 0 30px 60px -10px rgba(45, 108, 246, .6); }
.rings .core svg { width: 44%; height: 44%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Final call to action over a photo */
.final.has-bg { background: var(--navy-950); }
.final.has-bg .bg { position: absolute; inset: 0; z-index: -2; }
.final.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--final-scrim, linear-gradient(115deg, rgba(45, 108, 246, .93) 0%, rgba(31, 88, 219, .8) 48%, rgba(15, 33, 71, .55) 100%)); }

@media (max-width: 960px) {
  .scene { min-height: 0; padding: 260px 16px 16px; }
  .scene.end, .scene.start { justify-content: center; align-items: flex-end; }
  .scene::before { background: linear-gradient(180deg, rgba(10, 16, 35, 0) 30%, rgba(10, 16, 35, .55)); }
  .scene .mock-mail, .scene .chat, .scene .brief, .scene .checkin { max-width: none; }
  .rings { display: none; }
}

/* ---------- Trilli family: ticket queue, Trilli ONE band (shared with desk.trillitask.com) ---------- */
.wordmark { display: inline-flex; align-items: baseline; gap: 5px; line-height: 1; white-space: nowrap; }
/* Ticket queue (hero + scenes) */
.queue { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(15, 33, 71, .06); overflow: hidden; }
.queue-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid #edf1f8; }
.queue-head b { font: 600 17px/1 var(--display); color: var(--navy); }
.queue-head .count { font-size: 13px; color: var(--muted); }
.queue-head .filters { margin-left: auto; display: flex; gap: 6px; }
.queue-head .filters span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.queue-head .filters span.on { background: var(--navy); color: #fff; }
.tickets { list-style: none; margin: 0; padding: 4px 0; }
.ticket { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; }
.ticket + .ticket::before { content: ""; position: absolute; top: 0; left: 66px; right: 18px; height: 1px; background: #f0f3f9; }
.ticket .av { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font: 700 13px/1 var(--font); }
.ticket .who { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket .sub { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket .id { font: 600 11.5px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--faint); margin-right: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.s-new { background: var(--brand-100); color: var(--brand-700); }
.status.s-open { background: #fff4e0; color: #b26b00; }
.status.s-prog { background: var(--violet-50); color: var(--violet); }
.status.s-done { background: var(--green-50); color: var(--green); }
.ticket.is-new { background: linear-gradient(90deg, var(--brand-50), rgba(237, 243, 255, 0)); animation: tk-in .8s 1s var(--ease) both; }
.ticket.is-new::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
@keyframes tk-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.queue-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid #edf1f8; font-size: 12.5px; color: var(--muted); }
.queue-foot b { color: var(--navy); }

/* Trilli ONE */
.one { position: relative; border-radius: 40px; padding: 60px; overflow: hidden; isolation: isolate; background: var(--navy-950); color: rgba(255, 255, 255, .75); }
.one::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 80% at 10% 0%, rgba(255, 93, 0, .3), transparent 60%), radial-gradient(50% 70% at 50% 110%, rgba(21, 178, 127, .25), transparent 60%), radial-gradient(60% 80% at 100% 10%, rgba(45, 108, 246, .35), transparent 60%); }
.one h2 { color: #fff; }
.one .lede { color: rgba(255, 255, 255, .72); }
.one .kicker { color: #c9d6ff; }
.apps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.app3 { border-radius: 26px; padding: 26px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.app3 .mascot { width: 54px; }
.app3 h3 { margin-top: 16px; display: flex; align-items: baseline; gap: 5px; color: #fff; }
.app3 h3 .t { font: 600 24px/1 var(--display); }
.app3 h3 .d { font: italic 900 21px/1 var(--brandfont); text-transform: uppercase; }
.app3 p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
.app3 ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; }
.app3 li { display: flex; gap: 8px; align-items: flex-start; }
.app3 li svg { flex: none; width: 17px; height: 17px; margin-top: 2px; }
.perks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.perk { border-radius: 20px; padding: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.perk svg { width: 22px; height: 22px; color: #fff; }
.perk b { display: block; margin-top: 10px; font: 600 16px/1.25 var(--display); color: #fff; }
.perk span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.one .hero-actions { margin-top: 34px; }
.one .btn-ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

@media (max-width: 1100px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .apps3 { grid-template-columns: minmax(0, 1fr); } .one { padding: 40px 24px; border-radius: 32px; } }
@media (max-width: 640px) { .queue-head .filters { display: none; } .ticket { padding: 10px 14px; gap: 10px; grid-template-columns: 32px minmax(0, 1fr) auto; } .ticket .av { width: 32px; height: 32px; } .ticket .id { display: none; } .perks { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 80px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; margin: 0; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font: 600 19px/1.35 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, transform .3s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--brand); box-shadow: none; transform: rotate(180deg); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 56px 26px 0; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.faq .ans a { color: var(--brand-700); font-weight: 600; }

/* ---------- Final CTA ---------- */
.final {
  position: relative; border-radius: 44px; padding: 90px 64px; overflow: hidden; isolation: isolate; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #5b8cff 0%, var(--brand) 40%, #1746b5 100%); color: #fff;
}
.final::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.final .mascot { width: 150px; margin: 0 auto 28px; filter: drop-shadow(0 20px 30px rgba(10, 30, 90, .35)); }
.final h2 { color: #fff; max-width: 820px; margin: 0 auto; }
.final p { margin: 20px auto 0; max-width: 560px; font-size: 19px; color: rgba(255, 255, 255, .88); }
.final .hero-actions { justify-content: center; }
.final .btn-white { box-shadow: 0 20px 40px -16px rgba(10, 30, 90, .6); }
.final .btn-ghost { --bg: rgba(255, 255, 255, .12); --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding: 90px 0 40px; margin-top: 120px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer .brand img { height: 36px; width: auto; }
.footer .brand p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer h4 { font: 600 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .42); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: rgba(255, 255, 255, .42); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 48px; }

  .tile.span-3 { grid-column: span 6; }
  .tile.span-4 { grid-column: span 6; }
  .tile.span-5, .tile.span-7 { grid-column: span 6; }
  .tile.tall { grid-row: auto; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .hero { padding: 120px 0 60px; }
  .hero-grid, .story, .day, .privacy, .promo, .faq-grid, .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .story.flip > .story-copy, .feat-grid.flip > :first-child { order: 0; }
  .story + .story { margin-top: 100px; }
  .day-head, .faq-grid .section-head, .feat-copy { position: static; }
  .day-head .mascot { display: none; }
  .visual { padding: 28px; min-height: 0; }
  .prices, .prices.n-4 { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .price.featured { transform: none; }
  .promo { padding: 44px 28px; border-radius: 32px; }
  .section { padding: 90px 0; }
  .final { padding: 64px 24px; border-radius: 32px; }
  .vow-grid { grid-template-columns: 1fr 1fr; }
  .feat { padding: 80px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 108px 0 40px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .demo-stage { padding-top: 56px; }
  .demo-stage .mascot { width: 92px; right: 24px; }
  .float-chip { display: none; }
  .mail-row { padding: 9px 14px; gap: 10px; grid-template-columns: 34px minmax(0, 1fr) auto; }
  .mail-row .av { width: 34px; height: 34px; border-radius: 10px; }
  .mail-row + .mail-row::before { left: 58px; right: 14px; }
  .mail-row .tag { padding: 0 8px; font-size: 11.5px; }
  .mail-row .tag svg { display: none; }
  .inbox-head { padding: 14px; }
  .inbox-result { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .inbox-result li { font-size: 13.5px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile, .tile.span-3, .tile.span-4, .tile.span-5, .tile.span-6, .tile.span-7, .tile.span-8 { grid-column: auto; padding: 24px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 30px; }
  .timeline li::after { left: 0; top: 2px; }
  .timeline time { text-align: left; padding-top: 0; }
  .vow-grid, .cards.two, .sort3 { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .faq .ans { padding-right: 0; }
  .footer { padding-top: 64px; margin-top: 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .works li { font-size: 18px; }
  .statement { padding: 30px 0 80px; }
  .raw { height: 170px; }
  .brief { padding: 20px; }
  .brief .hello { font-size: 22px; }
  .stamp { position: static; display: inline-block; transform: rotate(-6deg); margin-top: 12px; }
}


html:not(.js) .chat .typing { display: none; }
figure.ba-card { margin: 0; }

/* =====================================================================
   Desk-only components
   ===================================================================== */
.nav-logo { display: inline-flex; align-items: center; gap: 9px; }
.wordmark .t { font: 600 23px/1 var(--display); color: var(--brand); }
.wordmark .d { font: italic 900 21px/1 var(--brandfont); color: var(--navy); text-transform: uppercase; letter-spacing: -.01em; }
.nav-logo .mascot { width: 38px; }
.footer .wordmark .d { color: #fff; }
.footer .wordmark .t { color: #8fb3ff; }
.footer .brand .nav-logo .mascot { width: 40px; }

.hero-media .queue-wrap { position: absolute; left: 0; bottom: 0; width: 410px; z-index: 3; }
.hero-media .queue-wrap .mascot { position: absolute; z-index: 4; width: 88px; top: -72px; left: 26px; filter: drop-shadow(0 12px 18px rgba(15, 33, 71, .22)); }
.notif .app { background: var(--brand); }

/* Email to ticket mock */
.e2t { width: 100%; max-width: 410px; display: grid; gap: 14px; }
.mail { background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transform: rotate(-1.5deg); }
.mail .meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.mail .meta b { color: var(--navy); }
.mail .subj { margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--navy); }
.mail p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #6b7387; }
.tcard { background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(45, 108, 246, .25); }
.tcard .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcard .top .id { font: 600 12.5px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--brand-700); }
.tcard h4 { margin-top: 10px; font: 600 19px/1.3 var(--display); color: var(--navy); }
.tcard .rows { margin-top: 12px; display: grid; gap: 7px; font-size: 13.5px; color: var(--text); }
.tcard .rows div { display: flex; justify-content: space-between; gap: 10px; }
.tcard .rows span:first-child { color: var(--muted); }
.tcard .rows b { color: var(--navy); font-weight: 600; }

/* Branded help page mock */
.portal { width: 100%; max-width: 400px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); --p: #a14e6b; --pa: #f6e3ea; }
.portal-bar { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--p); color: #fff; }
.portal-bar .lg { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--p); display: grid; place-items: center; font: 700 15px/1 Georgia, serif; font-style: italic; }
.portal-bar b { font: 600 16px/1.1 var(--display); }
.portal-bar small { display: block; font-size: 11.5px; opacity: .8; }
.portal-body { padding: 18px; display: grid; gap: 12px; }
.portal-body h5 { margin: 0; font: 600 17px/1.2 var(--display); color: #3b2430; }
.field { height: 38px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #ecdfe5; padding: 0 12px; display: flex; align-items: center; font-size: 13px; color: #9b8a92; }
.field.tall { height: 64px; align-items: flex-start; padding-top: 10px; }
.portal-body .go { height: 40px; border-radius: 12px; background: var(--p); color: #fff; display: grid; place-items: center; font: 600 14px/1 var(--display); }
.swatches { position: absolute; z-index: 3; right: 28px; top: 28px; display: flex; gap: 8px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.swatches i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 1px rgba(15, 33, 71, .12); }
.swatches i.on { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--navy); }

/* Team mock */
.team { width: 100%; max-width: 410px; display: grid; gap: 12px; }
.team .row { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .95); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.faces { display: flex; }
.faces i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 12px/1 var(--font); font-style: normal; box-shadow: 0 0 0 3px #fff; }
.faces i + i { margin-left: -9px; }
.team .row b { font-size: 14.5px; color: var(--navy); }
.team .row small { display: block; font-size: 12.5px; color: var(--muted); }
.note { background: #fff8e1; border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-sm); font-size: 14px; color: #5b4a12; }
.note .h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a17a00; }
.note .h svg { width: 14px; height: 14px; }
.perm { display: flex; flex-wrap: wrap; gap: 6px; }
.perm span { font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); box-shadow: var(--shadow-sm); }
.perm span.off { color: var(--faint); text-decoration: line-through; }

/* Pricing note when Desk prices aren't published yet */
.price-soon { max-width: 760px; margin: 0 auto; text-align: center; padding: 36px; border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.price-soon h3 { font-size: 26px; }
.price-soon p { margin-top: 10px; color: var(--muted); }
.price-soon .hero-actions { justify-content: center; margin-top: 22px; }

/* Message / 404 page */
.msg-page { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 140px 0 60px; }
.msg-card { width: 100%; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 32px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center; }
.msg-card .mascot { width: 92px; margin: 0 auto 22px; }
.msg-card h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
.msg-card p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.msg-card .hero-actions { justify-content: center; margin-top: 28px; }
.footer.slim { margin-top: 0; padding-top: 50px; }

@media (max-width: 960px) {
  .hero-media .queue-wrap { position: relative; width: auto; margin: -150px 14px 0; }
  .swatches { right: 16px; top: 16px; }
}
@media (max-width: 640px) {
  .hero-media .queue-wrap { margin: -110px 8px 0; }
  .hero-media .queue-wrap .mascot { width: 72px; top: -60px; }
  .wordmark .t { font-size: 20px; } .wordmark .d { font-size: 18px; }
  .nav-logo .mascot { width: 32px; }
}
