/* Bitlyne marketing — airy product site */

html { scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }

/* ── Hero: brand first, then product plane ── */
.hero {
  position: relative;
  z-index: 10;
  padding: 48px 0 0;
}
.hero-top {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px 40px;
  text-align: center;
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: -40px;
  width: min(720px, 100vw);
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 40%, rgba(245, 82, 28, 0.12), transparent 62%);
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}
.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-mark-icon {
  width: 48px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(245, 82, 28, 0.22));
}
.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
  box-shadow: none;
}
.hero-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: none;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.8vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.042em;
  margin: 0 auto 20px;
  max-width: 12em;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  max-width: 34rem;
  margin: 0 auto 28px;
  line-height: 1.47;
  font-weight: 400;
}
.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.hero-assure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-assure li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-assure li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-assure strong { color: var(--text); font-weight: 700; }

/* Product tour — generous stage under copy */
.hero-stage {
  position: relative;
  z-index: 12;
  max-width: 920px;
  margin: 16px auto 0;
  padding: 0 24px;
}
.hero-demo {
  position: relative;
  z-index: 2;
  text-align: left;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-demo-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0d9488;
}
.hero-demo-live i {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50%;
  background: #22c55e !important;
  box-shadow: none !important;
}
.hero-demo-reel { position: relative; }
.hero-demo-slides {
  position: relative;
  aspect-ratio: 1400 / 752;
  background: #f0f2f5;
  overflow: hidden;
}
.hero-demo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero-demo-slide.is-active { opacity: 1; z-index: 1; }
.hero-demo-slide img,
.hero-demo-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-demo-slide img {
  object-fit: cover;
  object-position: top center;
}
.hero-demo-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 8px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.hero-demo-label {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text);
}
.hero-demo-progress {
  height: 3px;
  border-radius: 999px;
  background: #eceff3;
  overflow: hidden;
}
.hero-demo-progress i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5521c, #ff8a5c);
  box-shadow: none;
}
.hero-demo-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 0 14px 12px;
  background: #fff;
}
.hero-demo-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #d1d5db;
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}
.hero-demo-dots button.is-active {
  width: 22px;
  background: #f5521c;
}
.hero-demo-toggle {
  position: absolute;
  right: 12px;
  top: 52px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: #3a424c;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-demo-play { display: none; }
.hero-demo.is-paused .hero-demo-play { display: inline; }
.hero-demo.is-paused .hero-demo-pause { display: none; }
.hero-demo-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-anim {
    opacity: 0;
    transform: translateY(12px);
    animation: hero-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--d, 0) * 70ms);
  }
  .hero-pill i { animation: pulse-dot 2.2s ease-in-out infinite; }
  .btn-glow { animation: cta-glow 2.8s ease-in-out infinite; }
  .hero-glow { animation: glow-breathe 7s ease-in-out infinite; }
}
@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 8px 22px rgba(245, 82, 28, 0.28); }
  50% { box-shadow: 0 12px 30px rgba(245, 82, 28, 0.4), 0 0 0 7px rgba(245, 82, 28, 0.08); }
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Trust rail */
.trust-strip {
  position: relative;
  z-index: 10;
  max-width: var(--content);
  margin: 72px auto 0;
  padding: 0 28px;
}
.trust-kicker {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 28px;
}
.trust-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.trust-items li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  text-align: center;
  border-right: none;
}
.trust-items li:last-child { border-right: none; }
.trust-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--accent-deep);
  box-shadow: var(--shadow-sm);
}
.trust-items strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.trust-items em {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Sections */
.mk-section {
  position: relative;
  z-index: 10;
  max-width: var(--content);
  margin: 0 auto;
  padding: 96px 28px 24px;
  text-align: center;
}
.mk-band {
  max-width: none;
  padding: 112px 28px 96px;
  margin: 32px 0 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mk-band > .section-label,
.mk-band > .section-h2,
.mk-band > .section-copy,
.mk-band > .meta-subh,
.mk-band > .meta-footnote {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}
.mk-band > .meta-callout,
.mk-band > .meta-grid,
.mk-band > .meta-flow,
.mk-band > .trust-duo {
  max-width: var(--content);
}

/* Thesis — brand manifesto */
.thesis {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 88px auto 0;
  padding: 0 28px;
  text-align: center;
}
.thesis-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.thesis-h {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--text);
  margin: 0 auto 22px;
  max-width: 40rem;
}
.thesis-h em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline;
}
.thesis-sub {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: var(--measure);
  margin: 0 auto;
}

