:root {
  color-scheme: light;
  --navy: #152238;
  --ink: #172136;
  --muted: #4d5b6c;
  --paper: #f7f5f0;
  --white: #fffefa;
  --line: #dedfd9;
  --accent: #a83d29;
  --radius: 20px;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); line-height: 1.6; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #bb5e3b; outline-offset: 5px; }
[id] { scroll-margin-top: 1.35rem; }
h1, h2, h3, h4, p { margin: 0; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .6rem; left: .6rem; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: .65rem; font-size: 1.08rem; font-weight: 850; letter-spacing: -.055em; }
.brand-mark { width: 1.35rem; height: 1.35rem; background: var(--navy); border-radius: .33rem; position: relative; display: inline-block; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: .16rem; border-radius: 2px; top: .28rem; bottom: .28rem; background: #fffefa; transform: skew(-17deg); }
.brand-mark::before { left: .42rem; }
.brand-mark::after { right: .42rem; background: #ffc5ad; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.15rem); font-size: .9rem; font-weight: 750; }
nav a:hover, .quiet-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-action { border: 1px solid #adb2b5; border-radius: 8px; padding: .55rem .8rem; white-space: nowrap; }
.nav-action span, .quiet-link span { margin-left: .17rem; }
.hero { background: var(--paper); padding: clamp(52px, 8vw, 113px) 0 clamp(60px, 8vw, 110px); }
.hero-grid, .console-grid { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: clamp(34px, 6vw, 82px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; color: var(--accent); font-size: .82rem; font-weight: 800; }
.eyebrow > span { width: .55rem; height: .55rem; background: #b34d35; border-radius: 50%; }
h1 { font-size: clamp(2.65rem, 5.15vw, 4.65rem); line-height: 1.12; letter-spacing: -.085em; font-weight: 880; }
h1 em { color: var(--accent); font-style: normal; }
.lede { max-width: 32rem; margin-top: 1.35rem; color: var(--muted); font-size: clamp(.98rem, 1.5vw, 1.15rem); line-height: 1.85; }
.hero-actions { margin-top: 1.9rem; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; }
.button, .quiet-link { min-height: 44px; display: inline-flex; align-items: center; gap: .65rem; font-size: .9rem; font-weight: 800; }
.button { padding: .68rem 1rem; border-radius: 8px; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #2c3b52; }
.quiet-link { color: var(--ink); }
.demo { background: #162337; color: #f6f6f1; padding: clamp(18px, 3vw, 30px); border-radius: var(--radius); box-shadow: 0 22px 42px #1b273121; }
.demo-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.demo-heading h2 { font-size: 1.21rem; letter-spacing: -.035em; }
.demo-heading p { color: #c1cad7; font-size: .82rem; }
.demo-icon { display: flex; justify-content: center; align-items: flex-end; gap: 3px; width: 40px; height: 40px; padding: 11px; border-radius: 10px; background: #314258; flex-shrink: 0; }
.demo-icon i { display: block; width: 4px; border-radius: 4px; height: 9px; background: #ffc5ad; }
.demo-icon i:nth-child(2) { height: 16px; }
.demo-icon i:nth-child(3) { height: 12px; }
.scenarios { min-width: 0; display: grid; grid-template-columns: .92fr .9fr 1.25fr; gap: .35rem; border: 0; padding: .25rem; margin: 0 0 1rem; border-radius: 10px; background: #101b2d; }
.scenarios button { min-height: 44px; color: #d6dee8; background: transparent; border: 1px solid transparent; border-radius: 7px; padding: .3rem .12rem; font-size: clamp(.73rem, 1.24vw, .86rem); font-weight: 750; cursor: pointer; }
.scenarios button[aria-pressed="true"] { color: #182237; background: #fff0e4; }
.scenarios button[aria-pressed="false"]:hover { background: #28394e; }
.scenarios button:focus-visible { outline-color: #ffbd9d; outline-offset: 1px; }
.inspection { display: grid; gap: .55rem; }
.sample { padding: .8rem .85rem; min-height: 94px; border: 1px solid #405169; border-radius: 10px; background: #1e2e43; overflow-wrap: anywhere; }
.sample-label { display: block; margin-bottom: .28rem; color: #becbda; font-size: .74rem; font-weight: 720; }
.sample p { font-size: .93rem; }
.sample-result { background: #22334a; }
mark { color: #ffe0cc; background: #725045; border-radius: .2rem; padding: .02em .16em; box-decoration-break: clone; }
.decision { --decision: #ffd0ba; display: flex; align-items: center; flex-wrap: wrap; column-gap: .48rem; row-gap: .1rem; min-height: 34px; padding: .12rem .12rem; font-size: .8rem; color: #d3dce6; }
.decision[data-tone="allow"] { --decision: #a3e3c1; }
.decision[data-tone="block"] { --decision: #ffb8b9; }
.decision strong { color: var(--decision); margin-right: .2rem; }
.decision-dot { background: var(--decision); width: .5rem; height: .5rem; border-radius: 50%; }
.section { padding: clamp(54px, 7vw, 95px) 0; }
.section h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.21; letter-spacing: -.075em; font-weight: 850; }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, .9fr); align-items: end; gap: 1.4rem 2rem; margin-bottom: 2rem; }
.section-head > p, .console-copy > p { max-width: 34rem; color: var(--muted); line-height: 1.85; }
.flow, .pilot-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; list-style: none; padding: 0; margin: 0; }
.flow li { padding: 1.35rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #faf9f5; }
.flow-tag { display: inline-block; padding: .2rem .46rem; background: #f8e5d9; color: #913e2b; border-radius: 4px; font-size: .77rem; font-weight: 800; }
.flow-tag-model { background: #e9edf1; color: #37465a; }
.flow h4, .pilot-list h3 { margin: .6rem 0 .3rem; font-size: 1.2rem; letter-spacing: -.045em; }
.flow p, .pilot-list p, .flow-note { color: var(--muted); font-size: .94rem; }
.flow-note { margin-top: .85rem; }
.stage-number { display: inline-grid; place-items: center; flex: 0 0 auto; width: 1.3rem; height: 1.3rem; border-radius: 50%; font-size: .72rem; line-height: 1; font-weight: 850; }
.flow .flow-tag { display: inline-flex; align-items: center; gap: .34rem; }
.flow .stage-number { background: #ffffffa6; }
.flow > li:target { outline: 2px solid #a83d29; outline-offset: 2px; }
.flow-example-title { margin: 1.7rem 0 .75rem; font-size: 1.13rem; letter-spacing: -.035em; }
.flow-sample { display: grid; gap: .5rem; margin: .9rem 0 0; }
.flow-sample > div { border: 1px solid #e4e3df; border-radius: 8px; padding: .62rem .68rem; background: #fffefa; }
.flow-sample dt { color: var(--muted); font-size: .74rem; font-weight: 780; }
.flow-sample dd { margin: .23rem 0 0; color: var(--ink); font-size: .86rem; line-height: 1.65; overflow-wrap: anywhere; }
.flow-sample mark { background: #f6e4d9; color: #843a28; }
.console-section { background: #f1f2ed; border-block: 1px solid #e2e5dd; }
.console-copy > p { margin-top: .95rem; }
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.feature-list li { display: grid; grid-template-columns: 5.2rem 1fr; gap: .5rem; padding: .68rem 0; border-top: 1px solid #d5d9d2; font-size: .92rem; }
.feature-list span { color: var(--muted); }
.console-preview { overflow: hidden; border: 1px solid #d2d8d6; border-radius: var(--radius); background: #fff; box-shadow: 0 14px 32px #1b273113; }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: .45rem 1rem; flex-wrap: wrap; background: var(--navy); color: white; padding: 1rem 1.2rem; }
.console-bar h3 { font-size: 1rem; }
.console-bar span { color: #d7e2ef; font-size: .78rem; }
.console-body { padding: 1.2rem; }
.policy-heading { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.policy-heading span { color: var(--muted); font-size: .78rem; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .86rem; }
th, td { padding: .55rem .4rem; border-bottom: 1px solid #e6e9ea; }
thead th { font-size: .77rem; color: var(--muted); background: #f5f6f7; }
tbody th { font-weight: 700; }
.chip { white-space: nowrap; padding: .15rem .45rem; border-radius: 5px; font-size: .73rem; font-weight: 750; }
.chip-mask { background: #faece3; color: #874527; }
.chip-block { background: #f9e9ec; color: #973741; }
.audit { background: #f5f6f8; padding: .75rem; margin-top: 1rem; border-radius: 8px; }
.audit h4 { font-size: .84rem; }
.audit dl { display: flex; flex-wrap: wrap; gap: .35rem .95rem; margin: .38rem 0 0; font-size: .77rem; }
.audit dl > div { display: flex; gap: .3rem; }
.audit dt { color: var(--muted); }
.audit dd { margin: 0; font-weight: 700; }
.pilot-list { margin-bottom: 1.35rem; }
.pilot-list li { border-top: 2px solid #bb694e; padding: 0 .4rem 0 0; }
footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner p { color: var(--muted); font-size: .83rem; }
@media (max-width: 850px) {
  .shell { width: min(100% - 56px, 720px); }
  .hero-grid, .console-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
  .demo { max-width: 42rem; }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .brand { gap: .4rem; font-size: .96rem; }
  .brand-mark { transform: scale(.89); }
  nav { gap: .6rem; font-size: .76rem; }
  nav a:first-child, nav a:nth-child(2) { display: none; }
  .section-head, .flow, .pilot-list { grid-template-columns: 1fr; }
  .section-head { gap: .8rem; margin-bottom: 1.3rem; }
  .section h2 br { display: none; }
  .flow { gap: .64rem; }
  .pilot-list { gap: 1rem; }
  .footer-inner { align-items: flex-start; justify-content: center; flex-direction: column; gap: .25rem; padding-block: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.architecture-disclosure { margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #f3f4f1; }
.architecture-summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .85rem clamp(14px, 3.3vw, 32px); min-height: 57px; border-radius: var(--radius); list-style: none; cursor: pointer; }
.architecture-summary::-webkit-details-marker { display: none; }
.architecture-summary:hover { background: #e9ede8; }
.architecture-summary:focus-visible { outline-offset: -4px; }
.architecture-summary h3 { font-size: clamp(1.05rem, 2.2vw, 1.25rem); letter-spacing: -.035em; }
.architecture-summary::after { content: ""; flex: 0 0 auto; width: .61rem; height: .61rem; margin: -.29rem .16rem 0 0; border: solid #43536a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.architecture-disclosure[open] > .architecture-summary::after { margin-top: .29rem; transform: rotate(225deg); }
.architecture { margin: 0; padding: 0 clamp(14px, 3.3vw, 32px) clamp(14px, 3.3vw, 32px); }
.architecture-caption { margin: 0 0 1rem; }
.architecture-caption p { color: var(--muted); font-size: .92rem; }
.arch-environment, .arch-product { padding: clamp(12px, 2.4vw, 22px); border: 1px solid #d6dcd9; border-radius: 14px; }
.arch-environment { background: #fffefa; }
.arch-product { background: #e8edf3; border-color: #ccd5e0; }
.arch-environment h4, .arch-product h4 { margin: 0 0 .7rem; font-size: .8rem; font-weight: 850; color: #43536a; }
.arch-node { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 70px; padding: .65rem .45rem; border: 1px solid #d2dadf; border-radius: 9px; background: #fff; text-align: center; overflow-wrap: anywhere; }
.arch-node strong { font-size: .96rem; letter-spacing: -.03em; }
.arch-node > span { margin-top: .17rem; font-size: .75rem; color: #4d5b6c; }
.arch-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; list-style: none; padding: 0; margin: 0; }
.arch-steps > li { position: relative; min-width: 0; }
.arch-steps > li + li::before { content: ""; position: absolute; left: -.92rem; top: 50%; width: .46rem; height: .46rem; border: solid #5b718c; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.arch-stage { min-height: 100%; padding: .68rem .7rem; text-align: left; }
.arch-stage:hover { border-color: #5b718c; }
.arch-stage-check { background: #f9ece2; border-color: #e5bdab; }
.arch-stage-check:hover { border-color: #a83d29; }
.arch-stage .arch-stage-title { display: flex; align-items: center; gap: .36rem; margin-top: 0; color: var(--ink); }
.arch-stage-title strong { font-size: .89rem; }
.arch-stage-title .stage-number { background: #edf1f6; color: #37465a; }
.arch-stage-check .arch-stage-title .stage-number { background: #f7dbcb; color: #843a28; }
.arch-stage > span + span { margin-top: .32rem; }
.arch-flow-result { margin-top: .65rem; color: var(--muted); font-size: .81rem; }
.arch-connector { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .14rem; min-width: 0; color: #445772; text-align: center; font-size: .71rem; line-height: 1.35; font-weight: 750; overflow-wrap: anywhere; }
.arch-arrow { display: block; font-size: 1.25rem; line-height: 1.06; color: #5b718c; }
.arch-bridge { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.1rem; padding: .5rem .2rem; color: #3b526d; }
.arch-bridge span { display: inline-flex; align-items: center; gap: .28rem; font-size: .75rem; font-weight: 800; }
.arch-bridge b { font-size: 1.3rem; line-height: 1; }
.arch-api, .arch-admin { width: min(100%, 300px); margin-inline: auto; }
.arch-api { background: var(--navy); border-color: var(--navy); color: white; }
.arch-api > span { color: #d5deec; }
.arch-backend, .arch-management { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.arch-branch .arch-connector, .arch-management .arch-connector { padding: .4rem .05rem; min-height: 52px; }
.arch-management .arch-connector:last-child { grid-column: 3; }
.arch-admin { border-color: #aebed1; background: #f7faff; }
@media (max-width: 650px) {
  .arch-environment h4 { margin-bottom: .5rem; }
  .arch-steps, .arch-backend { grid-template-columns: 1fr; }
  .arch-steps { gap: 1rem; }
  .arch-steps > li + li::before { left: 50%; top: -.72rem; transform: translateX(-50%) rotate(135deg); }
  .arch-node { min-height: 54px; }
  .arch-bridge { flex-direction: column; align-items: center; padding-block: .55rem; }
  .arch-backend { gap: .25rem; }
  .arch-branch .arch-connector, .arch-management .arch-connector { min-height: 0; padding: .36rem .1rem .24rem; }
  .arch-branch .arch-connector { flex-direction: row; gap: .4rem; }
  .arch-management { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .2rem 0 .3rem; }
  .arch-management .arch-connector:last-child { grid-column: auto; }
  .arch-api, .arch-admin { width: 100%; }
}
