/* Boardify site — shared styles.
   Brand tokens (from Components.dc.html). Page layouts carry their own inline
   styles straight from the design; this file holds base rules, the reusable
   components (buttons, nav, links, placeholders) and responsive behaviour. */

:root {
  --canvas: #ECECEC;
  --card-tint: #F1F1F1;
  --hairline: #E2E2E2;
  --strong: #CBCBCB;
  --ink: #111111;
  --muted: #5C5C5C;
  --faint: #9B9B9B;
  --accent: #7C6CF6;
  --violet: #5B4AE0;
  --danger: #D9534F;
  --grid-dot: #C9C9C9;
  --brand-gradient: linear-gradient(135deg, #3B3BFF 0%, #7C3AED 50%, #FF7A2F 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #fff;
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body[data-page="sign-in"] { background: var(--canvas); }

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }

/* Gradient phrase inside hero titles (brand colours, orange → violet → blue) */
.title-grad {
  background: linear-gradient(90deg, #FF7A2F 0%, #F0568F 35%, #A03FE0 68%, #3B3BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
img { max-width: 100%; }
input, textarea, select, button { font: inherit; }

/* Hero orbit (Home): concentric hairline rings behind the copy, two slowly
   rotating brand-coloured arc segments, and floating white chips holding the
   3D tool icons from assets/icons/. Chips are positioned from the section's
   horizontal centre (--x) and top (--y) and appear in tiers as the viewport
   widens so they never sit on top of the headline. */
.hero-orbit {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1600px;
  height: 720px;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
.orbit-rings {
  position: absolute;
  inset: 0;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 92%);
}
.orbit-arc {
  transform-box: view-box;
  transform-origin: 0px 300px;
  transform: rotate(var(--from, 0deg));
  animation: orbit-spin var(--spin, 90s) linear infinite;
}
.orbit-arc-rev { animation-direction: reverse; }
@keyframes orbit-spin {
  from { transform: rotate(var(--from, 0deg)); }
  to { transform: rotate(calc(var(--from, 0deg) + 360deg)); }
}
.orbit-chips { position: absolute; inset: 0; }
.orbit-chip {
  position: absolute;
  left: calc(50% + var(--x));
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 30%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06), 0 1px 2px rgba(17,17,17,.04), 0 14px 30px rgba(17,17,17,.10);
  opacity: 0;
  animation: orbit-pop .7s cubic-bezier(.2,.8,.2,1) calc(.15s + var(--i, 0) * 70ms) forwards;
}
.orbit-chip img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(17,17,17,.14));
  animation: orbit-float var(--d, 7s) ease-in-out calc(var(--i, 0) * -1.3s) infinite;
}
@keyframes orbit-pop {
  from { opacity: 0; transform: scale(.6) translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (min-width: 900px) { .orbit-chip[data-tier="1"] { display: flex; } }
/* Below 1240px the copy block is shorter, so lift the pair beside the fine print clear of the mockup */
@media (max-width: 1239px) { .orbit-chip.orbit-low { top: 492px; } }
@media (min-width: 1240px) { .orbit-chip[data-tier="2"] { display: flex; } }
@media (min-width: 1480px) { .orbit-chip[data-tier="3"] { display: flex; } }
@media (prefers-reduced-motion: reduce) {
  .orbit-arc { animation: none; }
  .orbit-chip { animation: none; opacity: 1; }
  .orbit-chip img { animation: none; }
}

/* CTA band orbit (every page, above the footer): the hero orbit mirrored
   vertically. The rings anchor to the bottom of the band and fade out towards
   the top, and chip --y is measured from the bottom instead of the top. */
.hero-orbit-flip { top: 0; bottom: 0; height: auto; }
.hero-orbit-flip .orbit-rings {
  inset: auto 0 0 0;
  height: 900px;
  -webkit-mask-image: linear-gradient(to top, #000 0, #000 55%, transparent 92%);
  mask-image: linear-gradient(to top, #000 0, #000 55%, transparent 92%);
}
.hero-orbit-flip .orbit-arc { transform-origin: 0px 560px; }
.hero-orbit-flip .orbit-chips { opacity: .55; }

/* Mockup windows (hero and CTA band) are clipped to a fixed height and fade
   out towards the section below */
.mock-fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 32%, rgba(0,0,0,.45) 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 32%, rgba(0,0,0,.45) 68%, transparent 100%);
}
/* Hero window: stays solid until the last fifth, then a gentle dissolve */
.hero-fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,.6) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,.6) 92%, transparent 100%);
}

