:root { color-scheme: light; font-family: "IBM Plex Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #30353c; background: #e9ebee; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: #e9ebee; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.mono { font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.public-shell { width: min(1280px, 100%); min-height: 100vh; margin: 0 auto; overflow: hidden; background: #f3f4f5; box-shadow: 0 14px 44px rgba(35,40,46,.08); }
.public-header { height: 62px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(48,53,60,.10); background: rgba(251,251,252,.96); }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; }
.brand img { width: 24px; height: 24px; display: block; border-radius: 6px; }
.brand strong { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.alpha-badge { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(22,156,171,.10); color: #0f7b87; font: 650 11px/1.6 "IBM Plex Mono", "SFMono-Regular", monospace; letter-spacing: .08em; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switcher { display: inline-flex; align-items: center; gap: 6px; font: 650 12px/1 "IBM Plex Mono", "SFMono-Regular", monospace; }
.language-switcher a { min-height: 36px; display: inline-flex; align-items: center; text-decoration: none; color: #5f666c; }
.language-switcher a[aria-current="page"] { color: #30353c; }
.language-switcher span { color: #a4aab0; }
.header-projects { min-height: 38px; padding: 0 15px; display: inline-flex; align-items: center; border: 1px solid rgba(48,53,60,.16); border-radius: 9px; background: #fbfbfc; font-size: 14px; font-weight: 650; text-decoration: none; }
.header-projects:hover { border-color: rgba(15,123,135,.32); color: #0f7b87; }
.public-main { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { min-width: 0; padding: 62px 56px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; justify-items: center; text-align: center; }
.public-eyebrow { margin: 0; color: #5f666c; font: 650 12px/1 "IBM Plex Mono", "SFMono-Regular", monospace; letter-spacing: .15em; }
.hero-title { margin: 0; font-size: clamp(66px, 8.15vw, 104px); line-height: .92; letter-spacing: -.055em; font-weight: 650; word-break: keep-all; }
.hero-lead { max-width: 700px; margin: 0; color: #4c5359; font-size: 22px; line-height: 1.6; letter-spacing: -.015em; word-break: keep-all; }
.public-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.public-primary, .public-secondary { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 17px; text-decoration: none; }
.public-primary { background: #0f7b87; color: #fff; font-weight: 650; box-shadow: 0 8px 22px rgba(15,123,135,.22); }
.public-primary:hover { background: #0c6f79; }
.public-secondary { border: 1px solid rgba(48,53,60,.20); background: #fbfbfc; color: #30353c; }
.public-secondary:hover { border-color: rgba(15,123,135,.32); color: #0f7b87; }
.quick-note { color: #5f666c; font: 500 13px/1 "IBM Plex Mono", "SFMono-Regular", monospace; }
.flow-board { position: relative; height: 480px; overflow: hidden; border-top: 1px solid rgba(48,53,60,.10); border-bottom: 1px solid rgba(48,53,60,.10); background-color: #eef0f2; background-image: linear-gradient(#d7dbe0 .96px, transparent .96px), linear-gradient(90deg, #d7dbe0 .96px, transparent .96px), linear-gradient(#d7dbe0 .54px, transparent .54px), linear-gradient(90deg, #d7dbe0 .54px, transparent .54px); background-size: 170px 170px, 170px 170px, 34px 34px, 34px 34px; background-position: 24px 4px; }
.flow-board svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.board-level { position: absolute; left: 20px; top: 18px; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid rgba(48,53,60,.10); border-radius: 9px; background: rgba(251,251,252,.95); box-shadow: 0 3px 10px rgba(35,40,46,.07); }
.board-level-label { padding: 0 6px; color: #5f666c; font: 650 11px/1 "IBM Plex Mono", "SFMono-Regular", monospace; letter-spacing: .1em; }
.board-level-value { min-width: 34px; height: 27px; display: grid; place-items: center; border-radius: 6px; background: #f0f2f4; font: 650 12px/1 "IBM Plex Mono", "SFMono-Regular", monospace; }
.board-status { position: absolute; left: 50%; bottom: 18px; max-width: calc(100% - 36px); transform: translateX(-50%); padding: 8px 11px; border: 1px solid rgba(48,53,60,.10); border-radius: 9px; background: rgba(251,251,252,.95); box-shadow: 0 3px 10px rgba(35,40,46,.07); color: #2f8158; font: 500 12px/1.2 "IBM Plex Mono", "SFMono-Regular", monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.static-ball { display: none; }
.content-section { min-width: 0; padding: 72px 56px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-header h2, .share-copy h2 { margin: 0; font-size: 44px; line-height: 1.08; letter-spacing: -.04em; font-weight: 650; word-break: keep-all; }
.section-kicker { flex: none; color: #5f666c; font: 650 12px/1 "IBM Plex Mono", "SFMono-Regular", monospace; letter-spacing: .14em; }
.steps-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step-card { min-width: 0; padding: 18px; display: grid; gap: 16px; border: 1px solid rgba(48,53,60,.10); border-radius: 12px; background: #fbfbfc; }
.step-visual { height: 150px; overflow: hidden; position: relative; display: grid; place-items: center; border: 1px solid rgba(48,53,60,.10); border-radius: 9px; background: #f0f2f4; }
.step-visual.grid { background-color: #eef0f2; background-image: linear-gradient(#d7dbe0 .54px, transparent .54px), linear-gradient(90deg, #d7dbe0 .54px, transparent .54px); background-size: 22px 22px; }
.step-number { color: #5f666c; font: 650 11px/1 "IBM Plex Mono", "SFMono-Regular", monospace; letter-spacing: .12em; }
.step-card h3 { margin: 9px 0 6px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.step-card p { margin: 0; color: #5f666c; font-size: 14px; line-height: 1.7; }
.play-cluster { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid rgba(48,53,60,.10); border-radius: 9px; background: #fbfbfc; box-shadow: 0 3px 10px rgba(35,40,46,.07); }
.play-button-mini { min-height: 32px; min-width: 58px; padding: 0 10px; display: grid; place-items: center; border-radius: 6px; background: #0f7b87; color: #fff; font-size: 13px; font-weight: 650; }
.reset-mini { min-height: 32px; padding: 0 9px; display: grid; place-items: center; color: #555c64; font-size: 13px; }
.speed-mini { padding-left: 8px; display: inline-flex; align-items: center; gap: 6px; border-left: 1px solid rgba(48,53,60,.16); font: 650 11px/1 "IBM Plex Mono", "SFMono-Regular", monospace; color: #5f666c; }
.speed-mini strong { font-size: 12px; color: #30353c; }
.remote-mini { width: min(260px, calc(100% - 24px)); padding: 12px; display: grid; gap: 8px; align-content: start; }
.remote-mini-label { color: #6b52a8; font: 650 10px/1.2 "IBM Plex Mono", "SFMono-Regular", monospace; letter-spacing: .12em; }
.remote-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border: 1px solid rgba(48,53,60,.10); border-radius: 6px; background: #fbfbfc; }
.remote-toggle span { min-height: 28px; display: grid; place-items: center; border-radius: 6px; color: #555c64; font-size: 12px; }
.remote-toggle .active { background: #f4faf6; color: #2f8158; font-weight: 650; box-shadow: 0 3px 10px rgba(35,40,46,.07); }
.remote-generate { min-height: 32px; display: grid; place-items: center; border: 1px solid rgba(130,99,200,.22); border-radius: 6px; background: rgba(130,99,200,.08); color: #5f479b; font-size: 13px; font-weight: 650; }
.share-section { min-width: 0; margin-top: 76px; padding: 56px 56px 60px; border-top: 1px solid rgba(48,53,60,.10); background: #fbfbfc; }
.share-grid { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 560px; gap: 48px; align-items: center; }
.share-copy { min-width: 0; display: grid; gap: 22px; }
.share-copy > p { margin: 0; max-width: 540px; color: #4c5359; font-size: 17px; line-height: 1.8; word-break: keep-all; }
.share-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-chip { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid rgba(48,53,60,.14); border-radius: 999px; background: #f3f4f5; font-size: 13px; font-weight: 650; }
.flow-chip.share { border-color: rgba(15,123,135,.28); background: rgba(22,156,171,.08); color: #0f7b87; }
.flow-chip.remix { border-color: rgba(130,99,200,.28); background: rgba(130,99,200,.08); color: #5f479b; }
.flow-arrow { color: #169cab; font: 650 14px/1 "IBM Plex Mono", "SFMono-Regular", monospace; }
.share-demo { display: grid; gap: 12px; min-width: 0; }
.share-url { padding: 12px 14px; display: flex; align-items: center; gap: 10px; min-width: 0; border: 1px solid rgba(48,53,60,.14); border-radius: 9px; background: #f3f4f5; }
.share-url-icon { width: 16px; height: 16px; flex: none; color: #0f7b87; }
.share-url code { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 13px/1.4 "IBM Plex Mono", "SFMono-Regular", monospace; }
.copy-chip { flex: none; margin-left: auto; padding: 4px 9px; border: 1px solid rgba(48,53,60,.14); border-radius: 6px; background: #fbfbfc; color: #0f7b87; font-size: 12px; font-weight: 650; }
.shared-card { overflow: hidden; border: 1px solid rgba(48,53,60,.16); border-radius: 12px; background: #eef0f2; box-shadow: 0 16px 40px rgba(35,40,46,.13); }
.shared-card-header { height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(48,53,60,.10); background: rgba(251,251,252,.96); }
.shared-card-title { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
.shared-label { color: #5f666c; font: 650 10px/1.1 "IBM Plex Mono", "SFMono-Regular", monospace; letter-spacing: .13em; }
.shared-card-title strong { font-size: 12px; font-weight: 650; }
.shared-actions { display: inline-flex; gap: 6px; }
.shared-actions span { min-height: 26px; padding: 0 9px; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 650; }
.shared-play { background: #0f7b87; color: #fff; }
.shared-remix { border: 1px solid rgba(130,99,200,.28); background: rgba(130,99,200,.08); color: #5f479b; }
.shared-board { height: 232px; position: relative; background-color: #eef0f2; background-image: linear-gradient(#d7dbe0 .54px, transparent .54px), linear-gradient(90deg, #d7dbe0 .54px, transparent .54px); background-size: 26px 26px; }
.shared-board svg { width: 100%; height: 100%; }
.mechanism-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mechanism-card { min-height: 172px; padding: 22px; display: grid; gap: 14px; align-content: start; border: 1px solid rgba(48,53,60,.10); border-radius: 12px; background: #fbfbfc; }
.mechanism-card svg { width: 52px; height: 52px; }
.mechanism-card h3 { margin: 0 0 5px; font-size: 17px; font-weight: 650; }
.mechanism-card p { margin: 0; color: #5f666c; font-size: 14px; line-height: 1.7; }
.final-section { min-width: 0; padding: 76px 56px 72px; }
.try-card { min-width: 0; padding: 48px 40px; display: grid; justify-items: center; gap: 16px; border-radius: 16px; background: #30353c; color: #fff; text-align: center; }
.try-card h2 { margin: 0; font-size: 40px; line-height: 1.1; letter-spacing: -.04em; font-weight: 650; word-break: keep-all; }
.try-card p { max-width: 650px; margin: 0; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.75; }
.try-card .public-primary { margin-top: 8px; background: #169cab; color: #08252a; font-weight: 750; box-shadow: none; }
.try-card .public-primary:hover { background: #28aaba; }
.try-card .quick-note { color: rgba(255,255,255,.62); }
.public-footer { margin-top: 30px; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; border-top: 1px solid rgba(48,53,60,.12); color: #5f666c; font-size: 13px; }
.public-footer a { text-decoration: none; }
.public-footer a:hover { color: #0f7b87; }
.public-footer [aria-disabled="true"] { opacity: .7; cursor: help; }
.footer-alpha { font: 500 12px/1.6 "IBM Plex Mono", "SFMono-Regular", monospace; }
.public-language { margin-left: auto; display: inline-flex; gap: 8px; font: 650 12px/1 "IBM Plex Mono", "SFMono-Regular", monospace; }
.public-language a[aria-current="page"] { color: #30353c; }
.policy-shell { width: min(760px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; padding: 42px 0 34px; display: flex; flex-direction: column; }
.policy-main { flex: 1; }
.policy-back { display: inline-flex; margin-bottom: 30px; color: #5c6369; font-size: 13px; text-decoration: none; }
.policy-header { margin-bottom: 34px; }
.policy-header h1 { margin: 8px 0 12px; font-size: clamp(38px, 7vw, 62px); letter-spacing: -.045em; }
.policy-header p { margin: 0; color: #596066; font-size: 17px; line-height: 1.75; }
.policy-section { padding: 24px 0; border-top: 1px solid rgba(48,53,60,.12); }
.policy-section h2 { margin: 0 0 9px; font-size: 19px; }
.policy-section p { margin: 0; color: #4f565c; line-height: 1.85; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .moving-ball { display: none; } .static-ball { display: block; } }
@media (max-width: 980px) { .share-grid { grid-template-columns: minmax(0, 1fr); } .share-demo { max-width: 680px; width: 100%; } .section-header { align-items: flex-start; flex-direction: column; } }
@media (max-width: 720px) { .hero-copy { padding-left: 28px; padding-right: 28px; } .content-section, .share-section, .final-section { padding-left: 28px; padding-right: 28px; } .steps-grid, .mechanism-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  body { background: #f3f4f5; }
  .public-shell { width: 100%; box-shadow: none; }
  .public-header { height: 54px; padding: 0 16px; }
  .brand img { width: 22px; height: 22px; }
  .brand strong { font-size: 15px; }
  .alpha-badge, .header-projects { display: none; }
  .header-actions { gap: 2px; }
  .language-switcher { gap: 2px; font-size: 13px; }
  .language-switcher a { min-width: 44px; min-height: 44px; justify-content: center; }
  .hero-copy { padding: 30px 20px 22px; gap: 18px; justify-items: stretch; text-align: left; }
  .hero-copy > *, .content-section > *, .share-grid > *, .share-copy, .step-card > * { min-width: 0; max-width: 100%; }
  .public-eyebrow { font-size: 11px; letter-spacing: .14em; }
  .hero-title { font-size: clamp(40px, 10.8vw, 48px); line-height: 1.06; letter-spacing: -.045em; }
  .hero-title, .hero-lead, .section-header h2, .share-copy h2, .share-copy > p, .try-card h2 { word-break: normal; overflow-wrap: anywhere; }
  .hero-lead { font-size: 16px; line-height: 1.7; }
  .public-actions { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .public-primary, .public-secondary { width: 100%; max-width: 100%; min-height: 52px; padding: 0 16px; font-size: 16px; }
  .quick-note { min-width: 0; max-width: 100%; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
  .flow-board { height: 250px; background-size: 130px 130px, 130px 130px, 26px 26px, 26px 26px; background-position: 8px 6px; }
  .board-level { display: none; }
  .board-status { bottom: 12px; padding: 6px 9px; font-size: 11px; }
  .content-section { padding: 26px 20px 0; gap: 12px; }
  .section-header { gap: 0; }
  .section-header h2, .share-copy h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
  .section-kicker { display: none; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .step-card { min-height: 78px; padding: 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
  .step-visual { width: 34px; height: 34px; border: 0; background: none !important; overflow: visible; }
  .step-visual > :not(.mobile-step-icon) { display: none; }
  .mobile-step-icon { display: grid !important; }
  .step-number { display: none; }
  .step-card h3 { margin: 0; font-size: 15px; }
  .step-card p { margin-top: 3px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
  .share-section { margin-top: 26px; padding: 24px 20px; }
  .share-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .share-copy { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .share-copy .public-eyebrow { display: block; }
  .share-copy h2 { font-size: 24px; line-height: 1.2; }
  .share-copy > p { font-size: 15px; line-height: 1.75; }
  .share-demo { gap: 0; }
  .share-url { padding: 11px 12px; }
  .share-url code { font-size: 12px; }
  .copy-chip, .shared-card { display: none; }
  .share-flow { gap: 6px; }
  .flow-chip { min-height: 32px; padding: 0 11px; font-size: 12px; }
  .flow-arrow { font-size: 13px; }
  .mechanisms-section { display: none; }
  .final-section { padding: 26px 20px 30px; }
  .try-card { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 12px; }
  .try-card h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
  .try-card p { display: none; }
  .try-card .public-primary { margin-top: 0; }
  .public-footer { margin-top: 14px; padding-top: 10px; gap: 4px 10px; }
  .public-footer a, .public-footer [aria-disabled="true"] { min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; }
  .footer-alpha { display: none; }
  .public-language { margin-left: auto; gap: 2px; font-size: 13px; }
  .public-language a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .policy-shell { width: min(100% - 28px, 760px); padding: 28px 0 24px; }
}
