@charset "UTF-8";
:root { color-scheme: light; --paper: #f6f5ef; --ink: #153e35; --muted: #58675f; --line: #ced7ca; --accent: #d9ed80; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled, select:disabled { cursor: default; opacity: .6; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #08795c; outline-offset: 4px; }
.wrap { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-size: 25px; font-weight: 900; letter-spacing: -1.5px; }
.brand > span:first-child { font-weight: 400; }
.brand-dot { width: 8px; height: 8px; margin: 0 0 13px 5px; background: var(--ink); border-radius: 50%; }
.text-link { font-size: 13px; text-underline-offset: 5px; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; padding: 84px 0 90px; }
.eyebrow { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 2px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.5; letter-spacing: -.055em; margin: 24px 0; }
.hero h1 span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 14px; text-underline-offset: -6px; text-decoration-skip-ink: none; }
.hero-copy { font-size: 15px; line-height: 2; color: var(--muted); margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; gap: 36px; padding: 18px 22px; background: var(--ink); color: white; border: 0; border-radius: 4px; text-decoration: none; font-size: 13px; }
.button:hover { background: #25604f; }
.hero-note { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; background: var(--accent); border: 1px solid var(--ink); border-radius: 150px 150px 12px 12px; padding: 40px 25px 25px; transform: rotate(-4deg); box-shadow: 10px 10px 0 #e4e7da; }
.note-top, .note-bottom { text-align: center; font: 10px ui-monospace, monospace; letter-spacing: 2px; }
.connection { display: flex; align-items: center; justify-content: center; gap: 16px; }
.connection span { display: grid; place-items: center; height: 88px; width: 88px; background: var(--paper); border: 1px solid var(--ink); border-radius: 22px; font: 19px ui-monospace, monospace; box-shadow: 4px 4px 0 var(--ink); }
.connection b { font-size: 30px; font-weight: 400; }
.setup, .join { border-top: 1px solid var(--line); padding-block: 48px 60px; scroll-margin-top: 20px; }
.section-heading h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.035em; margin: 16px 0; }
.section-heading > p:last-child:not(.eyebrow) { font-size: 14px; color: var(--muted); line-height: 1.9; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 560px); justify-content: center; margin-top: 30px; }
.setup-grid > * { min-width: 0; }
.setup-action { margin-top: 24px; text-align: center; }
#setup-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--paper); }
#setup-dialog::backdrop { background: rgb(15 35 28 / 45%); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog-heading h2 { margin: 0; font-size: 18px; }
.dialog-heading form { flex-shrink: 0; }
label { display: block; font-size: 12px; font-weight: 600; }
select { width: 100%; margin-top: 10px; border: 1px solid #aab8ac; padding: 14px 12px; background: #fffef9; color: var(--ink); border-radius: 4px; font-size: 14px; }
.help { font-size: 12px; line-height: 1.8; color: var(--muted); }
.code-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; margin-bottom: 8px; }
.position-option { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-weight: 400; }
.small-button { background: transparent; color: var(--ink); border: 1px solid #aab8ac; border-radius: 4px; padding: 6px 10px; font-size: 11px; }
.small-button:hover:enabled { background: #e4eacc; }
textarea { display: block; width: 100%; min-height: 188px; resize: vertical; border: 1px solid var(--line); border-radius: 4px; padding: 14px; color: var(--ink); background: #edeFE6; font: 11px/1.8 ui-monospace, monospace; }
.preview-panel { align-self: start; border: 1px solid var(--line); border-radius: 6px; padding: 20px; background: #e9ede2; }
.preview-title { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 12px; }
.preview-title button { margin-left: auto; }
.live-dot { width: 6px; height: 6px; background: #367557; border-radius: 50%; }
.app-mock { border: 1px solid #c6d0c0; border-radius: 9px; overflow: hidden; background: #fffef9; }
.app-mock-header { display: flex; justify-content: space-between; padding: 16px; border-bottom: 1px solid #e4e9df; font-size: 12px; }
.app-mock-content { padding: 24px 18px 32px; }
.mock-caption { font-size: 12px; color: var(--muted); }
.mock-row { height: 8px; border-radius: 3px; background: #e6eadf; width: 85%; margin-top: 16px; }
.mock-row.short { width: 60%; margin-top: 8px; }
.mock-tile { height: 54px; border: 1px solid #e4e9df; border-radius: 5px; margin-top: 22px; }
.preview { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 72px; background: var(--paper); border-top: 1px solid var(--line); }
.preview > iframe { border: 0; display: block; width: 100%; max-width: 720px; }
.preview-help { text-align: center; margin-bottom: 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-block: 36px; }
.step-number { font: 13px ui-monospace, monospace; border-bottom: 1px solid #a2b19c; display: block; padding-bottom: 14px; }
.steps h3 { font-size: 16px; margin-top: 20px; }
.steps p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.site-footer { display: flex; align-items: center; gap: 40px; border-top: 1px solid var(--line); padding-block: 30px; }
.site-footer p { flex: 1; font-size: 11px; line-height: 1.8; color: var(--muted); }
.demo-banner { border: 1px solid #8c943e; background: #eff3d1; padding: 14px 18px; font-size: 12px; line-height: 1.7; }
.embed-page { background: transparent; }
.slot { height: 72px; width: 100%; padding: 4px; }
.slot-message { display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 13px; text-align: center; line-height: 1.8; }
.ad-card { position: relative; display: flex; height: 100%; background: #fffef9; border: 1px solid #bccab8; border-radius: 8px; text-decoration: none; overflow: hidden; }
.ad-card:hover { border-color: #34735a; }
.ad-card:focus-visible { outline-offset: 0; }
.ad-media { position: relative; width: 64px; height: 100%; flex: 0 0 64px; overflow: hidden; background: #dce7bb; }
.ad-media img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.image-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 9px ui-monospace, monospace; text-align: center; padding: 8px; }
.ad-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 4px 26px 4px 10px; }
.ad-label { margin: 0 0 2px; font-size: 9px; line-height: 1.3; color: #536649; white-space: nowrap; }
.ad-name { margin: 0 0 2px; font-size: 14px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.ad-description { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0; font-size: 11px; line-height: 1.5; color: #526050; }
.ad-arrow { position: absolute; right: 9px; top: 19px; font-size: 18px; }
@media (max-width: 360px) { .ad-media { width: 64px; flex-basis: 64px; } .ad-body { padding-left: 9px; } .ad-name { font-size: 13px; } }
@media (max-width: 760px) { .wrap { width: calc(100% - 40px); } .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 48px; } .hero-note { width: min(100%, 320px); min-height: 230px; justify-self: center; } .hero h1 { font-size: 42px; } .setup-grid { grid-template-columns: 1fr; gap: 28px; } .steps { grid-template-columns: 1fr; gap: 20px; } .steps h3 { margin-top: 14px; } .site-footer { gap: 20px; flex-wrap: wrap; } .site-footer p { flex-basis: 60%; } }
@media (max-width: 360px) { .preview-panel { padding: 10px 4px; } .hero h1 { font-size: 36px; } }
