/* KEngine Visual System / 2026-11-24
 * Presentation-only layer. The existing PHP handlers and API endpoints are unchanged.
 */
:root{
  --ke-ink:#1a2540;--ke-muted:#66738e;--ke-accent:#6144ba;--ke-accent2:#8269e9;
  --ke-deep:#131d3b;--ke-stroke:#e4e5f1;--ke-surface:#ffffff;--ke-bg:#f6f7fc;
  --ke-soft:#f0edfb;--ke-shadow:0 18px 45px rgba(34,36,85,.07);
}
html {background:var(--ke-bg);scroll-behavior:smooth}
body {background:radial-gradient(circle at 14% 0%,rgba(221,215,255,.43),transparent 32rem),
  radial-gradient(circle at 96% 26%,rgba(217,238,255,.30),transparent 34rem),var(--ke-bg);
  color:var(--ke-ink);font-family:Inter, Pretendard, 'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif;
  -webkit-font-smoothing:antialiased;}
.page,.board-page{width:min(1216px,calc(100% - 48px));margin:24px auto 80px}
.site-navigation{display:flex;align-items:center;gap:3px;margin:0 0 26px;padding:9px 14px;
 border:1px solid rgba(208,209,230,.7);border-radius:17px;background:rgba(255,255,255,.90);
 box-shadow:0 8px 34px rgba(33,37,70,.045);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.site-brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0;text-decoration:none;
 padding:2px 24px 2px 3px;margin-right:auto;color:var(--ke-deep);white-space:nowrap}
.site-brand-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;
 background:linear-gradient(140deg,#6c4dc7,#302259);box-shadow:0 5px 16px rgba(97,68,186,.25);
 font:800 23px/1 Arial,sans-serif;color:white;letter-spacing:-.07em}