/* Old path vs Bitlyne */
.path-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 48px;
  text-align: left;
}
.path-vs {
  align-self: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.path-card {
  border-radius: 28px;
  padding: 32px 28px;
}
.path-card--old {
  background: rgba(29, 29, 31, 0.04);
  border: 1px solid transparent;
}
.path-card--new {
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(245, 82, 28, 0.18);
}
.path-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.path-card--new .path-label { color: var(--accent-deep); }
.path-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1.2;
}
.path-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.path-card li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted);
}
.path-card--old li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #9aa3ad;
  font-weight: 700;
}
.path-card--new li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0d9488;
  font-weight: 700;
}

/* Trust duo */
.trust-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px auto 0;
  max-width: var(--content);
  text-align: left;
}
.trust-duo article {
  background: var(--bg);
  border-radius: 24px;
  padding: 28px 26px;
}
.mk-band .trust-duo article { background: var(--bg); }
.trust-duo h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.trust-duo p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* Community band */
.community-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin: 48px auto 0;
  max-width: var(--content);
  text-align: left;
  padding: 36px 32px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(245, 82, 28, 0.12), transparent 50%),
    #1d1d1f;
  color: #f5f5f7;
}
.community-band h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #fff;
}
.community-band > div > p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #a1a1a6;
  margin: 0;
}
.community-band ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.community-band li {
  font-size: 1rem;
  line-height: 1.4;
  color: #d2d2d7;
  padding-left: 18px;
  position: relative;
}
.community-band li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Promise */
.promise {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 8px;
}
.promise-main { padding: 28px 26px; }
.promise .section-h2 { text-align: left; }
.promise-lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}
.promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.promise-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: #3a424c;
  line-height: 1.5;
}
.promise-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promise-side {
  background: linear-gradient(165deg, #1a1f26 0%, #0f1419 100%);
  color: #e8eaef;
  padding: 28px 22px;
}
.promise-side-kicker {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8a5c;
  margin-bottom: 16px;
}
.promise-stat {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  margin-bottom: 14px;
}
.promise-stat span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff8a5c;
  line-height: 1.1;
}
.promise-stat b {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.promise-stat em {
  display: block;
  font-style: normal;
  font-size: 0.76rem;
  color: #9aa3ad;
}
.promise-stat a {
  color: #ff8a5c;
  font-weight: 650;
  text-decoration: none;
}
.promise-quote {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #d5dae0;
}

/* Pillars — light, readable cards */
.pillar-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin-top: 40px;
}
.pillar {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 28px 24px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}
.pillar-n {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pillar h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}
.pillar p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Switch */
.switch-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 28px;
  text-align: left;
}
.switch-col {
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  background: #fff;
}
.switch-col h3 { font-size: 1rem; font-weight: 750; margin-bottom: 12px; }
.switch-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.switch-col li {
  font-size: 0.88rem;
  color: #4b5560;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.switch-col--bad { background: var(--surface-hi); }
.switch-col--bad li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #9aa3ad;
  font-weight: 800;
}
.switch-col--good {
  border-color: rgba(245, 82, 28, 0.35);
  box-shadow: 0 14px 32px rgba(245, 82, 28, 0.1);
}
.switch-col--good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0d9488;
  font-weight: 800;
}
.switch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Steps */
.steps-clean {
  list-style: none;
  max-width: 40rem;
  margin: 40px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
}
.steps-clean li {
  counter-increment: step;
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 22px 24px 22px 72px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.steps-clean li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.steps-clean strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.steps-clean span {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.47;
}

/* Platform meta — calm, scannable */
.meta-callout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px 40px;
  margin: 40px auto 0;
  max-width: var(--content);
  text-align: left;
  background: var(--bg);
  border: none;
  border-radius: 28px;
  padding: 36px 36px;
}
.meta-callout h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.meta-callout p {
  font-size: 1.0625rem;
  line-height: 1.47;
  color: var(--muted);
  margin: 0;
}
.meta-callout p strong { color: var(--text); font-weight: 600; }
.meta-callout ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.meta-callout li {
  font-size: 1rem;
  line-height: 1.47;
  color: var(--muted);
  padding-left: 0;
  border-left: none;
}
.meta-callout li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.meta-subh {
  margin: 64px auto 0;
  max-width: var(--measure);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px auto 0;
  max-width: var(--content);
  text-align: left;
}
.meta-card {
  background: var(--bg);
  border: none;
  border-radius: 20px;
  padding: 22px 20px 24px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.meta-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: none;
}
.meta-card-k {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.meta-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.meta-card p {
  font-size: 0.9375rem;
  line-height: 1.47;
  color: var(--muted);
  margin: 0;
}
.meta-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px auto 0;
  max-width: var(--content);
  text-align: left;
  counter-reset: metaflow;
}
.meta-flow li {
  counter-increment: metaflow;
  background: var(--bg);
  border: none;
  border-radius: 20px;
  padding: 24px 20px 22px;
  position: relative;
}
.meta-flow li::before {
  content: counter(metaflow);
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.meta-flow strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.meta-flow span {
  font-size: 0.9375rem;
  line-height: 1.47;
  color: var(--muted);
}
.meta-footnote {
  max-width: var(--measure);
  margin: 48px auto 0;
  font-size: 1.125rem;
  line-height: 1.47;
  color: var(--muted);
  font-style: normal;
  text-align: center;
}

/* Example apps duo (proof shots) */
.desk-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}
.desk-duo figcaption {
  padding: 12px 14px 14px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  background: #fff;
  border-top: 1px solid var(--border);
}
.desk-duo strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

