/* ==========================================================================
   Think All Technologies — design system
   Calm, premium, minimal. Light + dark. No framework.
   ========================================================================== */

:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);
  --accent: #2f5bea;
  --accent-soft: rgba(47, 91, 234, .09);
  --ok: #1f9d5c;
  --ok-soft: rgba(31, 157, 92, .1);
  --warn: #b7791f;
  --err: #d6373a;
  --err-soft: rgba(214, 55, 58, .08);
  --btn: #1d1d1f;
  --btn-ink: #ffffff;
  --logo-ink: #ffffff;
  --glass: rgba(251, 251, 253, .76);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 10px rgba(0, 0, 0, .04);
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 22px 50px -12px rgba(0, 0, 0, .12);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .28);
  --r-xs: 10px;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-2: #0b0b0d;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --muted: #a1a1a6;
  --faint: #86868b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --accent: #7d97ff;
  --accent-soft: rgba(125, 151, 255, .14);
  --ok: #3ccf87;
  --ok-soft: rgba(60, 207, 135, .12);
  --err: #ff6b6e;
  --err-soft: rgba(255, 107, 110, .12);
  --btn: #f5f5f7;
  --btn-ink: #000000;
  --logo-ink: #000000;
  --glass: rgba(0, 0, 0, .66);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 22px 50px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.55; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
