/* Reading text runs in MaruBuri, UI/tables/forms/numbers stay in Pretendard.
   type.md 1장 endorses exactly this split: "지면은 부리로 읽고, 장부는 고딕으로 계산한다".
   Pretendard is deliberately system-like, so leaving prose in it made the page read as default. */
.lead, .body, .note, .caveat,
.reason-d, .col li, .pro-list dd, .tax dd, .plan li, .plan-c, .faq p{
  font-family:var(--font-display);font-weight:400;letter-spacing:0}
.lead, .body{line-height:1.78}
.reason-d, .faq p{line-height:1.74}

/* sales.css — A: sagak -> professionals. Section-specific only. */

/* hero */
.hero{padding:var(--sp-20) 0 var(--sp-section);overflow:clip}
/* under the headline: the second line of the pitch, the 대표's two sentences and nothing else
   (10/7 mail — the old "memo" pitch it replaced is not repeated underneath) */
.s-key{font-family:var(--font-display);font-weight:600;font-size:clamp(18px,1.6vw,22px);
  line-height:1.6;letter-spacing:-.01em;color:var(--ink);margin-bottom:var(--sp-8);text-wrap:balance}
.herogrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,46%);
  grid-template-areas:"title stage" "body stage" "stats stats";
  gap:0 var(--sp-12);align-items:center}
.herotext{grid-area:title;max-width:var(--w-prose-ko);align-self:end}
.herobody{grid-area:body;max-width:var(--w-prose-ko);align-self:start;padding-top:var(--sp-6)}
.stagewrap{grid-area:stage}
/* 4.6vw, not the base 5.4vw: between 861 and 1200px the title column narrows to ~420px.
   Each headline line is one .nb unit ("원고 쓸 시간에" / "본업에 집중하세요.") and has to fit. */
.hero h1{max-width:16em;font-size:clamp(32px,4.6vw,56px)}

/* hero picture — the homepage on a PC screen, the same page on a phone, the printed book in
   front. One surface per box: the PC frame is a 1px border + small radius + shadow, the phone a
   dark padded frame (radius + shadow), the book a cut-out photo + drop shadow. */
.hv{margin:0}
.hv-stage{position:relative;padding:0 0 var(--sp-12) var(--sp-12)}
.hv-pc{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-2);overflow:hidden;
  box-shadow:var(--shadow-2)}
.hv-bar{display:block;height:var(--sp-4);background:var(--bg-2);border-bottom:1px solid var(--line)}
.hv-pc img{width:100%}
.hv-mo{position:absolute;right:0;bottom:0;width:22%;padding:var(--sp-1);border-radius:var(--r-3);
  background:var(--ink);box-shadow:var(--shadow-2)}
.hv-mo img{width:100%;border-radius:var(--r-2)}
/* the book is the real printed copy, photographed and cut out of its background
   (build/cutout.py). Its shape carries its own depth, so only a drop shadow is added */
.hv-book{position:absolute;left:calc(-1 * var(--sp-4));bottom:calc(-1 * var(--sp-2));width:44%}
.hv-book img{width:100%;filter:drop-shadow(0 18px 22px rgba(18,20,26,.28))}
.stats{grid-area:stats;display:grid;grid-template-columns:repeat(3,1fr);
  margin-top:var(--sp-8);border-top:1px solid var(--line-strong)}
.stats div{padding:var(--sp-6) var(--sp-6) 0 0}
.stats div + div{padding-left:var(--sp-6);border-left:1px solid var(--line)}
.stats dt{font-family:var(--font-display);font-size:clamp(26px,3.3vw,38px);line-height:1.1;
  color:var(--brand);letter-spacing:-.02em;display:flex;align-items:baseline;gap:var(--sp-2);flex-wrap:wrap}
.stats .pre{font-size:.55em;font-weight:600;color:var(--ink-2)}
.stats dd{margin:var(--sp-3) 0 0;font-size:14px;color:var(--ink-2);line-height:1.5}

/* problem — three reasons as a plain ticked list. The rows used to be boxed checkboxes and
   read as a form to fill in, so nothing here looks pressable: no box, no hover, no pointer */
.reasons{display:grid;margin-top:var(--sp-8);border-top:1px solid var(--line)}
.reasons li{display:flex;gap:var(--sp-4);align-items:flex-start;padding:var(--sp-6) 0;
  border-bottom:1px solid var(--line)}
