/* Pointe's launch page. Ballerine Brand Guidelines V6 with Pointe's light and dark tokens (assets/theme.json,
   docs/design/brand-v6.md). Fonts are the repo's bundled OFL files as WOFF2: nothing is fetched from another host. */

@font-face { font-family: 'Bricolage Grotesque'; font-weight: 300; font-style: normal; font-display: swap;
  src: url(fonts/BricolageGrotesque-Light.woff2) format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-2193; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 400; font-style: normal; font-display: swap;
  src: url(fonts/BricolageGrotesque-Regular.woff2) format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-2193; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: normal; font-display: swap;
  src: url(fonts/InstrumentSans-Regular.woff2) format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-2193; }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-style: normal; font-display: swap;
  src: url(fonts/InstrumentSans-Medium.woff2) format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-2193; }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-style: normal; font-display: swap;
  src: url(fonts/InstrumentSans-SemiBold.woff2) format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-2193; }

:root {
  --bg: #FFFFFF; --surface: #FCFAFA; --blush: #FDFAF9; --card: #FFFFFF; --raised: #F5F1EF;
  --text: #0A0400; --body: #4F4845; --muted: #5C5450; --dim: #6E6762;
  --line: rgba(10, 5, 0, .10); --line-strong: rgba(10, 5, 0, .18); --line-faint: rgba(10, 5, 0, .05);
  --orange: #FF5A01; --accent: #C24F0D; --tint: #FFF1E9; --success: #138A4B;
  --primary: #0A0400; --on-primary: #FCFAFA;
  --dark: #0C0906; --dark-card: #0F0B08; --bone: #F7F2F0; --dark-body: #B5ADA8; --dark-dim: #958D88;
  --dark-line: rgba(255, 255, 255, .08); --accent-dark: #FF8C4A;
  --marker: rgba(10, 5, 0, .22);
  --panel-shadow: 0 28px 56px -24px rgba(10, 5, 0, .5), 0 0 0 1px rgba(10, 5, 0, .06);
  --hero: radial-gradient(42% 46% at 50% 34%, rgba(255, 214, 224, .55) 0%, rgba(255, 214, 224, 0) 70%),
          linear-gradient(180deg, #D6E8FA 0%, #E6F0FB 28%, #F6F9FD 55%, #FFFFFF 78%);
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0400; --surface: #0C0906; --blush: #0C0906; --card: #0F0B08; --raised: #1A1410;
    --text: #F7F2F0; --body: #B5ADA8; --muted: #B5ADA8; --dim: #958D88;
    --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .16); --line-faint: rgba(255, 255, 255, .04);
    --accent: #FF8C4A; --tint: rgba(255, 90, 1, .14);
    --primary: #F7F2F0; --on-primary: #0A0400;
    --dark: #0C0906; --dark-card: #0F0B08;
    --marker: rgba(255, 255, 255, .22);
    --panel-shadow: 0 28px 56px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .10);
    --hero: radial-gradient(60% 70% at 85% 0%, rgba(255, 90, 1, .16) 0%, rgba(255, 90, 1, 0) 70%),
            linear-gradient(180deg, #0F0B08 0%, #0A0400 80%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-sans);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, p, ul, ol, dl, dd, figure { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px;
    text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
code { font-family: var(--font-mono); font-size: .86em; }
p code, li code, dd code, td code, .title code { background: var(--raised); border: 1px solid var(--line); padding: 1px 5px;
  border-radius: 6px; overflow-wrap: break-word; }
pre code { background: none; border: 0; padding: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--card); padding: 8px 12px; }

.page { max-width: 1280px; margin: 0 auto; padding: 0 20px; position: relative; }

/* Type */
.h-hero { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.14;
          letter-spacing: -.015em; max-width: 15ch; margin: 14px auto 0; }
.h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06;
      letter-spacing: -.02em; max-width: 20ch; margin-top: 12px; }
