/*
 * Sitrilo 공개 메인 페이지. 색 토큰은 web/src/app/globals.css·field/src/styles.css와 같은 값
 * (2026-10-04 채택 시안): 제품 색은 청록 하나, 주황은 "확인이 필요함"에만 쓴다.
 * 외부 글꼴·스크립트를 불러오지 않는다 — CSP가 'self'만 허용한다.
 */
:root {
  color-scheme: light;
  --ink: #111b22; --ink-2: #4a5a66; --paper: #f4f4f1; --surface: #ffffff; --sunken: #eaebe7;
  --rule: #d3dadf; --accent: #14607a; --accent-ink: #ffffff; --accent-soft: #e2eff3;
  --signal: #d9691e; --warn-ink: #8a3b12; --warn-bg: #fdefe4; --ok-ink: #145c3a;
  --r-s: 6px; --r-m: 12px; --r-l: 24px;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Noto Sans KR", sans-serif;
  --shadow: 0 1px 2px rgba(17,27,34,.06), 0 12px 32px rgba(17,27,34,.08);
}
/* 기본은 밝게. 어둡게는 상단 버튼(스크립트 없는 checkbox)으로만 켠다(owner 2026-10-16). */
:root:has(#theme-dark:checked) {
  color-scheme: dark;
  --ink: #e8eef2; --ink-2: #9db0bd; --paper: #0e1418; --surface: #172027; --sunken: #0b1014;
  --rule: #2a3741; --accent: #63b6cf; --accent-ink: #0d1418; --accent-soft: #16303a;
  --signal: #f0a060; --warn-ink: #f0b183; --warn-bg: #34231a; --ok-ink: #8fd3ae;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* header */
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 1.25rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 16px; height: 16px; stroke: var(--accent-ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
nav.main { display: flex; gap: 1.4rem; margin-left: auto; font-size: .95rem; color: var(--ink-2); }
nav.main a { text-decoration: none; }
nav.main a:hover { color: var(--ink); }
.lang { font-size: .85rem; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 99px; padding: .25rem .7rem; text-decoration: none; white-space: nowrap; }
.lang:hover { color: var(--ink); border-color: var(--ink-2); }
.theme { position: relative; display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 99px; padding: .25rem .7rem; cursor: pointer; white-space: nowrap; user-select: none; }
.theme:hover { color: var(--ink); border-color: var(--ink-2); }
.theme input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.theme:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.theme svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme .to-light, .theme:has(input:checked) .to-dark { display: none; }
.theme:has(input:checked) .to-light { display: inline-flex; align-items: center; gap: .35rem; }
.theme .to-dark { display: inline-flex; align-items: center; gap: .35rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: 0 1.2rem;
  border-radius: var(--r-s); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; text-align: center; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--rule); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-invert { background: var(--accent-ink); color: var(--accent); }
.btn-top { min-height: 38px; font-size: .9rem; white-space: nowrap; }

/* hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); flex: none; }
h1 { font-size: clamp(2rem, 1.15rem + 2.7vw, 3.2rem); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 1.25rem; font-weight: 750; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 2rem; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-note { margin-top: 1.25rem; font-size: .88rem; color: var(--ink-2); }
.stage { position: relative; padding-bottom: 2.5rem; }
.browser { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-m); box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-bottom: 1px solid var(--rule); background: var(--sunken); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.browser-bar span { margin-left: .6rem; font-size: .72rem; color: var(--ink-2); background: var(--surface); padding: .1rem .7rem; border-radius: 99px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.phone { position: absolute; right: -1.25rem; bottom: 0; width: 31%; min-width: 140px; border-radius: 28px; padding: 7px; background: #0b1014; box-shadow: var(--shadow); }
.phone img { border-radius: 22px; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; width: 100%; }
.demo-tag { position: absolute; left: .9rem; bottom: .3rem; max-width: 58%; margin: 0; font-size: .78rem; line-height: 1.35; color: var(--ink-2); }

/* sections */
section { padding: 4.5rem 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.kicker { font-size: .85rem; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: .6rem; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.3; letter-spacing: -.03em; margin: 0 0 .8rem; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 1.05rem; }
.icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* before / after */
.day { border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.day-head, .day-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 4fr) minmax(0, 4fr); }
.day-head span { padding: .75rem 1.25rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.day-head span:last-child { color: var(--accent); }
.day-row + .day-row { border-top: 1px solid var(--rule); }
.day-row > * { padding: 1.15rem 1.25rem; margin: 0; }
.day-row b { font-size: .98rem; }
.day-row .before { color: var(--ink-2); }
.day-row .after { background: var(--accent-soft); color: var(--ink); font-weight: 500; }
.day-row .tag { display: none; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pillar { padding: 1.5rem 1.3rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--rule); }
.pillar b { display: block; font-size: 1.05rem; margin: .9rem 0 .45rem; letter-spacing: -.01em; }
.pillar p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* meeting band */
.meeting { background: var(--accent); color: var(--accent-ink); }
.meeting .kicker { color: inherit; opacity: .8; }
.meeting p { margin: 0; opacity: .9; font-size: 1.05rem; }
.meeting-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: center; }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.agenda li { display: flex; gap: .75rem; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-m); padding: 1rem 1.1rem; font-weight: 600; }
.agenda span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-ink); color: var(--accent); font-size: .85rem; }