.reasons .ic{color:var(--brand);margin-top:var(--sp-1)}
.reason-body{display:grid;gap:var(--sp-2);flex:1;min-width:0}
.reason-t{font-size:var(--fs-h3);font-weight:700;line-height:var(--lh-title);color:var(--ink)}
.reason-d{color:var(--ink-2);max-width:var(--w-prose-ko)}


/* split */
/* stretch, not start: the 4-item and 7-item boxes stand at the same height */
.split{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-6);margin-top:var(--sp-10);align-items:stretch}
.col{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-2);padding:var(--sp-8)}
.col-ours{background:var(--brand-soft);border-color:var(--brand-soft)}
.col-t{font-weight:700;font-size:15px;color:var(--ink-2)}
.col-n{font-family:var(--font-display);font-size:clamp(30px,4vw,44px);line-height:1.1;
  color:var(--brand);margin:var(--sp-2) 0 0}
.col-s{font-size:13px;color:var(--ink-2);margin:var(--sp-2) 0 var(--sp-6)}
.col ul{display:grid;gap:var(--sp-3)}
.col li{position:relative;padding-left:var(--sp-5);font-size:15px;line-height:1.55}
.col li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;
  border-radius:50%;background:var(--brand)}

/* process — a table: steps down the side, sagak's work and the author's part as two columns.
   The column tint is the legend (brand tint = sagak, grey = author); no rules between rows
   (10/8: step rules, author rules, side rail and note bar read as a tangle of lines). */
.flow{display:grid;gap:var(--sp-2);margin-top:var(--sp-8)}
.flow-head,.flow-row{display:grid;grid-template-columns:minmax(0,14em) minmax(0,1fr) minmax(0,15em);gap:var(--sp-2)}
/* column heads are coloured words, not filled bars — a brown fill reads as the CTA button,
   and the 10/7 mail asked that the legend stop looking clickable */
.flow-head span{padding:0 var(--sp-5) var(--sp-1);font-size:14px;font-weight:700}
.fh-ours{color:var(--brand)}
.fh-me{color:var(--ink-2)}
.flow-step{display:flex;align-items:baseline;gap:var(--sp-3);padding:var(--sp-5) var(--sp-2) var(--sp-5) 0}
.flow-step .n{font-family:var(--font-display);font-size:18px;color:var(--brand);flex:none;width:16px}
.flow-step h3{margin:0;font-size:17px}
.flow-ours{margin:0;padding:var(--sp-5);border-radius:var(--r-1);background:var(--brand-soft);
  font-size:15px;line-height:1.7;color:var(--ink)}
.flow-me{margin:0;padding:var(--sp-5);border-radius:var(--r-1);background:var(--bg-2);
  font-size:15px;line-height:1.6;font-weight:700;color:var(--ink-2)}
.flow-me.is-free{font-weight:400}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* real case — the founder's own book. Photo left, facts right; warm surface so it reads as a
   different kind of evidence from the author-homepage example that follows */
.case{background:var(--brand-soft)}
.casegrid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:var(--sp-12);align-items:center}
/* two photos of the same book: the library copy large — it proves the book reached a public
   shelf — and the printed copy framed over its lower right corner, clear of the book in the hand.
   The bottom padding (a share of the width, like the photos) leaves room for the inset to hang. */
.case-photos{position:relative;padding-bottom:calc(17% + 12px)}
.case-photo{margin:0}
.case-photo img{display:block;width:100%;height:auto;border-radius:var(--r-2);box-shadow:var(--shadow-2)}
.case-photo:first-child{width:84%}
.case-photo:nth-child(2){position:absolute;right:0;bottom:0;width:36%}
.case-photo:nth-child(2) img{border:6px solid var(--bg)}
.case-photo figcaption{margin-top:var(--sp-3);font-size:13px;color:var(--ink-2)}
.case .body{margin-bottom:var(--sp-6)}
.facts{display:grid;gap:0;border-top:1px solid var(--line-strong);max-width:var(--w-prose-ko)}
.facts div{display:grid;grid-template-columns:64px 1fr;gap:var(--sp-4);padding:var(--sp-3) 0;border-bottom:1px solid var(--line)}
.facts dt{font-size:13px;font-weight:700;color:var(--ink-2);line-height:1.6}
.facts dd{margin:0;font-size:15px;line-height:1.6}