/* System architecture story */
#system {
  max-width: 1040px;
}
.sys-stack {
  max-width: 720px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.sys-layer {
  text-align: left;
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.sys-layer-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sys-layer strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.sys-layer em {
  display: block;
  font-style: normal;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}
.sys-layer--ui {
  background: #f8f9fb;
  border-color: rgba(15, 20, 25, 0.1);
}
.sys-layer--ui .sys-layer-kicker { color: #5c6570; }
.sys-layer--core {
  background: linear-gradient(135deg, #1a1f26 0%, #0f1419 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 20, 25, 0.22);
}
.sys-layer--core .sys-layer-kicker { color: #ff8a5c; }
.sys-layer--core strong { color: #fff; }
.sys-layer--core em { color: #9aa3ad; }
.sys-layer--edge {
  background: #fff;
  border-color: rgba(13, 148, 136, 0.25);
}
.sys-layer--edge .sys-layer-kicker { color: #0d9488; }
.sys-stack-arrow {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 0;
  line-height: 1;
}

.sys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 40px auto 0;
  max-width: 1000px;
  text-align: left;
}
.sys-card {
  background: #fff;
  border: none;
  border-radius: 22px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.sys-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.sys-card-n {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.sys-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}
.sys-card > p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.47;
  margin-bottom: 14px;
}
.sys-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sys-card li {
  position: relative;
  padding-left: 16px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.47;
}
.sys-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.sys-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 1000px;
  margin: 28px auto 0;
  text-align: left;
}
.sys-compare > div {
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  background: #fff;
}
.sys-compare > div:last-child {
  background: linear-gradient(165deg, #fff5f0, #fff);
  border-color: rgba(245, 82, 28, 0.3);
  box-shadow: 0 12px 28px rgba(245, 82, 28, 0.08);
}
.sys-compare h4 {
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 12px;
}
.sys-compare ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sys-compare li {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.47;
  padding-left: 18px;
  position: relative;
}
.sys-compare > div:first-child li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #9aa3ad;
  font-weight: 800;
}
.sys-compare > div:last-child li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0d9488;
  font-weight: 800;
}
.sys-tagline {
  max-width: var(--measure);
  margin: 48px auto 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
  text-align: center;
  box-shadow: none;
}

/* Apps */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: left;
}
.app-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  transition: border-color 0.18s, transform 0.18s;
}
.app-tile:hover {
  border-color: rgba(245, 82, 28, 0.35);
  transform: translateY(-2px);
}
.app-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.app-ico--green { background: #0d9488; }
.app-ico--orange { background: #f5521c; }
.app-ico--violet { background: #0f1419; }
.app-ico--amber { background: #ea580c; }
.app-tile h3 { font-size: 0.98rem; font-weight: 750; margin-bottom: 6px; }
.app-tile p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* Screenshots */
.shot-chrome {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  text-align: left;
}
.shot-chrome-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f8f9fb;
  border-bottom: 1px solid var(--border);
}
.shot-chrome-bar > span:not(.hero-demo-live) { flex: 1; min-width: 0; }
.shot-chrome-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
  display: block;
}
.shot-chrome-bar i:nth-child(1) { background: #f87171; }
.shot-chrome-bar i:nth-child(2) { background: #fbbf24; }
.shot-chrome-bar i:nth-child(3) { background: #34d399; }
.shot-chrome-bar span {
  margin-left: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}
.shot-chrome img { display: block; width: 100%; height: auto; }

/* Marketplace gallery */
.mp-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}
.mp-card--wide {
  grid-column: 1 / -1;
}
.mp-card .shot-chrome {
  max-width: 100%;
}
.mp-card--wide .shot-chrome {
  max-width: 820px;
  margin: 0 auto;
}
.mp-card figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}
.mp-card--wide figcaption {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.mp-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}

/* Marketplace lifecycle: develop → install */
.mp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  text-align: left;
}
.mp-flow article {
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px 16px;
}
.mp-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(245, 82, 28, 0.12);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.mp-flow h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.mp-flow p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Developer console under Marketplace */
.mp-dev {
  margin-top: 48px;
  padding: 28px 24px;
  text-align: left;
  background: #0f1419;
  color: #e8eaef;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
}
.mp-dev .section-label { color: #ff8a5c; }
.mp-dev-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #fff;
}
.mp-dev-intro > p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #9aa3ad;
  max-width: 640px;
  margin-bottom: 14px;
}
.mp-dev-intro ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.mp-dev-intro li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #d5dae0;
}
.mp-dev-intro li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 800;
}
.mp-dev-intro .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}
.mp-dev-intro .btn-ghost:hover {
  background: rgba(245, 82, 28, 0.2);
  border-color: rgba(245, 82, 28, 0.45);
}
.mp-dev-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.mp-dev-shots .shot-chrome {
  background: #161b22;
  border-color: rgba(255,255,255,0.08);
}
.mp-dev-shots .shot-chrome-bar {
  background: #1a1f26;
  border-bottom-color: rgba(255,255,255,0.06);
}
.mp-dev-shots .shot-chrome-bar span { color: #9aa3ad; }
.mp-dev-shots figcaption {
  padding: 10px 12px 12px;
  font-size: 0.8rem;
  color: #9aa3ad;
  background: #161b22;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Showcase — compact 2-up */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  text-align: left;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.shot-compact { max-width: 100%; }
.showcase-item figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}
.showcase-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}

/* Duo */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 920px;
  margin: 28px auto 0;
  text-align: left;
}
.duo-card {
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 22px;
}
.duo-card--alt {
  background: linear-gradient(165deg, #fff5f0, #fff);
  border-color: rgba(245, 82, 28, 0.28);
}
.duo-card h3 { font-size: 1.15rem; font-weight: 750; margin-bottom: 10px; }
.duo-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.duo-card ul {
  list-style: none;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.duo-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.86rem;
  color: #3a424c;
}
.duo-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0d9488;
  font-weight: 800;
}

