/* v3: the page around the films. The hero shows its own claim (two students, one score, two lessons),
   the header keeps one clear action, and the page closes on a single trial band. The films keep their
   own look; nothing here borrows it. */

/* ---------- header ---------- */
.header-trial{min-height:36px;padding:0 15px;white-space:nowrap;border:1px solid #39435d;border-radius:999px;background:rgba(160,177,231,.08);color:#dbe3fa;font-weight:500;transition:background .18s,border-color .18s}
.header-trial:hover{background:rgba(160,177,231,.16);border-color:#56638a;color:#eef2fd}
/* 무료 체험 joins the header only once the hero's own button is out of view; until then 로그인 sits at the
   end. The gap is a variable so the hidden button can give its gap back. Without JS it simply shows. */
/* the header items share one baseline, so Korean and Latin labels sit on the same line in every browser
   (centring by box let Safari set 로그인 a little lower than KO). The language button is an inline block, so its
   baseline is the KO text's, and its icons sit on the cap-height centre of that text (font metrics, not pixels) */
.header-actions{--hgap:30px;gap:var(--hgap);align-items:baseline}
@media(max-width:700px){.header-actions{--hgap:22px}}
.header.trial-auto .header-trial{max-width:140px;overflow:hidden;transition:max-width .45s cubic-bezier(.2,.7,.2,1),margin .45s cubic-bezier(.2,.7,.2,1),padding .45s cubic-bezier(.2,.7,.2,1),opacity .3s ease .12s,border-color .3s ease .12s,background .18s,visibility 0s}
.header.trial-auto:not(.show-trial) .header-trial{max-width:0;min-width:0;border-width:0;margin-left:calc(-1 * var(--hgap));padding-inline:0;border-color:transparent;opacity:0;visibility:hidden;transition:max-width .45s cubic-bezier(.2,.7,.2,1),margin .45s cubic-bezier(.2,.7,.2,1),padding .45s cubic-bezier(.2,.7,.2,1),opacity .2s ease,border-color .2s ease,visibility 0s .45s}
.header.no-anim .header-trial{transition:none!important}
@media(prefers-reduced-motion:reduce){.header.trial-auto .header-trial{transition:none!important}}
/* language: a globe and the current code, opening a small menu of the two pages */
/* every header item is spaced by its visible edge: the KO button's hover padding and 로그인's wider tap area
   are taken back with negative margins, so each gap is exactly --hgap */
.lang{position:relative;display:flex;margin-inline:calc(-1 * var(--lp,8px))}
.lang-btn{display:inline-block;line-height:36px;white-space:nowrap;padding:0 var(--lp,8px);border:0;border-radius:8px;background:none;color:var(--muted);font-size:12.5px;font-weight:500;letter-spacing:.03em;transition:color .18s,background .18s}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{color:#eef0f5;background:rgba(255,255,255,.05)}
/* Pretendard's cap height is about .72em, so the caps' centre is .36em above the baseline */
.lang-btn svg{display:inline-block;width:15px;height:15px;margin-right:5px;vertical-align:calc(.36em - 7.5px);fill:none;stroke:currentColor;stroke-width:1.2}
.lang-btn .chev{width:9px;height:9px;margin:0 0 0 5px;vertical-align:calc(.36em - 3.9px);stroke-width:1.4;transition:transform .2s}
.lang-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
/* Hangul labels carry a little more below the baseline than the Latin KO; a quarter pixel up splits the
   difference between Safari and Chrome (measured in both) */
.header-blog,.header-login,.header-trial{position:relative;top:-.25px}
.header-login{min-width:0;padding-inline:8px;margin-inline:-8px}
.lang-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:40;display:grid;gap:2px;min-width:136px;padding:6px;border:1px solid #2b2e36;border-radius:12px;background:rgba(23,24,28,.96);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 14px 34px -14px rgba(0,0,0,.7)}
.lang-menu[hidden]{display:none}
.lang-menu a,.lang-menu .language{display:flex;align-items:center;justify-content:space-between;min-height:38px;min-width:0;padding:0 10px;border-radius:8px;font-size:13px;color:var(--body)}
.lang-menu a:hover{background:rgba(160,177,231,.1);color:#eef2fd}
.lang-menu a[aria-current]{color:var(--ink)}
.lang-menu a[aria-current]::after{content:'';width:10px;height:6px;border:solid var(--blue);border-width:0 0 1.5px 1.5px;transform:translateY(-2px) rotate(-45deg)}
@media(prefers-reduced-motion:no-preference){.lang-menu:not([hidden]){animation:v3-up .18s cubic-bezier(.2,.7,.2,1)}}
@media(max-width:400px){.header-actions{--hgap:20px}.lang{--lp:5px}}
/* the narrowest phones: while 무료 체험 shows, the logo is the m it becomes on scroll, so the four controls fit */
/* the narrowest phones: the card copy is too narrow for the phrase breaks, so it flows instead */
@media(max-width:350px){.x-copy p{font-size:14px}.x-copy p br{display:none}}
@media(max-width:350px){.header:not(.trial-auto) .brand,.header.show-trial .brand{width:32px}.header:not(.trial-auto) .brand .word-tail,.header.show-trial .brand .word-tail{opacity:0}.header-actions{--hgap:12px}}

/* ---------- hero ---------- */
.hero-description{max-width:none}
.hero-actions{align-items:center;gap:26px}
.hero-parent{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--body);text-decoration:underline;text-decoration-color:#4a4d55;text-underline-offset:6px;transition:color .18s,text-decoration-color .18s}
.hero-parent:hover{color:var(--ink);text-decoration-color:var(--blue)}
.hero-note{margin-top:12px}

/* ---------- hero: the claim on the left, the proof on the right ----------
   Two students with the same 650. The rolling word names what Marvas adjusts (수업, 설명, 질문, 지문,
   연습, 복습) and both cards change with it, showing what each child gets for that one thing. */
.hero-description{word-break:keep-all}
.hero-x{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px;min-height:min(calc(100svh - var(--header)),860px);padding-top:24px;padding-bottom:56px;text-align:left}
.hero-x::before,.hero-x::after{content:'';position:absolute;pointer-events:none;z-index:-1}
.hero-x::before{left:0;top:-60px;width:62%;height:110%;background:radial-gradient(closest-side,rgba(160,177,231,.12),transparent)}
.hero-x::after{right:0;bottom:-40px;width:50%;height:70%;background:radial-gradient(closest-side,rgba(222,166,140,.05),transparent)}
.hero-x h1{font-size:clamp(46px,5.5vw,78px);line-height:1.16;letter-spacing:-.045em}
.hero-x .hero-description{margin:34px 0 0;max-width:none;font-size:20px}
/* the claim carries the line; the product name sits back */
.hero-x .hero-description{color:var(--body)}
.hero-x .hero-description b{font-weight:500;color:var(--ink)}
/* the claim shimmers like a "thinking" label: the text rests in a soft blue-grey and a wide band of
   white light runs across it at a steady pace, without pause. The band sits in the middle of a 300%
   image; 100% -> 0% carries it from fully off the left edge to fully off the right. Still under reduced motion. */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hero-x .hero-description b{background:linear-gradient(90deg,#b9c3e2 38%,#fff 50%,#b9c3e2 62%) 100% 0/300% 100% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent}
}
@media(prefers-reduced-motion:no-preference){.hero-x .hero-description b{animation:hx-think 2.2s linear infinite}}
@media(prefers-reduced-motion:reduce){.hero-x .hero-description b{background-image:none;color:#cdd5ee}}
@keyframes hx-think{to{background-position:0 0}}
.hero-x .hero-actions{justify-content:flex-start;gap:18px;margin-top:40px}
/* the one action: a dark glass button with a light blue tint, a clear edge and a faint glow beneath, not a bright
   fill. A bright light runs round its edge every 6s; on hover
   the blue fills in a little, the edge brightens, a soft glow rises under it and the arrow steps forward. */
@property --hx-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@property --hx-fill{syntax:'<color>';inherits:false;initial-value:rgba(160,177,231,.07)}
.hx-cta{--hx-fill:rgba(160,177,231,.12);min-height:54px;padding:0 22px 0 24px;gap:22px;border:1px solid transparent;border-radius:10px;background:linear-gradient(var(--hx-fill),var(--hx-fill)) padding-box,linear-gradient(#17191e,#17191e) padding-box,conic-gradient(from var(--hx-a),rgba(160,177,231,.34),rgba(160,177,231,.34) 55%,rgba(210,220,248,.95) 72%,rgba(160,177,231,.34) 88%) border-box;color:#f2f5fd;font-size:15.5px;font-weight:600;box-shadow:0 10px 30px -14px rgba(160,177,231,.5);transition:--hx-fill .3s,box-shadow .3s,color .3s,transform .2s}
.hx-cta:hover{--hx-fill:rgba(160,177,231,.2);background:linear-gradient(var(--hx-fill),var(--hx-fill)) padding-box,linear-gradient(#17191e,#17191e) padding-box,conic-gradient(from var(--hx-a),rgba(160,177,231,.55),rgba(160,177,231,.55) 55%,#dfe6fb 72%,rgba(160,177,231,.55) 88%) border-box;/* keep the glass: the shared .button:hover would fill it */border-color:transparent;color:#fff;box-shadow:0 10px 32px -10px rgba(160,177,231,.6);transform:none}
.hx-cta:active{transform:scale(.985)}
.hx-cta:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.hx-cta>span{color:var(--blue)}
.hx-cta:hover>span{transform:translateX(4px)}
@media(prefers-reduced-motion:no-preference){.hx-cta{animation:hx-edge 6s linear infinite}}
@keyframes hx-edge{to{--hx-a:360deg}}

/* the rolling word: words stacked in one slot, so nothing is ever clipped */
.hero h1 .roll-wrap{position:relative;display:inline-block;color:var(--blue);transition:width .55s cubic-bezier(.2,.7,.2,1)}
.hero h1 .roll-wrap span{color:inherit}
.roll-sizer{visibility:hidden;white-space:nowrap}
.hero h1 .roll-wrap{white-space:nowrap}
/* one beat per change: the old word leaves quickly, the new one rises in just after (no overlap, no blur),
   the line under it simply follows the width, and the cards fade on the same timing */
.roll-wrap .rw{position:absolute;left:0;top:0;white-space:nowrap;opacity:0;transform:translateY(.3em);transition:opacity .45s cubic-bezier(.2,.7,.2,1) .12s,transform .5s cubic-bezier(.2,.7,.2,1) .12s}
.roll-wrap .rw.on{opacity:1;transform:none}
.roll-wrap .rw.out{opacity:0;transform:translateY(-.3em);transition:opacity .2s ease-in,transform .25s ease-in}
.roll-wrap::after{content:'';position:absolute;left:1%;right:1%;bottom:.04em;height:.055em;min-height:2px;border-radius:2px;background:linear-gradient(90deg,var(--blue),rgba(160,177,231,.35));transform-origin:left}

/* two students, one score */
.hx-stage{position:relative;height:430px;perspective:1700px}
.hx-cards{position:absolute;inset:0;transform:rotateY(-8deg) rotateX(3deg);transform-style:preserve-3d}
.hx-card{position:absolute;width:min(400px,80%);padding:16px 18px 18px;border:1px solid #2a2d36;border-radius:20px;background:linear-gradient(160deg,rgba(32,34,41,.96),rgba(20,21,25,.96));box-shadow:0 30px 60px -28px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.04)}
.hx-card.a{left:2%;top:0}
.hx-card.b{right:0;bottom:0;transform:translateZ(40px)}
.hx-top{display:flex;align-items:baseline;gap:10px;font-size:13px;color:var(--muted)}
.hx-top em{margin-left:auto;font-style:normal;font-size:13px;font-weight:600;color:var(--body);font-variant-numeric:tabular-nums}
/* a pared-down Marvas screen: a few lines of the passage, with what this child needs highlighted, and one panel */
.mw{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-top:12px;padding:14px;border:1px solid #23252b;border-radius:12px;background:#141518}
.mw-pass,.mw-panel{transition:opacity .55s cubic-bezier(.2,.7,.2,1),transform .55s cubic-bezier(.2,.7,.2,1)}
.mw-pass.dim,.mw-panel.dim{opacity:.15;transform:translateY(2px);transition:opacity .3s ease-in-out,transform .3s ease-in-out}
.mw-pass{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--serif);font-size:12.5px;line-height:1.65;color:#a9abb1}
.mw-pass mark{background:linear-gradient(rgba(160,177,231,.22),rgba(160,177,231,.22)) no-repeat 0 0/100% 100%;color:#e8ecfa;border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.hx-card.fading .mw-pass mark{background-image:linear-gradient(rgba(222,166,140,.2),rgba(222,166,140,.2));color:#f2dccf}
/* the highlight paints in from the left after each swap, as if the tutor were marking it */
@media(prefers-reduced-motion:no-preference){.mw-pass mark{animation:hx-paint .55s cubic-bezier(.2,.7,.2,1) .05s both}}
@keyframes hx-paint{from{background-size:0% 100%}}
/* every state fits the same box, so the cards keep one size as the word rolls */
.mw-panel{display:flex;flex-direction:column;justify-content:center;gap:7px;height:104px;overflow:hidden;font-size:12px;line-height:1.5;color:var(--body)}
.mw-panel small{font-size:11.5px;color:var(--muted)}
.pl{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.pl li{padding:5px 9px;border:1px solid #2a2d34;border-radius:7px;color:var(--muted)}
.pl li.on{border-color:#3d4866;background:rgba(160,177,231,.1);font-weight:600;color:#dfe5f8}
.bb{margin:0;padding:8px 10px;border-radius:10px 10px 10px 3px;background:#22252c;font-size:12px;line-height:1.5;color:#e2e2e2}
.bb.s{padding:4px 8px;font-size:11.5px;line-height:1.4}
.mw-panel:has(.bb.s){gap:5px}
.bb.q{border:1px solid #3d4866;background:rgba(160,177,231,.1);color:#e8ecfa}
.ok{display:flex;align-items:center;gap:8px;margin:0;font-size:12.5px;font-weight:600;color:#dfe5f8}
.ok b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(160,177,231,.16);font-size:11px;color:var(--blue)}
.bb i{margin-right:6px;font-style:normal;font-weight:700;color:var(--blue)}
.pace{display:grid;gap:2px}
.pace b{font-size:26px;font-weight:600;line-height:1.1;color:#e8ecfa}
.tag{align-self:flex-start;padding:4px 9px;border-radius:6px;background:#22252d;font-size:12px;font-weight:600;color:#dfe5f8}
.mc{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.mc li{display:grid;place-items:center;width:30px;height:26px;border:1px solid #2f323a;border-radius:6px;font-size:11.5px;color:var(--muted)}
.mc li.on{border-color:var(--blue);background:rgba(160,177,231,.14);color:#e8ecfa}
.fc{display:grid;gap:2px;padding:9px 11px;border:1px solid #3d4866;border-radius:9px;background:#1e2230}
.fc b{font-family:var(--serif);font-size:14px;font-weight:600;color:#e8ecfa}
.fc span{font-size:11.5px;color:var(--body)}
.mw-panel svg{width:100%;height:46px;overflow:visible}
.mw-panel path{fill:none;stroke:var(--blue);stroke-width:1.6;vector-effect:non-scaling-stroke}
.mw-panel circle{fill:var(--blue)}
.hx-card.fading .mw-panel path{stroke:var(--mineral)}
.hx-card.fading .mw-panel circle{fill:var(--mineral)}
.when{color:var(--blue)!important;font-weight:600}
.hx-card.fading .when{color:var(--mineral)!important}
@keyframes hx-float{from{transform:rotateY(-8deg) rotateX(3deg) translateY(0)}to{transform:rotateY(-8deg) rotateX(3deg) translateY(-8px)}}

/* ---------- motion: few, small, once ---------- */
.button>span{display:inline-block;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.button:hover>span{transform:translateX(2px)}
@keyframes v3-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes v3-line{from{opacity:0;transform:translateY(.14em);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
@media(prefers-reduced-motion:no-preference){
  .hero-x h1{animation:v3-line 1s cubic-bezier(.2,.7,.2,1) .05s both}
  .hero-x .hero-description,.hero-x .hero-actions{animation:v3-up .8s cubic-bezier(.2,.7,.2,1) .35s both}
  .hx-stage{animation:v3-up 1.1s cubic-bezier(.2,.7,.2,1) .5s both}
  .hx-cards{animation:hx-float 6s ease-in-out 1.6s infinite alternate}
  .rv{opacity:0;transform:translateY(10px);transition:opacity .8s cubic-bezier(.2,.7,.2,1) var(--rv,0s),transform .8s cubic-bezier(.2,.7,.2,1) var(--rv,0s)}
  .rv.in{opacity:1;transform:none}
}

/* ---------- copy styling ----------
   blue marks the core promises only (the hero and the three films); every other heading stays white.
   Short ledes sit right under their heading instead of floating in a far column. */
.extras .sec-head h2 span{color:inherit}
.sec-head{display:block;margin-bottom:40px}
.sec-head .sec-lede{max-width:680px;margin:18px 0 0;font-size:18px;line-height:1.7;color:var(--body);text-wrap:pretty}
/* copy breaks at its phrases, not wherever the width runs out: <br> breaks everywhere, .bm only on phones */
br.bm{display:none}
@media(max-width:760px){br.bm{display:inline}}
/* a film's research line: the paper the idea comes from, quiet under the lede and linked to the source */
/* the one phrase a lede leans on: a shade brighter and medium weight, no colour */
.sec-lede b{font-weight:500;color:var(--ink)}
.sec-head .sec-ref{margin:14px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted)}
.sec-ref a{color:inherit;text-decoration:underline;text-decoration-color:#3a3d45;text-underline-offset:3px;transition:color .18s,text-decoration-color .18s}
.sec-ref a:hover{color:var(--body);text-decoration-color:var(--muted)}
.sec-ref i{font-style:italic}
.faq-head h2{padding-top:14px}

/* ---------- supporting features ---------- */
/* each card plays a small entrance when it becomes the active one; still otherwise */
@keyframes v3-fade{from{opacity:0}to{opacity:1}}
@keyframes v3-mark{from{background-size:0% 40%}to{background-size:100% 40%}}
.x-card.is-on .ap{animation:v3-fade .5s ease-out calc(var(--d,0s) * .6) both}
.x-card.is-on .vc-pass u.ap{animation:v3-mark .6s cubic-bezier(.4,0,.2,1) calc(var(--d,0s) * .6) both}
@media(prefers-reduced-motion:reduce){.x-card.is-on .ap,.x-card.is-on .vc-pass u.ap{animation:none}}
/* ---------- carousel pictures ----------
   one visual language (the hero's mini-screen surface: depth, a 18px radius, the same type scale), but each
   picture takes the form that suits it: a product screen, a product moment, a real KakaoTalk message, a graphic.
   Each has one focal point. */
.mock{position:relative;min-height:0;padding:20px;border:1px solid #2a2d36;border-radius:18px;background:linear-gradient(160deg,rgba(32,34,41,.96),rgba(20,21,25,.96));box-shadow:0 30px 60px -28px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.04);font-size:13px;color:var(--ink)}
.ms-bar{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:12.5px;font-weight:600;color:var(--body)}
.ms-bar svg{width:20px;height:16px;color:var(--blue)}

/* 01 the materials: three chosen passages, the source first; today's pick is lit */
.lib2{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.lib2 li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:3px;padding:12px 14px;border:1px solid #262930;border-radius:12px;background:rgba(255,255,255,.015)}
.lib2 .src{grid-row:1/3;padding:4px 9px;border-radius:7px;font-size:11px;font-weight:600;white-space:nowrap}
.lib2 .src{min-width:58px;text-align:center;background:#2a2c33;color:#d9dbe0}
.lib2 li.on .src{background:rgba(160,177,231,.16);color:#c9d3f3}
.lib2 b{grid-column:2;font-size:15px;font-weight:600;word-break:keep-all;color:var(--ink)}
.lib2 b[lang="en"]{font-family:var(--serif)}
.lib2 small{grid-column:2;font-size:11.5px;color:var(--muted)}
.lib2 em{grid-column:3;grid-row:1/3;font-size:12px;font-style:normal;font-weight:600;white-space:nowrap;color:var(--blue)}
.lib2 li.on{border-color:rgba(160,177,231,.42);background:rgba(160,177,231,.07);box-shadow:0 0 0 4px rgba(160,177,231,.05)}
/* the selected passage opens a little: its first lines, in the serif the student reads in, then its length */
.lib2 li.on{row-gap:6px;padding:14px 16px}
.lib2 li.on .src{grid-row:1/4;align-self:start;margin-top:1px}
.lib2 .ex{grid-column:2/4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-family:var(--serif);font-size:13px;line-height:1.6;color:#a9adb7}
.lib2 li.on small{grid-column:2}
.lib2 li.on em{grid-column:3;grid-row:3}

/* 02 words: one word picked up from the sentence becomes a card */
.vc-pass{margin:0;font-family:var(--serif);font-size:16px;line-height:1.75;color:#c9cbd1}
.vc-pass u{text-decoration:none;color:#eef1fb;background:linear-gradient(rgba(160,177,231,.35),rgba(160,177,231,.35)) no-repeat 0 88%/100% 40%;border-radius:2px}
.vc-save{display:inline-flex;align-items:center;gap:7px;margin:12px 0 14px;padding:4px 11px 4px 5px;border-radius:999px;background:rgba(160,177,231,.12);font-size:11.5px;color:#c9d3f3}
.vc-save i{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--blue);font-size:9.5px;font-style:normal;font-weight:700;color:#141821}
.vc-card{display:grid;gap:3px;padding:16px 18px;border:1px solid rgba(160,177,231,.38);border-radius:14px;background:rgba(160,177,231,.06)}
.vc-card b{font-family:var(--serif);font-size:21px;font-weight:600;color:#eef1fb}
.vc-card span{font-size:13px;color:var(--body)}
.vc-card p{margin:8px 0 0;font-family:var(--serif);font-size:12.5px;line-height:1.6;color:#9da1aa}
.vc-card p u{text-decoration:none;color:#d8def4}
.vc-card small{margin-top:8px;font-size:11px;font-weight:600;color:var(--blue)}

/* 03 the parent's report, as the alimtalk arrives in KakaoTalk (dark theme) */
.m-kakao{padding:22px 18px;background:#1c1e22}
.kk-row{display:flex;align-items:flex-end;gap:7px}
.kk-pf{flex:none;align-self:flex-start;display:grid;place-items:center;width:36px;height:36px;border-radius:13px;background:#232a3b;color:var(--blue)}
.kk-pf svg{width:20px;height:16px}
.kk-col{display:grid;gap:5px;flex:0 1 300px;min-width:0}
.kk-name{font-size:11.5px;color:var(--body)}
.kk-msg{overflow:hidden;border-radius:4px 14px 14px 14px;background:#2e3138}
/* KakaoTalk's yellow kept as a cue, not a banner: soft yellow type on a faint tint */
.kk-top{display:flex;align-items:center;gap:7px;padding:9px 12px;background:rgba(254,229,0,.08);border-bottom:1px solid rgba(254,229,0,.12);font-size:12px;font-weight:600;color:#e9d77a}
.kk-body{padding:12px 13px 4px;font-size:12.5px;line-height:1.6;color:#e8e8e8}
.kk-body b{display:block;margin-bottom:8px;font-size:14px;font-weight:600}
.kk-body ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.kk-body li{display:flex;align-items:flex-start;gap:9px;word-break:keep-all}
.kk-body li span{display:grid;gap:1px;font-weight:500;color:#f0f0f0}
.kk-body li small{font-size:11px;font-weight:400;color:#a3a6ad}
.kk-body li i{flex:none;display:grid;place-items:center;width:16px;height:16px;margin-top:2px;border-radius:50%;font-size:9.5px;font-style:normal;font-weight:700}
.kk-body i.ok{background:rgba(160,177,231,.2);color:var(--blue)}
.kk-body i.help{background:rgba(222,166,140,.2);color:var(--mineral)}
.kk-body i.next{background:#41444b;color:#e6e6e6}
.kk-btn{margin:10px 12px 12px;padding:9px;border-radius:6px;background:#3b3e45;text-align:center;font-size:12.5px;color:#eee}
.kk-time{flex:none;font-size:10.5px;white-space:nowrap;color:var(--muted)}

/* 04 the rhythm: a week, two readings a day; today is lit and its second reading is still to come */
.m-week{padding:24px 22px}
.wk-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.wk-day{display:grid;justify-items:center;gap:11px;padding:12px 0 14px;border-radius:12px}
.wk-day span{font-size:12px;color:var(--muted)}
.wk-day i{width:16px;height:16px;border:1.5px solid #3a3d45;border-radius:50%;box-sizing:border-box}
.wk-day i.on{border:0;background:var(--blue);box-shadow:0 0 12px rgba(160,177,231,.35)}
.wk-day i.next{border:1.5px dashed var(--blue)}
.wk-day.today{background:rgba(160,177,231,.08);box-shadow:inset 0 0 0 1px rgba(160,177,231,.3)}
.wk-day.today span{font-weight:600;color:var(--ink)}
.wk-note{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid #2a2d36}
.wk-note b{font-size:14px;font-weight:600}
.wk-note span{font-size:12px;color:var(--body)}

.film-disclosure{margin:16px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}

/* ---------- closing band ---------- */
.pilot{padding-top:144px;padding-bottom:128px}
.pilot-inner{display:block;text-align:center;border:1px solid #262a34;border-radius:24px;padding:92px 48px 84px;background:radial-gradient(64% 80% at 50% 0%,rgba(160,177,231,.11),transparent 72%),#17181b}
.pilot h2{font-size:clamp(34px,4vw,48px);font-weight:500;line-height:1.32;letter-spacing:-.035em}
.pilot-facts{display:grid;grid-template-columns:repeat(3,1fr);max-width:780px;margin:44px auto 0;padding:0;list-style:none;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pilot-facts li{display:grid;gap:6px;padding:22px 18px}
.pilot-facts li+li{border-left:1px solid var(--line)}
.pilot-facts b{font-size:20px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.pilot-facts span{font-size:13px;color:var(--muted)}
.pilot-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:40px}
.button.ghost{background:transparent;border-color:#3b404c;color:var(--ink)}
.button.ghost:hover{background:rgba(160,177,231,.08);border-color:#56638a}

/* ---------- questions ---------- */
.faq{padding-top:8px}
/* letter spacing by size: hero -.045em, section headings -.035em, card titles -.02em */
.x-copy h3{letter-spacing:-.02em}
.faq-head h2{font-size:clamp(30px,3.2vw,40px);font-weight:520;line-height:1.3;letter-spacing:-.035em}

/* ---------- phone ---------- */
@media(max-width:760px){
  .mock{padding:16px}
  .lib2 li{grid-template-columns:1fr;padding:11px 12px}
  .lib2 .src{grid-row:auto;justify-self:start;min-width:0;margin-bottom:5px;padding:3px 8px;font-size:10.5px}
  .lib2 b,.lib2 small,.lib2 li.on small{grid-column:1}
  .lib2 li.on .src{grid-row:auto}
  .lib2 .ex{grid-column:1;font-size:12.5px;-webkit-line-clamp:3}
  .lib2 b{font-size:14px}
  .lib2 em{display:none}
  .vc-pass{font-size:15px}
  .m-kakao{padding:18px 12px}
  .kk-col{flex:1 1 auto}
  .kk-time{display:none}
  .m-week{padding:18px 12px}
  .wk-grid{gap:3px}
  .wk-day i{width:14px;height:14px}
  .header-trial{min-height:34px;padding:0 12px}
  .hero-x{grid-template-columns:1fr;gap:0;min-height:0;padding-top:56px;padding-bottom:40px}
  /* phone: the two screens are too small to read here, so the hero is just the claim and the action;
     film 1, right below, shows the same two students splitting at a readable size */
  .hx-stage{display:none}
  .hero-x .hero-actions{margin-top:32px}
  .hero-x + .sec{padding-top:72px}
  .hero-x h1{font-size:44px}
  .hero-x .hero-description{font-size:16px;margin-top:20px}
  .hx-stage{height:auto;perspective:none}
  .hx-cards{position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px 0 18px;transform:none;animation:none}
  .hx-card{position:static;width:auto;padding:11px 10px 12px;border-radius:14px}
  .hx-card.a{transform:rotate(-2.5deg)}
  .hx-card.b{transform:rotate(2.5deg) translateY(16px)}
  .hx-top{font-size:11.5px}
  .hx-top em{font-size:12px}
  .mw{grid-template-columns:1fr;gap:9px;margin-top:9px;padding:9px}
  .mw-pass{font-size:11px;line-height:1.55;-webkit-line-clamp:3}
  .mw-panel{height:92px;justify-content:flex-start;font-size:11px}
  .mw-panel:has(.bb.s){gap:4px}
  .pl{gap:4px}
  .bb{padding:6px 8px;font-size:11px}
  .bb.s{padding:3px 7px;font-size:10.5px}
  .pl li{padding:3px 7px}
  .pace b{font-size:20px}
  .fc{padding:6px 8px}
  .fc b{font-size:12.5px}
  .tag{font-size:11px}
    .hero-description br{display:none}
  .hero-actions{flex-wrap:wrap;gap:12px 18px}
  .pilot{padding-top:96px;padding-bottom:80px}
  .pilot-inner{padding:56px 22px 44px;border-radius:18px}
  .pilot-facts{grid-template-columns:1fr;margin-top:32px;text-align:left}
  .pilot-facts li{grid-template-columns:116px 1fr;align-items:baseline;gap:12px;padding:15px 4px}
  .pilot-facts li+li{border-left:0;border-top:1px solid var(--line)}
  .pilot-facts b{font-size:16px}
  .pilot-actions{margin-top:30px}
  .pilot-actions .button{width:100%}
  .faq-head{margin-bottom:22px}
  .sec-head .sec-lede{font-size:15.5px;margin-top:14px}
}

/* ---------- carousel, closing band and questions: second pass (October 22) ---------- */
/* carousel: the cards alone. Each card leads with its number and copy, and its picture sits larger beside it
   (below on phones) on a soft blue light. The row runs to the right edge of the screen so the next card peeks
   out; arrows and dots sit underneath (dots only on phones). */
body{overflow-x:clip}
.carousel:focus-visible{outline:2px solid var(--blue);outline-offset:6px;border-radius:12px}
.carousel-track{--xw:min(932px,78vw);margin-right:calc(50% - 50vw);counter-reset:xc}
.carousel-track::after{content:'';flex:0 0 calc(100% - var(--xw) - 20px)}
.x-card{flex:0 0 var(--xw);counter-increment:xc;grid-template-columns:minmax(0,.82fr) minmax(0,1.3fr);gap:56px;padding:44px 44px 44px 48px;background:radial-gradient(52% 78% at 74% 50%,rgba(160,177,231,.11),transparent 72%),#17181b}
/* the copy starts at the same place on every card, so 01–04 line up as the cards slide past; the picture is centred */
.x-copy{order:-1;align-self:start;padding-top:6px}
.x-preview{align-self:center}
.x-copy::before{content:'0' counter(xc);display:block;margin-bottom:18px;font-size:13px;font-weight:600;letter-spacing:.08em;color:var(--blue)}
.x-copy h3{font-size:30px;line-height:1.35}
.x-copy p{max-width:340px;font-size:15.5px;word-break:keep-all;text-wrap:pretty}
.carousel-nav{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:22px}
/* scroll-driven: the carousel holds in place inside its runway while the page scroll moves the cards */
.carousel-pin.is-pinned,.carousel.is-pinned{position:sticky;top:var(--pin-top)}
.carousel-pin.is-open{display:contents}
/* the row runs edge to edge: the track widens to the screen on the left too, padded so the first card still starts on the content edge */
.carousel.is-driven .carousel-track{scroll-snap-type:none;overflow:hidden;margin-left:calc(50% - 50vw);padding-left:calc(50vw - 50%)}
.carousel.is-driven .x-card{transform:translate3d(var(--x,0px),0,0)}
/* scrolling moves the row, so the arrows step aside; the dots stay as a progress marker you can also click */
.carousel.is-driven .carousel-nav [data-prev],.carousel.is-driven .carousel-nav [data-next]{display:none}
.carousel-nav button{width:38px;height:38px;font-size:15px;transition:border-color .2s,background .2s}
.carousel-nav button:not(:disabled):hover{border-color:#56638a;background:rgba(160,177,231,.08)}
.carousel-dots{display:flex;align-items:center;gap:4px}
.carousel-dots button{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:0;background:none}
.carousel-dots button::before{content:'';width:6px;height:6px;border-radius:3px;background:#3a3d45;transition:background .25s,width .25s}
.carousel-dots button.on::before{width:18px;background:var(--blue)}
.carousel-dots button:hover::before{background:#5a5e6a}
.carousel-dots button.on:hover::before{background:var(--blue)}
/* narrower screens: copy above, picture below */
@media(max-width:900px){.x-card{grid-template-columns:1fr;gap:24px;padding:28px}}

/* closing band: one action in the hero's style, and the trial terms as three quiet checks */
.pilot-facts{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 28px;max-width:none;margin:30px auto 0;padding:0;border:0}
.pilot-facts li,.pilot-facts li+li{display:inline-flex;align-items:center;gap:9px;padding:0;border:0;font-size:15px;color:var(--body)}
.pilot-facts li::before{content:'';flex:none;width:18px;height:18px;border-radius:50%;background:rgba(160,177,231,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23a0b1e7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.pilot-actions{margin-top:38px}
/* a faint echo of film 3: a few learning curves drawn behind the card */
.pilot-inner{position:relative;overflow:hidden;isolation:isolate}
.pilot-inner::before{content:'';position:absolute;inset:auto 0 0 0;height:62%;z-index:-1;pointer-events:none;opacity:.55;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23a0b1e7' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M0 120 C 120 150 200 175 300 182 L 300 128 C 420 160 520 178 640 184 L 640 136 C 780 160 900 172 1200 176'/%3E%3Cpath d='M0 190 C 160 215 260 228 380 232 L 380 186 C 520 210 640 222 760 226 L 760 184 C 900 204 1040 214 1200 216'/%3E%3Cpath d='M0 250 C 200 266 340 274 520 276 L 520 238 C 700 254 900 262 1200 266'/%3E%3C/g%3E%3C/svg%3E") center bottom/100% 100% no-repeat;-webkit-mask:linear-gradient(transparent,#000 45%);mask:linear-gradient(transparent,#000 45%)}

/* questions: brighter, larger questions, a quiet hover, a + that turns into an x, and the heading
   that stays in view while the list scrolls past */
.faq-head{position:sticky;top:calc(var(--header) + 40px);align-self:start}
.faq summary{padding:24px 0;font-size:16px;color:var(--ink);transition:color .2s}
.faq summary:hover{color:#fff}
.faq summary:after,.faq details[open] summary:after{content:'+';flex:none;font-size:21px;line-height:1;color:var(--muted);transition:transform .3s cubic-bezier(.2,.7,.2,1),color .2s}
.faq details[open]:not(.closing) summary:after{transform:rotate(45deg);color:var(--blue)}
.faq summary:hover:after{color:var(--body)}
.faq details p{overflow:hidden;font-size:15px;line-height:1.85;color:var(--body);text-wrap:pretty}
.faq details p a{color:var(--ink);text-decoration:underline;text-decoration-color:#4a4f5c;text-underline-offset:3px;transition:text-decoration-color .18s}
.faq details p a:hover{text-decoration-color:var(--ink)}

@media(max-width:760px){
  .carousel-nav{justify-content:center;margin-top:18px}
  .carousel-nav [data-prev],.carousel-nav [data-next]{display:none}
  .x-card{padding:24px 22px 22px;gap:22px;background:radial-gradient(90% 55% at 50% 72%,rgba(160,177,231,.11),transparent 72%),#17181b}
  .x-copy::before{margin-bottom:12px;font-size:12px}
  .x-copy h3{font-size:21px}
  .carousel-track{--xw:76vw}
  .pilot-facts{flex-direction:column;align-items:flex-start;width:max-content;margin:28px auto 0;gap:12px}
  .faq-head{position:static}
  .faq summary{padding:20px 0;font-size:15px}
  .faq details p{font-size:15px}
  .sec-head .sec-lede{font-size:15px}
}

/* ---------- visual consistency pass (October 22) ----------
   Two heading weights (the hero 500, every other heading 560); headings keep the same order of size on every screen
   (section > closing > questions); small body text is 15px; large containers round at 20px (16px on phones) and the
   calls to action at 10px; the footer sits on the same edges as the content. */
.hero-x h1{font-weight:500}
.pilot h2{font-size:clamp(32px,4vw,48px);font-weight:560;line-height:1.25}
.faq-head h2{font-size:clamp(28px,3.2vw,40px);font-weight:560}
.x-copy p{font-size:15px}
.pilot-inner{border-radius:20px}
.marvas-footer{width:min(100%,1184px);padding-inline:48px}
@media(max-width:1000px){.marvas-footer{padding-inline:32px}}
@media(max-width:760px){
  .pilot h2{font-size:30px}
  .faq-head h2{font-size:26px}
  .x-card,.pilot-inner{border-radius:16px}
  .x-card .mock{border-radius:12px}
  .hero-actions .button.hx-cta,.pilot .button.hx-cta{border-radius:10px}
  /* the film's pause button sits inside the window's corner instead of across its edge (the window inset is 3% of the stage) */
  .hl-toggle{right:calc(3% + 12px);bottom:calc(3.2% + 12px)}
}
@media(max-width:700px){.marvas-footer{padding-inline:24px}}
@media(max-width:360px){.marvas-footer{padding-inline:20px}}
@media(max-width:350px){.x-copy p{font-size:14px}}