/* "Switched from" strip under the hero: label and app pills on one row */
.switch-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border: 1px solid #E2E2E2;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #3F3F3F;
  white-space: nowrap;
}
.switch-pill:hover { color: #111; border-color: #CBCBCB; }
.switch-pill-rest { border-style: dashed; border-color: #CBCBCB; background: transparent; color: #5C5C5C; font-weight: 400; }
.hero-orbit-flip .orbit-chip {
  top: auto;
  bottom: var(--y);
  margin: 0 0 calc(var(--s) / -2) calc(var(--s) / -2);
}

/* CTA band mockup: a home dashboard built from the same parts as the hero mock */
.fm-tile {
  position: absolute;
  width: 120px;
  height: 84px;
  border-radius: 10px;
  border: 1px solid #E2E2E2;
  padding: 11px 12px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 12px;
  color: #111;
}
.fm-tile strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-tile small { font-size: 11px; color: #5C5C5C; }
.fm-glyph {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  margin-bottom: auto;
  background-color: var(--ic, #7C6CF6);
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-size: 6px 6px, 6px 6px, 14px 6px;
  background-position: 6px 6px, 14px 6px, 6px 14px;
  background-repeat: no-repeat;
}
.fm-col {
  position: absolute;
  background: #fff;
  border: 1px solid #E2E2E2;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fm-col-head { text-align: center; padding: 2px 0 4px; display: flex; flex-direction: column; gap: 1px; }
.fm-col-head strong { font-size: 13px; font-weight: 600; }
.fm-col-head small { font-size: 11px; color: #5C5C5C; }
.fm-card {
  background: #fff;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  line-height: 1.35;
}
.fm-todo { display: flex; align-items: center; gap: 8px; }
.fm-todo s { color: #9B9B9B; }
.fm-add { color: #9B9B9B; }
.fm-add span:first-child { width: 14px; text-align: center; }
.fm-check {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 4px;
  border: 1px solid #CBCBCB;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}
.fm-check.done { background: #7C6CF6; border-color: #7C6CF6; }
.fm-link { background: #fff; border: 1px solid #E2E2E2; border-radius: 8px; overflow: hidden; }
.fm-thumb { height: 96px; position: relative; }
.fm-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 26px;
  border-radius: 7px;
  background: #FF0033;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}
.fm-link-body { padding: 8px 10px 10px; }
.fm-site { display: flex; gap: 6px; align-items: center; color: #9B9B9B; font-size: 11px; }
.fm-site span { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.fm-link-title { font-weight: 600; color: #5B4AE0; margin-top: 3px; }
.fm-link-desc { color: #5C5C5C; font-size: 11px; margin-top: 2px; line-height: 1.4; }
.fm-toolbar {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #E2E2E2;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  white-space: nowrap;
}
.fm-toolbar > div { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 6px; color: #111; }
.fm-toolbar i { font-size: 16px; }
.fm-toolbar span { font-size: 10px; color: #5C5C5C; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--violet); color: #fff; }
.btn-ghost { border: 1px solid var(--strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--card-tint); color: var(--ink); }
.btn-disabled { border: 1px solid var(--hairline); color: var(--faint); background: var(--card-tint); cursor: not-allowed; }
.apple {
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1;
  position: relative;
  top: 0;
  margin-left: -5px;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Nav */
.nav-link { color: var(--muted); font-weight: 500; }
.nav-link:hover { color: var(--ink); }
body[data-page="features"] [data-nav="features"],
body[data-page="pricing"] [data-nav="pricing"],
body[data-page="download"] [data-nav="download"] { color: var(--ink); }
.sheet-link {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sheet-link:hover { color: var(--violet); }
@media (max-width: 820px) { [data-nav-desktop] { display: none !important; } }
@media (min-width: 821px) { [data-nav-mobile] { display: none !important; } }

/* Footer */
.footer-link { color: var(--ink); }
.footer-link:hover { color: var(--violet); }

/* Chips and tiles */
.chip { color: var(--muted); transition: color .15s, border-color .15s; }
.chip:hover { color: var(--ink); border-color: var(--strong); }
.chip-link:hover { background: var(--card-tint); color: var(--ink); }

/* Placeholder mark: content the site owner still has to fill in. */
.ph {
  font: 11px var(--mono);
  background: #FFF3B0;
  border: 1px dashed #D9B800;
  padding: 1px 6px;
  border-radius: 4px;
  color: #5C4A00;
}

/* FAQ accordion */
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); }

/* Contact form topic buttons */
.topic-btn {
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--strong);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, border-color .15s, color .15s;
}
.topic-btn:hover { background: var(--card-tint); }
.topic-btn[aria-pressed="true"] { border-color: var(--accent); background: #E9E3FF; color: var(--violet); }

/* Responsive behaviour taken from the mobile artboards (Mobile.dc.html) */
.mobile-only { display: none; }
@media (max-width: 820px) { .mobile-only { display: block; } }
@media (max-width: 600px) {
  .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-row .btn { justify-content: center; }
}
@media (max-width: 820px) {
  .hero-mock { height: 320px !important; padding-left: 20px !important; padding-right: 0 !important; overflow: hidden; }
  .hero-mock > div:last-child { width: 600px; border-radius: 12px 0 0 0 !important; }
  .hero-mock .tool-rail { display: none !important; }
}
@media (max-width: 480px) {
  .cta-band .cta-copy { padding: 48px 20px 0 !important; }
}

/* Bento feature grid (Home, "Put it where it makes sense").
   Twelve colourful tiles with 3D icons; the icons live in assets/icons/. */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(236px, auto);
  grid-auto-flow: dense;
  gap: 16px;
}
.bento-tile {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--tile, #F1F1F1);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.04);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease;
  cursor: default;
}
.bento-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, var(--glow, rgba(255,255,255,.7)) 0%, transparent 60%);
  pointer-events: none;
}
.bento-tile > * { position: relative; }
.bento-tile:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 20px 44px rgba(0,0,0,.14); }
.bento-tile h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.bento-tile p { font-size: 16px; line-height: 1.5; color: var(--tile-muted, #333333); text-wrap: pretty; }
.bento-text { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.bento-icon {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.16));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  flex: none;
}
.bento-tile:hover .bento-icon { transform: translateY(-6px) scale(1.07) rotate(-4deg); }

/* Spans */
.bento-w2 { grid-column: span 2; }
.bento-w4 { grid-column: span 4; }
.bento-h2 { grid-row: span 2; }

/* Wide tiles: text left, icon right */
.bento-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.bento-row .bento-text { margin-top: 0; max-width: 34ch; }
.bento-row .bento-icon { width: 150px; height: 150px; }

/* Tall tile: icon hero */
.bento-h2 { justify-content: flex-end; }
.bento-h2 .bento-icon { width: 200px; height: 200px; margin: auto; }

/* Full-width dark tile */
.bento-dark { --tile: #131316; --tile-muted: rgba(255,255,255,.72); --glow: rgba(124,108,246,.55); color: #fff; padding: 32px 36px; }
.bento-dark .bento-icon { width: 190px; height: 190px; filter: drop-shadow(0 18px 30px rgba(59,59,255,.35)); }
.bento-dark .bento-text { max-width: 52ch; }
.bento-dark kbd { font: 600 13px var(--font); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 1px 6px; }

/* Feature tiles (Features page): a bento tile that carries an icon, the full
   copy, and the feature's mockup bleeding out of the tile's bottom-right edge. */
.bento-w3 { grid-column: span 3; }
.feat { gap: 18px; --pad: 26px; }
.feat .bento-icon { width: 96px; height: 96px; }
.feat .bento-text { margin-top: 0; gap: 8px; }
.feat h3 { font-size: 24px; letter-spacing: -0.025em; }
.feat p { font-size: 16px; }
.feat-shot {
  position: relative;
  overflow: hidden;
  height: 280px;
  min-width: 0;
  margin: auto calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0;
  padding-top: 0;
  border-radius: 14px 0 0 0;
  border: 1px solid rgba(0,0,0,.08);
  border-right: 0;
  border-bottom: 0;
  background-color: #fff;
  background-image: radial-gradient(#DADADA 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  box-sizing: border-box;
}
.feat-row { flex-direction: row; align-items: stretch; gap: 32px; }
.feat-row .feat-lead { display: flex; flex-direction: column; gap: 18px; justify-content: center; flex: 0 0 36%; max-width: 380px; padding: 6px 0; }
.feat-row .feat-lead .bento-text { max-width: none; }
.feat-row h3 { font-size: 28px; }
.feat-row .feat-shot { flex: 1; height: auto; min-height: 300px; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0; border-radius: 0; border-top: 0; border-left: 1px solid rgba(0,0,0,.08); }
.feat-row.bento-dark { padding: 26px; }
.feat-row.bento-dark .bento-icon { width: 120px; height: 120px; filter: drop-shadow(0 18px 30px rgba(59,59,255,.35)); }
.feat-row.bento-dark .feat-shot { border-color: rgba(255,255,255,.12); box-shadow: none; background-color: #1B1B21; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); }
.feat-row.bento-dark .feat-shot { color: var(--ink); }
.feat-table { padding: 0; }
.feat-table > div, .feat-table > div > div { height: 100%; }
.feat-table > div > div > div > div { flex: 1; }
.feat-table > div > div > div > div:last-child { border-bottom: 0 !important; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); }
  .bento-w4 { grid-column: span 2; }
  .bento-w3 { grid-column: span 2; }
  .feat-row .feat-lead { flex-basis: 42%; }
  .bento-h2 .bento-icon { width: 160px; height: 160px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .bento-w2, .bento-w4 { grid-column: span 1; }
  .bento-w3 { grid-column: span 1; }
  .feat { --pad: 22px; }
  .feat-shot { height: 240px; margin-left: calc(-1 * var(--pad)); border-radius: 0; border-left: 0; }
  .feat-row { flex-direction: column; }
  .feat-row .feat-lead { flex-basis: auto; max-width: none; padding: 0; }
  .feat-row .feat-lead .bento-icon { order: 0; }
  .feat-row .feat-shot { flex: none; min-height: 0; height: 240px; margin-top: 0; margin-left: calc(-1 * var(--pad)); border-left: 0; border-top: 1px solid rgba(0,0,0,.08); }
  .bento-h2 { grid-row: span 1; }
  .bento-row { flex-direction: column; align-items: flex-start; }
  .bento-row .bento-icon { order: -1; }
  .bento-row .bento-text { margin-top: auto; max-width: none; }
  .bento-row .bento-icon, .bento-h2 .bento-icon, .bento-dark .bento-icon { width: 120px; height: 120px; margin: 0; }
  .bento-tile { padding: 22px; }
  .bento-dark { padding: 26px 22px; }
}

/* Use-case bento (Home, "Made for how you work").
   A vivid brand-gradient section (generated background in assets/img/usecases/,
   with a CSS gradient underneath while it loads) holding nine white tiles.
   Each tile is a small mock canvas built from the app's own card types
   (notes, images, links, to-dos, columns, shapes, lines, frames, drawings)
   with the use case's copy underneath. */
.usecases {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #2A1F7A linear-gradient(120deg, #3B3BFF 0%, #2A1F7A 38%, #7C3AED 62%, #F0568F 82%, #FF7A2F 100%);
}
.uc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}
.uc-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.uc-head h2 { color: #fff; }
.uc-head p { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: rgba(255,255,255,.82); text-wrap: pretty; }
.uc-more { text-align: center; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.5; color: rgba(255,255,255,.82); text-wrap: balance; max-width: 640px; margin: -4px auto 0; }
.uc-more strong { color: #fff; font-weight: 600; }
.uc-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.uc-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 14px 40px rgba(20,10,60,.22);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease;
}
.uc-tile:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 28px 60px rgba(20,10,60,.32); }
.uc-w2 { grid-column: span 2; }
.uc-canvas {
  position: relative;
  overflow: hidden;
  height: 224px;
  flex: none;
  box-sizing: border-box;
  background-color: var(--uc-canvas, #F3F3F5);
  background-image: radial-gradient(rgba(0,0,0,.13) 1px, transparent 1px);
  background-size: 22px 22px;
  border-bottom: 1px solid var(--hairline);
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink);
}
.uc-w2 .uc-canvas { height: 248px; }
.uc-text { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.uc-text h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.uc-text p { font-size: 15px; line-height: 1.5; color: #3F3F3F; text-wrap: pretty; }

/* Mock cards. Everything is positioned absolutely inside .uc-canvas. */
.uc-canvas > * { position: absolute; box-sizing: border-box; }
.mc { background: #fff; border: 1px solid var(--hairline); border-radius: 6px; padding: 7px 9px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.mc-note { padding: 7px 9px; }
.mc-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; padding: 5px 10px; }
.mc-img { padding: 3px; }
.mc-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.mc-link { padding: 0; overflow: hidden; }
.mc-link .mc-link-body { padding: 5px 8px; display: flex; flex-direction: column; gap: 1px; }
.mc-link .mc-link-title { color: var(--violet); font-weight: 600; font-size: 11px; }
.mc-link .mc-link-host { color: var(--faint); font-size: 9.5px; }
.mc-link .mc-link-img { height: 64px; position: relative; }
.mc-link .mc-link-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mc-play { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.mc-play::after { content: ""; position: absolute; left: 8.5px; top: 6px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #111; }
.mc-col { background: var(--card-tint); border: 1px solid var(--hairline); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.mc-col .mc-col-h { font-weight: 600; padding: 2px 4px; display: flex; justify-content: space-between; }
.mc-col .mc { box-shadow: none; padding: 5px 7px; }
.mc-todo { display: flex; flex-direction: column; gap: 4px; }
.mc-todo span { display: flex; gap: 5px; align-items: center; }
.mc-todo i { flex: none; width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--strong); background: #fff; }
.mc-todo .on i { background: var(--accent); border-color: var(--accent); }
.mc-todo .on { color: var(--faint); text-decoration: line-through; }
.mc-shape { display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 600; border-radius: 8px; border: 1.5px solid; padding: 4px 8px; }
.mc-frame { border: 1.5px solid #6F6F76; border-radius: 10px; }
.mc-frame-label { position: absolute; left: 8px; top: -8px; background: var(--uc-canvas, #F3F3F5); padding: 0 5px; font-size: 10px; font-weight: 600; color: #6F6F76; }
.mc-lines { pointer-events: none; }

@media (max-width: 960px) {
  .uc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .uc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .uc-w2 { grid-column: span 1; }
  .uc-w2 .uc-canvas { height: 224px; }
}

/* Native on the Mac (Home, pillar 2).
   A dark full-bleed panel: the photo in assets/img/mac/ (generated desk scene,
   real app screenshot composited onto the MacBook screen) fills the section and
   a left-to-right scrim keeps the copy readable over the quiet part of the
   picture. The laptop sits at about 53-82% of the picture's width, so the
   object-position and the copy width are tuned to keep the two apart down to
   1240px; below that the photo drops under the copy as a tight laptop crop. */
.mac {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #15151A;
}
.mac::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21,21,26,.94) 0%, rgba(21,21,26,.88) 30%, rgba(21,21,26,.55) 48%, rgba(21,21,26,.12) 62%, rgba(21,21,26,0) 72%),
    linear-gradient(180deg, rgba(21,21,26,.35) 0%, rgba(21,21,26,0) 26%, rgba(21,21,26,0) 72%, rgba(21,21,26,.5) 100%);
}
.mac-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  user-select: none;
}
.mac-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.mac-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 24px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.mac-copy { display: flex; flex-direction: column; gap: 28px; max-width: 520px; }
.mac-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #B9B0FF; }
.mac h2 { color: #fff; }
.mac-lead { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.8); text-wrap: pretty; }
.mac-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mac-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 12px 32px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
.mac-card i { font-size: 20px; color: #fff; }
.mac-card h3 { font-size: 15px; font-weight: 600; color: #fff; }
.mac-card p { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.72); text-wrap: pretty; }
.mac-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.mac-chip i { font-size: 14px; color: rgba(255,255,255,.75); }

@media (max-width: 1239px) {
  .mac::before { background: radial-gradient(60% 50% at 80% 100%, rgba(124,108,246,.22), transparent 70%); }
  .mac-inner { min-height: 0; padding-bottom: 40px; }
  .mac-copy { max-width: 640px; }
  .mac-photo {
    position: relative;
    inset: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px clamp(64px, 9vw, 96px);
    box-sizing: border-box;
  }
  .mac-photo img {
    aspect-ratio: 5 / 4;
    height: auto;
    max-height: 560px;
    border-radius: 18px;
    object-position: 50% 50%;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
  }
}
@media (max-width: 640px) {
  .mac-cards { grid-template-columns: minmax(0, 1fr); }
  .mac-card { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .mac-card i { flex: none; }
  .mac-card h3 { flex: 1; }
  .mac-card p { flex-basis: 100%; }
}