/* screens */
.banner { background: var(--accent-soft); color: var(--ink); border-radius: var(--r-s); padding: .75rem 1rem; font-size: .92rem; margin: 0 0 1.75rem; }
.screens { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 2rem 1.75rem; align-items: start; }
figure { margin: 0; }
figcaption { margin-top: .8rem; font-size: .9rem; color: var(--ink-2); }
figcaption b { color: var(--ink); font-weight: 600; }
.shot { border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.shot.crop img { aspect-ratio: 16 / 7.6; object-fit: cover; object-position: top left; }
.shot.phone-shot { border-radius: 26px; padding: 6px; background: #0b1014; border: 0; }
.shot.phone-shot img { border-radius: 20px; aspect-ratio: 9 / 16.5; object-fit: cover; object-position: top; }
.screens figure:nth-child(3) { order: 4; }
.screens figure:nth-child(4) { order: 3; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.roadmap > div { padding: 1.5rem 1.4rem; border-radius: var(--r-m); border: 1px dashed var(--rule); background: var(--surface); }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 99px; padding: .1rem .6rem; }
.roadmap b { display: block; font-size: 1.05rem; margin: .8rem 0 .4rem; }
.roadmap p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.fineprint { margin: 1.25rem 0 0; font-size: .85rem; color: var(--ink-2); }

/* fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fit-card { border-radius: var(--r-m); padding: 1.6rem 1.5rem; border: 1px solid var(--rule); background: var(--paper); }
.fit-card h3 { margin: 0 0 1rem; font-size: 1.12rem; }
.fit-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.fit-card li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; color: var(--ink-2); font-size: .96rem; }
.fit-card li svg { width: 18px; height: 18px; margin-top: .2rem; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.yes li svg { stroke: var(--ok-ink); }
.no li svg { stroke: var(--ink-2); }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.trust > div { padding: 1.3rem 1.25rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--rule); }
.trust b { display: block; margin: .65rem 0 .3rem; }
.trust p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* pilot */
.pilot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: stretch; }
.pilot-card { background: var(--accent); color: var(--accent-ink); border-radius: var(--r-l); padding: 2.2rem 2rem; }
.pilot-card .kicker { color: inherit; opacity: .8; }
.pilot-card p { opacity: .92; margin: 0 0 1.5rem; }
.pilot-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.75rem; }
.pilot-facts div { background: rgba(255,255,255,.12); border-radius: var(--r-s); padding: .8rem .85rem; }
.pilot-facts b { display: block; font-size: 1.3rem; letter-spacing: -.02em; }
.pilot-facts span { font-size: .82rem; opacity: .88; }
.price { border: 1px solid var(--rule); border-radius: var(--r-l); padding: 2rem; background: var(--paper); display: flex; flex-direction: column; }
.price .label { font-size: .85rem; color: var(--ink-2); }
.price .value { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: .2rem 0 1rem; }
.price p { color: var(--ink-2); margin: 0 0 .8rem; font-size: .95rem; }
.price ul { margin: auto 0 0; padding: 1rem 0 0 1.1rem; border-top: 1px solid var(--rule); display: grid; gap: .45rem; font-size: .9rem; color: var(--ink-2); }

/* faq */
.faq { max-width: 48rem; }
details { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: .7rem 0 0; color: var(--ink-2); }

/* contact */
.final { text-align: center; padding: 5rem 0; }
.final p { color: var(--ink-2); margin: 0 auto 1.8rem; max-width: 34rem; }
.final .cta-row { justify-content: center; }
.final .mail { margin: 1.2rem 0 0; font-size: .9rem; }

footer { border-top: 1px solid var(--rule); padding: 2rem 0 2.5rem; font-size: .85rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
footer .fine { font-size: .8rem; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound p { color: var(--ink-2); }

@media (max-width: 1000px) {
  .hero .wrap, .pilot, .meeting-inner { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust, .roadmap { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; }
  .theme { margin-left: auto; }
  .screens { grid-template-columns: 1fr 1fr; }
  .screens .wide { grid-column: 1 / -1; }
  .screens figure:nth-child(3), .screens figure:nth-child(4) { order: 0; }
}
@media (max-width: 700px) {
  .hero { padding-top: 2.5rem; }
  .pillars, .fit, .trust, .roadmap, .agenda { grid-template-columns: 1fr; }
  .day-head { display: none; }
  .day-row { grid-template-columns: 1fr; }
  .day-row > * { padding: .7rem 1.1rem; }
  .day-row b { padding-top: 1.1rem; }
  .day-row .after { margin: 0 .6rem .8rem; border-radius: var(--r-s); }
  .day-row .tag { display: block; font-size: .75rem; font-weight: 600; color: var(--ink-2); margin-bottom: .2rem; }
  .day-row .after .tag { color: var(--accent); }
  .pilot-facts { grid-template-columns: 1fr 1fr; }
  .phone { right: -.25rem; width: 36%; }
  section { padding: 3.25rem 0; }
  .btn-top { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .screens { grid-template-columns: 1fr; }
  .screens .phone-shot { max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.shot-open { display: block; color: inherit; }
.shot-open:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r-m); }
.zoom-hint { display: none; margin-top: .5rem; font-size: .85rem; color: var(--ink-2); }
@media (max-width: 640px) { .zoom-hint { display: block; } }
