@font-face {
  font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900; font-display: swap;
}
:root {
  --paper: #ffffff;
  --wash: #f2f4f8;
  --ink: #14213d;
  --muted: #55607a;
  --pen: #14213d;
  --hl: #e8ecf3;
  --line: #dde2ea;
  --sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --w: 62rem;
  --gut: max(1.25rem, calc((100% - var(--w)) / 2));
}
.l-zh-cn { --sans: "Schibsted Grotesk", -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif; }
.l-zh-tw { --sans: "Schibsted Grotesk", -apple-system, "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", sans-serif; }
.l-ko    { --sans: "Schibsted Grotesk", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.top, section, footer, .mt-note { padding-inline: var(--gut); }
section { padding-block: clamp(2.75rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.25; font-weight: 750; letter-spacing: -.01em; margin-bottom: 1.75rem; }
.l-zh-cn h2, .l-zh-tw h2, .l-ko h2, .l-zh-cn h1, .l-zh-tw h1, .l-ko h1 { letter-spacing: 0; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.langs { display: flex; font-size: .9rem; }
.langs a { min-width: 2.1rem; padding: .3rem .4rem; text-align: center; text-decoration: none; color: var(--muted); border-radius: 4px; }
.langs a:hover { color: var(--ink); background: var(--wash); }
.langs a[aria-current] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--pen); border-radius: 0; }

.mt-note { margin: 0; padding-block: .65rem; background: var(--wash); color: var(--muted); font-size: .88rem; line-height: 1.5; }
.mt-note span { display: block; }
.mt-note a { color: var(--pen); }

.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); }
.btn:hover { background: #2a3b63; border-color: #2a3b63; }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
a:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.25rem, 7vw, 4.5rem); }
h1 { font-size: clamp(2rem, 5.6vw, 3.25rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.l-zh-cn h1, .l-zh-tw h1, .l-ko h1 { line-height: 1.3; }
.lead { margin-top: 1rem; font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.4; font-weight: 600; }
.sub { margin-top: 1rem; color: var(--muted); max-width: 34rem; }
.hero .btn { margin-top: 1.75rem; }
.me img { border-radius: 8px; }
.me figcaption { margin-top: .5rem; font-weight: 700; }

/* common problems */
.familiar { background: var(--wash); }
.marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 5vw, 3.5rem); }
.marks li { padding: 1.25rem 0; border-top: 2px solid var(--ink); }
.marks h3 { font-size: 1.15rem; line-height: 1.4; font-weight: 750; }
.marks p { margin-top: .35rem; color: var(--muted); }

.case p { max-width: 42rem; font-size: 1.15rem; }

/* how */
.steps { counter-reset: s; display: grid; gap: 1.1rem; max-width: 42rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; }
.steps li::before { content: counter(s) "."; font-weight: 800; }

/* sessions */
.sessions { background: var(--wash); }
.pricelist { max-width: 44rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: center; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); }
.row.main { border-top: 0; padding-block: 1.5rem; align-items: start; }
.row h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 750; }
.row h4 { font-size: 1.05rem; font-weight: 650; }
.meta { font-size: .9rem; color: var(--muted); }
.row.main .what p:last-child { margin-top: .6rem; color: var(--muted); }
.buy { display: flex; align-items: center; gap: 1rem; }
.row.main .buy { flex-direction: column; align-items: flex-end; gap: .6rem; }
.price { font-size: 1.25rem; font-weight: 800; white-space: nowrap; }
.row.main .price { font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.buy .btn { padding: .6rem 1.1rem; white-space: nowrap; }
.addon-intro { padding: 1.25rem 1.4rem .9rem; border-top: 1px solid var(--line); background: #fafbfd; }
.addon-intro h3 { font-size: 1.05rem; font-weight: 750; }
.addon-intro p { margin-top: .2rem; color: var(--muted); font-size: .98rem; }
.note { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* about, faq */
.bio { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; max-width: 58rem; }
.bio img { border-radius: 8px; }
blockquote { margin: 0 0 1.4rem; padding-left: 1rem; border-left: 4px solid var(--ink); font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.5; font-weight: 650; }
.creds { margin: 1.4rem 0; max-width: 42rem; border-top: 1px solid var(--line); }
.creds li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.link, .mail a { color: var(--pen); font-weight: 650; text-underline-offset: .2em; }
.faq { border-top: 1px solid var(--line); }
.faq dl { max-width: 42rem; }
.faq dl > div + div { margin-top: 1.4rem; }
.faq dt { font-weight: 700; }
.faq dd { margin-top: .2rem; color: var(--muted); }

/* closing */
.closing { background: var(--ink); color: #fff; }
.big { max-width: 34rem; font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.3; font-weight: 750; letter-spacing: -.01em; margin-bottom: 1.75rem; }
.closing .btn { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn:hover { background: var(--hl); border-color: var(--hl); }
.closing .mail { margin-top: 1.25rem; }
.closing .mail a { color: #fff; font-weight: 400; }
footer { padding-block: 1.25rem; background: var(--ink); color: #aab3c7; font-size: .85rem; border-top: 1px solid #2a3858; }

@media (max-width: 44rem) {
  .hero { grid-template-columns: 1fr; }
  .me { display: grid; grid-template-columns: 6.5rem 1fr; align-items: end; gap: 1rem; order: -1; }
  .me img { aspect-ratio: 1; object-fit: cover; object-position: 50% 22%; }
  .me figcaption { margin: 0 0 .5rem; }
  .marks { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio img { max-width: 15rem; }
  .row { grid-template-columns: 1fr; }
  .row.main .buy { flex-direction: row; align-items: center; justify-content: space-between; }
  .buy { justify-content: space-between; }
}
@media (max-width: 27rem) {
  .brand { font-size: 1rem; }
  .langs { font-size: .85rem; }
  .langs a { min-width: 1.85rem; padding: .3rem .25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