/* Developers */
.dev-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  text-align: left;
  margin-top: 28px;
}
.dev-copy h3 { font-size: 1.15rem; font-weight: 750; margin-bottom: 14px; }
.dev-copy ol {
  margin: 0 0 14px 1.1rem;
  color: #3a424c;
  font-size: 0.9rem;
  line-height: 1.7;
}
.dev-copy > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Pricing */
.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
}
.price-card--hi {
  border-color: rgba(245, 82, 28, 0.4);
  background: linear-gradient(180deg, #fff8f5, #fff);
  box-shadow: 0 12px 28px rgba(245, 82, 28, 0.1);
}
.price-card h3 { font-size: 0.98rem; font-weight: 750; }
.price-n {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}
.price-card p:last-child {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 24px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  padding: 15px 16px;
  font-size: 0.94rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.15rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: left;
}
.faq-item a { color: var(--accent-deep); font-weight: 650; }

/* Final CTA */
.final-cta {
  position: relative;
  z-index: 10;
  max-width: 640px;
  margin: 48px auto 120px;
  padding: 0 28px;
}
.fcta-inner {
  background: #fff;
  border: none;
  border-radius: 28px;
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.fcta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.fcta-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
}
.fcta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.fcta-inner > p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1.125rem;
  line-height: 1.47;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.fcta-inner > p a {
  color: var(--accent-deep);
  font-weight: 650;
  text-decoration: none;
}
.fcta-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin: 0 0 18px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.fcta-trust li::before {
  content: "✓ ";
  color: #0d9488;
}

/* Security page */
.page-hero {
  position: relative;
  z-index: 10;
  max-width: 760px;
  margin: 48px auto 40px;
  padding: 0 24px;
  text-align: left;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.page-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.security-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.security-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  margin-bottom: 12px;
}
.security-block h2 { font-size: 1.12rem; margin-bottom: 8px; }
.security-block > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.7;
}
.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.security-list li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #4b5560;
  line-height: 1.55;
}
.security-list .check { color: #0d9488; font-weight: 800; }
.security-teaser {
  position: relative;
  z-index: 10;
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 36px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
}
.security-teaser h2 { font-size: 1.45rem; margin-bottom: 8px; }
.security-teaser > p { color: var(--muted); margin-bottom: 16px; }
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}
.security-badge {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-hi);
  font-size: 0.74rem;
  font-weight: 650;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pillar-3,
  .duo,
  .dev-split,
  .price-row,
  .promise,
  .switch-grid,
  .showcase,
  .mp-gallery,
  .mp-dev-shots,
  .mp-flow,
  .meta-callout,
  .meta-flow,
  .desk-duo,
  .sys-grid,
  .sys-compare,
  .path-compare,
  .trust-duo,
  .community-band { grid-template-columns: 1fr; }
  .path-vs { display: none; }
  .thesis-h { max-width: none; }
  .sys-tagline { text-align: left; }
  .mp-card--wide { grid-column: auto; }
  .app-grid,
  .trust-items { grid-template-columns: 1fr 1fr; }
  .trust-items li { border-right: none; border-bottom: none; }
  .switch-arrow { display: none; }
  .hero-stage { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .app-grid,
  .trust-items,
  .meta-grid { grid-template-columns: 1fr; }
  .hero-mark-icon { width: 46px; height: 46px; }
  .hero-stage { margin: 8px auto 0; }
  .trust-strip { margin-top: 48px; }
  .mk-section { padding-top: 72px; }
  .mk-band { padding: 80px 20px 72px; }
  .section-h2 { max-width: none; }
  .hero h1 { max-width: none; }
}
