/* EcomSeer C1 — sticker-book layout: rounded pastel panels on a black canvas, crushed display type,
   flat sticker accents with black outlines. No shadows, no gradients.
   "C1 Heavy" is Noto Sans SC (OFL) instanced at wght 900 and subset to the characters of c1.html.
   After changing page copy, regenerate it:
     fonttools varLib.instancer NotoSansSC-VF.ttf wght=900 -o /tmp/noto-sc-900.ttf
     pyftsubset /tmp/noto-sc-900.ttf --text-file=center/static/pages/c1.html --flavor=woff2 \
       --layout-features='*' --output-file=center/static/public-site/c1/noto-sans-sc-900-c1.woff2 */
@font-face { font-family: "Barlow Condensed"; src: url('/static/public-site/c1/barlow-condensed-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: "C1 Heavy"; src: url('/static/public-site/c1/noto-sans-sc-900-c1.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url('/static/assets/fonts/dm-sans-variable.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }

:root {
  --c1-ink: #000;
  --c1-paper: #fff;
  --c1-sky: #dceeff;
  --c1-blue: #4da2ff;
  --c1-mint: #55db9c;
  --c1-lavender: #e9ccff;
  --c1-ember: #fb4903;
  --c1-sun: #ffd731;
  --c1-mist: #e9e9e9;
  --c1-line: 2px solid var(--c1-ink);
  --c1-display: "Barlow Condensed", "C1 Heavy", "PingFang SC", sans-serif;
  --c1-heavy: "C1 Heavy", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --c1-text: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --c1-sticker: clamp(64px, 8vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--c1-ink); color: var(--c1-ink); font: 500 16px/1.6 var(--c1-text); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
section[id] { scroll-margin-top: 96px; }
.c1-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.c1-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c1-label { margin-bottom: 20px; font: 700 13px/1.3 var(--c1-text); letter-spacing: .032em; text-transform: uppercase; }

/* Pills */
.c1-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: var(--c1-line); border-radius: 999px; background: var(--c1-paper); color: var(--c1-ink); font: 700 14px/1 var(--c1-text); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.c1-pill:hover { background: var(--c1-ink); color: var(--c1-paper); }
.c1-pill-dark { background: var(--c1-ink); color: var(--c1-paper); }
.c1-pill-dark:hover { background: var(--c1-paper); color: var(--c1-ink); }
.c1-pill-lg { min-height: 60px; padding: 0 30px; font-size: 16px; }
.c1-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.c1-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Marquees: c1.js repeats each [data-marquee] set until it is twice the viewport, then this slides it by half. */
@keyframes c1-marquee { to { transform: translateX(-50%); } }
@keyframes c1-float { 50% { translate: 0 -10px; } }
.c1-strip { display: block; overflow: hidden; background: var(--c1-lavender); }
.c1-strip-track { display: flex; width: max-content; animation: c1-marquee 40s linear infinite; }
.c1-strip-track span { padding: 10px 32px 10px 0; font: 700 12px/1.4 var(--c1-text); letter-spacing: .032em; text-transform: uppercase; white-space: nowrap; }
.c1-strip-track span::before { content: "✦"; margin-right: 32px; }

/* Navigation floats over the panels */
.c1-nav { position: sticky; top: 0; z-index: 40; height: 88px; margin: 0 12px -88px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.c1-nav > * { pointer-events: auto; }
.c1-brand { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px 0 16px; border: var(--c1-line); border-radius: 999px; background: var(--c1-paper); }
.c1-brand img { width: 112px; height: auto; }
.c1-brand-mark { padding-left: 12px; border-left: var(--c1-line); font: 800 26px/1 var(--c1-display); }
.c1-nav-panel, .c1-nav-panel nav { display: flex; align-items: center; gap: 6px; }
.c1-menu { display: none; }

/* Panels */
.c1-panel { position: relative; margin: 0 12px 12px; padding: clamp(28px, 5vw, 72px); border-radius: 40px; background: var(--c1-paper); overflow: hidden; }
.c1-panel-sky { background: var(--c1-sky); }
.c1-head { margin-bottom: clamp(32px, 4vw, 56px); }
.c1-head h2, .c1-copy h2 { font: 900 clamp(40px, 5.4vw, 84px)/1.02 var(--c1-heavy); letter-spacing: -.02em; }
.c1-copy h2 { font-size: clamp(36px, 4vw, 60px); }
.c1-copy > p:not(.c1-label) { max-width: 30em; margin-top: 24px; font-size: 18px; }
.c1-copy .c1-pill { margin-top: 32px; }
.c1-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.c1-split-reverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

/* Stickers: positioned by --x/--y inside their container, sized by --s, tilted by --r */
.c1-sticker, .c1-bubble { position: absolute; left: var(--x); top: var(--y); rotate: var(--r, 0deg); animation: c1-float 6s ease-in-out infinite; }
.c1-sticker { width: calc(var(--s, 1) * var(--c1-sticker)); height: calc(var(--s, 1) * var(--c1-sticker)); overflow: visible; }
.c1-sticker:nth-of-type(2n) { animation-delay: -2s; }
.c1-sticker:nth-of-type(3n) { animation-delay: -4s; }
.c1-bubble { padding: .5em .9em; border: var(--c1-line); border-radius: 22px; background: var(--bg, var(--c1-paper)); font: 800 clamp(16px, 1.7vw, 26px)/1 "DM Sans", "C1 Heavy", sans-serif; white-space: nowrap; animation-delay: -3s; }
.c1-bubble::after { content: ""; position: absolute; left: 20px; bottom: -9px; width: 14px; height: 14px; border-right: var(--c1-line); border-bottom: var(--c1-line); background: inherit; transform: rotate(45deg); }
.c1-bubble-sun { --bg: var(--c1-sun); }
.c1-bubble-lavender { --bg: var(--c1-lavender); }
.c1-bubble-mint { --bg: var(--c1-mint); }

/* Hero */
.c1-hero { min-height: min(calc(100svh - 52px), 940px); padding-top: 128px; display: flex; flex-direction: column; justify-content: center; background: var(--c1-sky); text-align: center; }
.c1-hero-stage { position: relative; width: min(1120px, 100%); margin: 0 auto; }
.c1-hero-stickers { position: absolute; inset: 0; pointer-events: none; }
.c1-wordmark { display: block; font: 800 clamp(200px, 32vw, 500px)/.75 var(--c1-display); letter-spacing: -.01em; }
.c1-hero-line { display: block; margin-top: 40px; font: 900 clamp(28px, 3.8vw, 60px)/1.1 var(--c1-heavy); letter-spacing: -.02em; }
.c1-hero-line span, .c1-calls h2 span { display: inline-block; }
.c1-hero-lead { max-width: 34em; margin: 20px auto 0; font-size: clamp(16px, 1.4vw, 20px); }

/* Illustration card */
.c1-art { position: relative; aspect-ratio: 1 / 1; border: var(--c1-line); border-radius: 32px; overflow: hidden; }
.c1-art-mint { background: var(--c1-mint); }

/* Two-way demo */
.c1-photo { position: relative; aspect-ratio: 4 / 3; border: var(--c1-line); border-radius: 32px; overflow: hidden; background: #2a2c30; }
.c1-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.c1-chat { position: absolute; left: 20px; bottom: 20px; display: grid; gap: 8px; width: min(320px, calc(100% - 40px)); }
.c1-chat-msg { display: grid; gap: 4px; justify-self: start; padding: 10px 16px 12px; border: var(--c1-line); border-radius: 20px 20px 20px 6px; background: var(--bg, var(--c1-paper)); font: 700 15px/1.35 var(--c1-text); }
.c1-chat-me { justify-self: end; border-radius: 20px 20px 6px 20px; }
.c1-chat-msg small { font-size: 11px; letter-spacing: .032em; text-transform: uppercase; opacity: .64; }

/* Feature cards */
.c1-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.c1-feature { display: flex; flex-direction: column; min-height: 380px; padding: 32px; border: var(--c1-line); border-radius: 32px; background: var(--bg); }
.c1-feature-sun { --bg: var(--c1-sun); }
.c1-feature-lavender { --bg: var(--c1-lavender); }
.c1-feature-blue { --bg: var(--c1-blue); }
.c1-feature-icon { width: 104px; height: 104px; overflow: visible; }
.c1-feature h3 { margin-top: auto; padding-top: 40px; font: 900 clamp(26px, 2.4vw, 36px)/1.15 var(--c1-heavy); }
.c1-feature p { margin-top: 12px; }

/* Call compatibility band, straight on the black canvas */
.c1-calls { position: relative; padding: clamp(72px, 9vw, 128px) 0; color: var(--c1-paper); text-align: center; overflow: hidden; }
.c1-calls-head { width: min(880px, calc(100% - 48px)); margin: 0 auto clamp(40px, 5vw, 72px); }
.c1-calls h2 { font: 900 clamp(36px, 4.6vw, 72px)/1.05 var(--c1-heavy); letter-spacing: -.02em; }
.c1-calls-head > p:not(.c1-label) { max-width: 34em; margin: 20px auto 0; color: #bdbdbd; font-size: 18px; }
.c1-tiles { position: relative; display: grid; gap: 12px; }
.c1-tiles-track { display: flex; width: max-content; animation: c1-marquee 36s linear infinite; }
.c1-tiles-reverse { animation-direction: reverse; }
.c1-tile { display: inline-flex; align-items: center; height: clamp(104px, 12vw, 176px); margin-right: 12px; padding: .06em clamp(28px, 3vw, 48px) 0; border-radius: 28px; background: var(--bg); color: var(--c1-ink); font: 800 clamp(64px, 8.4vw, 136px)/1 var(--c1-display); text-transform: uppercase; white-space: nowrap; }
.c1-tile-blue { --bg: var(--c1-blue); }
.c1-tile-white { --bg: var(--c1-paper); }
.c1-tile-ember { --bg: var(--c1-ember); }
.c1-tile-sun { --bg: var(--c1-sun); }
.c1-tile-lavender { --bg: var(--c1-lavender); }
.c1-tile-mint { --bg: var(--c1-mint); }
.c1-tiles .c1-sticker { z-index: 1; }

/* Design bento */
.c1-design { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.c1-design .c1-copy { grid-column: 1 / 6; align-self: center; padding-right: 24px; }
.c1-design-master { grid-column: 6 / 13; }
.c1-design-macro { grid-column: 1 / 8; }
.c1-card-photo { aspect-ratio: 4 / 3; border: var(--c1-line); border-radius: 32px; overflow: hidden; background: var(--c1-mist); }
.c1-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.c1-specs { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.c1-spec { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; border: var(--c1-line); border-radius: 28px; background: var(--bg); }
.c1-spec-icon { position: absolute; top: 18px; right: 18px; width: clamp(48px, 5vw, 72px); height: clamp(48px, 5vw, 72px); overflow: visible; }
.c1-spec-sky { --bg: var(--c1-sky); }
.c1-spec dt { font: 700 12px/1.3 var(--c1-text); letter-spacing: .032em; text-transform: uppercase; }
.c1-spec dd { font: 900 clamp(20px, 1.9vw, 28px)/1.15 var(--c1-heavy); }

/* Closing tiles */
.c1-end { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin: 0 12px; }
.c1-end-cta { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 420px; padding: clamp(32px, 4vw, 56px); border-radius: 40px; background: var(--c1-mint); overflow: hidden; }
.c1-end-cta h2 { position: relative; z-index: 1; font: 900 clamp(40px, 5vw, 80px)/1.02 var(--c1-heavy); letter-spacing: -.02em; }
.c1-end-cta .c1-actions { position: relative; z-index: 1; justify-content: flex-start; margin-top: 0; }
.c1-end-links { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px; border-radius: 40px; background: var(--c1-paper); }
.c1-end-brand img { width: 140px; height: auto; }
.c1-end-links > div > p { margin-top: 12px; font-size: 14px; }
.c1-end-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.c1-end-cols div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.c1-end-cols h3 { margin-bottom: 4px; font: 700 13px/1.3 var(--c1-text); letter-spacing: .032em; text-transform: uppercase; }
.c1-end-cols a { font-size: 15px; }
.c1-end-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.c1-end-base { grid-column: 1 / -1; padding: 12px 16px 20px; color: #8c8c8c; font-size: 12px; }

@media (max-width: 1000px) {
  .c1-split, .c1-split-reverse { grid-template-columns: 1fr; }
  .c1-features { grid-template-columns: 1fr; }
  .c1-feature { min-height: 0; }
  .c1-design .c1-copy, .c1-design-master, .c1-design-macro, .c1-specs { grid-column: 1 / -1; }
  .c1-design .c1-copy { padding: 0 0 20px; }
  .c1-end { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .c1-menu { display: inline-flex; min-height: 48px; }
  .c1-nav-panel { display: none; }
  .c1-nav.is-open .c1-nav-panel { position: absolute; top: 76px; left: 12px; right: 12px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; border: var(--c1-line); border-radius: 28px; background: var(--c1-paper); }
  .c1-nav.is-open nav { flex-direction: column; align-items: stretch; gap: 8px; }
}

@media (max-width: 700px) {
  :root { --c1-sticker: 52px; }
  .c1-nav { height: 76px; margin: 0 8px -76px; padding: 0 12px; }
  .c1-brand { height: 44px; gap: 10px; padding: 0 14px 0 12px; }
  .c1-brand img { width: 92px; }
  .c1-brand-mark { padding-left: 10px; font-size: 22px; }
  .c1-panel { margin: 0 8px 8px; padding: 28px 20px; border-radius: 28px; }
  .c1-hero { min-height: 640px; padding-top: 112px; }
  .c1-wordmark { font-size: clamp(160px, 50vw, 240px); }
  .c1-hero-line { margin-top: 24px; }
  .c1-bubble { font-size: 14px; border-radius: 16px; }
  .c1-actions .c1-pill-lg { min-height: 52px; padding: 0 22px; font-size: 14px; }
  .c1-head h2, .c1-copy h2 { font-size: clamp(32px, 9vw, 44px); }
  .c1-copy > p:not(.c1-label) { font-size: 16px; }
  .c1-art { border-radius: 24px; }
  .c1-photo { aspect-ratio: auto; border-radius: 24px; }
  .c1-photo img { height: auto; aspect-ratio: 4 / 3; }
  .c1-chat { position: static; width: auto; padding: 14px; background: var(--c1-paper); border-top: var(--c1-line); }
  .c1-feature { padding: 24px; border-radius: 24px; }
  .c1-feature-icon { width: 80px; height: 80px; }
  .c1-feature h3 { padding-top: 28px; font-size: 24px; }
  .c1-tile { height: 84px; padding: .06em 22px 0; border-radius: 20px; font-size: 56px; }
  .c1-card-photo, .c1-spec { border-radius: 24px; }
  .c1-spec { min-height: 120px; padding: 18px; }
  .c1-spec-icon { top: 14px; right: 14px; width: 40px; height: 40px; }
  .c1-spec dd { font-size: 17px; }
  .c1-hero .c1-sticker-extra { display: none; }
  .c1-end { margin: 0 8px; gap: 8px; }
  .c1-end-cta, .c1-end-links { min-height: 0; padding: 28px 20px; border-radius: 28px; }
  .c1-end-cta h2 { font-size: clamp(32px, 9vw, 44px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c1-strip-track, .c1-tiles-track, .c1-sticker, .c1-bubble { animation: none; }
  .c1-pill { transition: none; }
}