svg.i { display: inline-block; flex-shrink: 0; vertical-align: -.18em; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .small a, .muted a, .auth-foot a, .legal-contact a, .contact-meta a, .check a { color: var(--accent); }
p a:hover, .prose a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent-soft); }
#main { min-height: 70vh; outline: none; }
#main.page-in { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.boot { display: grid; place-items: center; min-height: 60vh; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container.wide { max-width: 1360px; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--display); font-weight: 600; margin: 0; color: var(--ink); }
.display { font-size: clamp(46px, 8.4vw, 112px); line-height: .98; letter-spacing: -.045em; }
.h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.035em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.025em; }
.display em, .h1 em, .h2 em, .h3 em, .manifesto em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em;
}
.display em { background: linear-gradient(100deg, var(--ink) 10%, var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 640px; margin: 20px 0 0; letter-spacing: -.016em; }
.body { color: var(--ink-2); max-width: 560px; margin: 16px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.mt { margin-top: 18px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  letter-spacing: 0; margin-bottom: 14px;
}
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.text-link:hover svg { transform: translateX(3px); }
.text-link svg { transition: transform .2s var(--ease); }
.link-btn { color: var(--accent); font-weight: 500; }
.link-btn:hover { text-decoration: underline; }
.link-btn.tiny { font-size: 12.5px; color: var(--faint); display: block; margin: 10px auto 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px;
  letter-spacing: -.01em; white-space: nowrap; border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { opacity: .86; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #ececf0; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn.is-busy { pointer-events: none; }

.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 999px;
  color: var(--ink); transition: background .2s, transform .2s var(--ease); flex-shrink: 0;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }
.icon-btn.solid { background: var(--btn); color: var(--btn-ink); }
.icon-btn.solid:hover { opacity: .86; }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
.spinner.dark { width: 22px; height: 22px; color: var(--faint); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 16.5px; letter-spacing: -.02em; }
.brand-sub { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-signin { font-size: 14.5px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav-signin:hover { color: var(--ink); background: var(--surface-2); }
.nav-cta { margin-left: 4px; }
.menu-btn { display: none; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, #6e8cff, #b07cff); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 0;
}
.avatar.sm { width: 36px; height: 36px; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.avatar-link { padding: 2px; border-radius: 50%; }
.mobile-sheet { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(60px, 8vw, 96px); text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(110, 140, 255, .16), transparent 70%),
    radial-gradient(35% 45% at 80% 15%, rgba(255, 138, 91, .12), transparent 70%),
    radial-gradient(40% 50% at 55% 60%, rgba(176, 124, 255, .10), transparent 70%);
  filter: blur(10px);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero .lead { margin-inline: auto; }
.pill-link {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; margin-bottom: 30px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 13.5px; color: var(--ink-2);
  box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.pill-link:hover { border-color: var(--ink); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero-cta.left { justify-content: flex-start; }

.dock {
  display: inline-flex; align-items: flex-end; gap: 14px; margin-top: clamp(56px, 8vw, 88px); padding: 14px 18px 12px;
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line);
  border-radius: 30px; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--shadow);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.dock::-webkit-scrollbar { display: none; }
.dock-item { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .3s var(--ease); }
.dock-item:hover { transform: translateY(-8px) scale(1.06); }
.dock-label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.dock-sep { width: 1px; align-self: stretch; margin: 6px 2px 26px; background: var(--line-2); }

.app-icon {
  --s: 44px;
  width: var(--s); height: var(--s); border-radius: calc(var(--s) * .26); flex-shrink: 0;
  display: inline-grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 600;
  font-size: calc(var(--s) * .44); letter-spacing: -.03em;
  background: linear-gradient(145deg, var(--p1, #6e8cff), var(--p2, #2f4bd6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -6px var(--p2, #2f4bd6);
}
.app-icon.xs { --s: 22px; font-size: 11px; box-shadow: none; }
.app-icon.lg { --s: 60px; }
.app-icon.xl { --s: 64px; }
.app-icon-new { background: var(--surface-2); color: var(--muted); border: 1.5px dashed var(--line-2); box-shadow: none; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.pt-0 { padding-top: 0; }
.section-alt { background: var(--bg-2); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.page-head.center { text-align: center; }
.page-head.center .lead { margin-inline: auto; }

/* ---------- product (Behance-style) cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.work-card { display: flex; flex-direction: column; gap: 16px; }
.work-cover {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); isolation: isolate;
}
.cover-art {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--p1) 22%, var(--surface)) 0%, color-mix(in srgb, var(--p2) 30%, var(--surface)) 100%);
  transition: transform .8s var(--ease);
}
[data-theme="dark"] .cover-art { background: linear-gradient(150deg, color-mix(in srgb, var(--p1) 30%, #111) 0%, color-mix(in srgb, var(--p2) 45%, #050505) 100%); }
.work-card:hover .cover-art { transform: scale(1.035); }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .7; }
.orb.o1 { width: 55%; aspect-ratio: 1; background: var(--p1); top: -18%; left: -10%; opacity: .45; }
.orb.o2 { width: 45%; aspect-ratio: 1; background: var(--p2); bottom: -20%; right: -8%; opacity: .45; }
.cover-window {
  position: relative; width: 62%; border-radius: 16px; padding: 12px 16px 18px;
  background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid color-mix(in srgb, #fff 40%, transparent); box-shadow: var(--shadow-lg);
  transform: translateY(6%) rotate(-2deg); transition: transform .8s var(--ease);
}
.work-card:hover .cover-window { transform: translateY(2%) rotate(0deg); }
.cw-bar { display: flex; gap: 5px; margin-bottom: 14px; }
.cw-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.cw-body { display: flex; align-items: center; gap: 14px; }
.cw-lines { flex: 1; display: grid; gap: 7px; }
.cw-lines b { height: 8px; border-radius: 6px; background: var(--line-2); }
.cw-lines b:first-child { width: 80%; background: color-mix(in srgb, var(--p2) 60%, var(--line-2)); }
.cw-lines b.s { width: 45%; }
.cw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.cw-grid span { aspect-ratio: 1.3; border-radius: 9px; background: color-mix(in srgb, var(--p1) 16%, var(--surface-2)); }
.status {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
}
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--faint); }
.status-live::before { background: var(--ok); }
.status-beta::before { background: var(--accent); }
.status-coming-soon::before { background: var(--warn); }
.status.inline { position: static; margin-left: 10px; box-shadow: none; border: 1px solid var(--line); }
.work-meta { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.work-meta h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.work-meta p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.work-arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: background .25s, color .25s, transform .3s var(--ease); }
.work-card:hover .work-arrow { background: var(--btn); color: var(--btn-ink); border-color: transparent; transform: rotate(45deg); }
.work-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -4px; }
.work-tags span { font-size: 12.5px; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); }
.new-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 1.5px dashed var(--line-2); background: transparent; }
.new-cover p { margin: 0; color: var(--muted); }

/* ---------- split / one account ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list li > svg { margin-top: 3px; color: var(--accent); }
.feature-list b { display: block; font-weight: 600; }
.feature-list span { color: var(--muted); font-size: 15px; }

.account-mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg);
}
.am-head { display: flex; gap: 14px; align-items: center; padding: 6px 6px 20px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.am-head b, .am-row b { display: block; font-weight: 600; font-size: 15px; }
.am-head span, .am-row span { color: var(--muted); font-size: 13px; }
.am-row { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-radius: 16px; transition: background .2s; }
.am-row:hover { background: var(--surface-2); }
.am-row > div { flex: 1; }
.am-row .am-pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.am-row .am-pill.muted { background: var(--surface-2); color: var(--muted); }
.am-foot { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 16px 6px 4px; border-top: 1px solid var(--line); margin-top: 10px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; min-height: 230px;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-tile.lg { grid-column: span 2; background: linear-gradient(140deg, var(--surface) 40%, var(--accent-soft)); }
.bento-tile.xl { grid-column: 1 / -1; min-height: 200px; background: linear-gradient(120deg, var(--surface) 50%, color-mix(in srgb, #ff8a5b 10%, var(--surface))); }
.bento-tile h3 { margin: auto 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.bento-tile p { margin: 0; color: var(--muted); max-width: 440px; font-size: 15px; }
.tile-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--ink); margin-bottom: 28px; flex-shrink: 0; }

/* ---------- steps / stats / faq ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { padding: 28px 24px 30px; border-top: 1px solid var(--line-2); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--faint); line-height: 1; }
.steps h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--display); font-size: clamp(32px, 4vw, 50px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat span { color: var(--muted); font-size: 14.5px; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 620px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  background: #0a0a0c; border-radius: var(--r-lg); padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px);
}
[data-theme="dark"] .cta-band { border: 1px solid var(--line); }
.cta-glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 20% 0%, rgba(110, 140, 255, .35), transparent 70%),
    radial-gradient(45% 60% at 85% 100%, rgba(255, 120, 120, .25), transparent 70%);
}
.cta-band .h2 { color: #fff; max-width: 820px; margin: 0 auto; }
.cta-band p { color: rgba(255, 255, 255, .7); max-width: 600px; margin: 20px auto 0; font-size: 18px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- chips / segmented ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; cursor: pointer; transition: all .2s; }
.chip-radio input:checked + span { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-card .chips { margin: 0; }

.segmented {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 44px; padding: 4px; gap: 2px;
  background: var(--surface-2); border-radius: 999px; overflow-x: auto; scrollbar-width: none;
}
.segmented button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; color: var(--muted); white-space: nowrap; transition: all .25s var(--ease); }
.segmented button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 500; }

/* ---------- product page ---------- */
.product-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.product-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 85% 30%, color-mix(in srgb, var(--p1) 18%, transparent), transparent 70%);
}
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 36px; transition: color .2s; }
.back-link:hover { color: var(--ink); }
.ph-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ph-title { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.ph-title .eyebrow { margin: 0; }
.ph-art { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feature-n { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--p2); line-height: 1; }
.feature h3 { margin: 18px 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-2); font-size: 14.5px; margin: 0 0 24px; }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.waitlist { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.waitlist .muted { margin: 0 0 12px; }
.inline-form { display: flex; gap: 8px; width: 100%; max-width: 440px; }
.inline-form input { flex: 1; }
.done-ico { color: var(--ok); display: inline-grid; }

/* ---------- plans ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
.plans.cols-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.plans.cols-2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.plans.cols-3 { grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.plan-hl { border-color: var(--ink); box-shadow: var(--shadow); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-head h3 { margin: 0; font-size: 19px; font-weight: 600; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); }
.plan-desc { margin: 6px 0 22px; color: var(--muted); font-size: 14.5px; min-height: 22px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.plan-price .amt { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.plan-price .amt.sm { font-size: 30px; }
.plan-price .per { color: var(--muted); font-size: 15px; }
.checks { list-style: none; padding: 22px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.checks li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.checks svg { color: var(--ok); margin-top: 3px; }

/* ---------- services / about ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 60px 1.1fr 1.4fr 48px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.service-n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--faint); }
.service-title { display: flex; align-items: center; gap: 16px; }
.service-title .tile-icon { margin: 0; }
.service-title h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.service-row p { margin: 0; color: var(--muted); }
.service-row .icon-btn { border: 1px solid var(--line-2); width: 44px; height: 44px; }
.service-row:hover .icon-btn { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span { padding: 12px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.value > svg { color: var(--accent); }
.value h3 { margin: 26px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.manifesto { max-width: 980px; }
.manifesto p { font-family: var(--display); font-size: clamp(24px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.03em; font-weight: 500; margin: 0 0 28px; color: var(--ink); }
.manifesto p + p { color: var(--muted); }
.info-cards { display: grid; gap: 12px; }
.info-card { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.info-card > svg { color: var(--accent); margin-top: 2px; }
.info-card b { display: block; margin-bottom: 2px; }
.info-card span { color: var(--muted); font-size: 15px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 0; margin-bottom: 7px; }
fieldset.field legend + .chips { margin-top: 0; }
.field > span { margin: 0; }
.field i { font-style: normal; color: var(--faint); font-weight: 400; }
input:not([type=checkbox]):not([type=radio]), textarea, select {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line-2); outline: none; font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2386868b' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input:disabled { opacity: .6; }
input::placeholder, textarea::placeholder { color: var(--faint); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-error { background: var(--err-soft); color: var(--err); padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; color: var(--faint); border-radius: 10px; }
.pw-toggle:hover { color: var(--ink); }
.row-between { display: flex; justify-content: space-between; margin: -6px 0 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card .h3 { margin-bottom: 24px; }

/* ---------- booking ---------- */
.booking { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.booking-side, .booking-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.booking-side { position: sticky; top: calc(var(--header-h) + 20px); }
.booking-main { min-height: 480px; padding: clamp(22px, 3vw, 34px); }
.host { display: flex; gap: 14px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.host b { display: block; }
.host span { color: var(--muted); font-size: 14px; }
.side-title { font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 22px 0 12px; }
.type-list { display: grid; gap: 8px; }
.type-opt { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.type-opt:hover { border-color: var(--line-2); }
.type-opt.active { border-color: var(--ink); background: var(--surface-2); }
.type-name { font-weight: 600; }
.type-meta { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin: 0 4px; }
.type-desc { font-size: 13.5px; color: var(--muted); display: none; margin-top: 4px; }
.type-opt.active .type-desc { display: block; }
.side-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.side-note svg { margin-top: 2px; }
.side-note b { color: var(--ink-2); font-weight: 500; }

.bk-date { display: grid; grid-template-columns: 1fr 230px; gap: 32px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cal-head h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.cal-nav { display: flex; gap: 4px; }
.cal-nav .icon-btn { border: 1px solid var(--line); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow span { text-align: center; font-size: 12px; font-weight: 500; color: var(--faint); padding-bottom: 6px; }
.day { aspect-ratio: 1; border-radius: 50%; font-size: 15px; color: var(--faint); position: relative; display: grid; place-items: center; max-width: 52px; margin: 0 auto; width: 100%; }
.day.open { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.day.open:hover { background: var(--accent); color: #fff; }
.day.sel { background: var(--btn) !important; color: var(--btn-ink) !important; }
.day.today::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.day:disabled { cursor: default; }
.cal-empty { margin-top: 18px; }
.slots { border-left: 1px solid var(--line); padding-left: 28px; max-height: 470px; overflow-y: auto; }
.slots-title { margin: 6px 0 16px; font-size: 15px; font-weight: 600; }
.slot-list { display: grid; gap: 8px; }
.slot { height: 48px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s; }
.slot small { font-weight: 400; font-size: 11.5px; opacity: .8; }
.slot:hover { background: var(--accent); color: #fff; border-color: transparent; }
.slots-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 260px; color: var(--faint); text-align: center; }
.slots-empty p { margin: 0; font-size: 14.5px; }
.bk-form { max-width: 640px; }
.bk-form .h3 { margin: 18px 0 14px; }
.bk-form .back-link { margin: 0; }
.bk-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.chip-lite { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; color: var(--ink-2); }
.bk-done { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 40px 0; }
.bk-done .h2 { margin-top: 18px; }
.bk-done .lead { margin-inline: auto; margin-bottom: 24px; }
.bk-done .bk-summary { justify-content: center; }
.bk-done .hero-cta { margin-top: 10px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 10px; }
.contact-tile { display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.contact-tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.contact-tile .tile-icon { margin: 0; }
.contact-tile div { flex: 1; min-width: 0; }
.contact-tile b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.contact-tile span { color: var(--muted); font-size: 14px; }
.contact-tile > svg { color: var(--faint); }
.contact-meta { padding: 18px 6px 0; display: grid; gap: 10px; }
.contact-meta p { margin: 0; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.contact-meta svg { margin-top: 3px; }

/* ---------- auth ---------- */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 56px 20px; position: relative; overflow: hidden; }
.auth-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 40% at 50% 30%, var(--accent-soft), transparent 70%); }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 34px; box-shadow: var(--shadow); text-align: center; }
.auth-card form { text-align: left; margin-top: 28px; }
.auth-card .muted { margin: 8px 0 0; }
.auth-logo { display: inline-flex; color: var(--ink); margin-bottom: 22px; }
.auth-foot { margin: 24px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- dashboard ---------- */
.dash { padding: 48px 0 96px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.dash-head .eyebrow { margin-bottom: 6px; }
.dash-id { display: flex; gap: 18px; align-items: center; }
.dash-id p { margin: 4px 0 0; }
.dash-actions { display: flex; gap: 8px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 16px; color: var(--muted); font-size: 14.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); border-color: var(--ink); font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.kpi { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.kpi span { display: block; color: var(--muted); font-size: 13.5px; }
.kpi b { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.035em; margin-top: 6px; }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.panel-head a.small { color: var(--accent); }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.panel-head + .list-row { border-top: 0; }
.list-row.link { margin: 0 -10px; padding: 12px 10px; border-radius: 14px; border-top: 0; transition: background .2s; }
.list-row.link:hover { background: var(--surface-2); }
.list-row.link > svg { color: var(--faint); }
.lr-main { flex: 1; min-width: 0; }
.lr-main b { display: block; font-weight: 600; font-size: 15px; }
.lr-main span { display: block; color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.date-badge { width: 50px; height: 54px; border-radius: 14px; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.date-badge b { font-size: 19px; line-height: 1; }
.date-badge span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill-active, .pill-trialing, .pill-paid { background: var(--ok-soft); color: var(--ok); }
.pill-past_due, .pill-unpaid, .pill-incomplete { background: rgba(183, 121, 31, .12); color: var(--warn); }
.pill-canceled, .pill-cancelled { background: var(--err-soft); color: var(--err); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 16px; color: var(--faint); text-align: center; }
.empty p { margin: 0; font-size: 14.5px; }

/* ---------- admin ---------- */
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ok); background: var(--ok-soft); padding: 7px 14px; border-radius: 999px; font-weight: 500; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.inbox { display: grid; grid-template-columns: 340px 1fr; height: min(70vh, 720px); min-height: 480px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.inbox-list { border-right: 1px solid var(--line); overflow-y: auto; padding: 8px; }
.conv { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px; border-radius: 14px; transition: background .2s; }
.conv:hover { background: var(--surface-2); }
.conv.active { background: var(--surface-2); }
.conv-main { flex: 1; min-width: 0; }
.conv-top { display: flex; justify-content: space-between; gap: 8px; }
.conv-top b { font-weight: 500; font-size: 14.5px; }
.conv.unread .conv-top b { font-weight: 700; }
.conv-top time { font-size: 12px; color: var(--faint); }
.conv-prev { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unread-dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; display: grid; place-items: center; }
.inbox-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.inbox-thread > .empty { margin: auto; }
.thread-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.thread-head b { display: block; }
.thread-head span { font-size: 13px; color: var(--muted); }
.thread-msgs { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.inbox .composer { margin: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 14px; }
.enquiries { display: grid; gap: 4px; }
.enquiry.is-done { opacity: .55; }
.pre { white-space: pre-wrap; margin: 0; color: var(--ink-2); font-size: 15px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td a { color: var(--accent); }
.note-row td { color: var(--muted); font-size: 13.5px; padding-top: 0; background: transparent; }

/* ---------- messages (shared) ---------- */
.msg { display: flex; flex-direction: column; max-width: 82%; }
.msg-them { align-self: flex-start; }
.msg-me { align-self: flex-end; align-items: flex-end; }
.msg-sys { align-self: center; max-width: 92%; }
.bubble { padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.msg-them .bubble { background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg-me .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg-sys .bubble { background: transparent; color: var(--muted); font-size: 13px; text-align: center; padding: 6px 10px; }
.msg-meta { font-size: 11px; color: var(--faint); margin: 4px 6px 0; }
.composer { display: flex; gap: 8px; align-items: flex-end; background: var(--surface-2); border-radius: 22px; padding: 6px 6px 6px 16px; }
.composer:focus-within { box-shadow: 0 0 0 3px var(--accent-soft); }
.composer textarea:focus, .composer textarea:focus-visible { outline: none; border: 0; box-shadow: none; }
.composer textarea { border: 0; background: transparent; min-height: 38px; max-height: 120px; padding: 9px 0; resize: none; box-shadow: none !important; font-size: 15px; }
.composer .icon-btn { width: 38px; height: 38px; }

/* ---------- chat widget ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.chat-fab {
  width: 58px; height: 58px; border-radius: 50%; background: var(--btn); color: var(--btn-ink);
  display: grid; place-items: center; box-shadow: 0 12px 34px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); position: relative;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-badge { position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: var(--err); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.chat-badge[hidden] { display: none; }
.chat-panel {
  position: absolute; right: 0; bottom: 74px; width: 380px; height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform-origin: bottom right; opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.chat.open .chat-panel { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; border-bottom: 1px solid var(--line); }
.chat-logo { color: var(--ink); display: inline-flex; }
.chat-head > div { flex: 1; }
.chat-head b { display: block; font-size: 15px; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.chat.is-online .chat-status i { background: var(--ok); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-foot { padding: 0 12px 12px; }
.chat-foot:empty { display: none; }
.chat-pre { display: grid; gap: 8px; margin-top: 6px; background: var(--surface-2); padding: 16px; border-radius: 18px; }
.chat-pre p { margin: 0 0 4px; font-size: 13.5px; color: var(--muted); }
.chat-pre input, .chat-pre textarea { min-height: 42px; padding: 10px 13px; font-size: 14.5px; border-radius: 12px; }
.chat-pre textarea { min-height: 70px; }
.chat-pre .btn { margin-top: 4px; }
.chat-pre small { font-size: 11.5px; color: var(--faint); text-align: center; }

/* ---------- toasts / demo bar ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 14px); left: 50%; transform: translateX(-50%); z-index: 150; display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 14.5px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); transition: all .3s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast-error { background: var(--err); color: #fff; }
.demo-bar { position: fixed; left: 16px; bottom: 22px; z-index: 80; max-width: min(460px, calc(100vw - 110px)); display: flex; gap: 10px; align-items: flex-start; padding: 12px 12px 12px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; color: var(--muted); }
.demo-bar span { display: flex; gap: 8px; }
.demo-bar svg { margin-top: 2px; }
.demo-bar button { color: var(--faint); padding: 2px; }

/* ---------- legal ---------- */
.legal { padding: clamp(56px, 8vw, 96px) 0 96px; }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 2px; }
.legal-toc a { color: var(--muted); font-size: 14px; padding: 6px 0; transition: color .2s; }
.legal-toc a:hover { color: var(--ink); }
.prose { max-width: 740px; }
.prose .h1 { font-size: clamp(36px, 5vw, 56px); }
.updated { color: var(--faint); font-size: 14px; margin: 14px 0 32px; }
.intro { font-size: 19px; color: var(--ink-2); line-height: 1.55; }
.prose h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.legal-contact { margin-top: 48px; padding: 22px 24px; border-radius: var(--r); background: var(--surface-2); color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.legal-contact b { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.45fr; gap: 32px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin: 16px 0 20px; max-width: 300px; }
.news-form { display: flex; gap: 6px; max-width: 320px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 4px 4px 4px; }
.news-form input { border: 0 !important; background: transparent; min-height: 38px; padding: 6px 12px; box-shadow: none !important; font-size: 14.5px; }
.site-footer h4 { font-size: 13px; font-weight: 600; margin: 4px 0 16px; color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer li a, .site-footer li .link-btn { color: var(--muted); font-size: 14px; font-weight: 400; overflow-wrap: break-word; transition: color .2s; }
.site-footer li a:hover, .site-footer li .link-btn:hover { color: var(--ink); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .mobile-sheet {
    display: block; position: fixed; inset: var(--header-h) 0 0; background: var(--bg); z-index: 59;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease);
  }
  .menu-open .mobile-sheet { opacity: 1; pointer-events: auto; transform: none; }
  .menu-open { overflow: hidden; }
  .mobile-sheet .container { display: flex; flex-direction: column; padding-top: 18px; }
  .mobile-sheet a:not(.btn) { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.03em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-sheet .btn { margin-top: 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-tile.lg, .bento-tile.xl { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .booking { grid-template-columns: 1fr; }
  .booking-side { position: static; }
  .type-list { grid-template-columns: repeat(3, 1fr); }
  .type-desc { display: none !important; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

@media (max-width: 860px) {
  .split, .ph-grid, .faq-wrap, .contact, .dash-cols { grid-template-columns: 1fr; }
  .faq-wrap { gap: 0; }
  .plans.cols-2, .plans.cols-3 { grid-template-columns: minmax(0, 480px); justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-row { grid-template-columns: 1fr 44px; gap: 12px; }
  .service-n { display: none; }
  .service-row p { grid-column: 1 / -1; grid-row: 2; }
  .bk-date { grid-template-columns: 1fr; }
  .slots { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; max-height: none; }
  .slot-list { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .slots-empty { min-height: 120px; }
  .inbox { grid-template-columns: 1fr; height: auto; }
  .inbox-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 240px; }
  .inbox-thread { height: 520px; }
}

@media (max-width: 640px) {
  :root { --header-h: 58px; }
  .container { padding: 0 20px; }
  .brand-sub, .nav-cta { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-tile.lg, .bento-tile.xl { grid-column: auto; }
  .bento-tile { min-height: 0; }
  .steps, .values, .feature-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .type-list { grid-template-columns: 1fr; }
  .dock { gap: 10px; padding: 12px 14px 10px; justify-content: flex-start; }
  .dock .app-icon.xl { --s: 52px; }
  .hero-cta .btn-lg { width: 100%; }
  .chat { right: 14px; bottom: 14px; }
  .chat-panel { position: fixed; inset: auto 10px 84px; width: auto; height: min(560px, calc(100dvh - 110px)); }
  .demo-bar { left: 10px; bottom: 84px; max-width: calc(100vw - 20px); }
  .auth-card { padding: 32px 22px; }
  .booking-main, .booking-side { padding: 20px; border-radius: var(--r); }
  .inline-form { flex-direction: column; }
  .cover-window { width: 70%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