.title { font-size: 15.5px; font-weight: 600; line-height: 22px; color: var(--text); }
.lead { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 62ch; margin-top: 20px; }
.body { font-size: 15px; line-height: 24px; color: var(--body); }
.small { font-size: 13px; line-height: 19px; color: var(--dim); }
.kicker { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.accent { color: var(--accent); }
.note { margin-top: 24px; max-width: 90ch; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.lockup { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.lockup .logo { height: 26px; width: auto; }
.product { font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; padding-left: 14px;
           border-left: 1px solid var(--line-strong); line-height: 28px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a:not(.btn) { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.site-header nav a:not(.btn):hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px;
       border-radius: 12px; background: var(--primary); color: var(--on-primary); border: 0; font: 600 15px/1 var(--font-sans);
       letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); color: var(--on-primary); }
.btn--small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn::after { content: "→"; }

/* Hero */
.hero { border-radius: 40px 40px 0 0; background: var(--hero); padding: 96px 24px 72px; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .kicker { color: var(--muted); }
.hero-meta { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.cmd { position: relative; text-align: left; }
.hero .cmd { max-width: 760px; margin: 32px auto 0; }
.cmd pre { margin: 0; padding: 14px 92px 14px 18px; background: var(--card); border: 1px solid var(--line-strong);
           border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; color: var(--text); }
.cmd code { font-size: 13.5px; }
.copy { position: absolute; top: 8px; right: 8px; height: 32px; padding: 0 12px; font: 600 13px var(--font-sans);
        color: var(--text); background: var(--raised); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.copy:hover { border-color: var(--line-strong); }

.demo { margin: 56px auto 0; max-width: 1040px; text-align: left; }
.panel { background: var(--card); border-radius: 16px; box-shadow: var(--panel-shadow); }
.demo-frame { position: relative; border-radius: 16px; overflow: hidden; background: #0A0400; aspect-ratio: 16 / 9; }
.demo-frame img, .demo-frame video { width: 100%; height: 100%; object-fit: cover; }
.demo-badge { position: absolute; left: 16px; bottom: 16px; }
.demo figcaption { padding: 12px 18px 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92);
        box-shadow: 0 0 0 1px rgba(10, 5, 0, .10); font-size: 12.5px; font-weight: 600; line-height: 1.5; color: #0A0400; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }

/* Sections */
.section { position: relative; padding: 96px 0; border-top: 1px solid var(--line); }
.section--blush { background: var(--blush); }
.gridlines { position: absolute; inset: 0 max(20px, calc(50% - 620px)); pointer-events: none;
  background-image: linear-gradient(90deg, var(--line-faint) 1px, transparent 1px); background-size: 16.6667% 100%;
  border-right: 1px solid var(--line-faint);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split .body { margin-top: 20px; max-width: 54ch; }
.split--even { margin-top: 48px; }
.split--even .body { margin-top: 10px; }
.split--even .small { margin-top: 10px; }

.transcript { padding: 24px 28px; }
.transcript dl { display: grid; grid-template-columns: 72px 1fr; gap: 10px 14px; margin-top: 16px; }
.transcript dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); padding-top: 3px; }
.transcript dt.you { color: var(--dim); }
.transcript dd { font-size: 15.5px; line-height: 1.55; color: var(--text); }

/* Cells */
.cells { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 48px; }
.cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells--metrics { grid-template-columns: 1.3fr 1fr 1fr; }
.cell { background: var(--card); padding: 24px 24px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell .title + .body, .cell .title + .small { margin-top: 8px; }
.cell--tint { background: var(--tint); }
.cell--tint code { background: transparent; }
.features .cell { min-height: 168px; }

/* Diagram */
.diagram { margin-top: 56px; }
.tiers { list-style: none; padding: 0; margin: 0; }
.tier-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 12px; }
.tier .cells { margin-top: 0; }
.tier--hub { border: 1px solid var(--line-strong); padding: 20px; background: var(--surface); }
.tier--hub .tier-label { color: var(--text); }
.tier--hub .cells { margin-top: 16px; }
.link-line { font-size: 13px; color: var(--muted); padding: 14px 0 14px 18px; margin-left: 24px; border-left: 1px dashed var(--line-strong); }
.tier--hub .link-line { margin-left: 4px; margin-bottom: -20px; }
.tier--hub + .tier { margin-top: 34px; }
.pipeline { display: flex; align-items: stretch; gap: 8px; }
.stage { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--card);
         border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.stage small { font-weight: 400; font-size: 12.5px; line-height: 17px; color: var(--dim); }
.stage--key { border-color: rgba(255, 90, 1, .45); }
.arrow { align-self: center; color: var(--orange); font-size: 18px; }
.diagram figcaption { margin-top: 20px; max-width: 90ch; }

/* Features */
.feature-links { list-style: none; padding: 0; margin: 28px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-links a { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
                   font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--text); }
.feature-links a:hover { border-color: var(--accent); color: var(--accent); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 32px; margin-top: 64px; }
.phones img { border-radius: 28px; box-shadow: var(--panel-shadow); }
.phones figcaption { margin-top: 14px; text-align: center; }

/* Dark band: the one per page. In the dark theme it keeps its glow and gains hairlines so it still reads as a band. */
.band-dark { position: relative; overflow: hidden; background: var(--dark); color: var(--bone); padding: 96px 0; }
.band-dark::after { content: ""; position: absolute; top: 30%; right: -80px; width: 560px; height: 560px; border-radius: 50%;
  transform: translateY(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(255, 90, 1, .22), rgba(255, 90, 1, 0)); }
.band-dark > * { position: relative; z-index: 1; }
.band-dark .h1 { color: var(--bone); }
.band-dark .lead, .band-dark .body { color: var(--dark-body); }
.band-dark .kicker, .band-dark .small { color: var(--dark-dim); }
.band-dark .cells { border-color: var(--dark-line); }
.band-dark a { text-decoration-color: rgba(255, 255, 255, .35); }
.band-dark a:hover { color: var(--accent-dark); }
.band-dark code { background: rgba(255, 255, 255, .06); border-color: var(--dark-line); }
.cell--dark { background: var(--dark-card); border-color: var(--dark-line); }
.facts { list-style: none; padding: 0; margin-top: 14px; }
.facts li { position: relative; padding-left: 16px; margin-top: 10px; font-size: 14.5px; line-height: 22px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.cell--dark .facts li { color: var(--dark-body); }
.cell--dark .facts b { color: var(--bone); font-weight: 600; }
.compare .facts li { color: var(--body); }
.compare .facts li::before { background: var(--dim); }
.compare .body { margin-top: 14px; }
.compare .small { margin-top: 4px; }
.band-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; margin-top: 40px; align-items: start; }
.figure-light { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--accent-dark);
                font-variant-numeric: tabular-nums; margin-bottom: 10px; }
@media (prefers-color-scheme: dark) {
  .band-dark { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}

/* Tables */
.scroll { overflow-x: auto; margin-top: 40px; }
.split--even .scroll { margin-top: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table caption { text-align: left; padding-bottom: 10px; }
.table th { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-strong); font-size: 11px; font-weight: 600;
            text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--body); vertical-align: top;
            font-variant-numeric: tabular-nums; }
.table td:first-child { color: var(--text); font-weight: 500; }
.table tr.total td { color: var(--text); font-weight: 600; border-bottom-color: var(--line-strong); }
.local { margin-top: 40px; }

/* Metrics */
.metric { font-family: var(--font-display); font-size: clamp(64px, 6vw, 88px); line-height: .95; letter-spacing: -.035em;
          color: var(--orange); font-variant-numeric: tabular-nums; }
.figure { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--text);
          font-variant-numeric: tabular-nums; margin-top: 22px; }
.metric-unit { font-family: var(--font-display); font-size: 22px; line-height: 26px; color: var(--text); margin-top: 12px; }
.metric-unit + .small { margin-top: 2px; }

/* Install */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr;
         border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steps .cell { display: flex; flex-direction: column; gap: 14px; }
.marker { font-family: var(--font-display); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--marker); }
.steps .cmd pre { padding-right: 18px; }
.steps [data-cmd] pre { padding-right: 92px; }

/* Limits */
.limits { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.limits li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 24px; color: var(--body); }
.limits b { color: var(--text); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.made { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.footer-logo { display: inline-flex; color: var(--text); }
.footer-logo .logo { height: 24px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 1080px) {
  .cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .site-header nav a:not(.btn) { display: none; }
  .split, .split--even, .band-foot { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cells--3, .cells--metrics { grid-template-columns: minmax(0, 1fr); }
  .cells--2 { grid-template-columns: minmax(0, 1fr); }
  .pipeline { flex-direction: column; }
  .arrow { transform: rotate(90deg); }
  .features .cell { min-height: 0; }
  .phones { gap: 14px; }
  .phones img { border-radius: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .page { padding: 0 16px; }
  .section, .band-dark { padding: 64px 0; }
  .hero { border-radius: 24px 24px 0 0; padding: 64px 16px 40px; margin: 0 -8px; }
  .lead { font-size: 16.5px; }
  .site-header { height: 68px; }
  .lockup { gap: 10px; }
  .lockup .logo { height: 22px; }
  .product { font-size: 19px; padding-left: 10px; }
  .cells--4 { grid-template-columns: minmax(0, 1fr); }
  .tier--hub { padding: 14px; }
  .transcript { padding: 20px; }
  .transcript dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .transcript dt { padding-top: 10px; }
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .phones img { border-radius: 12px; }
  .phones figcaption { font-size: 11.5px; line-height: 15px; }
  .demo { margin-top: 40px; }
  .demo-badge { left: 10px; bottom: 10px; font-size: 11.5px; padding: 4px 10px; }
  [data-cmd] pre { padding-right: 18px; padding-bottom: 50px; }
  .copy { top: auto; bottom: 8px; }
  .steps [data-cmd] pre { padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .site-header nav, .copy, .skip { display: none !important; }
}
