/* meet.zonecrm.io, the ZoneMEET product page. Every colour and metric is a token from
   design-system/capital-works/MASTER.md, imported rather than copied, so light and dark both
   come from that one table. tokens.css is linked before this file in the page. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light dark; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--size-body)/1.47 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease-out; -webkit-tap-highlight-color: transparent; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 max(var(--space-4), env(safe-area-inset-right)) 0 max(var(--space-4), env(safe-area-inset-left)); }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--surface); color: var(--ink); padding: var(--space-2) var(--space-4); border-radius: var(--radius-control); }
.skip:focus { left: var(--space-4); }

/* The bar: hairline under it, no shadow. */
.bar { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--separator-soft); }
.bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { display: flex; align-items: center; gap: var(--space-2); color: var(--ink); font-size: var(--size-heading); font-weight: 600; min-height: 44px; }
.brand:hover { text-decoration: none; }
.bar nav { display: flex; align-items: center; gap: var(--space-5); }
.nav-link { color: var(--ink-secondary); font-size: var(--size-caption); min-height: 44px; display: inline-flex; align-items: center; }
.nav-link:hover { color: var(--ink); text-decoration: none; }

/* Pills: the primary is the one blue, the quiet one is --fill with ink. */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-5);
  border-radius: var(--radius-pill); background: var(--blue-fill);
  color: #fff; /* white on --blue-fill in both themes, as MASTER.md's primary button */
  font-weight: 600; font-size: var(--size-body); white-space: nowrap; touch-action: manipulation;
  transition: background-color .2s ease-out;
}
.pill:hover, .pill:active { background: var(--blue-pressed); text-decoration: none; }
.pill:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue-fill) 40%, transparent); outline-offset: 2px; border-radius: var(--radius-pill); }
.pill-sm { min-height: 38px; font-size: var(--size-caption); padding: 0 var(--space-4); }
.pill-quiet { background: var(--fill); color: var(--ink); }
.pill-quiet:hover { background: var(--separator-soft); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.actions.center { justify-content: center; }

/* Type: MASTER.md's scale. */
.label { margin: 0 0 var(--space-2); color: var(--ink-secondary); font-size: var(--size-label); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
h1, h2 { font-size: var(--size-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
h3 { font-size: var(--size-heading); font-weight: 600; line-height: 1.3; margin: 0 0 var(--space-1); }
.lead { font-size: var(--size-heading); color: var(--ink-secondary); margin: var(--space-4) 0 0; max-width: 34em; text-wrap: pretty; }
.sub { color: var(--ink-secondary); margin: var(--space-3) 0 0; max-width: 40em; text-wrap: pretty; }
p { margin: 0; }

/* Sections change ground instead of drawing boxes. */
section { padding: var(--space-14) 0; }
.band { background: var(--surface); }

.hero { padding: var(--space-14) 0; }
.hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-10); align-items: center; }
.hero-icon { width: 88px; height: 88px; margin-bottom: var(--space-6); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .14)); }
.call { margin: 0; }
.call svg { width: 100%; height: auto; }
/* The call is dark in both themes; on the dark ground its frame is a hairline, as MASTER.md separates. */
.call .frame { stroke: var(--separator-soft); stroke-width: 1; }

.steps { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); counter-reset: none; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint-blue); color: var(--tint-blue-ink); font-weight: 600; font-size: var(--size-caption); margin-bottom: var(--space-3); }
.steps p, .points p { color: var(--ink-secondary); }

.points { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--space-8); }
.points li { padding: var(--space-6) 0; border-top: 1px solid var(--separator); }
.ic { width: 28px; height: 28px; margin-bottom: var(--space-3); fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* The platform: home.capital.works' own tiles, the ZoneMEET one marked as the page you are on. */
.apps { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-3); }
.app { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-4) var(--space-1); border-radius: var(--radius-card); color: var(--ink); font-size: var(--size-caption); font-weight: 500; transition: background-color .2s ease-out; }
.app:hover { background: var(--fill); text-decoration: none; }
.app svg { width: 64px; height: 64px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .14)); }
.app.here span { color: var(--blue); font-weight: 600; }
.more { margin-top: var(--space-6); }

.faq { margin-top: var(--space-6); border-top: 1px solid var(--separator); }
details { border-bottom: 1px solid var(--separator); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 56px; font-size: var(--size-heading); font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-secondary); font-weight: 400; font-size: 21px; transition: transform .3s ease-out; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-secondary); padding: 0 0 var(--space-5); max-width: 40em; }

.cta { text-align: center; }
.cta img { margin: 0 auto var(--space-5); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .14)); }
.cta .sub { margin-left: auto; margin-right: auto; }

.foot { border-top: 1px solid var(--separator); padding: var(--space-8) 0 calc(var(--space-8) + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: var(--space-2); color: var(--ink-secondary); font-size: var(--size-caption); line-height: 1.4; }
.foot a { color: var(--ink-secondary); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .steps, .points { grid-template-columns: 1fr 1fr; }
  .apps { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  section, .hero { padding: var(--space-10) 0; }
  .steps, .points { grid-template-columns: 1fr; }
  .steps { gap: var(--space-6); }
  .apps { grid-template-columns: repeat(4, 1fr); gap: var(--space-1); }
  .app svg { width: 56px; height: 56px; }
  .nav-link { display: none; }
  .pill-sm { min-height: 44px; }
  .hero-icon { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
