html { scrollbar-width: auto; scroll-behavior: smooth; scroll-padding-top: 79px; }
:root { --mn-content-max: 1280px; }
body[data-landing-page="home"] { --mn-content-max: 1600px; }
body { margin: 0; background: #f7f2ec; }
/* Clip the board without making it the scrolling ancestor of the sticky navigation. */
#landing-root .page { min-height: 0; overflow: visible; overflow: clip; }
#landing-root [id] { scroll-margin-top: 8px; }
/* Until the template's stylesheet is applied (3 s at most) the content is not shown; empty or waiting, the root fills the first
   screen so the footer is not painted first. Scripts off, the root stays empty and takes no room. */
#landing-root[data-sheet] { visibility: hidden; }
@media (scripting: enabled) { #landing-root:empty, #landing-root[data-sheet] { min-height: 100vh; } }
#landing-root .arev.pc, #landing-root .arev.pc .page { width: 100%; max-width: var(--mn-content-max); margin: 0 auto; }
#landing-root .arev.m, #landing-root .arev.m .page, #landing-root .page.m { width: 100%; max-width: 1023px; }
#landing-root .v57-disabled { opacity: .65; cursor: default; }
#landing-root .mx-peek.v57-expanded { max-height: none; }
#landing-root .mx-peek.v57-expanded::after { display: none; }
#landing-root .mx-clamp2.v57-expanded, #landing-root .mx-clamp3.v57-expanded { display: block; -webkit-line-clamp: unset; mask-image: none; -webkit-mask-image: none; overflow: visible; }
#landing-root .logo img { width: auto; }
/* Joined board halves: the board draws the line above the first section of its second half with .arev.cont main>.sec:first-child,
   which the generated markup (main → div, halves inside div[role=main]) no longer matches. The board's own declaration. */
#landing-root [role="main"] > div + div > .sec:first-child { border-top: 1px solid var(--hair); }
/* The board defines paper-3 inside #process. Give its sibling sections the same token on the home page. */
body[data-landing-page="home"] #landing-root .page { --color-paper-3: #F5EBE1; }
body[data-landing-page="home"] #landing-root :is(#hero, #why, #consult, #faq) {
  background-color: var(--ivory);
}
body[data-landing-page="home"] #landing-root :is(#process, #greet, #endorse, #reviews) {
  background-color: var(--color-paper-3);
}
/* These four boundaries have a section rule on the board, including where its two halves meet; the colour change marks them now.
   The rule between the greeting and the endorsement stays (owner, ledger 2284): the two share a tone, so the board's line
   is what separates them. */
body[data-landing-page="home"] #landing-root :is(#greet, #consult, #reviews, #faq) {
  border-top: 0;
}
/* 원장 2302 R11 (P launch_2302 R11: the endorsement and the greeting in one tone, the lower one a little deeper): the
   endorsement, below the greeting, one step deeper in the same warm tone (#EFE2D4 · 1.08 against #F5EBE1 · its text: ink
   #2D2528 11.7 · ink2 #5A5256 5.9). The line between them (ledger 2284) stays. */
body[data-landing-page="home"] #landing-root #endorse {
  background-color: #EFE2D4;
}
#landing-root .v57-image-slot { display: block; background: #e9e1d7; outline: 1px solid #ddd4ca; color: transparent; font-size: 0; object-fit: contain; }
/* Bundle v5: the A-m legend fold button ends in ④ or ③ by the board's .arev.v-nonum; the runtime puts v-nonum on the block that holds
   the button (never on .arev, whose v-nonum would hide the other example numbers), so the same two rules read it there. */
