.home { --home-accent: #fee500; }
.home .wrap { width: min(100% - 64px, 1140px); }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); opacity: 0; pointer-events: none; }
.skip-link:focus { transform: translateY(0); opacity: 1; pointer-events: auto; }
.site-header { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 760; letter-spacing: -0.035em; text-decoration: none; }
.wordmark img { flex-shrink: 0; }
.wordmark-ko { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 5px; }
.site-header nav { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 550; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-header .nav-start { padding: 9px 18px; border: 1px solid var(--line); border-radius: 8px; }
.home-hero { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; padding: 26px 0 72px; border-top: 0; }
.hero-intro, .start-panel { min-width: 0; }
.hero-intro { align-self: start; padding-top: 44px; }
.home-hero h1 { font-size: clamp(40px, 4.5vw, 61px); font-weight: 720; line-height: 1.2; letter-spacing: -0.04em; margin: 0 0 28px; text-wrap: balance; }
.home-hero h1 span { color: var(--ink); }
.hero-description { font-size: 18px; line-height: 1.8; color: var(--muted); margin: 0; max-width: 32em; }
.address-line { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 42px; }
.address-line span { font-size: 13px; color: var(--muted); }
.address-line a { font-size: 21px; font-weight: 620; letter-spacing: -0.025em; text-decoration-color: var(--home-accent); text-decoration-thickness: 6px; text-underline-offset: 4px; }
.hero-detail { margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 580; font-size: 14px; text-decoration: none; }
.shortcut { margin-top: 32px; }
.home svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.start-panel { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); scroll-margin-top: 24px; }
.start-panel h2 { font-size: 22px; line-height: 1.4; font-weight: 680; letter-spacing: -0.025em; margin: 0 0 6px; }
.panel-intro { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.start-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.start-steps > li { position: relative; }
.step-index { position: absolute; top: 0; left: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--ink); font-size: 12px; font-weight: 700; }
.start-steps legend, .start-steps label, .step-label { display: block; padding: 0 0 0 32px; margin: 0 0 12px; font-size: 14px; font-weight: 620; line-height: 22px; }
.host-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.host-fieldset legend { width: 100%; }
.host-picker { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; }
.host-picker button { font: inherit; font-size: 13px; font-weight: 560; min-height: 46px; padding: 10px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); cursor: pointer; display: flex; justify-content: center; gap: 6px; align-items: center; }
.host-picker button[aria-pressed="true"] { border-color: var(--ink); background: var(--accent-soft); }
.selected-dot { display: none; }
[aria-pressed="true"] .selected-dot { opacity: 1; }
.start-panel textarea { display: block; width: 100%; min-height: 112px; resize: vertical; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; caret-color: var(--ink); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 8px; padding: 11px 16px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.copy-prompt, .open-step .button { width: 100%; }
.copy-prompt { margin-top: 10px; }
.copy-prompt.is-copied { background: var(--accent-soft); color: var(--ink); border-color: var(--line); }
.copy-prompt.is-copied .copy-symbol { display: none; }
.copy-prompt.is-copied [data-copy-label]::before { content: ''; display: inline-block; width: 6px; height: 11px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); margin-right: 12px; }
.copy-feedback { margin: 17px 0 0; min-height: 3.4em; font-size: 12px; line-height: 1.7; color: var(--muted); }
.host-note { font-size: 12px; line-height: 1.7; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.home section:not(.home-hero) { padding: 70px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 36px; }
.home .section-heading h2, .questions-section > h2 { font-size: 32px; line-height: 1.35; letter-spacing: -0.03em; font-weight: 670; margin: 0; text-wrap: balance; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.use-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 0; border-top: 1px solid var(--line); align-items: center; }
.use-row h3 { font-size: 19px; font-weight: 630; margin: 0 0 8px; }
.use-row p { max-width: 36em; margin: 0; font-size: 15px; color: var(--muted); }
.use-row blockquote { margin: 0; padding: 20px 24px; background: var(--accent-soft); border-radius: 12px; color: var(--ink); font-size: 19px; line-height: 1.6; font-weight: 540; }
.status-list { margin: 0; }
.status-list > div { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding: 24px 0; }
.status-list dt { font-size: 16px; font-weight: 600; }
.status-list dd { margin: 0; }
.status-list p { font-size: 14px; color: var(--muted); margin: 10px 0 0; max-width: 40em; }
.state-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.state-label.available { background: var(--accent-soft); color: var(--ink); padding: 4px 8px; border-radius: 5px; }
.questions-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.questions { min-width: 0; }
.questions details { padding: 0; margin: 0; }
.questions details:first-child { border-top: 0; }
.questions summary { font-size: 15px; line-height: 1.7; font-weight: 570; padding: 18px 28px 18px 0; color: var(--ink); list-style: none; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ''; position: absolute; right: 3px; top: 24px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.questions details[open] summary::after { transform: rotate(225deg); top: 28px; }
.questions p { margin: 0; padding: 0 20px 22px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.ai-resource-section h2 { font-size: 20px; font-weight: 650; margin-bottom: 14px; }
.ai-resource-section > p { font-size: 14px; color: var(--muted); max-width: 70ch; margin: 0; }
.ai-resource-section .resource-links { margin: 18px 0 28px; }
.technical-guide > summary { font-size: 13px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; padding: 38px 0; }
.site-footer .wordmark { font-size: 22px; }
.site-footer p { margin: 8px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: start; gap: 24px; font-size: 13px; padding-top: 7px; }
.site-footer .independence { grid-column: 1/-1; margin: 0; font-size: 11px; color: var(--muted); }
.home :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.home ::selection { background: var(--accent-soft); color: var(--ink); }
.home button:disabled, .home .button[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.flow-page .home-hero { padding-top: 48px; }
.flow-page .hero-intro h1 { font-size: clamp(34px, 4vw, 50px); }

@media (hover: hover) and (pointer: fine) {
  .button, .host-picker button { transition: transform 150ms cubic-bezier(0.23,1,0.32,1); }
  .button:active, .host-picker button:active { transform: scale(0.98); }
  .button-secondary:hover, .host-picker button[aria-pressed="false"]:hover, .nav-start:hover { border-color: var(--muted); }
  .site-header a:not(.wordmark):hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
}
@media (max-width: 1000px) {
  .home-hero { grid-template-columns: 1fr 400px; gap: 36px; }
  .home-hero h1 { font-size: 44px; }
  .start-panel { padding: 24px; }
  .hero-description { font-size: 16px; }
}
@media (max-width: 760px) {
  .home .wrap { width: min(100% - 40px, 560px); }
  .site-header { min-height: 78px; gap: 16px; }
  .wordmark { font-size: 22px; }
  .wordmark-ko { display: none; }
  .site-header nav { font-size: 12px; gap: 16px; }
  .site-header nav a[href="#how"], .site-header nav a[href="/#how"] { display: none; }
  .site-header .nav-start { padding: 7px 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 34px; padding: 34px 0 54px; }
  .hero-intro { padding-top: 0; }
  .home-hero h1 { font-size: clamp(34px, 9vw, 48px); margin-bottom: 20px; }
  .hero-description { font-size: 16px; }
  .address-line { margin-top: 26px; }
  .address-line a { font-size: 18px; }
  .hero-detail { display: none; }
  .shortcut { margin-top: 22px; font-size: 13px; }
  .start-panel { padding: 24px 20px; }
  .start-panel h2 { font-size: 20px; }
  .host-picker { grid-template-columns: 1fr 1fr; }
  .host-picker button { justify-content: space-between; padding-inline: 14px; font-size: 14px; }
  .selected-dot { display: block; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; opacity: 0; }
  .start-panel textarea { font-size: 16px; min-height: 160px; }
  .copy-feedback { min-height: 3.4em; }
  .home section:not(.home-hero) { padding: 46px 0; }
  .section-heading, .use-row, .status-list > div, .questions-section { grid-template-columns: 1fr; gap: 20px; }
  .home .section-heading h2, .questions-section > h2 { font-size: 27px; }
  .section-heading { margin-bottom: 28px; }
  .use-row { padding: 24px 0; }
  .use-row blockquote { font-size: 17px; padding: 18px 20px; }
  .status-list > div { gap: 10px; padding: 22px 0; }
  .questions-section { gap: 22px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .footer-links { gap: 20px; }
  .flow-page .home-hero { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { scroll-behavior: auto; transition-duration: 0ms; animation-duration: 0ms; }
}
.home button:focus-visible, .home .button:focus-visible { transition: none; }

/* 첫 화면: 카톡 여러 방 관제(2026-11-16). 오른쪽은 제품 움직임(demo.css). */
.control-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
.control-hero .eyebrow { margin: 0 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.control-hero .hero-detail a { color: inherit; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.safety-list li { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 20px; }
.safety-list b { display: block; font-size: 16px; margin-bottom: 8px; }
.safety-list span { display: block; font-size: 14px; line-height: 1.75; color: var(--muted); }
.home .start-section { border-top: 1px solid var(--line); padding: 70px 0; }
.start-section h2 { font-size: 32px; line-height: 1.35; letter-spacing: -0.03em; font-weight: 670; margin: 0 0 20px; text-wrap: balance; }
.start-section .shortcut { margin-top: 22px; }
@media (max-width: 1000px) {
  .control-hero { grid-template-columns: 1fr; }
  .control-hero .demo { max-width: 600px; }
  .safety-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-actions > .button { flex: 1 1 100%; }
  .safety-list { grid-template-columns: 1fr; }
  .home .start-section { padding: 46px 0; }
  .start-section h2 { font-size: 27px; }
}
