/* AP Cybersecurity public page. Existing course shell and site palette retained. */
.bc-cyber { --cy-muted:#b2b2be; --cy-faint:#888896; color:var(--bc-text); }
.bc-cyber * { box-sizing:border-box; }
.bc-cyber a { color:inherit; }
.bc-cyber a:focus-visible,.bc-cyber button:focus-visible,.bc-cyber summary:focus-visible { outline:3px solid var(--bc-lime); outline-offset:5px; }
.bc-cyber h1,.bc-cyber h2,.bc-cyber h3,.bc-cyber h4,.bc-cyber p { margin-top:0; }
.bc-cyber h1,.bc-cyber h2,.bc-cyber h3,.bc-cyber h4 { word-break:keep-all; }
.bc-cyber p { line-height:1.8; word-break:keep-all; overflow-wrap:anywhere; }
.bc-cyber .cy-label { color:var(--bc-red); font:700 11px/1.5 var(--bc-mono); letter-spacing:.09em; margin-bottom:15px; }
.cy-hero { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr); gap:48px; align-items:center; padding:52px 44px; background:var(--bc-panel); border:1px solid var(--bc-line); border-radius:16px; }
.cy-hero h1 { font-size:clamp(28px,3vw,39px); line-height:1.22; letter-spacing:-.05em; margin-bottom:25px; }
.cy-hero h1>span { display:block; font-size:clamp(31px,3.8vw,49px); line-height:1.24; margin-top:18px; }
.cy-hero em { font-style:normal; color:var(--bc-lime); }
.cy-hero .cy-lead { color:#e0e0e7; font-size:17px; margin-bottom:10px; }
.cy-hero-note { color:var(--cy-muted); font-size:14px; max-width:450px; }
.cy-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:26px; }
.bc-cyber .cy-button { display:inline-flex; justify-content:center; align-items:center; gap:18px; min-height:48px; padding:12px 18px; color:var(--bc-text); border:1px solid #424249; border-radius:7px; background:transparent; text-decoration:none; font:600 14px/1.5 sans-serif; font-family:inherit; cursor:pointer; }
.bc-cyber .cy-button:hover { background:#222228; border-color:#9c9ca5; }
.bc-cyber .cy-button-primary { color:#111209; background:var(--bc-lime); border-color:var(--bc-lime); font-weight:700; }
.bc-cyber .cy-button-primary:hover { background:#e7ff9e; border-color:#e7ff9e; }
.cy-exam-card { padding:30px 28px; border:1px solid #454a2c; border-radius:12px; background:#0b0c0b; box-shadow:0 16px 48px rgba(0,0,0,.25); }
.cy-exam-card .cy-label { color:var(--bc-lime); }
.cy-exam-year { font:700 72px/1 var(--bc-mono); letter-spacing:-.08em; margin:0 0 20px; }
.cy-exam-year span { display:block; font:500 16px/1.6 var(--bc-mono); color:var(--cy-muted); letter-spacing:.08em; margin-top:7px; }
.cy-exam-card-rule { height:1px; background:#393c29; margin:20px 0; }
.cy-exam-card dl { margin:0; }
.cy-exam-card dl>div { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:6px; margin:12px 0; }
.cy-exam-card dt { color:var(--cy-muted); font-size:12px; font-weight:400; }
.cy-exam-card dd { font-size:13px; font-weight:600; margin:0; }
.cy-exam-card>a { display:block; color:var(--bc-lime); font-size:12px; margin-top:26px; line-height:1.7; }
.cy-section-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:24px 0; border-bottom:1px solid var(--bc-line); gap:10px; }
.cy-section-nav a { text-decoration:none; font-size:13px; padding:8px 0; }
.cy-section-nav a:hover { color:var(--bc-lime); }
.cy-section-nav span { color:var(--cy-faint); margin-right:8px; font:12px var(--bc-mono); }
.cy-section { padding-top:84px; scroll-margin-top:120px; }
.cy-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:30px; }
.cy-section-head h2 { font-size:32px; line-height:1.35; letter-spacing:-.04em; margin-bottom:0; }
.cy-section-head>p { max-width:470px; color:var(--cy-muted); font-size:15px; margin-bottom:0; }
.cy-practices,.cy-exam-process,.cy-lab-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.cy-practices { grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--bc-line); border-radius:12px; overflow:hidden; }
.cy-practices article { padding:30px; background:var(--bc-panel); }
.cy-practices article+article { border-left:1px solid var(--bc-line); }
.cy-practice-number { color:var(--bc-lime); display:block; font:13px var(--bc-mono); margin-bottom:28px; }
.cy-practices h3,.cy-exam-process h3,.cy-lab-features h3 { font-size:19px; margin-bottom:12px; font-weight:700; }
.cy-practices p,.cy-exam-process p,.cy-lab-features p { font-size:14px; color:var(--cy-muted); margin-bottom:0; }
.cy-source { font-size:12px; color:var(--cy-faint); margin:18px 0 0; }
.cy-source a { text-decoration:underline; text-underline-offset:3px; }
.cy-units { display:grid; grid-template-columns:1fr 2fr; gap:45px; margin-top:35px; padding-top:32px; }
.cy-units-title h3 { font-size:22px; line-height:1.5; letter-spacing:-.03em; }
.cy-units-title p { color:var(--cy-muted); font-size:13px; }
.cy-units ol { list-style:none; margin:0; padding:0; }
.cy-units li { display:flex; gap:24px; padding:17px 0; border-top:1px solid #303037; }
.cy-units li>span { color:var(--bc-lime); font:11px/1.8 var(--bc-mono); white-space:nowrap; }
.cy-units h4 { font-size:16px; margin-bottom:7px; }
.cy-units li p { font-size:13px; color:var(--cy-muted); margin:0; }
.cy-exam-layout { display:grid; grid-template-columns:minmax(245px,.78fr) minmax(0,1.8fr); gap:18px; }
.cy-date-panel { border:1px solid #515735; background:#12150e; padding:30px; border-radius:12px; }
.cy-date-panel .cy-label { color:var(--bc-lime); }
.cy-date-panel h3 { font-size:35px; line-height:1.5; letter-spacing:-.06em; margin-bottom:20px; }
.cy-date-panel h3 span { display:block; color:var(--cy-muted); font-size:16px; letter-spacing:0; }
.cy-date-panel p { color:var(--cy-muted); font-size:13px; }
.cy-date-panel .cy-korea-time { color:var(--bc-text); font-size:15px; margin-bottom:10px; }
.cy-korea-time strong { display:block; color:var(--bc-lime); font-size:25px; }
.cy-date-foot { padding-top:20px; margin-top:20px; border-top:1px solid #353b28; font-size:12px; color:var(--cy-muted); line-height:1.8; }
.cy-format-panel { padding:30px; background:var(--bc-panel); border:1px solid var(--bc-line); border-radius:12px; }
.cy-format-top { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.cy-format-top>span:first-child { font-size:13px; color:var(--cy-muted); }
.cy-format-top strong { font-size:21px; }
.cy-bluebook { margin-left:auto; font:11px var(--bc-mono); border:1px solid #3c465a; padding:6px 10px; border-radius:4px; color:var(--bc-blue); }
.cy-score-bar { display:flex; height:37px; border-radius:5px; overflow:hidden; margin:27px 0; color:#0d0d10; font:700 13px/37px var(--bc-mono); }
.cy-score-bar span:first-child { width:70%; background:var(--bc-lime); padding-left:14px; }
.cy-score-bar span:last-child { width:30%; background:var(--bc-blue); padding-left:14px; }
.cy-exam-parts { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.cy-exam-parts .cy-label { color:var(--cy-faint); font-size:10px; letter-spacing:.02em; }
.cy-exam-parts h3 { font-size:20px; }
.cy-exam-parts h3 strong { display:block; margin-top:8px; font-size:28px; }
.cy-exam-parts p { font-size:13px; color:var(--cy-muted); margin-bottom:0; }
.cy-exam-parts .cy-part-stat { color:var(--bc-lime); margin-bottom:12px; font-size:16px; }
.cy-exam-parts article:last-child .cy-part-stat { color:var(--bc-blue); }
.cy-part-stat span { margin:0 6px; }
.cy-exam-process { gap:30px; margin-top:30px; }
.cy-exam-process article>span,.cy-lab-features article>span { color:var(--bc-red); display:block; font:12px var(--bc-mono); margin-bottom:14px; }
.cy-lab-intro { display:flex; justify-content:space-between; align-items:center; gap:30px; margin-bottom:20px; }
.cy-pill { display:inline-block; padding:7px 12px; border:1px solid #41413d; border-radius:20px; font-size:12px; margin:0 5px 10px 0; color:var(--bc-lime); }
.cy-lab-intro p { font-size:17px; margin-top:10px; color:#d3d3dc; }
.cy-lab-intro img { object-fit:contain; width:240px; height:174px; }
.cy-demo { margin:0; border:1px solid #41414d; border-radius:12px; overflow:hidden; background:#101014; }
.cy-demo>figcaption { display:flex; justify-content:space-between; align-items:center; gap:16px; background:#18181f; padding:17px 23px; border-bottom:1px solid #30303b; font-size:12px; }
.cy-demo>figcaption>span:last-child { color:var(--cy-muted); }
.cy-demo>figcaption i { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--bc-lime); margin-right:8px; }
.cy-demo-body { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr); }
.cy-demo-terminal { background:#09090c; padding:28px; min-width:0; }
.cy-demo-terminal .cy-terminal-comment { color:#9494a4; font-size:12px; margin-bottom:22px; }
.cy-demo-terminal pre { color:#dedee8; font:13px/2 var(--bc-mono); white-space:pre-wrap; overflow-wrap:anywhere; margin:0; }
.cy-demo-terminal pre span { color:var(--bc-lime); }
.cy-demo-terminal .cy-demo-caption { color:#9292a0; font-size:11px; margin:30px 0 0; }
.cy-demo-steps { padding:26px; border-left:1px solid #30303b; }
.cy-demo-progress { display:flex; justify-content:space-between; font-size:15px; }
.cy-demo-progress>span { color:var(--bc-lime); font:13px var(--bc-mono); }
.cy-progress-track { height:4px; background:#33333d; border-radius:4px; margin:15px 0 20px; overflow:hidden; }
.cy-progress-track span { display:block; width:40%; height:100%; background:var(--bc-lime); }
.cy-demo-steps ol { padding:0; margin:0; list-style:none; }
.cy-demo-steps li { display:flex; align-items:center; gap:11px; padding:9px; margin-bottom:6px; color:#9595a4; font-size:12px; line-height:1.6; }
.cy-demo-steps li>span { display:grid; place-items:center; flex:0 0 23px; height:23px; border:1px solid #474754; border-radius:50%; font:11px var(--bc-mono); }
.cy-demo-steps .is-done { color:#d7d7df; }
.cy-demo-steps .is-done>span { color:var(--bc-lime); border-color:#627041; }
.cy-demo-steps .is-current { background:#262b1c; border:1px solid #667145; border-radius:6px; color:var(--bc-lime); }
.cy-demo-steps>p { font-size:11px; color:var(--cy-muted); margin:20px 0 0; }
.cy-lab-features { gap:32px; margin:32px 0; }
.cy-learning-boundary { display:flex; gap:24px; padding:18px 23px; border-left:2px solid var(--bc-blue); background:#13151d; }
.cy-learning-boundary>strong { white-space:nowrap; color:var(--bc-blue); font-size:13px; line-height:1.8; }
.cy-learning-boundary p { font-size:13px; margin:0; color:var(--cy-muted); }
.cy-curriculum-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin:48px 0 22px; }
.cy-curriculum-head h3 { font-size:25px; line-height:1.4; margin:0; letter-spacing:-.04em; }
.cy-curriculum-head p { font-size:12px; color:var(--cy-faint); margin:0; }
.cy-curriculum { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.cy-curriculum>article { background:var(--bc-panel); border:1px solid var(--bc-line); border-radius:12px; padding:28px; }
.cy-track-head>span { color:var(--bc-lime); font:13px var(--bc-mono); }
.cy-track-head h4 { font-size:23px; margin:15px 0 10px; letter-spacing:-.03em; }
.cy-track-head p { color:var(--cy-muted); font-size:13px; }
.cy-mission-list { padding:0; margin:25px 0; list-style:none; }
.cy-mission-list li { display:flex; gap:20px; border-top:1px solid #29292f; padding:11px 0; font-size:14px; line-height:1.5; }
.cy-mission-list li span { color:var(--cy-faint); font:12px/1.8 var(--bc-mono); }
.cy-command-strip { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:0; }
.cy-command-strip code { color:#d6dfbd; background:#20241a; border-radius:4px; padding:3px 6px; font:11px/1.5 var(--bc-mono); }
.cy-application-note { color:var(--bc-blue); font-size:12px; margin-bottom:0; }
.cy-lab-access { display:flex; justify-content:space-between; align-items:center; gap:30px; margin-top:24px; padding:30px; border:1px solid #434a30; border-radius:12px; background:#11130f; }
.cy-lab-access h3 { font-size:21px; margin-bottom:12px; }
.cy-lab-access p { color:var(--cy-muted); font-size:14px; margin-bottom:10px; }
.cy-lab-access strong { color:#ededf1; }
.cy-lab-access .cy-small { font-size:12px; max-width:650px; margin-bottom:0; }
.cy-lab-access>.cy-button { white-space:nowrap; flex-shrink:0; }
.cy-faq { border-top:1px solid #3a3a42; }
.cy-faq details { border-bottom:1px solid #303037; }
.cy-faq summary { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:23px 4px; font-size:17px; line-height:1.6; font-weight:600; cursor:pointer; list-style:none; }
.cy-faq summary::-webkit-details-marker { display:none; }
.cy-faq summary::after { content:'+'; color:var(--bc-lime); font:22px var(--bc-mono); }
.cy-faq details[open] summary::after { content:'−'; }
.cy-faq details p { font-size:15px; color:var(--cy-muted); padding:0 35px 23px 4px; margin:0; max-width:950px; }
.cy-contact { margin-top:80px; padding:40px; background:var(--bc-panel); border:1px solid var(--bc-line); border-radius:12px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cy-contact h2 { font-size:30px; line-height:1.4; letter-spacing:-.04em; margin-bottom:15px; }
.cy-contact p { color:var(--cy-muted); font-size:14px; margin-bottom:0; }
.cy-contact .cy-label { margin-bottom:15px; color:var(--bc-red); }
.cy-contact-actions { display:grid; gap:10px; flex-shrink:0; }
.cy-official-note { color:var(--cy-faint); font-size:11px; margin:25px 0 0; }
.cy-mobile-break { display:none; }
@media (max-width:1089px) {
  .cy-practices { grid-template-columns:1fr 1fr; }
  .cy-practices article:nth-child(3) { border-left:0; }
  .cy-practices article:nth-child(n+3) { border-top:1px solid var(--bc-line); }
  .cy-hero { padding:35px; gap:28px; }
  .cy-hero h1>span { font-size:39px; }
  .cy-exam-card { padding:25px 20px; }
  .cy-section-head { align-items:flex-start; gap:28px; }
  .cy-section-head>p { max-width:420px; }
  .cy-demo-body { grid-template-columns:minmax(0,1.2fr) minmax(270px,1fr); }
  .cy-exam-layout { grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr); }
  .cy-date-panel,.cy-format-panel { padding:24px; }
}
@media (max-width:767px) {
  .cy-hero { grid-template-columns:1fr; padding:28px 24px; gap:30px; }
  .cy-hero h1 { font-size:29px; }
  .cy-hero h1>span { font-size:36px; margin-top:16px; }
  .cy-hero .cy-lead { font-size:15px; }
  .cy-desktop-break { display:none; }
  .cy-hero-note { font-size:13px; }
  .cy-exam-card { padding:24px; }
  .cy-exam-year { font-size:59px; }
  .cy-section-nav { grid-template-columns:1fr 1fr; gap:4px 12px; padding:18px 0; }
  .cy-section-nav a { font-size:11px; }
  .cy-section-nav span { margin-right:5px; font-size:10px; }
  .cy-section { padding-top:55px; scroll-margin-top:90px; }
  .cy-section-head { display:block; margin-bottom:23px; }
  .cy-section-head h2 { font-size:27px; }
  .cy-section-head>p { margin-top:20px; font-size:14px; }
  .cy-practices,.cy-exam-layout,.cy-exam-process,.cy-lab-features,.cy-curriculum,.cy-demo-body { grid-template-columns:1fr; }
  .cy-practices article { padding:24px; }
  .cy-practices article+article { border-left:0; border-top:1px solid var(--bc-line); }
  .cy-practice-number { margin-bottom:16px; }
  .cy-units { grid-template-columns:1fr; gap:12px; padding-top:0; }
  .cy-units li { gap:18px; }
  .cy-date-panel h3 { margin-bottom:14px; }
  .cy-date-panel h3 span { display:inline; margin-left:8px; }
  .cy-korea-time strong { display:inline; margin-left:8px; font-size:21px; }
  .cy-exam-parts { gap:20px; }
  .cy-format-top strong { font-size:19px; }
  .cy-format-panel { padding:24px 20px; }
  .cy-exam-parts h3 { font-size:18px; }
  .cy-exam-parts h3 strong { font-size:25px; }
  .cy-exam-process,.cy-lab-features { gap:24px; }
  .cy-exam-process article { padding-left:18px; border-left:1px solid #41414b; }
  .cy-lab-intro { gap:10px; align-items:flex-start; }
  .cy-lab-intro p { font-size:14px; }
  .cy-lab-intro img { width:100px; height:100px; }
  .cy-pill { font-size:11px; padding:5px 8px; }
  .cy-demo>figcaption { flex-wrap:wrap; gap:6px; padding:16px 18px; font-size:11px; }
  .cy-demo-terminal { padding:22px 18px; }
  .cy-demo-terminal pre { font-size:11px; }
  .cy-demo-steps { border-left:0; border-top:1px solid #30303b; padding:22px; }
  .cy-learning-boundary { display:block; padding:17px; }
  .cy-learning-boundary strong { display:block; margin-bottom:7px; }
  .cy-curriculum-head { display:block; }
  .cy-curriculum-head h3 { font-size:24px; }
  .cy-curriculum-head p { margin-top:10px; }
  .cy-mobile-break { display:block; }
  .cy-curriculum>article { padding:24px; }
  .cy-mission-list li { font-size:13px; gap:14px; }
  .cy-lab-access { display:block; padding:24px; }
  .cy-lab-access>.cy-button { margin-top:23px; width:100%; }
  .cy-faq summary { font-size:15px; }
  .cy-faq details p { font-size:14px; }
  .cy-contact { margin-top:55px; display:block; padding:28px 24px; }
  .cy-contact h2 { font-size:25px; }
  .cy-contact-actions { margin-top:25px; }
}
@media (max-width:359px) {
  .cy-hero { padding:24px 18px; }
  .cy-hero h1 { font-size:25px; }
  .cy-hero h1>span { font-size:31px; }
  .cy-lab-intro img { display:none; }
  .cy-exam-parts { grid-template-columns:1fr; }
  .cy-exam-parts article+article { border-top:1px solid var(--bc-line); padding-top:22px; }
  .cy-section-nav { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) { .bc-cyber * { scroll-behavior:auto; transition:none; } }
