/* 제품 상세 페이지 공용 셸: 부모(수퍼바이저) 소유 master.
   브랜드 색과 제품 전용 규칙만 각 <slug>/assets/styles.css 에 둔다.
   운영 규칙: .agents/tools/dev-landing/README.md */
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --surface: #fff;
  --ink: #202321;
  --muted: #626861;
  --line: #dedfd9;
  --accent: #b34722;
  --soft: #f0eee7;
  --focus: #a23c18;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #181a19;
  --surface: #202321;
  --ink: #f3f3ed;
  --muted: #b6bdb4;
  --line: #3c423c;
  --accent: #f3a17e;
  --soft: #252924;
  --focus: #f3a17e;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.045em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 3px; }
main:focus { outline: none; }
::selection { background: #efd1b8; color: #202321; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 96px; }
.soft-section { background: transparent; }
.hero + .section, .section + .section { border-top: 1px solid var(--line); }
.eyebrow { margin-bottom: 18px; color: var(--accent); font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: .035em; }
.accent { color: var(--accent); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .feature-copy h2, .feature-copy h3, .trust-grid h2, .final-inner h2 { font-size: clamp(28px, 3.2vw, 42px); }
.section-heading > p:not(.eyebrow) { margin-top: 18px; max-width: 640px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 25px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; max-width: 100%; padding: 12px 23px; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; }
.button:hover { background: var(--accent); color: var(--paper); text-decoration: none; }
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.button span, .text-link span { flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 650; line-height: 1.5; }
.text-link span { font-size: 19px; font-weight: 400; }
.skip-link { position: absolute; top: 10px; left: 10px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-brand { display: inline-flex; align-items: baseline; font-size: 24px; font-weight: 800; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.site-brand:hover { text-decoration: none; }
.site-brand > span { color: var(--accent); font-size: 34px; }
.top-nav { display: flex; align-items: center; gap: 28px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.theme-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 82px; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); padding: 8px; cursor: pointer; font-size: 12px; }
.theme-button:hover { color: var(--ink); background: var(--soft); }
.theme-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 72px; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { min-width: 0; }
.product-identity { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; font-size: 12px; color: var(--muted); }
.product-identity img { width: 40px; height: 40px; border-radius: 9px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.2; font-weight: 750; letter-spacing: -.065em; }
.hero-lead { max-width: 530px; margin-top: 25px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero .actions { margin-top: 30px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 12px; }
.hero-visual { min-width: 0; }
.hero-visual > a, .feature-visual > a { display: block; }
.visual-trigger { display: block; width: fit-content; max-width: 100%; margin-inline: auto; padding: 0; border: 0; background: transparent; color: inherit; cursor: zoom-in; border-radius: 13px; }
.visual-trigger > img { border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 16px 38px #17251b14; transition: transform .22s ease, box-shadow .22s ease; }
:root[data-theme="dark"] .visual-trigger > img { box-shadow: 0 18px 42px #0006; }
.visual-trigger > img:not(.phone-screen) { border-radius: 10px; box-shadow: 0 20px 46px #0003; }
:root[data-theme="dark"] .visual-trigger > img:not(.phone-screen) { box-shadow: 0 20px 48px #0007; }
@media (hover: hover) and (pointer: fine) {
  .visual-trigger:hover > img,
  .visual-trigger:focus-visible > img { transform: scale(1.03); box-shadow: 0 22px 48px #17251b22; }
  :root[data-theme="dark"] .visual-trigger:hover > img,
  :root[data-theme="dark"] .visual-trigger:focus-visible > img { box-shadow: 0 24px 54px #0009; }
}
.hero-visual .phone-screen { width: min(100%, 264px); margin-inline: auto; }
.phone-screen { width: min(100%, 264px); border: 1px solid var(--line); border-radius: 13px; }
figcaption { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.hero-visual figcaption, .feature-visual figcaption { text-align: center; }
figcaption strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 16px; font-weight: 650; }
figcaption span { display: block; }
.hero-wide { display: block; padding-top: 72px; }
.hero-wide .hero-copy { max-width: 800px; margin-inline: auto; text-align: center; }
.hero-wide .product-identity, .hero-wide .actions { justify-content: center; }
.hero-wide .hero-lead { max-width: 640px; margin-inline: auto; }
.hero-wide .hero-visual { margin-top: 50px; }
.hero-wide .hero-visual img { width: 100%; }
.facts-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; padding-block: 26px; padding-inline: 0; list-style: none; }
.facts-list strong { display: block; font-size: 17px; font-weight: 650; }
.facts-list span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.feature-row + .feature-row { margin-top: 90px; padding-top: 90px; border-top: 1px solid var(--line); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.feature-copy .text-link { margin-top: 22px; }
.bullet-list { margin-top: 25px; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding-left: 16px; margin-top: 9px; font-size: 14px; }
.bullet-list li::before { position: absolute; left: 0; top: .8em; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; content: ""; }
.feature-visual { min-width: 0; }
.feature-visual .phone-screen { margin-inline: auto; }
.feature-visual img:not(.phone-screen) { width: 100%; }
.feature-row + .detail-grid { margin-top: 72px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.detail-grid article { padding-top: 25px; border-top: 1px solid var(--line); }
.detail-grid h3 { margin-bottom: 15px; font-size: 21px; }
.detail-grid p { color: var(--muted); font-size: 14px; }
.detail-grid .text-link { margin-top: 13px; }
.detail-grid .eyebrow { color: var(--accent); font-size: 12px; }
.screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.screen-grid figure { min-width: 0; }
.screen-grid figure > .visual-trigger, .screen-grid figure > a, .screen-grid figure > div { display: block; background: transparent; padding: 0; }
.screen-grid img { width: 100%; }
.screen-grid .phone-screen { width: min(100%, 240px); margin-inline: auto; }
.screen-grid:not(.desktop-screens) figcaption { text-align: center; }
.desktop-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
.desktop-screens figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.desktop-screens .visual-trigger { align-self: center; }
.screen-note { margin-top: 22px; color: var(--muted); font-size: 12px; }
.image-lightbox { width: fit-content; min-width: min(300px, 94vw); max-width: min(94vw, 1180px); max-height: 94vh; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 28px 80px #0005; overflow: hidden; }
.image-lightbox[open] { display: flex; flex-direction: column; }
.image-lightbox::backdrop { background: rgba(18, 20, 19, .76); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.lightbox-caption { font-size: 13px; font-weight: 600; color: var(--ink); min-width: 0; }
.lightbox-close { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 650; cursor: pointer; }
.lightbox-close:hover { background: var(--soft); border-color: var(--ink); }
.lightbox-close:focus-visible { outline-offset: 2px; }
.lightbox-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--paper); overflow: auto; }
.lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 114px); border: 1px solid var(--line); border-radius: 10px; object-fit: contain; }
.workflow-grid, .trust-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: 90px; }
.workflow-grid .section-heading { margin: 0; }
.workflow-grid .text-link, .workflow-grid .actions { margin-top: 24px; }
.workflow-list { padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 36px 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.workflow-list li:first-child { padding-top: 0; border-top: 0; }
.workflow-list li:last-child { padding-bottom: 0; }
.workflow-list li > span { color: var(--accent); font-size: 12px; line-height: 2.3; font-variant-numeric: tabular-nums; }
.workflow-list h3 { margin-bottom: 10px; font-size: 19px; }
.workflow-list p { color: var(--muted); font-size: 14px; }
.trust-grid > div > p:not(.eyebrow), .trust-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.trust-list > div, .trust-list > article { padding-block: 23px; border-bottom: 1px solid var(--line); }
.trust-list > div:first-child, .trust-list > article:first-child { padding-top: 0; }
.trust-list strong, .trust-list h3 { display: block; margin-bottom: 9px; font-size: 17px; color: var(--ink); font-weight: 650; }
.trust-list p { color: var(--muted); font-size: 14px; }
.trust-list a:not(.text-link) { text-decoration: underline; text-underline-offset: .2em; }
.spec-list { margin-top: 26px; font-size: 13px; }
.spec-list > div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding-block: 9px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { color: var(--ink); }
.scope-note { font-size: 13px; }
.final-cta { padding-block: 70px; border-top: 1px solid var(--line); }
.final-inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.final-inner > div { min-width: 0; }
.final-inner p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 14px; }
.final-inner .actions { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.footer-inner > div > p { margin-top: 16px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  .top-nav { gap: 20px; }
  .hero { gap: 42px; }
  .hero-lead { font-size: 16px; }
  .feature-row, .workflow-grid, .trust-grid { gap: 50px; }
  .final-inner { align-items: start; flex-direction: column; gap: 28px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 56px; padding-bottom: 64px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(42px, 7vw, 58px); }
  .hero-visual .phone-screen { width: 240px; }
  .section { padding-block: 72px; }
  .feature-row, .workflow-grid, .trust-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-visual { order: initial; }
  .feature-row + .feature-row { margin-top: 64px; padding-top: 64px; }
  .feature-visual .phone-screen { width: 240px; }
  .detail-grid { gap: 25px; }
  .detail-grid h3 { font-size: 19px; }
  .screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 20px; }
  .footer-links { justify-content: start; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 132px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 106px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 0; padding-top: 9px; }
  .site-brand { font-size: 22px; }
  .site-brand > span { font-size: 31px; }
  .theme-button { grid-column: 2; grid-row: 1; min-width: 76px; justify-self: end; }
  .top-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; }
  .top-nav a { font-size: 12px; }
  .hero { padding-top: 44px; padding-bottom: 52px; gap: 32px; }
  .product-identity { margin-bottom: 25px; }
  .hero h1 { font-size: clamp(35px, 9.1vw, 50px); }
  .hero .eyebrow { font-size: 12px; margin-bottom: 16px; }
  .hero-lead { font-size: 15px; line-height: 1.85; margin-top: 23px; }
  .hero .actions { margin-top: 25px; gap: 10px 20px; }
  .hero-note { font-size: 11px; }
  .hero-visual .phone-screen { width: min(100%, 236px); }
  .hero-wide .hero-copy { text-align: left; }
  .hero-wide .product-identity, .hero-wide .actions { justify-content: start; }
  .hero-wide .hero-visual { margin-top: 32px; }
  .hero-wide .hero-visual figcaption { padding-inline: 6px; }
  .button { padding: 12px 19px; font-size: 13px; gap: 15px; }
  .text-link { font-size: 13px; }
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .facts-list strong { font-size: 15px; }
  .facts-list span { font-size: 11px; }
  .section { padding-block: 56px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading > p:not(.eyebrow), .feature-copy > p:not(.eyebrow), .trust-grid > div > p:not(.eyebrow) { font-size: 14px; }
  .section-heading h2, .feature-copy h2, .feature-copy h3, .trust-grid h2, .final-inner h2 { font-size: 28px; }
  .feature-row, .workflow-grid, .trust-grid { gap: 30px; }
  .feature-row + .feature-row { margin-top: 48px; padding-top: 48px; }
  .detail-grid, .screen-grid { grid-template-columns: 1fr; gap: 32px; }
  .desktop-screens figure { display: block; }
  .feature-row + .detail-grid { margin-top: 48px; }
  .detail-grid article { padding-top: 22px; }
  .detail-grid h3 { font-size: 20px; }
  .screen-grid .phone-screen { width: min(100%, 240px); }
  .image-lightbox { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: 90vh; border-radius: 12px; }
  .lightbox-bar { padding: 10px 12px 10px 16px; }
  .lightbox-caption { font-size: 12px; }
  .lightbox-stage { padding: 12px; }
  .lightbox-image { max-height: calc(90vh - 96px); }
  .workflow-list li { gap: 14px; grid-template-columns: 26px 1fr; }
  .spec-list > div { grid-template-columns: 70px 1fr; gap: 14px; }
  .final-cta { padding-block: 52px; }
  .final-inner { gap: 25px; }
  .final-inner .actions { flex-shrink: 1; }
  .footer-links { gap: 3px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .visual-trigger > img { transition: none; }
}
@media (forced-colors: active) { .button, .phone-screen, .visual-trigger > img { border: 1px solid ButtonText; } }
@media print { .site-header { position: static; } .theme-button, .skip-link { display: none; } .feature-row, .screen-grid figure { break-inside: avoid; } }