.site-brand-point{color:#c7baff;margin-left:1px}
.site-brand-wordmark{display:flex;flex-direction:column;gap:2px;line-height:1.08}
.site-brand-wordmark strong{font-weight:850;letter-spacing:.1em;font-size:14px}
.site-brand-wordmark small{font-weight:720;color:#8b85b5;letter-spacing:.105em;font-size:8.7px}
.site-nav-link{flex-shrink:0;min-height:40px;padding:0 13px;border-radius:10px;display:inline-flex;align-items:center;
 color:#69728d;font-size:13px;font-weight:730;white-space:nowrap;letter-spacing:-.025em;
 transition:background .18s,color .18s,box-shadow .18s}
.site-nav-link:hover{background:#f4f1fd;color:var(--ke-accent)}
.site-nav-link.is-active{background:var(--ke-soft);color:#5536ad;box-shadow:inset 0 0 0 1px #e9e3fb}
.site-nav-link.is-active:hover{background:#e8e0fc}
.site-navigation a:focus-visible{outline:3px solid #b7a1fd;outline-offset:2px}
/* Premium top of domain pages */
.header.kengine-hero{position:relative;isolation:isolate;overflow:hidden;min-height:286px;
 padding:50px 55px 48px;margin:0 0 24px;border:1px solid rgba(255,255,255,.1);border-radius:24px;
 color:white;background:linear-gradient(117deg,#141d3e 0%,#252153 55%,#40307c 100%);
 box-shadow:0 19px 42px rgba(23,21,78,.19)}
.kengine-hero::before{content:'';position:absolute;inset:0;z-index:-1;opacity:.8;
 background:radial-gradient(circle at 82% 32%,rgba(155,131,255,.22),transparent 24%),
 linear-gradient(110deg,transparent 57%,rgba(149,119,255,.07) 58%,transparent 59%)}
.kengine-hero::after{content:'';position:absolute;inset:auto -12% -90% auto;width:600px;height:600px;
 border:1px solid rgba(199,184,255,.12);border-radius:50%;pointer-events:none}
.hero-content{position:relative;z-index:2;max-width:min(690px,69%)}
.hero-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;
 border:1px solid rgba(203,194,255,.24);border-radius:99px;background:rgba(255,255,255,.055);
 color:#d6c9ff;font-size:10px;letter-spacing:.15em;font-weight:850}
.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:#b4a2ff;
 box-shadow:0 0 0 3px rgba(180,162,255,.12)}
.header.kengine-hero h1{margin:21px 0 12px;color:#fff;font-size:clamp(33px,3.15vw,45px);font-weight:830;
 letter-spacing:-.065em;line-height:1.2}
.header.kengine-hero p{max-width:660px;margin:0;color:#cbd0e9;font-size:15px;line-height:1.83;word-break:keep-all}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.hero-tags span{display:inline-block;padding:7px 10px;border-radius:7px;border:1px solid rgba(193,177,255,.22);
 color:#dfd9ff;background:rgba(255,255,255,.045);font-weight:750;font-size:10px;letter-spacing:.045em}
/* Decorative technical emblem. All CSS, no external images or JS. */
.kengine-hero-graphic{position:absolute;right:30px;top:50%;width:345px;height:325px;transform:translateY(-50%);z-index:1}
.hero-gridlines{position:absolute;inset:14px;background-image:linear-gradient(rgba(204,188,255,.07) 1px,transparent 1px),
 linear-gradient(90deg,rgba(204,188,255,.07) 1px,transparent 1px);
 background-size:25px 25px;mask-image:radial-gradient(circle at center,black,transparent 73%);
 -webkit-mask-image:radial-gradient(circle at center,black,transparent 73%)}
.hero-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid rgba(201,189,255,.22);border-radius:50%}
.hero-ring-outer{width:298px;height:298px;border-style:dashed}
.hero-ring-middle{width:225px;height:225px;border-color:rgba(193,170,255,.34)}
.hero-ring-inner{width:163px;height:163px;border-color:rgba(255,255,255,.20);
 box-shadow:0 0 60px rgba(149,112,255,.16),inset 0 0 42px rgba(164,120,255,.07)}
.hero-core{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:118px;height:118px;
 display:flex;align-items:center;justify-content:center;border:1px solid rgba(242,235,255,.52);
 border-radius:33px;background:linear-gradient(148deg,#a98be9 0%,#6e51c3 50%,#48328e 100%);
 box-shadow:0 12px 40px rgba(30,11,74,.45),inset 0 3px 10px rgba(255,255,255,.24);
 color:#fff;font:800 74px/1 Arial,sans-serif;letter-spacing:-.09em}
.hero-core span{align-self:center;font-size:27px;margin:36px 0 0 5px;color:#d5c3ff}
.hero-orbit-dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#c3b2ff;
 box-shadow:0 0 0 6px rgba(206,183,255,.10)}
.hero-orbit-dot-one{top:39px;left:129px}.hero-orbit-dot-two{bottom:72px;right:28px;width:6px;height:6px}
.hero-float-chip{position:absolute;display:flex;align-items:center;gap:9px;padding:8px 12px;
 border:1px solid rgba(203,188,255,.22);border-radius:8px;background:rgba(26,22,64,.67);
 box-shadow:0 8px 26px rgba(11,8,30,.17);color:#dcd4ff;white-space:nowrap;
 font:740 9px/1.2 Arial,sans-serif;letter-spacing:.12em}
.hero-float-chip span{color:#b9a3ff}.hero-float-chip b{color:#a5ecde;font-size:10px}
.hero-chip-first{top:55px;left:4px}.hero-chip-second{right:-2px;bottom:48px}
/* Answer workspace */
.panel.question-panel{padding:30px 33px 32px;border-radius:21px;border:1px solid #e2e2ef;background:var(--ke-surface);
 box-shadow:var(--ke-shadow);margin-bottom:0}
.question-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;
 padding-bottom:20px;margin-bottom:21px;border-bottom:1px solid #eeedf6}
.panel-eyebrow{display:block;color:#8064c7;font-size:10px;font-weight:850;letter-spacing:.145em;line-height:1.3}
.question-panel-heading h2,.mode-section-title h2{margin:5px 0 0;color:#1b2442;font-size:23px;font-weight:810;letter-spacing:-.055em;line-height:1.4}
.panel-heading-chip{flex-shrink:0;padding:8px 11px;background:#f3f0fd;border:1px solid #e8e1fb;
 border-radius:7px;color:#6b51b3;font-size:10px;font-weight:800;letter-spacing:.08em}
.question-panel form label[for="question"]{margin-bottom:12px;font-size:14px;font-weight:800;color:#37405b}
.question-input-wrap{position:relative;display:flex;flex-direction:column;gap:12px}
.question-panel textarea{font-family:inherit;min-height:185px;padding:20px 22px;resize:vertical;
 border:1px solid #d7d9e9;border-radius:14px;color:#202a47;background:#fcfcff;
 line-height:1.8;font-size:15px;box-shadow:inset 0 1px 3px rgba(20,18,55,.02);
 transition:border-color .2s,box-shadow .2s,background .2s}
.question-panel textarea::placeholder{color:#a1a6b7}
.question-panel textarea:focus{outline:none;background:#fff;border-color:#8f76de;
 box-shadow:0 0 0 4px rgba(143,118,222,.13)}
.question-scope-inside{position:static;bottom:auto;left:auto;right:auto;pointer-events:auto;
 display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid #f0e4c9;
 background:#fffcf4;border-radius:10px;color:#6c5937;font-size:12px;line-height:1.65}
.question-scope-inside-title{background:#f2e4b5;color:#816019;padding:4px 8px;
 border-radius:6px;font-size:11px;font-weight:800}
.question-scope-inside-text{font-size:12px;line-height:1.65;color:#726142}
.question-scope-inside-text strong{color:#75572d}
.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:18px}
.actions button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:52px;
 border:1px solid transparent;border-radius:11px;padding:12px 15px;color:#fff;font-size:13px;font-weight:800;
 box-shadow:none;letter-spacing:-.015em;transition:transform .18s,box-shadow .18s,background .18s}
.actions button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(56,41,102,.13)}
.actions button:focus-visible{outline:3px solid #bba7fa;outline-offset:3px}
.actions button.current-complete{background:linear-gradient(105deg,#5d43b3,#7457ce)}
.actions button.current-complete:hover{background:linear-gradient(105deg,#5335a6,#694bc4)}
.actions button.primary{color:#4e339c;background:#f3effe;border-color:#ded6fb}
.actions button.primary:hover{background:#e9e1ff}
.actions button.secondary{background:#263554;color:#fff}
.actions button.secondary:hover{background:#1c2741}
.status{background:#f5f1ff;color:#6246b4;border:1px solid #e6defc;border-radius:12px}
.status strong{color:#4a3784}.status-spinner{border-color:#e6defc;border-top-color:#7253c8}
.error{border-radius:13px;border-color:#f4cfcc;background:#fff8f7}
.result{margin-top:23px;scroll-margin-top:24px}
.result-title{font-size:23px;letter-spacing:-.035em;color:#1f2a49}
.result-section{border:1px solid #e5e3f0;border-radius:18px;padding:31px;box-shadow:var(--ke-shadow);
 background:#fff;margin-top:13px}
.result-section .kengine-answer{overflow-wrap:anywhere}
.reason{border-left:3px solid #7054c7;background:#f8f6fe;border-radius:0 9px 9px 0}
.meta{padding-top:13px;border-top:1px solid #ecebf4;color:#8990a6}
/* Service mode comparison cards */
.mode-section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:40px 2px 17px}
.mode-section-title h2{font-size:23px}.mode-section-title p{color:#8590a5;font-size:12px;margin:0 0 2px}
.service-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0}
.service-card{position:relative;overflow:hidden;padding:26px 25px 25px;border:1px solid #e3e3ee;border-radius:17px;
 background:#fff;box-shadow:0 9px 28px rgba(32,34,83,.035);transition:box-shadow .18s,transform .18s}
.service-card:hover{box-shadow:0 18px 38px rgba(32,34,83,.09);transform:translateY(-2px)}
.service-card::before{content:'';position:absolute;inset:0 auto auto 0;width:100%;height:3px;background:#e7e4f6}
.service-card-current{border-color:#d6cdf5;box-shadow:0 8px 30px rgba(99,72,177,.07)}
.service-card-current::before{background:linear-gradient(90deg,#6141b4,#a896ec)}
.service-card-future::before{background:#aab4e1}.service-card-validation::before{background:#7d8aa5}
.service-card-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;
 margin-bottom:17px}
.service-card h2{font-size:16px;letter-spacing:-.045em;line-height:1.45;color:#252b4b}
.service-card p{font-size:13px;line-height:1.88;color:#626e83;word-break:keep-all}
.service-card p+p{margin-top:12px}
.service-card .service-note{font-size:12px;color:#818ba0!important;border-color:#edf0f6}
.service-time{background:#f3f0fc;color:#6e56b6;font-size:10px;padding:5px 8px}
.service-time-current{background:#ece6fd;color:#6042b3}
/* Processing feedback */
.processing-overlay{background:rgba(16,20,43,.66);backdrop-filter:blur(6px)}
.processing-dialog{border:1px solid #e4def5;border-radius:22px;box-shadow:0 25px 80px rgba(13,11,38,.25)}
.processing-spinner{border-color:#eee8fa;border-top-color:#7153c2}
.processing-title{color:#232a49}.processing-elapsed strong{color:#6349b9}
.processing-progress{background:#ece7f8}.processing-progress-bar{background:linear-gradient(90deg,#6142bb,#b49bf2)}
/* Secondary document pages */
.about-page,.difference-page{width:min(1080px,calc(100% - 48px));margin:24px auto 80px;
 padding:0 0 46px;background:#fff;border:1px solid #e3e3ef;border-radius:22px;
 box-shadow:var(--ke-shadow);overflow:hidden}
.about-page .site-navigation,.difference-page .site-navigation{margin:0 0 0;border-radius:0;
 padding:13px 23px;border:0;border-bottom:1px solid #e8e6f1;box-shadow:none;
 background:#fff}
.story-intro{margin:0 0 36px;padding:46px 52px 42px;
 background:radial-gradient(circle at 92% 19%,rgba(181,158,253,.18),transparent 33%),
 linear-gradient(115deg,#f7f6fd,#ffffff 74%);border-bottom:1px solid #eeebf4}
.story-intro .panel-eyebrow{font-size:10px}
.story-intro h1,.story-intro .page-title{margin:10px 0 9px;color:#202a49;font-size:clamp(28px,3vw,38px);letter-spacing:-.06em;line-height:1.3}
.story-intro p{margin:0;color:#728099;font-size:15px}
.about-page>.about-section{margin:0 52px 0}
.about-page>.about-section+.about-section{margin-top:39px;padding-top:36px;border-top:1px solid #f0eef6}
.about-section h2{font-size:24px;color:#242b48;letter-spacing:-.045em}
.about-section p{color:#48546b;font-size:15px;line-height:2.03}
.about-section blockquote{margin:25px 0;padding:15px 20px;border-left:3px solid #7459c4;
 border-radius:0 9px 9px 0;background:#f7f4fe;color:#4f4088}
.about-principle-list li::marker{color:#7050bd}
.about-footer{margin:45px 52px 0;padding-top:20px;border-top:1px solid #eeedf3;color:#7b8196}
.difference-page>.case-section,.difference-page>.question-box{margin-left:52px;margin-right:52px}
.difference-page .question-box{padding:19px 23px;border:1px solid #dfd7f4;border-radius:12px;background:#f8f5ff;color:#41316e;font-size:19px}
.case-section h2{font-size:21px;color:#272b48}
.difference-page .answer-row{border:1px solid #e9e6f0;background:white;padding:18px 22px}
.difference-page .answer-row+.answer-row{border-top:0}
.difference-page .answer-label{color:#6747b7;font-size:14px}
.difference-page .answer-text{font-size:16px;color:#414b65}
/* Community */
.board-page .site-navigation{margin-bottom:24px}
.member-navigation{gap:10px;font-size:12px;color:#68748a}
.member-navigation a{color:#6043ad;font-weight:750}
.member-navigation span{color:#46506b}
.board-card{padding:32px;border-color:#e4e2ef;border-radius:19px;background:#fff;box-shadow:var(--ke-shadow)}
.board-heading{padding:0 0 17px;border-bottom:1px solid #efedf5}
.board-heading h1{font-size:29px;letter-spacing:-.05em;color:#202847}
.board-page .button,.board-page button{background:#6a4abb;border-radius:10px;transition:background .18s,transform .18s}
.board-page .button:hover,.board-page button:hover{background:#5838a7;transform:translateY(-1px)}
.board-page input,.board-page select,.board-page textarea{border-color:#deddea;border-radius:10px;line-height:1.5}
.board-page input:focus,.board-page select:focus,.board-page textarea:focus{outline:2px solid #cbbcf4;border-color:#775bc8}
.board-table th{background:#faf9fe;color:#69677f;font-weight:800}
.board-table td,.board-table th{border-color:#eeedf3}
.board-table a:hover{color:#6345bd}
.board-page .badge{background:#f0ecfc;color:#6345bc}
.board-page .pagination a:hover{background:#f4f0fc}
/* Responsive */
@media(max-width:1100px){
 .site-navigation{flex-wrap:wrap;row-gap:7px;justify-content:flex-start}
 .site-brand{flex:0 0 100%;padding-bottom:7px;margin:0 0 1px;border-bottom:1px solid #f2eff8}
 .site-nav-link{padding:0 12px}
 .member-navigation{margin-left:auto}
}
@media(max-width:900px){
 .kengine-hero-graphic{right:-35px;opacity:.48}
 .hero-content{max-width:78%}
 .service-guide{grid-template-columns:1fr;gap:11px}
 .service-card{padding:23px 24px}
 .service-card-heading{margin-bottom:12px}
 .service-card p{font-size:14px}
}
@media(max-width:900px){
 .kengine-live-banner{padding:20px 22px;gap:18px;align-items:flex-start;flex-direction:column}
 .kengine-live-banner strong{font-size:24px}
 .kengine-live-banner-text{font-size:15px}
 .kengine-live-banner-action{min-width:0;width:100%;min-height:54px}
}
@media(max-width:680px){
 .page,.board-page{width:calc(100% - 24px);margin:12px auto 48px}
 .site-navigation{padding:12px;gap:5px;border-radius:15px;margin-bottom:14px}
 .site-brand{padding:0 0 10px}
 .site-brand-mark{width:40px;height:40px}
 .site-nav-link{flex:1 1 calc(33.333% - 8px);justify-content:center;min-width:0;
 min-height:38px;padding:5px 6px;font-size:11.5px;text-align:center;white-space:normal;line-height:1.45}
 .header.kengine-hero{padding:32px 25px 30px;min-height:255px;border-radius:18px;margin-bottom:14px}
 .kengine-live-banner{margin-bottom:14px;padding:18px 16px;border-radius:17px;gap:14px}
 .kengine-live-banner-eyebrow{font-size:10px;padding:6px 10px}
 .kengine-live-banner strong{font-size:22px}
 .kengine-live-banner-text{font-size:14px;line-height:1.65}
 .kengine-live-banner-action{min-height:50px;padding:0 16px;font-size:14px;border-radius:13px}
 .header.kengine-hero h1{font-size:32px;margin-top:20px}
 .header.kengine-hero p{font-size:13px;line-height:1.75}
 .hero-content{max-width:100%}
 .kengine-hero-graphic{right:-128px;top:65%;opacity:.16;transform:translateY(-50%) scale(.9)}
 .hero-tags{gap:6px;margin-top:19px}.hero-tags span{font-size:9px;padding:6px 8px}
 .hero-eyebrow{font-size:9px;letter-spacing:.07em}
 .panel.question-panel{padding:23px 17px 20px;border-radius:17px}
 .question-panel-heading{margin-bottom:17px;align-items:start}
 .question-panel-heading h2{font-size:21px}
 .panel-heading-chip{display:none}
 .question-panel textarea{min-height:176px;padding:17px 16px;font-size:14px}
 .question-scope-inside{display:block;padding:12px}
 .question-scope-inside-title{display:inline-block;margin:0 0 7px}
 .question-scope-inside-text{display:block;font-size:12px}
 .actions{grid-template-columns:1fr;gap:8px}
 .actions button{min-height:50px;width:100%;font-size:13px}
 .mode-section-title{display:block;margin:30px 1px 13px}
 .mode-section-title p{margin-top:7px}
 .service-card h2{font-size:16px}.service-card p{font-size:13px}
 .result-title{font-size:21px}.result-section{padding:21px 18px}
 .about-page,.difference-page{width:calc(100% - 24px);margin:12px auto 45px;border-radius:16px;padding-bottom:28px}
 .about-page .site-navigation,.difference-page .site-navigation{margin:0;padding:12px;}
 .story-intro{padding:31px 22px;margin-bottom:27px}
 .about-page>.about-section{margin:0 22px}
 .about-page>.about-section+.about-section{margin-top:28px;padding-top:27px}
 .about-section h2{font-size:21px}.about-section p{font-size:14px;line-height:1.91}
 .about-footer{margin:30px 22px 0}
 .difference-page>.case-section,.difference-page>.question-box{margin-left:22px;margin-right:22px}
 .difference-page .question-box{font-size:16px;padding:16px}
 .difference-page .answer-row{padding:13px 16px}
 .board-page .site-navigation{margin-bottom:14px}
 .member-navigation{justify-content:flex-start;width:100%;margin:4px 0 0;padding:10px 2px 2px;border-top:1px solid #eeeaf7}
 .board-card{padding:21px 16px;border-radius:16px}
 .board-heading h1{font-size:23px}
 .processing-dialog{padding:22px 18px}
}
@media(prefers-reduced-motion:reduce){.actions button,.service-card,.board-page button{transition:none}html{scroll-behavior:auto}}


/* KENGINE LIGHT EDITION / 2026-11-24
   Softer palette, clearer type, and prominent No Hallucination branding.
   Purely visual: forms, button names, data handlers and answer processing unchanged.
*/
:root {
  --ke-ink: #283248;
  --ke-muted: #607086;
  --ke-accent: #7661a5;
  --ke-accent2: #a693cf;
  --ke-deep: #364160;
  --ke-stroke: #e8e5ef;
  --ke-surface: #ffffff;
  --ke-bg: #fafbfe;
  --ke-soft: #f4f0fb;
  --ke-shadow: 0 9px 30px rgba(58, 63, 99, .045);
}
html {background: var(--ke-bg);}
body {
  background: radial-gradient(circle at 12% 0%, rgba(236,232,248,.45), transparent 30rem),
    linear-gradient(180deg, #fafbff 0, #ffffff 60%);
  color: var(--ke-ink);
  font-size: 16px;
  line-height: 1.7;
}
.page,.board-page { margin-top: 22px; }
.site-navigation {
  padding: 12px 18px;
  border-color: #e7e7ee;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(58,63,99,.035);
  gap: 5px;
}
.site-brand { gap: 13px; padding-right: 19px; }
.site-brand-mark {
  width: 47px; height: 47px;
  color: #68518c;
  background: linear-gradient(135deg, #f3edf9, #e6ddef);
  border: 1px solid #e1d6f0;
  box-shadow: 0 3px 11px rgba(112,91,153,.08);
  font-size: 25px;
}
.site-brand-point { color: #8e77b0; }
.site-brand-wordmark strong { font-size: 17px; letter-spacing: .055em; color: #27314a; }
.site-brand-wordmark small { font-size: 11px; font-weight: 800; letter-spacing: .075em; color: #7c669d; }
.site-nav-link {
  padding: 7px 13px;
  min-height: 44px;
  font-size: 15px;
  color: #5c677f;
  font-weight: 690;
}
.site-nav-link:hover { background: #f8f5fd; color: #6e579b; }
.site-nav-link.is-active { background: #f4f0fa; color: #624d8e; box-shadow: inset 0 0 0 1px #e9e3f1; }
.site-nav-link.is-active:hover { background: #efeaf9; }

/* Light hero: white and lavender, never dark navy */
.header.kengine-hero {
  min-height: 295px;
  padding: 47px 56px;
  color: #29334d;
  background: linear-gradient(112deg,#ffffff 0%, #fdfcff 48%, #f0eafb 100%);
  border: 1px solid #e9e4f1;
  box-shadow: 0 12px 34px rgba(81,68,126,.055);
}
.kengine-hero::before {
  opacity: .75;
  background: radial-gradient(circle at 84% 28%,rgba(191,172,225,.20),transparent 30%),
    linear-gradient(108deg,transparent 56%,rgba(194,177,229,.05) 57%,transparent 58%);
}
.kengine-hero::after { border-color: rgba(151,126,199,.13); }
.hero-content { max-width: min(760px, 69%); }
.hero-eyebrow {
  padding: 8px 14px;
  background: #f7f3fd;
  border: 1px solid #e4dcef;
  color: #785d9a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
}
.eyebrow-dot { width: 7px; height: 7px; background: #a58bc5; box-shadow: 0 0 0 3px #eae2f6; }
.header.kengine-hero h1 {
  color: #29334f;
  margin: 21px 0 13px;
  font-size: clamp(36px, 3.35vw, 48px);
  letter-spacing: -.052em;
  font-weight: 810;
}
.header.kengine-hero p { color: #647088; font-size: 17px; line-height: 1.82; }
.hero-tags { gap: 9px; margin-top: 24px; }
.hero-tags span {
  padding: 8px 12px;
  background: rgba(255,255,255,.8);
  border: 1px solid #e1dae9;
  color: #6e6284;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .018em;
}
.hero-tags .hero-nh-tag {
  color: #604a8e;
  background: #ede6f8;
  border: 1px solid #d7c8ec;
  font-weight: 850;
  letter-spacing: .105em;
}
.kengine-hero-graphic { right: 25px; }
.hero-gridlines { background-image:linear-gradient(rgba(159,133,206,.055) 1px,transparent 1px),
  linear-gradient(90deg,rgba(159,133,206,.055) 1px,transparent 1px); }
.hero-ring { border-color: rgba(149,126,192,.20); }
.hero-ring-middle { border-color: rgba(149,126,192,.27); }
.hero-ring-inner {
  border-color: rgba(151,128,193,.22);
  box-shadow: 0 0 58px rgba(178,158,214,.12),inset 0 0 30px rgba(171,149,212,.04);
}
.hero-core {
  background:linear-gradient(145deg,#f5f0fc 0%,#e6dbf7 58%,#cfc0e8 100%);
  color: #725699;
  border-color: #d6c8e9;
  box-shadow: 0 12px 25px rgba(111,91,153,.16),inset 0 3px 8px rgba(255,255,255,.6);
}
.hero-core span { color:#a48bbb; }
.hero-orbit-dot { background:#a48bcd;box-shadow:0 0 0 6px rgba(171,148,208,.12); }
.hero-float-chip {
  border: 1px solid #e0d5ef;
  color: #716388;
  background: rgba(255,255,255,.90);
  box-shadow:0 5px 16px rgba(108,95,145,.07);
  font-size: 11px;
  letter-spacing: .06em;
}
.hero-float-chip span {color:#9173bd;}
.hero-float-chip b {color:#5a8f87;font-size:12px;}

/* Live application CTA */
.kengine-live-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;
 margin:0 0 24px;padding:22px 26px;border:1px solid #e5def6;border-radius:20px;
 background:linear-gradient(135deg,#ffffff 0%,#f7f3ff 58%,#f4efff 100%);
 box-shadow:0 14px 32px rgba(74,57,132,.07);text-decoration:none;color:inherit;overflow:hidden;position:relative}
.kengine-live-banner::before{content:'';position:absolute;inset:auto -60px -80px auto;width:240px;height:240px;border-radius:50%;
 background:radial-gradient(circle,rgba(147,114,233,.12),transparent 63%);pointer-events:none}
.kengine-live-banner-copy{position:relative;z-index:1;display:flex;flex-direction:column;gap:7px;max-width:760px}
.kengine-live-banner-eyebrow{display:inline-flex;align-items:center;align-self:flex-start;padding:7px 11px;border-radius:999px;
 background:#efe8ff;color:#6a4dc4;font-size:11px;font-weight:850;letter-spacing:.12em}
.kengine-live-banner strong{font-size:28px;line-height:1.25;letter-spacing:-.05em;color:#28314b}
.kengine-live-banner-text{font-size:16px;line-height:1.75;color:#66718a;word-break:keep-all}
.kengine-live-banner-text b{color:#5c40b5}
.kengine-live-banner-action{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;
 min-width:220px;min-height:58px;padding:0 22px;border-radius:15px;background:linear-gradient(135deg,#7353d2 0%,#5c41b6 100%);
 color:#fff;font-size:16px;font-weight:800;letter-spacing:-.03em;box-shadow:0 10px 24px rgba(96,70,179,.22);transition:transform .18s,box-shadow .18s,filter .18s}
.kengine-live-banner:hover .kengine-live-banner-action{transform:translateY(-1px);box-shadow:0 14px 28px rgba(96,70,179,.28);filter:brightness(1.02)}
.kengine-live-banner:focus-visible{outline:3px solid #b9a5f1;outline-offset:3px}

/* Question workspace: readable typography and pale buttons */
.panel.question-panel {
  padding: 34px 39px 37px;
  border:1px solid #e8e5ef;
  box-shadow: 0 10px 34px rgba(58,63,99,.045);
}
.panel-eyebrow { font-size: 12px; color: #8064a4; letter-spacing: .11em; }
.question-panel-heading h2, .mode-section-title h2 { font-size: 28px; color: #2d344c; }
.question-panel-heading { border-bottom-color: #eeedf2; }
.panel-heading-chip { font-size: 12px; color: #735d99; background: #f8f5fc; border-color:#e6def0; }
.question-panel form label[for="question"] { font-size: 17px; color: #35405a; }
.question-panel textarea {
  min-height: 190px;
  padding: 22px 24px;
  font-size: 17px;
  color: #2d3650;
  background: #fff;
  border-color: #dce0eb;
  line-height: 1.85;
}
.question-panel textarea::placeholder { color: #8791a8; opacity: 1; }
.question-panel textarea:focus { border-color: #a995c9;box-shadow:0 0 0 4px rgba(163,141,197,.12); }
.question-scope-inside {
  background: #fffdf8;
  border-color: #eee4d4;
  color: #695f50;
  font-size: 15px;
  line-height: 1.75;
  padding:14px 16px;
}
.question-scope-inside-title { font-size: 13px; color: #816a3d; background: #f6ebd2; }
.question-scope-inside-text { font-size: 15px; color: #625b50; }
.question-scope-inside-text strong { color: #514a3f; }
.actions { margin-top: 20px; gap: 12px; }
.actions button {
  min-height: 58px;
  font-size: 16px;
  font-weight: 780;
  border-radius: 11px;
  line-height: 1.5;
}
.actions button.current-complete {
  color: #624782;
  background: #eee7f7;
  border-color: #d5c4e9;
}
.actions button.current-complete:hover { background: #e8def5; }
.actions button.primary {
  color: #5e537b;
  background: #f8f5fc;
  border-color: #dfd8e9;
}
.actions button.primary:hover { background: #f1ebf9; }
.actions button.secondary {
  color: #3e5a71;
  background: #edf3f8;
  border-color: #d9e3ec;
}
.actions button.secondary:hover { background: #e3edf5; }
.status { font-size: 15px; background: #f8f4fc; color: #69558f; border-color: #ece6f5; }
.status strong { color: #624a83; }
.status-spinner { border-top-color: #9c83bd; }
.result-title { font-size: 27px; color: #2f3952; }
.result-section { background: #fff; border-color:#e9e7ef; }
.result-section .kengine-answer,
.result-section .answer-text,
.result-section p { font-size: 17px; line-height: 1.88; }
.reason { background: #faf8fd; border-left-color:#9f89c1; }
.meta { font-size: 14px; }

/* Informational cards and secondary pages */
.mode-section-title h2 { font-size: 26px; }
.mode-section-title p { font-size: 15px; color: #6b7488; }
.service-card { background:#fff; border-color:#e9e8ef; box-shadow:0 8px 22px rgba(56,61,86,.03); }
.service-card-current { border-color:#dfd6e9; }
.service-card-current::before { background:linear-gradient(90deg,#ae98cb,#dacdec); }
.service-card-future::before { background:#c1cee0; }
.service-card-validation::before { background:#b8cad6; }
.service-card h2 { font-size: 20px; color: #35405a; }
.service-card p { font-size: 16px; line-height: 1.85; color:#556276; }
.service-card p+p { margin-top: 14px; }
.service-card .service-note { font-size: 15px; color: #677388!important; }
.service-time,.service-time-current { font-size: 13px; background:#f5f1fa; color: #766294; }
.story-intro { background:linear-gradient(110deg,#faf8fe,#ffffff 80%); }
.story-intro .panel-eyebrow { font-size: 12px; }
.story-intro p { font-size: 17px; color: #66758a; }
.about-section p { font-size: 17px; color: #46556d; }
.about-section h2 { font-size: 26px; }
.difference-page .answer-text { font-size: 18px; }
.difference-page .answer-label { font-size: 16px; }
.board-card, .board-page input, .board-page select, .board-page textarea, .board-table { font-size: 16px; }
.board-page .button,.board-page button { background:#927eb8; color:white; font-size:15px; }
.board-page .button:hover,.board-page button:hover { background:#7e69a7; }
.member-navigation { font-size: 14px; }

@media(max-width:1100px) {
  .site-brand { padding-right: 0; }
  .site-brand-wordmark strong { font-size: 17px; }
  .site-nav-link { font-size: 15px; }
}
@media(max-width:900px) {
  .hero-content { max-width: 83%; }
  .kengine-hero-graphic { right: -45px; opacity:.45; }
  .service-card p { font-size: 16px; }
}
@media(max-width:680px) {
  body { font-size: 16px; }
  .page,.board-page { width:calc(100% - 20px); }
  .site-navigation { padding:12px 10px; }
  .site-brand-mark { width:44px; height:44px; }
  .site-brand-wordmark small { font-size: 11px; }
  .site-nav-link { min-height: 42px; font-size: 13px; padding: 8px 5px; }
  .header.kengine-hero { padding: 29px 22px 29px; min-height: 300px; }
  .header.kengine-hero h1 { font-size: 35px; margin:18px 0 12px; }
  .header.kengine-hero p { font-size: 16px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .025em; padding:8px 10px; }
  .hero-tags span { font-size:11px; padding:7px 9px; }
  .hero-content { max-width:100%; }
  .kengine-hero-graphic { opacity:.09; right:-140px; top:64%; }
  .panel.question-panel { padding:24px 18px 24px; }
  .question-panel-heading h2 { font-size: 25px; }
  .panel-eyebrow { font-size: 11px; }
  .question-panel form label[for="question"] { font-size: 16px; }
  .question-panel textarea { min-height:190px; padding:17px 17px; font-size:16px; }
  .question-scope-inside { font-size:14px; }
  .question-scope-inside-title { font-size:13px; }
  .question-scope-inside-text { font-size:14px; }
  .actions button { min-height:53px; font-size:15px; }
  .mode-section-title h2 { font-size:24px; }
  .mode-section-title p { font-size:14px; }
  .service-card h2 { font-size:19px; }
  .service-card p { font-size:16px; }
  .service-card .service-note {font-size:15px;}
  .service-time {font-size:12px;}
  .about-section p { font-size:16px; }
  .about-section h2 { font-size:24px; }
  .story-intro p { font-size:16px; }
  .difference-page .answer-text { font-size:16px; }
  .member-navigation { font-size:13px; }
  .board-heading h1 {font-size:25px;}
}

/* Legibility pass: large, comfortable Korean text on desktop and tablet */
@media (min-width:681px) {
  body {font-size:17px;}
  .site-nav-link {font-size:16px;}
  .header.kengine-hero p {font-size:18px;}
  .question-panel form label[for="question"] {font-size:18px;}
  .question-panel textarea {font-size:18px;}
  .question-scope-inside,.question-scope-inside-text {font-size:16px;}
  .actions button {font-size:17px;}
  .service-card p {font-size:17px;}
  .service-card .service-note {font-size:16px;}
  .service-card h2 {font-size:21px;}
  .about-section p {font-size:18px;}
}
@media (max-width:680px) {
  .site-nav-link {font-size:14px;}
  .header.kengine-hero p {font-size:16px;}
  .question-panel textarea {font-size:16.5px;}
  .question-scope-inside-text {font-size:15px;}
  .actions button {font-size:16px;}
  .service-card p {font-size:16.5px;}
}