#landing-root .v-nonum .mx-n4 { display: none; }
#landing-root .v-nonum .mx-n3 { display: inline; }
.v57-alert { max-width: 1120px; margin: 20px auto; padding: 12px 22px; font-size: 14px; }
/* The failure notice is the hero's first line: the .now metrics, in the body text colour. */
#landing-root .v57-status { max-width: none; margin: 0 0 22px; padding: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
#landing-root .m .v57-status { font-size: 14px; margin-bottom: 14px; }
.v57-alert { border: 1px solid #ddd4ca; }
.v57-alert h2 { font-size: 17px; margin-bottom: 8px; }
.v57-alert a { text-decoration: underline; text-underline-offset: 3px; }
.v57-alert button { margin: 12px 0; min-height: 44px; padding: 10px 20px; border: 1.5px solid #2d2528; border-radius: 2px; font-weight: 600; }
.hidden, [hidden] { display: none !important; }
/* Scripts off: one plain line above the footer, on the page gutter. */
.v57-noscript { max-width: var(--mn-content-max); margin: 0 auto; padding: 40px 80px; background: #f7f2ec; font-size: 17px; font-weight: 600; color: #2d2528; }
.mn-noscript-faq dt { margin-top: 1.5em; font-weight: 600; }
.mn-noscript-faq dd { margin-top: .4em; max-width: 65ch; font-weight: 400; }
/* H 07:24: the same footer form as the member pages (style.css .review-footer, the result board D1's 12 px text, no gap
   between the business lines): only the legal links' row is 44 px tall to tap; the phone and mail links stay in their
   sentences. Words, order and items unchanged. */
#site-footer { max-width: var(--mn-content-max); margin: 0 auto; padding: 16px 80px 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); font-size: 12px; color: #675c5f; background: #efe8df; line-height: 1.75; }
#site-footer h2 { font-size: 14px; margin: 0 0 8px; }
#site-footer p, #site-footer .business-identity-row { margin: 0; }
#site-footer a { text-decoration: underline; text-underline-offset: 3px; }
#site-footer nav { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
#site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
#site-footer a:focus-visible, .v57-alert a:focus-visible, .v57-alert button:focus-visible { outline: 2px solid #2d2528; outline-offset: 3px; }
@media (max-width: 1023px) {
  html { scroll-padding-top: 61px; }
  #site-footer { padding-left: 22px; padding-right: 22px; }
  .v57-noscript { padding: 28px 22px; font-size: 16px; }
  #landing-root .wrap { min-width: 0; }
  #landing-root .lnk { white-space: normal; }
  .v57-alert { margin: 20px 22px; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  #landing-root .wrap { padding-left: 36px; padding-right: 36px; }
  /* #process: the board's .hm-in:is(#process, #process *) has the same weight and loads later, so name the id to win. */
  #landing-root #process .hm-in { padding-left: 36px; padding-right: 36px; }
  #landing-root h1 { font-size: 38px; }
  /* The alert box (appended at the end of the root, outside .wrap) on the same 36px gutter as the .wrap content. */
  .v57-alert { max-width: none; margin: 20px 36px; }
  /* The footer and the scripts-off line stand on the same 36px gutter as the content above them. */
  #site-footer, .v57-noscript { padding-left: 36px; padding-right: 36px; }
}
/* 1024–1042: page A's two comparison boxes are 166–172px wide and a sentence stood in a 72–77px column, four lines deep.
   There each label sits above its sentence, the sentence in even lines (box 190 -> 178px). From 1043 the sentence is
   three lines at most and the board's own side-by-side form is the shorter one, so it stays. */
@media (min-width: 1024px) and (max-width: 1042px) {
  #landing-root[data-variant="A"] .pc .vs-p dl { grid-template-columns: minmax(0, 1fr); row-gap: 3px; }
  #landing-root[data-variant="A"] .pc .vs-p dt { justify-self: start; }
  #landing-root[data-variant="A"] .pc .vs-p dd + dt { margin-top: 8px; }
  #landing-root[data-variant="A"] .pc .vs-p dd { text-wrap: balance; }
}
/* A box as wide as its own words (a link, the price band's sentence) inherits text-wrap: pretty from its paragraph; WebKit then
   breaks the one line in two. Balanced wrapping keeps it on one line where it fits, in WebKit and Chrome alike, and where it
   has to wrap (a very narrow or enlarged screen) leaves no arrow alone on the last line. */
#landing-root .lnk, #landing-root .band > span { text-wrap: balance; }
/* The phone board from 600px: its pictures are drawn for a 390px screen and grew past their own pixels with the screen. */
@media (min-width: 600px) and (max-width: 1023px) {
  #landing-root:is([data-variant="A"], [data-variant="B"]) .m .h-fig { max-width: 480px; margin-left: auto; margin-right: auto; }
  #landing-root:is([data-variant="A"], [data-variant="B"]) .m #process .hm-tabs__p:not(.free-steps) .hm-steps3__fig { max-width: 480px; margin-left: auto; margin-right: auto; }
  #landing-root:is([data-variant="A"], [data-variant="B"]) .m .rv-fig { max-width: 480px; }
  /* The diagnosis, consulting and reviews pages the same way: the hero picture (in the middle), the step examples and the
     review pictures (a 704px file drawn 896px wide and 1476px tall at 940). */
  #landing-root .m .dp-fig { max-width: 480px; margin-left: auto; margin-right: auto; }
  /* P 10:20 (X-CC2 10:19): every held picture stands in the middle, as the hero does — one page, one alignment. A review
     keeps its picture and the lines under it together, so its whole entry is the 480px piece. */
  #landing-root .m .dp-well, #landing-root .m .gl > li { max-width: 480px; margin-left: auto; margin-right: auto; }
}
/* The hero's first line on a narrow phone: two even lines instead of two words left over. */
#landing-root .m .now { text-wrap: balance; }
/* The step titles open and close their example: the place to tap is 44px tall, the line itself stays as it is. */
#landing-root .m .mx-steph::after { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
/* The title's button (landing-v57.js) is the title's own words: the heading's type, no box of a button, and in the line after
   the step's number (the title's ::before), which a block of its own would push to a line above (measured: 28 → 57px). */
#landing-root .m .mx-steph > .mx-steph-button { display: inline; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; vertical-align: baseline; cursor: inherit; }
/* 768–1023: the endorsement text is shown whole, so '추천 글 전체 보기' would reveal nothing and is not offered. */
@media (min-width: 768px) and (max-width: 1023px) {
  #landing-root #endorse .mx-clamp3 { display: block; -webkit-line-clamp: unset; overflow: visible; }
  #landing-root #endorse .mx-more { display: none; }
}
/* The A process example screen is 289px wide; this range gave its frame less than that. */
@media (max-width: 343px) { #landing-root #process .free-steps .hm-steps3__fig { margin-left: -8px; margin-right: -8px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Site notice band (U3): the same line and look as style.css gives the other pages; the landing pages do not load that sheet. */
.site-notice { margin: 0; padding: 8px 24px; background: #f4f6fb; border-bottom: 1px solid #d9dde6; color: #1b2440; font-size: 14px; line-height: 1.5; text-align: center; }
/* Under 360px a one-line button whose words are wider than its box wraps in even lines (page A at 320: '무료 진단
   프로그램 더 자세히 알아보기 →' ran 4px past each border); a button whose words fit keeps its one line and 54px. */
@media (max-width: 359px) {
  #landing-root .m .btn { white-space: normal; text-wrap: balance; height: auto; min-height: 54px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
}
/* Under 300px (a phone at 200 % zoom) the phone board's side-by-side parts no longer fit and the board's own overflow
   rule cut them at the right edge. No real phone is this narrow; every part stays whole and reachable when enlarged. */
@media (max-width: 300px) {
  /* The process tabs: one under the other, both names whole (the second showed its first letter only). */
  #landing-root .m .hm-tabs__bar { flex-wrap: wrap; row-gap: 0; overflow-x: visible; }
  /* The price card's one-line items wrap inside their box (its buttons: the rule under 360px above). */
  /* (the board's inline rules carry the root id three times; the same weight here) */
  #landing-root#landing-root#landing-root .m .cs-box .inc li > span { white-space: normal; }
  #landing-root .m .cs-box .band { flex-wrap: wrap; }
  /* The greeting: the photo, then its title under it (the title stood in a 5px column beside the photo). */
  #landing-root .m .greet .gtext > header { grid-template-columns: minmax(0, 1fr); }
  #landing-root .m .greet .gtext > header > * { grid-column: 1; grid-row: auto; }
  /* Page A: the two cases one under the other, and the sample card's lines wrap. */
  #landing-root .m .cases { grid-template-columns: minmax(0, 1fr); }
  #landing-root .m .acard .c1, #landing-root .m .acard .rw { flex-wrap: wrap; }
  /* Page A's 289px example screen is a picture of a screen: drawn at half size, whole. */
  #landing-root .m #process .free-steps .hm-steps3__fig figure > div { zoom: .5; }
}
/* The 3px of paper above the logo preserves the board's navigation height and alignment. */
#landing-root .top { position: sticky; top: 0; z-index: 2; background: var(--paper); padding-top: 3px; border: 0;
  box-shadow: 0 1px 0 rgba(45, 37, 40, .05), 0 6px 18px rgba(45, 37, 40, .07); }
#landing-root .top .aux { align-items: center; }
#landing-root .top .aux a[data-v57-link="login"] { padding: 0 18px; border: 1px solid var(--bur); border-radius: 4px; color: var(--bur); font-weight: 600; }
#landing-root .top .aux a[data-v57-link="login"]:hover { background: var(--bur); color: var(--paper); }
#landing-root .m .top .aux a[data-v57-link="login"] { padding: 0 14px; }
/* 원장 2349 (P design_2349 7 · D-CC3 UXUI_DESIGN2349_B1 1): the header's items are the one definition's (app.js MN.menuInto),
   laid over the frame's two links. The 로그인 item keeps the look this sheet already gave it; 로그아웃 is a plain item. On
   the phone frame (1023px or less) the items fold under '메뉴' and the opened list pushes the page down, as in the app. */
#landing-root .top .aux a.menu-account { padding: 0 18px; border: 1px solid var(--bur); border-radius: 4px; color: var(--bur); font-weight: 600; }
#landing-root .top .aux a.menu-account:hover { background: var(--bur); color: var(--paper); }
#landing-root .top .aux .menu-action { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 8px; border: 0; background: none; color: var(--ink2); font: inherit; font-size: 15px; cursor: pointer; }
#landing-root .top .aux a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
#landing-root .top .menu-toggle { display: none; }
#landing-root .m .top .wrap { height: auto; min-height: 58px; flex-wrap: wrap; }
#landing-root .m .top .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; margin: 0; padding: 0 4px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
#landing-root .m .top .menu-icon { width: 18px; height: 14px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 6px / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 12px / 100% 2px no-repeat; }
/* X-CC2 18:53: each row of the opened list is as wide as the list, so the place to tap is 44px tall and the whole row wide
   (it was only as wide as its words: 38.91px for '로그인'). */
#landing-root .m .top .menu-toggle + nav { display: none; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--hair); }
#landing-root .m .top .menu-toggle[aria-expanded="true"] + nav { display: flex; }
#landing-root .m .top .menu-toggle + nav :is(a, .menu-action) { display: flex; align-items: center; width: 100%; justify-content: flex-start; min-height: 44px; padding: 0; border: 0; border-radius: 0; color: var(--ink); font-size: 15px; font-weight: 500; }
#landing-root .m .top .menu-toggle + nav > * + * { border-top: 1px solid var(--hair); }
/* The bands span the viewport. Navigation, sections, notices and footer share the same gutter.
   Home content grows from 1128px at 1280 to 1600px at 1920; detail pages keep their 1280px limit. */
@media (min-width: 1201px) {
  body { --mn-gutter: max(36px, min(calc((100% - 1128px) / 2), 6.25%), calc((100% - var(--mn-content-max)) / 2)); }
  #landing-root .arev.pc, #landing-root .arev.pc .page { max-width: none; }
  #landing-root .pc .wrap { padding-left: var(--mn-gutter); padding-right: var(--mn-gutter); }
  #landing-root .pc #process .hm-in { max-width: none; padding-left: var(--mn-gutter); padding-right: var(--mn-gutter); }
  #site-footer, .v57-noscript { max-width: none; padding-left: var(--mn-gutter); padding-right: var(--mn-gutter); }
  .v57-alert { max-width: none; margin: 20px var(--mn-gutter); }
  /* Leave room for both headline lines; the illustration is centered in the second column. */
  #landing-root[data-variant="B"] .pc .hero .h-grid { grid-template-columns: minmax(540px, 44%) minmax(0, 1fr); }
}
/* Keep the image in its natural ratio. When it determines the row height, spread the extra room
   above the actions; the link and the quotation retain the same spacing as the button and the link. */
#landing-root[data-variant="B"] .pc .hero .h-txt { align-self: stretch; display: flex; flex-direction: column; max-width: 576px; }
#landing-root[data-variant="B"] .pc .hero .h-txt > :is(.now, h1, .fx) { flex-grow: 1; }
#landing-root[data-variant="B"] .pc .hero .h-say { margin-left: 0; }
#landing-root[data-variant="B"] .pc .hero .h-fig { width: 100%; max-width: 768px; justify-self: center; }
/* Beyond the former content limit, distribute the extra width in the existing column proportions. */
@media (min-width: 1281px) {
  body[data-landing-page="home"] .pc .cs-in { grid-template-columns: minmax(0, 1fr) max(468px, 36.5625%); column-gap: max(72px, 5.625%); }
  body[data-landing-page="home"] .pc .greet-in { grid-template-columns: max(400px, 31.25%) minmax(0, 1fr); column-gap: max(64px, 5%); }
  body[data-landing-page="home"] .pc .greet .gtxt > p { max-width: 816px; }
  body[data-landing-page="home"] .pc .faq-in { grid-template-columns: max(300px, 23.4375%) minmax(0, 1fr); column-gap: max(60px, 4.6875%); }
  body[data-landing-page="home"] .pc .faq .ans { max-width: 916px; }
}
/* Keep the section boundary one 8px step farther from the tabs than their own heading. */
#landing-root .pc #process .hm-sec { padding-top: 48px; }
#landing-root .pc #process .hm-tabs__bar { margin-bottom: 40px; }
#landing-root .m #process .hm-sec { padding-top: 32px !important; }
#landing-root .m #process .hm-tabs__bar { margin-bottom: 24px; }
/* A section's sample note stays on one short line, including beneath a two-column hero or detail. */
#landing-root .mn-sample-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #857a7d;
  font-size: 11px;
  line-height: 14px;
  text-align: right;
  white-space: nowrap;
}
/* FB-10 (owner, 11/20): the landing pages' footer in the middle, the heading in the same small size as its lines (the member
   pages' footer follows the same rule in style.css). Words, links and their order are unchanged. */
#site-footer { text-align: center; }
#site-footer h2 { font-size: 12px; margin-bottom: 6px; }
#site-footer nav { justify-content: center; }
/* FB-03 (owner, 11/20): home B's two process tabs are buttons now (the second shows home A's three steps in place). The board
   styles every child of the bar — height, size, weight, colour, the line under the chosen one — so a button only sheds its own
   chrome here. */
#landing-root #process .hm-tabs__bar > button { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; border-width: 0 0 2px; border-radius: 0; background: none; font-family: inherit; letter-spacing: inherit; }
/* FB-15: the desktop divider starts at the end of the 184px label column in .point. */
#landing-root[data-variant="B"] .pc #why .wrap > :is(.unit-bridge, .bw-more) { margin-left: 184px; }
/* Task 04 review (D-CC4): with the home content up to 1600px wide, home A's example cards grew from 784px to 1104px and stood
   taller than a 1080px screen. They keep their ratio and stop at 864px (about a tenth more than before, as home B's picture
   does: 696 → 768), in the middle of their column. Up to 1440px wide nothing changes (the picture is 764px there). */
#landing-root[data-variant="A"] .pc .hero .h-fig { width: 100%; max-width: 864px; justify-self: center; }
/* The shared action bar stays compact on desktop. The phone's existing price or diagnosis
   notice takes its own line so the two actions retain their full touch targets. */
#landing-root .mn-actions {
  position: fixed; z-index: 20; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: stretch; gap: 8px; box-sizing: border-box; width: max-content; max-width: calc(100% - 32px);
  margin: 0; padding: 8px; background: #f7f2ec; border: 1px solid var(--hair2); border-radius: 4px;
}
#landing-root .mn-actions > .btn {
  box-sizing: border-box; min-width: 44px; width: auto; min-height: 44px; height: auto; margin: 0; padding: 4px 16px;
  display: inline-flex; align-items: center; justify-content: center; white-space: normal; word-break: keep-all;
  overflow-wrap: anywhere; text-wrap: balance; font-size: 15px; line-height: 1.25; text-align: center;
}
#landing-root .mn-actions > .line { background: transparent; border-color: var(--ink); color: var(--ink); }
#landing-root .mn-actions > .line[href]:hover { background: var(--ink); color: var(--ivory); }
#landing-root .mn-actions > .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Reserve the bar's clearance below the legal links, including when tabbing or following an anchor. */
html:has(#landing-root .mn-actions:not([hidden])) {
  --mn-action-space: calc(74px + env(safe-area-inset-bottom));
  scroll-padding-bottom: var(--mn-action-space);
}
body:has(#landing-root .mn-actions:not([hidden]))::after {
  content: ""; display: block; height: var(--mn-action-space); background: #2D2528;
}
@media (max-width: 1023px) {
  #landing-root .mn-actions {
    bottom: 0; left: 0; right: 0; transform: none; width: 100%; max-width: none; height: auto;
    flex-wrap: wrap; gap: 4px 8px; padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-width: 1px 0 0; border-radius: 0;
  }
  #landing-root .mn-actions > .btn { flex: 1 1 0; padding: 4px 8px; }
  #landing-root .mn-actions > .t {
    flex: 1 1 100%; display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap;
    gap: 0 8px; text-align: center; line-height: 1.3;
  }
  html:has(#landing-root .mn-actions:not([hidden])) { --mn-action-space: calc(61px + env(safe-area-inset-bottom)); }
  html:has(#landing-root .mn-actions:not([hidden]) > .t) { --mn-action-space: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 389px) {
  #landing-root .mn-actions > .btn { font-size: 13px; }
  #landing-root .mn-actions > .t b { font-size: 13px; }
  #landing-root .mn-actions > .t .s { font-size: 11px; }
}
@media (max-width: 319px) {
  html:has(#landing-root .mn-actions:not([hidden]) > .t) { --mn-action-space: calc(104px + env(safe-area-inset-bottom)); }
}
/* X-CC2 15:18 · 허브 15:19 (REQ#H-1122-1519): on a phone the bar with its notice line stands 82 ~ 87px high in Chrome (more
   where the notice wraps or the engine's line is taller), and the room kept under the footer was 84px — so at the page's
   end the bar could stand over the footer's last line, the privacy policy and terms links, which must always be reachable.
   The room under the footer is now the bar's height with a margin: 112px with the notice line, 76px without, plus the
   safe area. The wide board keeps none (it raises the buttons above the footer instead). */
@media (max-width: 1023px) {
  html:has(#landing-root .mn-actions:not([hidden])) { --mn-action-space: calc(76px + env(safe-area-inset-bottom)); }
  html:has(#landing-root .mn-actions:not([hidden]) > .t) { --mn-action-space: calc(112px + env(safe-area-inset-bottom)); }
}

/* Owner, 11/21 16:27 (REQ#H-1121-1630 A1 ~ A4): home B's first section on an 8px rhythm — tight inside a group, wider between
   groups — instead of spreading the row's spare height into its gaps; the text column stands in the middle of the picture's
   height. The small first line starts 1px in, between the heading's first stroke and the start of the list and the button (X-CC2's
   measurement, D-CC3 17:24: no start line is then more than 2px from another). The link under the button and the quotation under it are two groups, so they stand apart. */
#landing-root[data-variant="B"] .pc .hero { padding: 64px 0 72px; }
#landing-root[data-variant="B"] .pc .hero .h-txt { justify-content: center; }
#landing-root[data-variant="B"] .pc .hero .h-txt > :is(.now, h1, .fx) { flex-grow: 0; }
#landing-root[data-variant="B"] .hero .now { margin-bottom: 16px; padding-left: 1px; }
#landing-root[data-variant="B"] .hero .fx li + li { margin-top: 8px; }
#landing-root[data-variant="B"] .pc .hero .acts { margin-top: 56px; }
#landing-root[data-variant="B"] .pc .hero .alt { margin-top: 24px; }
#landing-root[data-variant="B"] .pc .hero .h-say { margin-top: 64px; }
#landing-root[data-variant="B"] .pc .hero .h-say > span { margin-top: 8px; }
/* Owner, 11/21 (ledger 2382 ①, D-CC3 20:20): the wide first section was cramped, so the gaps between its groups are wider
   (list → button 56, button → link 24, link → quotation 64, inside 64 / 72; they were 40 · 16 · 48 · 48 / 56) and wider
   again from 1440px. Inside a group nothing moves, and the phone board keeps its own values below. */
@media (min-width: 1440px) {
  #landing-root[data-variant="B"] .pc .hero { padding: 80px 0 88px; }
  #landing-root[data-variant="B"] .pc .hero .acts { margin-top: 64px; }
  #landing-root[data-variant="B"] .pc .hero .h-say { margin-top: 72px; }
}
#landing-root[data-variant="B"] .m .hero { padding: 24px 0 48px; }
#landing-root[data-variant="B"] .m .hero .now { margin-bottom: 8px; }
#landing-root[data-variant="B"] .m .hero .acts { margin-top: 32px; }
#landing-root[data-variant="B"] .m .hero .h-say { margin-top: 32px; }
#landing-root[data-variant="B"] .m .hero .h-say > span { margin-top: 8px; }
/* A4 · owner, 11/21 (ledger 2377): every section's sample note stands near that section's floor — the last line across
   the section's width, 24px under its last block and inside the section's bottom padding (every section has 44px or
   more), not right under a picture. It ends on the section's own right edge (owner, ledger 2382 ②; it started on the left before). The sections keep their heights. */
#landing-root .mn-sample-note { margin: 24px 0 -24px; text-align: right; }
/* X-CC2 19:15: the reasons section has a thinner floor than the others (30px; 14px on a phone, where the note stood 10px
   outside it), so on a phone its note stays above that floor. On home B a button block with its own bottom margin (50px;
   36px on a phone) stands right before the note and made the gap that much: in that section the block has none, so the
   gap is the note's own 24px (D-CC3 19:15). */
#landing-root .m #why .mn-sample-note { margin-bottom: 0; }
#landing-root[data-variant="B"] #why .wrap > .bw-more { margin-bottom: 0; }
/* Owner, 11/21 (ledger 2365 · REQ#H-1121-1650 D · E1 · E4 · E10).
   D: the consulting page's first section shows its price as home's price box does — the early-bird band, the list price struck
   through, the large 69만 원 with its discount, the day it holds to — in that box's own inner classes; the day line is this page's own sentence (the page never says '23:59까지만'). */
#landing-root .dp-hero .bf-box { max-width: 420px; margin-top: 24px; border: 1px solid #2D2528; border-radius: 4px; background: #FFFDFA; overflow: hidden; }
#landing-root .m .dp-hero .bf-box { max-width: none; }
#landing-root .dp-hero .bf-box .in { padding-bottom: 20px; }
/* Owner, 11/21 (ledger 2401 ③; cause and values D-CC3 22:43): on the phone board the price box had no look at all — the
   consulting page's phone sheet carries none of the box's rules, so the band had no ground and the amounts ran together.
   The rules below are the first page's phone box (board-B-m.css), value for value, for this box. From 640px the text,
   the box and the two buttons stop at 600px (they stretched with the screen); the picture stays as it was. */
#landing-root .m .dp-hero .bf-box .amt0 { margin-top: 14px; font: 500 17px/1.3 "Pretendard",sans-serif; color: var(--ink3); font-variant-numeric: tabular-nums; }
#landing-root .m .dp-hero .bf-box .amt0 .k { font-size: 13.5px; font-weight: 600; color: var(--ink2); margin-right: 8px; }
#landing-root .m .dp-hero .bf-box .amt0 s { text-decoration: line-through; text-decoration-thickness: 1.5px; }
#landing-root .m .dp-hero .bf-box .amt0+.amt { margin-top: 2px; }
#landing-root .m .dp-hero .bf-box .amt .off { display: inline-block; margin-left: 12px; font: 600 15px/26px "Pretendard",sans-serif; letter-spacing: 0; color: var(--bur); border: 1.5px solid var(--bur); border-radius: 2px; padding: 0 9px; white-space: nowrap; vertical-align: middle; position: relative; top: -4px; }
#landing-root .m .dp-hero .bf-box .amt0 { font-size: 16px; }
#landing-root .m .dp-hero .bf-box .amt .off { margin-left: 10px; font-size: 14px; line-height: 24px; top: -3px; }
#landing-root .m .dp-hero .bf-box .band { display: flex; align-items: baseline; gap: 10px; padding: 13px 30px 12px; background: var(--bur); color: var(--ivory); font-size: 15px; line-height: 1.5; }
#landing-root .m .dp-hero .bf-box .band b { font-size: 13px; font-weight: 600; line-height: 22px; padding: 0 9px; border: 1px solid rgba(247,242,236,.55); border-radius: 2px; white-space: nowrap; }
#landing-root .m .dp-hero .bf-box .in { padding: 10px 30px 26px; }
#landing-root .m .dp-hero .bf-box .amt small { margin-left: 5px; }
#landing-root .m .dp-hero .bf-box .due { margin-top: 8px; font-size: 15.5px; }
#landing-root .m .dp-hero .bf-box .tax { margin-top: 4px; }
#landing-root .m .dp-hero .bf-box .tax+.tax { margin-top: 0; }
#landing-root .m .dp-hero .bf-box .band { padding: 11px 18px 10px; font-size: 14.5px; }
#landing-root .m .dp-hero .bf-box .in { padding: 8px 18px 20px; }
#landing-root .m .dp-hero .bf-box .due { font-size: 14.5px; }
@media (min-width: 640px) and (max-width: 1023px) {
  body[data-landing-page="consult"] #landing-root .m .dp-hero .wrap > div:first-child { max-width: 600px; }
}
/* X-CC2 JUDGE_FOURTH_TIP G7-1 (values D-CC3 11/22 07:59, measured): on the narrowest phones the consulting page's main
   button stood below the first screen (its lower edge at 760 on 320 × 568). From 374px down the first section's gaps
   draw in; from 359px down the heading is 24px so it keeps to two lines. No word, amount or order changes. After the
   rules above, which these have to follow to hold. */
@media (max-width: 374px) {
  #landing-root .m .dp-hero { padding-top: 12px; }
  #landing-root .m .dp-hero .eyebrow { margin-bottom: 4px; }
  #landing-root .m .dp-hero .dp-lead { font-size: 15px; margin-top: 8px; }
  #landing-root .m .dp-hero .bf-box { margin-top: 12px; }
  #landing-root .m .dp-hero .bf-box .band { padding: 6px 18px; }
  #landing-root .m .dp-hero .bf-box .in { padding: 4px 18px 12px; }
  #landing-root .m .dp-hero .bf-box .amt0 { margin-top: 8px; }
  #landing-root .m .dp-hero .dp-acts { margin-top: 12px; }
}
@media (max-width: 359px) {
  #landing-root .m .dp-hero h1 { font-size: 24px; }
}
/* E1: the consulting page's sections change tone in turn, with home's two section colours (no new colour). */
body[data-landing-page="consult"] #landing-root :is(#get, #terms) { background-color: #F5EBE1; }
/* On that tone the small sample note keeps a readable contrast (X-CC2: 3.52:1 in its usual grey; the text grey gives 4.96:1). */
body[data-landing-page="consult"] #landing-root #get .mn-sample-note { color: #6B6366; }
/* E4: the three pictures of '서비스 제공 사항' stand in frames of one shape, so their heights are the same at every width
   (the first was a fixed 301px, the other two as tall as their columns made them). Nothing is cropped anew or stretched. */
#landing-root #get .dp-3 .dp-well { aspect-ratio: 350 / 301; height: auto; }
#landing-root #get .dp-3 .dp-well:not(.peek) img { height: 100%; object-fit: contain; }
/* Owner, 11/21 (ledger 2383 ②, D-CC3 20:27; it was E10's line and paper tone): the footer of the landing pages is the dark
   one of every other page (style.css .review-footer) — charcoal under ivory headings and links — so it reads at once as
   another area than the section above it. The room kept for the phone's bar under it has the same tone. */
#site-footer { background: #2D2528; color: #D8CCC3; }
#site-footer h2, #site-footer a { color: #F7F2EC; }
#site-footer a:focus-visible { outline-color: #F7F2EC; }
/* Owner, 11/21 (ledger 2386, D-CC3 20:58): the header is one on every customer page. On the wide board its inside is
   1280px wide whatever the page's own width (the first page's body stays 1600px), 80px high, with the menu in the app
   header's form — 15px medium words 28px apart, the account item 36px after the others, 로그인 as words, not a
   bordered button — and the scrollbar's room is kept on every page, so a short page does not shift it. */
html { scrollbar-gutter: stable; }
@media (min-width: 1024px) {
  html { scroll-padding-top: 80px; }
  #landing-root .pc .top .wrap { height: 77px; padding-left: max(36px, calc((100% - 1280px) / 2)); padding-right: max(36px, calc((100% - 1280px) / 2)); }
  #landing-root .pc .top .logo img { width: auto; height: 32px; }
  #landing-root .pc .top .aux { gap: 4px 28px; }
  /* Each item is 44px wide at least, its words in the middle, as in the app header (X-CC2 21:33 F-1: the first item stood 8 ~ 11px apart between pages). */
  #landing-root .pc .top .aux :is(a, .menu-action) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 500; text-underline-offset: 8px; }
  #landing-root .pc .top .aux :is(a, .menu-action):hover { background: none; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; }
  #landing-root .pc .top .aux a[aria-current="page"] { font-weight: 600; }
  #landing-root .pc .top .aux :is(.menu-account, a[data-v57-link="login"]) { margin-left: 8px; } /* 로그인 the link and 로그아웃 the button alike (F-2) */
}
/* 2383 ① · 2453 ③: on the wide board no empty room is left under the footer, and the floating buttons stay to the end of
   the page: while the footer is on the screen they stand above it by as much of it as shows (pages/landing-v57.js sets
   --mn-footer-rise), never over its words. (Until 11/22 they rested, unseen, while the footer was on the screen.) */
@media (min-width: 1024px) {
  body:has(#landing-root .mn-actions:not([hidden]))::after { content: none; }
  #landing-root .mn-actions { bottom: calc(12px + env(safe-area-inset-bottom) + var(--mn-footer-rise, 0px)); }
}
/* 2453 ⑤: the dots under a rail are pressed to go to that card: 44px press areas side by side, all inside the dots' own
   row (it was 14px + 8px high and is 44px, the dots in its middle — nothing next to it is pressed by mistake). A mouse
   drags the rail — it does not snap while it is dragged, and settles on a card when let go. */
#landing-root .mx-dots { gap: 0; height: 44px; margin-top: 0; align-items: center; }
#landing-root .mx-dots i { position: relative; margin: 0 19px; cursor: pointer; }
#landing-root .mx-dots i::after { content: ""; position: absolute; inset: -19px; }
#landing-root .mx-dots i:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { #landing-root .mx-swipe { cursor: grab; } }
#landing-root .mx-swipe.v57-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
/* (These landing rules stand before the motion block below: landing-motion-r6 reads that block to its end as motion only.) */
/* Owner, 11/22 (ledger 2453 ① ②; with D-Astra1 26): on the wide board the sample note of the first two sections (.hero ·
   #process) sits lower — 16px above the section's floor (it stood 32 · 48 · 64 · 96px above it) — and those two sections are
   16px shorter at the bottom. The note keeps its own line across the section's width. On home the note reads at 13px in
   ink2 (#675C5F: 5.76 : 1 and 5.45 : 1 on the two section grounds, D-Astra1 26), not 11px at 3.7 : 1. */
body[data-landing-page="home"] #landing-root .mn-sample-note { color: #675C5F; font-size: 13px; line-height: 18px; }
#landing-root[data-variant="A"] .pc .hero { padding-bottom: 40px; }
#landing-root[data-variant="A"] .pc .hero .mn-sample-note { margin: 24px 0 -24px; }
#landing-root[data-variant="B"] .pc .hero { padding-bottom: 56px; }
#landing-root[data-variant="B"] .pc .hero .mn-sample-note { margin: 40px 0 -40px; }
@media (min-width: 1440px) {
  #landing-root[data-variant="B"] .pc .hero { padding-bottom: 72px; }
  #landing-root[data-variant="B"] .pc .hero .mn-sample-note { margin: 56px 0 -56px; }
}
/* Owner 14:15 (ledger 2454): the second section's floor was still far from the third section's head on both boards (its last
   block → note 88, note → floor 16, then 78 to the next head). Its bottom padding is 40 (it was 120), the note 24 under the
   last block as in the other sections and 16 above the floor, so the last block → next head is 136 (it was 212). */
#landing-root .pc #process .hm-sec { padding-bottom: 40px; }
#landing-root .pc #process .mn-sample-note { margin: 24px 0 -24px; }
/* Owner 14:14 (ledger 2454): board A's wide first picture outgrew its text (380 ~ 510 high beside a 398 text block, and it
   grew with the screen). The picture keeps one width (510) at every wide screen, so the picture and its quotation stand about
   as high as the text, and the two columns are centred on each other. Board B and the phone keep theirs. */
#landing-root[data-variant="A"] .pc .hero .h-grid { align-items: center; }
#landing-root[data-variant="A"] .pc .hero .h-fig > img.cards { width: 510px; max-width: 100%; height: auto; }
/* Owner 14:16 (ledger 2454): the paragraph '원서는 한 군에 한 장만 …' reads on the left line of the text right above it — the
   points' body column, 214px into the section (305 at 1440). Its words started 16px inside that line on A (its rule and
   padding sat on the line) and 14px outside it on B. Its words now start on that line, its rule 17.5px to their left; on B
   the button under it starts on the same line. */
#landing-root .pc #why .wrap .unit-bridge,
#landing-root[data-variant="B"] .pc #why .wrap > .unit-bridge { margin-left: 196.5px; }
#landing-root[data-variant="B"] .pc #why .wrap > .bw-more { margin-left: 214px; }
/* Owner, 11/23 18:4x (원장 2541 · REQ#H-1123-1841 ⑧ ⑨): on the reviews page one sentence follows the last row of review
   pictures, and the disclaimer under it moves to the bottom right in smaller, lighter type (its words unchanged; #746B6F is the
   board's own lighter grey, 4.63 : 1 on ivory and 5.08 : 1 on paper). */
body[data-landing-page="reviews"] #landing-root #list .gl-more { margin: 40px 0 0; color: var(--ink2); font-size: 16px; text-align: center; }
body[data-landing-page="reviews"] #landing-root .m #list .gl-more { margin-top: 24px; font-size: 15px; }
body[data-landing-page="reviews"] #landing-root #list .notice { margin-top: 24px; color: #746B6F; font-size: 12px; text-align: right; }
/* 원장 2302 R6 (D-CC4 proposal 4 · 5절; P launch_2302b R6; X-CC2 ADD14 · ADD15): quiet motion on the landing pages.
   ① sections come in once  ② the first screen's picture rises (pages/landing-v57.js)  ③ press feedback.
   Set a number to 0 to turn that item off. Only opacity and transform move: no box changes its place or size. */
#landing-root { --mn-m1: 1; --mn-m2: 1; --mn-m3: 1; }
@media (prefers-reduced-motion: reduce) { #landing-root { --mn-m1: 0; --mn-m2: 0; --mn-m3: 0; } }
/* ① Only the script sets data-mn-reveal, on a section still below the screen: wait (unseen), then in (comes in) or shown (at once,
   when another section is still coming in). Two units: the heading, then the cards as one. */
/* Written without the transition shorthand: it would set the delay too, and its selector outweighs the cards' own line below. */
#landing-root [data-mn-reveal="in"] :is(.sec-head, .greet-in > header, .points, .endorsers, .rv, .dp-3, .dp-5, .gl, .gtxt, .vframe) { transition-property: opacity, transform; transition-duration: .4s; transition-timing-function: ease-out; }
#landing-root [data-mn-reveal="in"] :is(.points, .endorsers, .rv, .dp-3, .dp-5, .gl, .gtxt, .vframe) { transition-delay: .08s; }
#landing-root [data-mn-reveal="wait"] :is(.sec-head, .greet-in > header, .points, .endorsers, .rv, .dp-3, .dp-5, .gl, .gtxt, .vframe) { opacity: 0; transform: translateY(12px); }
/* X-CC2 18:57 · P 18:57 (launch_2302b): a notice line is never part of the motion. Home A's reason cards hold one
   ('구분 옆 숫자는 … 합격 확률이 아닙니다'), so that block is shown from the start; its section heading still comes in. */
#landing-root [data-mn-reveal="wait"] .points:has(.pr-note) { opacity: 1; transform: none; }
@media print { #landing-root [data-mn-reveal] :is(.sec-head, .greet-in > header, .points, .endorsers, .rv, .dp-3, .dp-5, .gl, .gtxt, .vframe) { opacity: 1; transform: none; transition-duration: 0s; transition-delay: 0s; } }
/* ③ Buttons and question rows change colour over 0.15s and give 1px when pressed; an opened answer and the bottom bar come in over 0.2s. */
#landing-root :is(.btn, .fq-b) { transition: background-color calc(var(--mn-m3) * .15s), border-color calc(var(--mn-m3) * .15s), color calc(var(--mn-m3) * .15s), transform calc(var(--mn-m3) * .15s); }
#landing-root .btn:active { transform: translateY(calc(var(--mn-m3) * 1px)); }
#landing-root .fq-a:not([hidden]) { animation: mn-answer-in calc(var(--mn-m3) * .2s) ease-out; }
#landing-root .mn-actions:not([hidden]) { animation: mn-bar-in calc(var(--mn-m3) * .2s) ease-out; }
@keyframes mn-answer-in { from { opacity: 0; transform: translateY(-4px); } }
@keyframes mn-bar-in { from { transform: translateY(100%); } }
