/* dureclass.com — the product site. Navy and orange are the teacher program's own colours (통합 화면). */
:root {
  --bg: #f6f7f4; --paper: #ffffff; --fg: #16202c; --muted: #586474; --rule: #dfe3de;
  --navy: #13284a; --navy2: #1e3d6c; --sky: #e8f0fb; --accent: #e85a05; --orange: #ff6407; --accentSoft: #fff1e6;
  --ok: #1f8a4c; --codeBg: #eef0ec; --brandBlue: #1b5fad;
  --display: "Gothic A1", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --body: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutterR: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #10151c; --paper: #18202a; --fg: #e6eaf0; --muted: #98a4b3; --rule: #28313c;
  --navy: #0b1a31; --navy2: #183258; --sky: #16263b; --accent: #ff8a3d; --accentSoft: #34210f; --codeBg: #212a35; --brandBlue: #7fb2ef; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #10151c; --paper: #18202a; --fg: #e6eaf0; --muted: #98a4b3; --rule: #28313c;
  --navy: #0b1a31; --navy2: #183258; --sky: #16263b; --accent: #ff8a3d; --accentSoft: #34210f; --codeBg: #212a35; --brandBlue: #7fb2ef; color-scheme: dark }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16.5px/1.75 var(--body); word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.in { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutterR); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--navy); }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--navy) 96%, transparent); backdrop-filter: blur(8px); }
.top .in { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.logo svg { width: 34px; height: 34px; }
.logo b { font: 900 21px var(--display); letter-spacing: -0.01em; }
.logo small { font: 900 14px var(--display); color: #fff; margin-left: 2px; }
.logo .wordmark-accent, .brand-guide .wordmark-accent { color: #ffb27a; }
.menu { display: flex; gap: 20px; margin-left: auto; font-size: 15px; }
.menu a { color: #d7e2f2; text-decoration: none; white-space: nowrap; }
.menu a:hover, .menu a:focus-visible { color: #fff; }
.cta { background: var(--orange); color: #fff !important; padding: 8px 16px; border-radius: 99px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cta:hover { filter: brightness(1.06); }
.menuBtn { display: none; margin-left: auto; white-space: nowrap; flex: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 6px 12px; font: 700 14px var(--body); cursor: pointer; }
.languageLink { flex: none; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 4px 10px; font-size: 14px; }
.languageLink:hover { background: rgba(255,255,255,.12); }
@media (max-width: 1100px) {
  .top .in { gap: 10px; }
  .menuBtn { display: block; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; gap: 0; padding: 8px var(--gutterR) 16px var(--gutter); }
  .menu.open { display: flex; }
  .menu a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .top .cta.wide { display: none; }
}
@media (max-width: 440px) {
  .logo small { display: none; }
}

@media (max-width: 1100px) {
  .top .landing-menu { display: flex; position: static; flex-direction: row; gap: clamp(8px, 2.5vw, 16px); padding: 0; background: none; }
  .top .landing-menu a { display: flex; align-items: center; min-height: 44px; padding: 0; border: 0; font-size: clamp(12px, 3.6vw, 15px); }
}
@media (max-width: 440px) {
  .landing-top .logo { gap: 5px; }
  .landing-top .logo svg { width: 26px; height: 26px; }
  .landing-top .logo b { font-size: 17px; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(120% 80% at 80% 0%, #2a5592 0%, var(--navy2) 38%, var(--navy) 100%); }
.hero .photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.hero > .in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
@media (max-width: 980px) { .hero > .in { grid-template-columns: 1fr; padding-block: 44px 52px; } }
.eyebrow { font: 700 13px var(--body); letter-spacing: .14em; color: #ffb27a; text-transform: uppercase; }
.hero h1 { font: 900 clamp(34px, 5.2vw, 58px)/1.14 var(--display); margin: 10px 0 0; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #ffb27a; }
.hero p.lede { color: #cfdcef; font-size: clamp(16px, 1.6vw, 19px); margin: 18px 0 0; max-width: 36em; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 99px; font: 700 16px var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: var(--orange); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn.line { background: transparent; color: var(--fg); border: 1.5px solid var(--rule); }
.btn:hover { filter: brightness(1.07); }
.shotFrame { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); background: #0e1a2e; }
.shotFrame.prod { border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.18); }
.shotFrame .bar { height: 26px; background: #0b1527; display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.shotFrame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #2d3d57; }
.facts { background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.factsIn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.factsIn > div { padding: 18px 20px 18px 0; }
.factsIn > div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.08); }
.facts b { display: block; font: 900 24px/1.25 var(--display); color: #fff; }
.facts span { color: #b9c9df; font-size: 14px; }
@media (max-width: 720px) { .factsIn { grid-template-columns: repeat(2, minmax(0, 1fr)); } .factsIn > div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* ---------- sections ---------- */
section.blk { padding-block: 84px; }
section.blk.alt { background: var(--paper); }
section.blk.sky { background: var(--sky); }
.head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 40px; }
.head .eyebrow { color: var(--accent); }
.head h2 { font: 900 clamp(28px, 3.6vw, 40px)/1.25 var(--display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
.head p { margin: 0; color: var(--muted); font-size: 17.5px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
@media (max-width: 900px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 26px; display: grid; gap: 10px; align-content: start; }
section.alt .card { background: var(--bg); }
.card h3 { font: 800 20px/1.35 var(--display); margin: 0; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accentSoft); color: var(--accent); }
.ico svg { width: 26px; height: 26px; }

/* feature tabs (the eight 묶음) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab { border: 1.5px solid var(--rule); background: var(--paper); color: var(--fg); font: 700 15px var(--body); padding: 9px 18px; border-radius: 99px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy2); color: #fff; border-color: var(--navy2); }
.panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } }
.panel h3 { font: 900 26px/1.3 var(--display); margin: 0 0 6px; }
.panel p { margin: 0 0 14px; color: var(--muted); }
html[lang="ko"] #panelText { white-space: pre-line; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--codeBg); border: 1px solid var(--rule); border-radius: 8px; padding: 4px 11px; font-size: 14.5px; font-weight: 500; }
.panel .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 14px 34px rgba(19,40,74,.16); }
.more { margin-top: 18px; font-weight: 700; display: inline-block; }

/* lesson flow */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: f; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }
.flow > div { padding: 28px; border-top: 4px solid var(--navy2); background: var(--paper); display: grid; gap: 10px; align-content: start; }
.flow > div:nth-child(2) { border-top-color: var(--orange); }
.flow > div:nth-child(3) { border-top-color: var(--ok); }
.flow h3 { font: 900 22px var(--display); margin: 0; }
.flow h3 small { display: block; font: 700 12.5px var(--body); color: var(--muted); letter-spacing: .1em; }
.flow ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* devices table */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 14px; overflow: hidden; font-size: 15.5px; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { background: var(--navy2); color: #fff; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; white-space: nowrap; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }

/* student */
.student { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 900px) { .student { grid-template-columns: 1fr; } }
.student figure { margin: 0; background: var(--navy); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.student figure img { border-radius: 10px; margin: 0 auto; max-height: 420px; width: auto; }
.student figcaption { color: #d7e2f2; font-size: 14.5px; text-align: center; }

/* videos */
.videos { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } }
.vid { background: #0b1527; border-radius: 14px; overflow: hidden; display: grid; align-self: start; }
.vid video, .vid .poster { width: 100%; aspect-ratio: 16 / 9; background: #0b1527; object-fit: cover; display: block; }
/* ---------- 태블릿 · 스마트교실 수업 지원 ---------- */
.smartBar { background: linear-gradient(90deg, #1b5fad, #2a74c4); color: #fff; border-radius: 14px; padding: 18px 26px; }
.smartBar .eyebrow { color: #ffd2b0; display: block; margin-bottom: 4px; }
.smartBar h2 { margin: 0; color: #fff; font-size: clamp(24px, 3.2vw, 34px); }
.smartLead { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 18px 4px 26px; max-width: 62em; }
.smartLead b { color: var(--fg); }
.smartGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
@media (max-width: 760px) { .smartGrid { grid-template-columns: 1fr; } }
.smartCard { margin: 0; display: grid; gap: 12px; align-content: start; }
.smartCard h3 { margin: 0 0 4px; color: var(--brandBlue); font: 800 24px var(--display); }
.smartCard p { margin: 0; color: var(--muted); line-height: 1.6; }
.smartCard img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 10px 30px rgba(19, 40, 74, .12); }
.smartRow { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sky); border-radius: 16px; padding: 10px; }
@media (max-width: 760px) { .smartRow { grid-template-columns: 1fr; } }
.smartRow > div { padding: 18px 22px; text-align: center; }
.smartRow > div + div { border-left: 2px dashed rgba(27, 95, 173, .22); }
@media (max-width: 760px) { .smartRow > div + div { border-left: 0; border-top: 2px dashed rgba(27, 95, 173, .22); } }
.smartRow svg { width: 52px; height: 52px; color: var(--brandBlue); }
.smartRow h3 { margin: 8px 0 6px; color: var(--brandBlue); font: 800 19px var(--display); }
.smartRow p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.vid .ytframe, .vid .ytface { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #0b1527 center / cover no-repeat; }
.vid .ytface { position: relative; cursor: pointer; padding: 0; }
.vid .ytface::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 14px;
  background: rgba(255, 100, 7, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center / 30px no-repeat;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: transform .15s; }
.vid .ytface:hover::after, .vid .ytface:focus-visible::after { transform: scale(1.08); }
.vid .poster { display: grid; place-items: center; color: #9fb2cc; font-size: 15px; text-align: center; padding: 16px; }
.vid .cap { padding: 12px 16px; color: #e6eaf0; display: grid; gap: 2px; }
.vid .cap b { font: 800 16px var(--display); }
.vid .cap span { color: #9fb2cc; font-size: 14px; }
.vlist { display: grid; gap: 12px; align-content: start; align-self: start; min-width: 0; }
.vtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.vtab { min-height: 48px; padding: 12px 4px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: 700 14px/1.4 var(--body); cursor: pointer; }
.vtab:hover { color: var(--fg); background: var(--paper); }
.vtab[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.vtab:focus-visible { outline-offset: -3px; }
.vpanel { display: grid; gap: 10px; align-content: start; height: 400px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; padding: 6px 8px 6px 6px; }
.vlist .vitem { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 8px; cursor: pointer; color: var(--fg); font: 500 15px var(--body); }
.vlist .vitem:hover { border-color: var(--muted); }
.vlist .vitem[aria-pressed="true"] { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.vlist img { border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; }
.vlist small { color: var(--muted); display: block; font-size: 13px; }
@media (max-width: 900px) { .vpanel { height: 320px; } }
@media (max-width: 440px) {
  .vtab { font-size: 13px; }
  .vlist .vitem { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
}

/* downloads */
.dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } }
.dl .card .os { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dl .os a, .dl .os span { font: 700 14px var(--body); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.dl .os a { background: var(--navy2); color: #fff; }
.dl .os a[data-dl$="-android"] { display: inline-flex; align-items: center; min-height: 44px; }
.dl .os a:hover { filter: brightness(1.12); }
.dl .os span { background: var(--codeBg); color: var(--muted); border: 1px dashed var(--rule); }
.req { font-size: 14px; color: var(--muted); }

/* resources + contact */
.res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .res { grid-template-columns: 1fr; } }
.res a.card { text-decoration: none; color: var(--fg); transition: transform .15s; }
.res a.card:hover { transform: translateY(-2px); border-color: var(--orange); }
.contact { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact h2 { font: 900 clamp(26px, 3.4vw, 38px)/1.25 var(--display); margin: 0; }
.contact p { color: #c9d7ea; margin: 10px 0 0; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; background: rgba(255,255,255,.07); border-radius: 14px; padding: 20px; }
.contact dt { color: #ffb27a; font-weight: 700; }
.contact dd { margin: 0; }
.todo { color: #ffd9bd; font-style: normal; border-bottom: 1px dashed rgba(255,217,189,.6); }

/* footer */
footer.site { background: var(--navy); color: #a9b9cf; font-size: 14px; padding-block: 40px; margin-top: 84px; }
footer.site .in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { footer.site .in { grid-template-columns: 1fr 1fr; } }
footer.site b { color: #fff; display: block; margin-bottom: 8px; }
footer.site a { color: #a9b9cf; text-decoration: none; display: block; padding: 2px 0; }
footer.site a:hover { color: #fff; }
footer.site .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }

footer.site .footer-logo { display: flex; flex-wrap: wrap; gap: 8px; width: fit-content; margin-bottom: 8px; }
footer.site .footer-logo b { margin: 0; }
footer.site .footer-logo img { flex: none; }
footer.site .footer-logo small { display: inline; }
.brand-guide .hero > .in { display: block; }
.brand-guide .brand-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-guide .brand-preview { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 100px; padding: 20px; background: var(--navy); color: #fff; border-radius: 12px; }
.brand-guide .wordmark { font: 900 clamp(24px, 4vw, 36px) var(--display); letter-spacing: -.01em; }
.brand-guide .wordmark small { font: inherit; color: #fff; }
.brand-guide .brand-colors { padding-left: 20px; }
@media (max-width: 680px) {
  .brand-guide .brand-samples { grid-template-columns: 1fr; }
  footer.site .in { grid-template-columns: 1fr 1fr; }
  footer.site .in > div:first-child { grid-column: 1 / -1; }
}