/* author homepage example — the dark band, links out to the example site */
.sample{background:var(--band);color:#fff}
.sample .kicker{color:var(--brand-on-dark)}
.sample .body{color:var(--on-band)}
/* on the dark band the example button is a white fill — the outline version faded into the band (10/12) */
.sample .btn-ghost{background:#fff;color:var(--band);border-color:#fff}
.sample .btn-ghost:hover{background:#F3EEE6;border-color:#F3EEE6;color:var(--band)}
/* portfolio row inside the dark band — native horizontal scroll with snap, so a phone swipes it
   and a trackpad slides it; the arrows step one card on wide screens. One surface per card:
   the image keeps radius + shadow only */
.sample-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--sp-6) var(--sp-12);align-items:end}
.sample-head h2{margin-bottom:0}
.sample-side .body{margin:0 0 var(--sp-6)}
.works{margin-top:var(--sp-12)}
.works-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--sp-6)}
.works h3{font-family:var(--font-display);font-weight:600;font-size:clamp(20px,2vw,26px);color:#fff;margin:0 0 var(--sp-3)}
.works .body{color:var(--on-band);margin:0}
.works-nav{display:flex;gap:var(--sp-2);flex:none}
.wk-btn{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--band-line);
  border-radius:var(--r-1);background:transparent;color:#fff;cursor:pointer;
  transition:background var(--dur-ui) var(--ease-out),border-color var(--dur-ui) var(--ease-out)}
.wk-btn:hover{background:var(--band-hover);border-color:#fff}
.wk-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.wk-btn[disabled]{opacity:.35;cursor:default;background:transparent;border-color:var(--band-line)}
.wk-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.works-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2 * var(--sp-5)) / 3.3);
  gap:var(--sp-5);margin:var(--sp-8) 0 0;padding:0 0 var(--sp-4);overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--band-line) transparent}
.works-track:focus-visible{outline:2px solid #fff;outline-offset:4px}
.work{scroll-snap-align:start}
.work img{width:100%;height:auto;aspect-ratio:1;border-radius:var(--r-2);box-shadow:var(--shadow-2);background:var(--band-hover)}
.work-t{margin:var(--sp-4) 0 0;font-weight:700;font-size:16px;color:#fff}
.work-d{margin:var(--sp-1) 0 0;font-size:14px;line-height:1.55;color:var(--on-band-2)}

/* pro — a two-column grid; an odd last cell spans the row, because a lone cell in a
   two-column grid just looks like a leftover */
.pro-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin-top:var(--sp-10);
  border-top:1px solid var(--line-strong)}
.pro-list div{padding:var(--sp-6) var(--sp-8) var(--sp-6) 0;border-bottom:1px solid var(--line)}
.pro-list div:nth-child(2n){padding-left:var(--sp-8);border-left:1px solid var(--line)}
.pro-list div:last-child:nth-child(odd){grid-column:1/-1;padding-left:0;border-left:0;
  border-bottom:0;background:var(--brand-soft);padding:var(--sp-6) var(--sp-8)}
.pro-list dt{display:flex;align-items:center;gap:var(--sp-3);font-weight:700;font-size:17px}
.pro-list .ic{color:var(--brand)}
.pro-list dd{margin:var(--sp-3) 0 0;font-size:15px;color:var(--ink-2);line-height:1.65}
/* tax — the deduction differs by profession (VAT-exempt clinics cannot claim input tax), so
   two labelled rows instead of one sentence that has to hedge */
.tax{margin-top:var(--sp-12)}
.tax h3{margin:0 0 var(--sp-4)}
.tax dl{border-top:1px solid var(--line-strong)}
.tax dl div{display:grid;grid-template-columns:minmax(0,15em) minmax(0,1fr);gap:var(--sp-6);
  padding:var(--sp-5) 0;border-bottom:1px solid var(--line)}
.tax dt{font-weight:700;font-size:15px;line-height:1.7}
.tax dd{margin:0;font-size:15px;color:var(--ink-2);line-height:1.7;max-width:var(--w-prose-ko)}

/* plans — one colour family. The brand brown carries every discount mark (badge, "특별 할인가",
   savings), so the cards read with the rest of the page (10/8: red marks and the red-ruled banner
   looked pasted on). The rows line up across the three cards through subgrid — name, regular
   price, sale price, savings, then the list — and the BEST / 월 1명 한정 tabs sit on the top edge,
   out of the rows, so no card starts lower than the others. */
/* the monthly cap sits under the title as a pill, not a sentence (10/12) */
.price-limit{margin:var(--sp-5) 0 0}
.pill{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:800;
  letter-spacing:.02em;color:var(--brand);border:1px solid var(--brand);background:var(--bg)}
.plans{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,auto);
  gap:0 var(--sp-5);margin-top:var(--sp-12)}
.plans.no-was{grid-template-rows:repeat(3,auto)}
.plan{position:relative;display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;
  background:var(--bg);border:1px solid var(--line);border-radius:var(--r-2);padding:var(--sp-8)}
.plans.no-was .plan{grid-row:span 3}
/* BEST: warm card, a 2px brand edge and a lift. The second pixel of the edge is a ring in the
   shadow, so the box keeps the same 1px border and padding as the others and its rows stay level. */
.plan.is-primary{background:#FFFCF7;border-color:var(--brand);box-shadow:0 0 0 1px var(--brand),var(--shadow-2)}
.tab{position:absolute;top:0;left:var(--sp-8);transform:translateY(-50%);margin:0;padding:4px 12px;
  border-radius:999px;font-size:13px;font-weight:800;letter-spacing:.04em;line-height:1.5;
  color:var(--on-brand);background:var(--brand)}
.tab.is-limit{background:var(--bg);color:var(--brand);border:1px solid var(--brand);letter-spacing:0}
.plan-n{font-weight:700;font-size:17px}
.plan-en{font-family:var(--font-display);font-size:13px;font-weight:400;color:var(--ink-2);margin-left:var(--sp-1)}
.plan-was{display:flex;align-items:center;flex-wrap:wrap;gap:var(--sp-2) var(--sp-3);margin:var(--sp-5) 0 0;
  font-size:15px;color:var(--ink-2)}
/* the badge's effect: a brown sheen, light at the top left and deep at the bottom right, with a
   hairline highlight. Gradient + pill only (an inset highlight is not a shadow), and these three
   are the page's only gradients. */
.plan-was .off{display:inline-flex;align-items:center;min-height:28px;padding:0 var(--sp-3);border-radius:999px;
  background:var(--brand) linear-gradient(135deg,#A08A6D 0%,var(--brand) 50%,#4C4034 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32);color:var(--on-brand);font-size:13px;font-weight:800}
.plan-was s{font-weight:500;text-decoration-thickness:1.5px}
.plan-w{display:flex;flex-direction:column;gap:var(--sp-1);margin:var(--sp-4) 0 0}
.plan-wl{font-size:13px;font-weight:700;color:var(--brand)}
.plan-wn{font-family:var(--font-display);font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.02em}
.plan-plus{font-family:var(--font);font-size:22px;font-weight:600;margin-left:2px;color:var(--brand)}
.plan-pn{font-size:13px;color:var(--ink-2)}
.plan-wn small{font-family:var(--font);font-size:16px;font-weight:400;margin-left:var(--sp-1);color:var(--ink-2)}
.plan-save{margin:var(--sp-2) 0 0;font-size:14px;font-weight:700;color:var(--brand)}
/* two groups per card, the 대표's own headings: what the package provides, then the homepage scope */
.plan-body{display:flex;flex-direction:column;margin-top:var(--sp-6);padding-top:var(--sp-5);border-top:1px solid var(--line)}
.plan-g{margin:0 0 var(--sp-3);font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--brand)}
.plan ul + .plan-g{margin-top:var(--sp-5)}
.plan ul{display:grid;gap:var(--sp-3);margin:0}
.plan li{position:relative;padding-left:16px;font-size:14px;line-height:1.55;color:var(--ink-2)}
.plan li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;
  border-radius:50%;background:var(--line-strong)}
.plan.is-primary li::before{background:var(--brand)}
.plan-c{margin-top:auto;padding-top:var(--sp-6);font-size:15px;font-weight:600;line-height:1.65;color:var(--brand)}
.vat{margin-top:var(--sp-8);font-weight:700;font-size:15px;color:var(--ink)}
.note a{color:var(--brand);font-weight:700;text-underline-offset:3px}
/* closing CTA: the client's question, set as the first thing to answer */
.ask{font-family:var(--font-display);font-weight:600;font-size:clamp(19px,1.8vw,23px);line-height:1.5;
  color:var(--ink);margin:0 0 var(--sp-3)}

@media (max-width:860px){
  /* phone order: headline, then the picture that explains it, then the detail and the CTA */
  .herogrid{grid-template-columns:1fr;grid-template-areas:"title" "stage" "body" "stats";gap:0}
  .herobody{padding-top:var(--sp-6)}
  .hero{padding:var(--sp-10) 0 var(--sp-section)}
  /* phones: no PC screen — the book and the phone page side by side say the same thing */
  .hv-stage{display:flex;justify-content:center;align-items:flex-end;gap:var(--sp-6);padding:0}
  .hv-pc{display:none}
  .hv-mo,.hv-book{position:static}
  .hv-mo{width:36%;max-width:150px}
  .hv-book{width:54%;max-width:240px}
  .plans,.split,.casegrid{grid-template-columns:1fr}
  /* stacked cards: no shared rows to line up; the gap leaves room for the tabs */
  .plans,.plans.no-was{grid-template-rows:none;row-gap:var(--sp-8)}
  .plan,.plans.no-was .plan{display:flex;flex-direction:column;grid-row:auto}
  /* phones: one tinted block per step — title, sagak's work, then the author's part as a white
     strip with its label inline. Two labelled boxes per step doubled the scroll. */
  .flow-head{display:none}
  .flow{gap:var(--sp-3)}
  .flow-row{grid-template-columns:1fr;gap:var(--sp-3);padding:var(--sp-5);border-radius:var(--r-2);background:var(--brand-soft)}
  .flow-step{padding:0}
  .flow-ours{padding:0;background:none}
  .flow-me{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--sp-1) var(--sp-3);padding:var(--sp-3) var(--sp-4);
    background:var(--bg);font-size:14px;color:var(--ink)}
  .flow-me.is-free{display:none}
  .flow-me::before{content:attr(data-who);font-size:12px;font-weight:700;color:var(--ink-2);font-family:var(--font)}
  .sample-head{grid-template-columns:1fr;gap:var(--sp-5)}
  .works{margin-top:var(--sp-10)}
  .works-nav{display:none}
  /* phones: a card and a slice of the next one, so the row reads as swipeable */
  .works-track{grid-auto-columns:72%;gap:var(--sp-4);margin-right:-16px;padding-right:16px}
  .casegrid{gap:var(--sp-8)}
  .pro-list{grid-template-columns:1fr}
  .pro-list div,.pro-list div:nth-child(2n){padding:var(--sp-5) 0;border-left:0}
  .tax dl div{grid-template-columns:1fr;gap:var(--sp-2)}
  /* the figure grid stays three across — stacking turned three comparable numbers into a list */
  .stats div{padding:var(--sp-5) var(--sp-3) 0 0}
  .stats div + div{padding-left:var(--sp-3)}
  .stats dt{font-size:26px}
  .stats dd{font-size:13px;margin-top:var(--sp-2)}
}
@media (max-width:480px){
  /* label over number in every cell — letting flex-wrap decide stacked only the widest one
     ("인세" over "10%") and the three cells stopped lining up */
  .stats dt{flex-direction:column;align-items:flex-start;gap:var(--sp-1)}
}

@media (max-width:480px){
  /* each headline line has to fit one row of a 360px phone */
  .hero h1{font-size:min(8vw,34px)}
}

/* footer — same order and look as the Imweb main site footer (11/3): sns, name, policy links,
   then the business lines centred. Inline links sit in p/dd, so only the icon needs a 44px hit area */
.foot-center .wrap{display:flex;flex-direction:column;align-items:center;gap:var(--sp-4);text-align:center}
.foot-sns{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--bg)}
.foot-sns span{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;
  border-radius:50%;background:var(--ink)}
.foot-name{margin:var(--sp-2) 0 0;font-size:15px;font-weight:700;color:var(--ink)}
.foot-policy{display:flex;gap:var(--sp-6);margin:0;font-size:14px}
.foot-policy a{color:var(--ink-2);text-decoration:none}
.foot-policy a.is-strong{font-weight:700;color:var(--ink)}
.foot-center .biz{justify-content:center;gap:var(--sp-1) var(--sp-4);max-width:1200px;margin:var(--sp-2) 0 0;
  font-size:13px;line-height:1.7}
.foot-center .biz div{display:block}
.foot-center .biz dt,.foot-center .biz dd{display:inline;margin:0}
.foot-center .biz dd{margin-left:4px}
.foot-center .biz a{color:inherit;text-decoration:none}
