@charset "utf-8";
/* ============================================================
   니하오친구 (nihao79.com) — Homepage Redesign 2026
   Design System / Layout / Components
   Brand: #2e841a (green)  ·  Accent: #fe0202 (red)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --green-800: #163f0b;
  --green-700: #1e5c10;
  --green-600: #2e841a;
  --green-500: #3d9c26;
  --green-300: #8cc47b;
  --green-100: #e6f2e1;
  --green-50: #f4f9f1;

  --red-700: #c40000;
  --red-600: #fe0202;
  --red-50: #fff3f3;

  --ink: #101a0e;
  --ink-2: #2c3a28;
  --muted: #5f6d5a;
  --line: #e6ece1;
  --line-strong: #d5ddd0;
  --surface: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f8feee;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 32, 12, .05);
  --shadow-sm: 0 6px 18px -10px rgba(16, 40, 12, .18);
  --shadow-md: 0 18px 40px -26px rgba(16, 40, 12, .35);
  --shadow-lg: 0 34px 70px -40px rgba(16, 40, 12, .45);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 116px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "맑은 고딕", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-en: "Manrope", "Pretendard Variable", system-ui, sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { color: var(--ink); }
:focus-visible {
  outline: 3px solid rgba(46, 132, 26, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(46, 132, 26, .18); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--green-700); color: #fff;
  padding: 12px 18px; border-radius: 0 0 12px 12px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 3. Layout ---------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--dark {
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(61, 156, 38, .38), transparent 62%),
    radial-gradient(700px 380px at 4% 110%, rgba(254, 2, 2, .14), transparent 60%),
    linear-gradient(160deg, #0f2a08 0%, #163f0b 46%, #12340a 100%);
}
.section--dark .sec-title,
.section--dark h3 { color: #fff; }
.section--dark .sec-desc { color: rgba(255, 255, 255, .74); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em;
  color: var(--green-600); text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--red-600);
}
.eyebrow--light { color: #b9e2ac; }
.eyebrow--center { justify-content: center; }

.sec-head { max-width: 720px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title {
  margin-top: 14px;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -.022em;
  color: var(--ink);
}
.sec-desc {
  margin-top: 16px;
  font-size: clamp(.98rem, 1.15vw, 1.075rem);
  line-height: 1.85;
  color: var(--muted);
}
.text-red { color: var(--red-700); }
.text-green { color: var(--green-600); }
.mark {
  position: relative; white-space: nowrap; z-index: 0;
}
.mark::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em;
  height: .38em; z-index: -1; border-radius: 4px;
  background: linear-gradient(90deg, rgba(254, 2, 2, .22), rgba(254, 2, 2, .12));
}
.mark--green::after {
  background: linear-gradient(90deg, rgba(46, 132, 26, .26), rgba(46, 132, 26, .12));
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--green-600);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1rem; font-weight: 700; line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
    background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  box-shadow: 0 14px 26px -16px rgba(46, 132, 26, .75);
}
.btn:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 20px 34px -18px rgba(46, 132, 26, .8); }
.btn:active { transform: translateY(0); }

.btn--red {
  --btn-bg: var(--red-600);
  box-shadow: 0 14px 26px -16px rgba(254, 2, 2, .7);
}
.btn--red:hover { background: var(--red-700); box-shadow: 0 20px 34px -18px rgba(254, 2, 2, .75); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: #fff; border-color: var(--green-600); color: var(--green-700); box-shadow: var(--shadow-sm); }

.btn--white {
  --btn-bg: #fff; --btn-fg: var(--green-700);
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, .55);
}
.btn--white:hover { background: #f2f8ee; color: var(--green-800); }

.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
  box-shadow: none;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .8); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn__icon { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .9375rem; color: var(--green-700);
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--red-700); }

/* ---------- 6. Top bar + Header ---------- */
.topbar {
  background: var(--green-800);
  color: rgba(255, 255, 255, .78);
  font-size: .8125rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 38px;
}
.topbar__note { margin: 0; letter-spacing: -.01em; }
.topbar__note b { color: #fff; font-weight: 700; }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links a { transition: color .15s var(--ease); }
.topbar__links a:hover { color: #fff; }
.topbar__divider { width: 1px; height: 12px; background: rgba(255, 255, 255, .22); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(16, 40, 12, .55);
}

.header-main__inner {
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px);
  min-height: 74px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: clamp(34px, 3vw, 42px); }

.gnb { margin-left: auto; }
.gnb > ul { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); }
.gnb__item { position: relative; }
.gnb__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 10px; border-radius: 10px;
  font-size: .9688rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.015em;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.gnb__link:hover { color: var(--green-700); background: var(--green-50); }
.gnb__link svg { width: 10px; height: 10px; opacity: .5; transition: transform .2s var(--ease); }
.gnb__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.gnb__item.is-current > .gnb__link { color: var(--green-700); }
.gnb__item--mypage { display: none; }
.gnb__item.is-current > .gnb__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--red-600);
}

.gnb__sub {
  position: absolute; top: calc(100% + 10px); left: 50%;
  translate: -50% 0;
  min-width: 208px; padding: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.gnb__sub a {
  display: block; padding: 9px 14px; border-radius: 10px;
  font-size: .9375rem; font-weight: 600; color: var(--ink-2);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.gnb__sub a:hover { background: var(--green-50); color: var(--green-700); }

@media (hover: hover) and (pointer: fine) {
  .gnb__item:hover > .gnb__sub { opacity: 1; visibility: visible; transform: none; }
}
.gnb__item.is-open > .gnb__sub { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; position: relative; z-index: 101; }
.gnb__drawer-foot { display: none; }
.header-actions .btn--ghost { display: inline-flex; }
.mobile_btn { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(10, 24, 6, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 84px);
  background:
    radial-gradient(760px 460px at 82% 8%, rgba(46, 132, 26, .09), transparent 64%),
    radial-gradient(520px 360px at 6% 92%, rgba(254, 2, 2, .05), transparent 62%),
    linear-gradient(180deg, #f8fbf5 0%, #ffffff 72%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 4.4vw, 64px); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 10px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: .8438rem; font-weight: 700; color: var(--green-700);
}
.hero__badge i {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--radius-pill);
  background: var(--red-50); color: var(--red-700);
  font-size: .75rem; font-weight: 800; font-style: normal; letter-spacing: .02em;
}
.hero__badge i::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-600);
  box-shadow: 0 0 0 3px rgba(254, 2, 2, .15);
}
.hero__title {
  margin-top: 20px;
  font-size: clamp(2.05rem, 4.3vw, 3.5rem);
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: -.032em;
  color: var(--ink);
}
.hero__title .line2 { display: block; }
.hero__title em {
  font-style: normal;
  color: var(--green-600);
}
.hero__desc {
  margin-top: 22px;
  max-width: 33em;
  font-size: clamp(.98rem, 1.15vw, 1.075rem);
  line-height: 1.85;
  color: var(--muted);
}
.hero__desc strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 20px; font-size: .875rem; color: var(--muted);
}
.hero__meta li { display: flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--green-600); flex: none; }

/* Hero visual */
.hero__visual { position: relative; padding-bottom: 26px; }
.mock {
  position: relative;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #fbfcfa; border-bottom: 1px solid var(--line);
}
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8dd; }
.mock__dots i:first-child { background: #ffcfcf; }
.mock__dots i:nth-child(2) { background: #ffe6b8; }
.mock__dots i:nth-child(3) { background: #cdeac2; }
.mock__title { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: -.01em; }
.mock__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--red-50); color: var(--red-700);
  font-size: .6875rem; font-weight: 800; letter-spacing: .04em;
}
.mock__live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red-600); }

.mock__body { display: grid; grid-template-columns: 1fr 1.24fr; gap: 10px; padding: 12px; }
.tile {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1 / .96;
  border-radius: 16px;
  background: url('/assets/img/home1.jpg') no-repeat center/cover;
  overflow: hidden;
}
.tile__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1.5px solid rgba(255, 255, 255, .32);
  color: #fff; font-size: 1.85rem; font-weight: 700;
  letter-spacing: .02em;
}
.tile__name {
  position: absolute; left: 8px; top: 8px; right: auto;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 8px;
  background: rgba(8, 22, 4, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: .6875rem; font-weight: 600;
}
.tile__name span { opacity: .7; font-weight: 500; }

.board {
  padding: 14px;
  border-radius: 16px; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, #eef3ea 27px 28px),
    #fdfefc;
  display: flex; flex-direction: column; gap: 8px;
}
.board__row { display: flex; align-items: baseline; gap: 8px; font-size: .75rem; color: var(--green-700); }
.board__py { font-family: var(--font-en); font-size: .6875rem; letter-spacing: .04em; color: #7a8a74; }
.board__han { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.board__han u { text-decoration: none; border-bottom: 2.5px solid rgba(254, 2, 2, .65); padding-bottom: 2px; }
.board__stroke { height: 8px; border-radius: 4px; background: rgba(254, 2, 2, .12); width: 62%; }
.board__stroke--2 { width: 42%; background: rgba(46, 132, 26, .16); }
.board__note {
  margin-top: auto; display: flex; align-items: center; gap: 6px;
  font-size: .625rem; color: var(--muted);
}
.float {
  position: absolute;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 14px;
}
.float--ai {
  right: -22px; top: 54px;
  width: 200px;
  animation: floaty 7s var(--ease) infinite;
}
.float--review {
  left: -24px; bottom: -18px;
  width: 224px;
  animation: floaty 8.5s var(--ease) infinite reverse;
}
.float__head { display: flex; align-items: center; gap: 7px; font-size: .6875rem; font-weight: 800; color: var(--green-700); }
.float__head i {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); font-style: normal; font-size: .625rem; font-weight: 800;
}
.float__bubble {
  margin-top: 9px; padding: 9px 11px; border-radius: 12px 12px 12px 4px;
  background: var(--bg-soft); font-size: .75rem; line-height: 1.55; color: var(--ink-2);
}
.float__bubble b { color: var(--red-700); }
.float__bars { margin-top: 9px; display: grid; gap: 6px; }
.float__bar { display: flex; align-items: center; gap: 7px; font-size: .625rem; color: var(--muted); }
.float__bar span { width: 30px; flex: none; }
.float__bar u {
  flex: 1; height: 5px; border-radius: 3px; background: var(--green-100);
  text-decoration: none; overflow: hidden; display: block;
}
.float__bar u::after { content: ""; display: block; height: 100%; width: var(--w, 60%); background: var(--green-500); border-radius: 3px; }
.float__bar em { font-style: normal; font-weight: 800; color: var(--green-700); }

.float__stars { color: #ffb400; font-size: .75rem; letter-spacing: .12em; }
.float__quote { margin-top: 6px; font-size: .75rem; line-height: 1.6; color: var(--ink-2); }
.float__who { margin-top: 8px; font-size: .6875rem; color: var(--muted); }

.float--discount {
  right: 14px; bottom: -20px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-pill);
  background: var(--red-600); color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 34px -18px rgba(254, 2, 2, .8);
}
.float--discount b { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.02em; }
.float--discount span { font-size: .6875rem; line-height: 1.35; opacity: .95; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 8. Trust strip ---------- */
.trust {
  background: linear-gradient(90deg, var(--green-700), #2f8a1b 58%, #38961f);
  color: #fff;
  padding-block: 26px;
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item + .trust__item { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 22px; }
.trust__num { font-family: var(--font-en); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.trust__num small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.trust__label { font-size: .8125rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.trust__label b { display: block; color: #fff; font-size: .875rem; }
.trust__item svg { width: 26px; height: 26px; flex: none; opacity: .9; }

/* ---------- 9. Concern cards ---------- */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(32px, 4vw, 52px);
}
.concern {
  position: relative;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.concern:hover { transform: translateY(-5px); border-color: var(--green-100); box-shadow: var(--shadow-md); }
.concern::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--green-500), var(--green-700));
  opacity: 0; transition: opacity .25s var(--ease);
}
.concern:hover::before { opacity: 1; }
.concern__no {
  font-family: var(--font-en); font-size: 2.25rem; font-weight: 800;
  line-height: 1; color: var(--green-100); letter-spacing: -.04em;
}
.concern__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-top: 16px; border-radius: 14px;
  background: var(--green-50); color: var(--green-600);
}
.concern__icon svg { width: 22px; height: 22px; }
.concern h3 {
  margin-top: 16px; font-size: 1.0625rem; font-weight: 800; line-height: 1.55;
  color: var(--ink); letter-spacing: -.015em;
}
.concern p { margin-top: 8px; font-size: .9063rem; line-height: 1.72; color: var(--muted); }
.concern__fix {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  display: flex; align-items: flex-start; gap: 7px;
  font-size: .8438rem; font-weight: 700; color: var(--green-700);
}
.concern__fix svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--red-600); }
.center-cta { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 44px); }
.center-cta .note { margin-left: 6px; font-size: .8125rem; color: var(--muted); align-self: center; }

/* ---------- 10. Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(32px, 4vw, 52px);
}
.step {
  position: relative;
  padding: clamp(22px, 2.3vw, 30px);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__no {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6875rem; font-weight: 800; letter-spacing: .12em;
  color: var(--red-700);
}
.step__no b {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-600); color: #fff;
  font-family: var(--font-en); font-size: .8125rem; letter-spacing: 0;
}
.step h3 { margin-top: 16px; font-size: 1.0313rem; font-weight: 800; color: var(--ink); line-height: 1.5; }
.step p { margin-top: 7px; font-size: .875rem; line-height: 1.7; color: var(--muted); }
.step::after {
  content: ""; position: absolute; top: 42px; right: -14px;
  width: 14px; height: 1px; border-top: 2px dashed var(--line-strong);
}
.step:last-child::after { display: none; }

/* ---------- 11. Split feature ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 72px); align-items: center;
}
.split--tight { gap: clamp(26px, 3.6vw, 52px); }
.split__media { position: relative; min-width: 0; }
.split__body { min-width: 0; }

.frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: #fbfcfa; border-bottom: 1px solid var(--line);
}
.frame img { width: 100%; height: auto; }
.frame__caption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}
.frame__caption b { color: var(--green-700); font-weight: 700; }

.bullets { display: grid; gap: 14px; margin-top: 26px; }
.bullet { display: flex; gap: 12px; align-items: flex-start; }
.bullet__icon {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600);
}
.bullet__icon svg { width: 17px; height: 17px; }
.bullet h3 { font-size: .9688rem; font-weight: 800; color: var(--ink); }
.bullet p { margin-top: 2px; font-size: .875rem; line-height: 1.65; color: var(--muted); }

/* ---------- 12. Discount panel ---------- */
.discount {
  position: relative; overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff6f6 0%, #fff 46%, var(--green-50) 100%);
  border: 1px solid #ffe2e2;
}
.discount::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 2, 2, .1), transparent 70%);
}
.discount__tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--red-600); color: #fff;
  font-size: .7813rem; font-weight: 800; letter-spacing: .02em;
}
.discount h3 {
  margin-top: 16px;
  font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.38;
  font-weight: 800; letter-spacing: -.025em; color: var(--ink);
}
.discount h3 em {
  font-style: normal; color: var(--red-600);
  position: relative; z-index: 0;
}
.discount h3 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px;
  background: rgba(254, 2, 2, .14); z-index: -1; border-radius: 3px;
}
.discount p { margin-top: 14px; font-size: .9375rem; line-height: 1.8; color: var(--ink-2); }
.discount__meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line);
  font-size: .8125rem; font-weight: 700; color: var(--ink-2);
}
.chip svg { width: 14px; height: 14px; color: var(--green-600); }
.chip--red { border-color: #ffd9d9; color: var(--red-700); }
.chip--red svg { color: var(--red-600); }
.discount__figure { position: relative; }
.discount__figure img { width: 100%; border-radius: var(--radius); border: 1px solid rgba(46, 132, 26, .12); }

/* 1:2 whiteboard diagram */
.duo {
  padding: clamp(12px, 1.6vw, 18px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.duo__teacher {
  padding: 12px 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--green-100);
  background: linear-gradient(180deg, #f5faf2, #fff);
}
.duo__label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .6875rem; font-weight: 800; color: var(--green-700);
  letter-spacing: -.01em;
}
.duo__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-600); }
.duo__screen {
  margin-top: 9px; padding: 12px 10px;
  border-radius: 11px; background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}
.duo__py { font-family: var(--font-en); font-size: .72rem; color: #7f8d79; letter-spacing: .05em; }
.duo__han { margin-top: 3px; font-size: 1.3rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.duo__han u { text-decoration: none; border-bottom: 2px solid rgba(254, 2, 2, .62); }
.duo__branch { position: relative; height: 30px; }
.duo__branch::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 2px; height: 12px; background: var(--line-strong);
  transform: translateX(-50%);
}
.duo__branch::after {
  content: ""; position: absolute; left: 25%; right: 25%; top: 12px;
  height: 2px; border-radius: 2px; background: var(--line-strong);
}
.duo__branch i {
  position: absolute; top: 12px; width: 2px; height: 18px;
  background: var(--line-strong);
}
.duo__branch i:nth-child(1) { left: 25%; }
.duo__branch i:nth-child(2) { left: 75%; }
.duo__students { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo__student {
  padding: 10px 10px 8px;
  border-radius: 14px; background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.duo__student .duo__screen { margin: 0; padding: 9px 6px; background: var(--bg-soft); }
.duo__student .duo__han { font-size: 1.0625rem; }
.duo__student .duo__py { font-size: .64rem; }
.duo__cap {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  margin-top: 8px; font-size: .6875rem; font-weight: 800; color: var(--ink-2);
}
.duo__cap span {
  padding: 2px 7px; border-radius: var(--radius-pill);
  background: var(--green-50); color: var(--green-700);
  font-size: .5938rem; font-weight: 800;
}

/* ---------- 13. AI section ---------- */
.ai-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.ai-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #d9f1cf; font-size: .8125rem; font-weight: 700;
}
.ai-badge svg { width: 15px; height: 15px; color: #a8e191; }

.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ai-chips .chip {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
}
.ai-chips .chip svg { color: #9fdd88; }

.chat {
  border-radius: 26px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chat__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}
.chat__ava {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #6cc251, #2e841a);
  font-size: .75rem; font-weight: 800; color: #fff;
}
.chat__head b { font-size: .9063rem; font-weight: 800; }
.chat__head span { display: block; font-size: .6875rem; color: rgba(255, 255, 255, .55); }
.chat__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-size: .6563rem; font-weight: 700; color: #a8e191;
}
.chat__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6cc251; }

.chat__body { display: grid; gap: 10px; padding-block: 16px; }
.msg {
  max-width: 88%; padding: 11px 14px; border-radius: 14px;
  font-size: .8438rem; line-height: 1.6;
}
.msg--ai { background: rgba(255, 255, 255, .1); color: #fff; border-bottom-left-radius: 4px; }
.msg--ai .py { display: block; margin-top: 4px; font-family: var(--font-en); font-size: .6875rem; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.msg--me {
  margin-left: auto; background: #fff; color: var(--ink);
  border-bottom-right-radius: 4px; font-weight: 600;
}
.msg--score {
  display: flex; align-items: center; gap: 10px;
  background: rgba(108, 194, 81, .16);
  border: 1px solid rgba(108, 194, 81, .3);
  color: #fff; font-size: .8125rem;
}
.msg--score b { color: #b6f09e; font-size: .9375rem; }
.chat__foot {
  display: flex; align-items: center; gap: 8px;
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.chat__input {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .45); font-size: .8125rem;
}
.chat__send {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-600); color: #fff; flex: none;
}

/* ---------- 14. Devices ---------- */
.devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(32px, 4vw, 48px); }
.device {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.device:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.device__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-50); }
.device__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.device:hover .device__img img { transform: scale(1.04); }
.device__tag {
  position: absolute; left: 12px; top: 12px;
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
  font-size: .6875rem; font-weight: 800; color: var(--green-700);
  letter-spacing: .02em;
}
.device__body { padding: clamp(18px, 2vw, 24px); }
.device__body h3 { display: flex; align-items: center; gap: 8px; font-size: 1.0313rem; font-weight: 800; color: var(--ink); }
.device__body h3 svg { width: 18px; height: 18px; color: var(--green-600); }
.device__body p { margin-top: 8px; font-size: .875rem; line-height: 1.72; color: var(--muted); }

/* ---------- 14b. APP showcase ---------- */
.app-download {
  position: relative; overflow: hidden;
  margin-top: clamp(26px, 3.4vw, 42px);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(18px, 3vw, 40px); align-items: center;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 300px at 96% 0%, rgba(254, 2, 2, .2), transparent 62%),
    radial-gradient(520px 320px at 0% 110%, rgba(120, 210, 90, .2), transparent 60%),
    linear-gradient(120deg, #12340a 0%, #1e5c10 52%, #2e841a 100%);
  color: #fff;
  box-shadow: 0 40px 80px -54px rgba(16, 40, 12, .85);
}
.app-download__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em;
  color: #b9e2ac; text-transform: uppercase;
}
.app-download__eyebrow svg { width: 15px; height: 15px; }
.app-download h3 {
  margin-top: 12px;
  font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.36;
  font-weight: 800; letter-spacing: -.025em; color: #fff;
}
.app-download__desc {
  margin-top: 10px; max-width: 34em;
  font-size: .9375rem; line-height: 1.78;
  color: rgba(255, 255, 255, .78);
}
.app-download__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 22px;
}
.btn--app {
  --btn-bg: var(--red-600); --btn-fg: #fff;
  min-height: 60px; padding: 0 28px;
  border-radius: 16px; font-size: 1.0625rem;
  box-shadow: 0 20px 34px -18px rgba(254, 2, 2, .95);
}
.btn--app:hover { background: var(--red-700); }
.btn--app svg { width: 20px; height: 20px; }
.btn--app::before {
  content: ""; position: absolute; inset: -5px; border-radius: 21px;
  border: 2px solid rgba(254, 2, 2, .5);
  animation: appPulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes appPulse {
  0% { opacity: .85; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.09); }
}
.app-store {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 60px; padding: 0 20px;
  border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .34);
  color: #fff; font-size: .9375rem; font-weight: 700;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.app-store:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.app-store svg { width: 19px; height: 19px; }
.app-download__fine {
  margin-top: 14px; font-size: .75rem; line-height: 1.6;
  color: rgba(255, 255, 255, .55);
}
.app-download__art {
  position: relative; align-self: stretch; min-height: 300px;
}
.app-download__art img {
  position: absolute;
  width: 47%; max-width: 178px; height: auto;
  border-radius: 20px; border: 5px solid rgba(255, 255, 255, .94);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65);
}
.app-download__art img:first-child { left: 2%; top: 8%; transform: rotate(-7deg); }
.app-download__art img:last-child { left: 46%; top: 26%; transform: rotate(6deg); }

.app-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(30px, 3.8vw, 46px);
}
.app-card { min-width: 0; }
.app-shot {
  position: relative;
  aspect-ratio: 460 / 994;
  border-radius: 24px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 26px 56px -38px rgba(16, 40, 12, .6);
}
.app-shot img,
.app-shot video {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  background: #fff;
}
.app-shot video {
  z-index: 2; opacity: 0;
  transition: opacity .4s var(--ease);
}
.app-shot.is-playing video { opacity: 1; }
.app-shot__badge {
  position: absolute; right: 10px; top: 10px;
  padding: 4px 9px; border-radius: var(--radius-pill);
  background: rgba(16, 26, 14, .62); color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: .625rem; font-weight: 800; letter-spacing: .06em;
}
.app-card__body { padding: 16px 2px 0; }
.app-card__no {
  display: block; font-family: var(--font-en);
  font-size: .75rem; font-weight: 800; letter-spacing: .06em;
  color: var(--red-700);
}
.app-card__title {
  margin-top: 7px; font-size: 1rem; line-height: 1.5;
  font-weight: 800; color: var(--ink); letter-spacing: -.015em;
}
.app-card__desc { margin-top: 6px; font-size: .8438rem; line-height: 1.7; color: var(--muted); }

/* ---------- 15. Numbered features ---------- */
.nums { display: grid; gap: 16px; margin-top: 26px; }
.num-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.num-item:hover { border-color: var(--green-100); box-shadow: var(--shadow-sm); }
.num-item__no {
  font-family: var(--font-en); font-size: .75rem; font-weight: 800;
  color: var(--red-700); letter-spacing: .04em; padding-top: 3px;
}
.num-item h3 { font-size: .9688rem; font-weight: 800; color: var(--ink); }
.num-item p { margin-top: 4px; font-size: .875rem; line-height: 1.65; color: var(--muted); }

/* ---------- 16. Reviews ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reviews-nav { display: flex; gap: 8px; }
.nav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  transition: all .2s var(--ease);
}
.nav-btn:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.nav-btn svg { width: 18px; height: 18px; }

.reviews-track {
  display: flex; gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(28px, 3vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  scroll-behavior: smooth;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - clamp(14px, 1.6vw, 20px) * 2) / 3);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review__stars { color: #ffb400; font-size: .875rem; letter-spacing: .14em; }
.review__title {
  margin-top: 14px; font-size: 1.0625rem; font-weight: 800; color: var(--ink);
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.review__text {
  margin-top: 8px; font-size: .875rem; line-height: 1.75; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.review__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 18px;
}
.review__who { display: flex; align-items: center; gap: 9px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.review__who i {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
  font-style: normal; font-size: .75rem; font-weight: 800;
}
.review__link { font-size: .75rem; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.review__link:hover { color: var(--red-700); }

/* ---------- 17. Quality ---------- */
.quality-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(32px, 4vw, 48px);
}
.quality {
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.quality:hover { transform: translateY(-4px); border-color: var(--green-100); box-shadow: var(--shadow-md); }
.quality__icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--green-50), var(--green-100));
  color: var(--green-700);
}
.quality__icon svg { width: 21px; height: 21px; }
.quality h3 { margin-top: 16px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.quality p { margin-top: 7px; font-size: .875rem; line-height: 1.72; color: var(--muted); }

/* ---------- 18. Pricing ---------- */
.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(32px, 4vw, 48px);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured {
  border: 2px solid var(--green-600);
  box-shadow: 0 26px 60px -40px rgba(46, 132, 26, .6);
}
.plan__badge {
  position: absolute; left: 50%; top: -13px; translate: -50% 0;
  padding: 5px 14px; border-radius: var(--radius-pill);
  background: var(--red-600); color: #fff;
  font-size: .6875rem; font-weight: 800; letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 10px 20px -12px rgba(254, 2, 2, .9);
}
.plan__term { font-size: .9375rem; font-weight: 800; color: var(--green-700); }
.plan__term small { font-weight: 600; color: var(--muted); margin-left: 6px; font-size: .8125rem; }
.plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-family: var(--font-en); font-size: clamp(1.85rem, 2.6vw, 2.25rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.plan__price span { font-size: .9375rem; font-weight: 700; color: var(--ink-2); }
.plan__was { margin-top: 7px; font-size: .8125rem; color: var(--muted); }
.plan__was s { color: #9aa694; }
.plan__was b { color: var(--red-700); font-weight: 800; }
.plan__list { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 9px; }
.plan__list li { display: flex; gap: 8px; font-size: .875rem; color: var(--ink-2); }
.plan__list svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--green-600); }
.plan .btn { margin-top: auto; }
.plan__cta { margin-top: 22px; }
.price-note {
  margin-top: 22px; padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: var(--radius); background: var(--bg-soft);
  font-size: .8438rem; line-height: 1.7; color: var(--muted);
}
.price-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--green-600); }

/* ---------- 19. Quiz ---------- */
.quiz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(30px, 3.6vw, 44px); }
.quiz {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(18px, 2vw, 24px);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.quiz__body { display: flex; flex-direction: column; min-width: 0; }
.quiz__no { font-size: .75rem; font-weight: 800; color: var(--red-700); letter-spacing: .06em; }
.quiz__q { margin-top: 8px; font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.5; }
.quiz__img { margin-top: 14px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: #f7f8f6; }
.quiz__img img { width: 100%; }
.quiz__hint { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); }
.quiz__hint svg { width: 14px; height: 14px; color: var(--green-600); }
.quiz__actions { display: flex; gap: 10px; margin-top: 16px; }
.ox {
  flex: 1; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid var(--line-strong); background: #fff;
  font-family: var(--font-en);
  font-size: 1.125rem; font-weight: 800; color: var(--ink);
  letter-spacing: .02em;
  transition: all .18s var(--ease);
}
.ox:hover { border-color: var(--green-600); color: var(--green-700); }
.ox.is-right { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.ox.is-wrong { border-color: var(--red-600); background: var(--red-600); color: #fff; }
.quiz__result {
  margin-top: 12px; min-height: 22px; font-size: .8125rem; font-weight: 700;
  color: var(--muted);
}
.quiz__result.is-right { color: var(--green-700); }
.quiz__result.is-wrong { color: var(--red-700); }

/* ---------- 20. Boards ---------- */
.boards { display: grid; grid-template-columns: 1fr 1fr .86fr; gap: clamp(16px, 2vw, 26px); }
.board-card {
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.board-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.board-card__head h3 { font-size: 1.0625rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.board-card__head a { font-size: .75rem; color: var(--muted); }
.board-card__head a:hover { color: var(--red-700); }
.board-list { margin-top: 4px; }
.board-list li { border-bottom: 1px solid var(--line); }
.board-list li:last-child { border-bottom: 0; }
.board-list a {
  display: flex; align-items: center; gap: 10px; padding: 12px 0;
  font-size: .875rem; color: var(--ink-2);
  transition: color .15s var(--ease);
}
.board-list a:hover { color: var(--green-700); }
.board-list a:hover .board-list__t { text-decoration: underline; text-underline-offset: 3px; }
.board-list__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list time { font-size: .75rem; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.board-list__lock { width: 13px; height: 13px; flex: none; color: #b0b9ab; }

.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.quick-link {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .8438rem; font-weight: 700; color: var(--ink);
  transition: all .2s var(--ease);
}
.quick-link:hover { background: #fff; border-color: var(--green-600); color: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quick-link svg { width: 20px; height: 20px; color: var(--green-600); }

/* ---------- 21. FAQ ---------- */
.faq-wrap { max-width: 900px; margin: clamp(28px, 3.4vw, 42px) auto 0; display: grid; gap: 10px; }
.faq {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq[open] { border-color: var(--green-100); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; gap: 14px;
  padding: 18px clamp(18px, 2vw, 24px);
  cursor: pointer; list-style: none;
  font-size: .9688rem; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq summary .q {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700);
  font-size: .75rem; font-weight: 800;
}
.faq__a {
  padding: 0 clamp(18px, 2vw, 24px) 20px calc(clamp(18px, 2vw, 24px) + 38px);
  font-size: .9063rem; line-height: 1.8; color: var(--muted);
}
.faq__a a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 22. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 6vw, 80px);
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(254, 2, 2, .18), transparent 62%),
    radial-gradient(600px 300px at 0% 100%, rgba(120, 210, 90, .18), transparent 60%),
    linear-gradient(120deg, #163f0b, #2e841a 62%, #1f5c10);
  color: #fff;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -110px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .14);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.25rem); line-height: 1.35; font-weight: 800;
  letter-spacing: -.025em; color: #fff;
}
.cta-band h2 em { font-style: normal; color: #ffd7d7; }
.cta-band p { margin-top: 12px; font-size: .9688rem; color: rgba(255, 255, 255, .78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-band__phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.375rem; font-weight: 800; color: #fff; letter-spacing: -.01em;
}
.cta-band__phone small { display: block; font-size: .75rem; font-weight: 600; color: rgba(255, 255, 255, .66); letter-spacing: 0; }
.cta-band__phone svg { width: 22px; height: 22px; color: #ffb8b8; }

/* ---------- 23. Footer ---------- */
.site-footer { background: #0d1d08; color: rgba(255, 255, 255, .62); font-size: .875rem; }
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(42px, 5vw, 64px);
}
.footer-brand .logo-chip {
  display: inline-flex; align-items: center;
  padding: 9px 14px; border-radius: 14px; background: #fff;
}
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 16px; line-height: 1.8; max-width: 30em; font-size: .8438rem; }
.footer-col h3 {
  font-size: .8125rem; font-weight: 800; color: #fff; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: .875rem; transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact__item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact__item svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--green-300); }
.footer-contact__item b { color: #fff; font-weight: 700; }
.footer-contact__item a { color: #fff; font-weight: 800; font-size: 1.0625rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .75rem; color: rgba(255, 255, 255, .45);
}
.footer-bottom__links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom a[href*="beian"] { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 24. Mobile action bar ---------- */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px calc(10px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  gap: 8px;
}
.mobile-bar .btn { flex: 1; min-height: 48px; font-size: .9375rem; }
.mobile-bar .btn--ghost { flex: 0 0 40%; }

.to-top {
  position: fixed; right: 20px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--green-700);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-600); color: #fff; border-color: var(--green-600); }

/* ---------- 25. Reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1180px) {
  .gnb__link { padding-inline: 8px; font-size: .9375rem; }
  .header-actions .btn--ghost { display: none; }
}

/* Tablet / small laptop — switch to drawer navigation */
@media (max-width: 1080px) {
  /* backdrop-filter would create a containing block for the fixed drawer */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
  }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .gnb {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
    width: min(86vw, 360px);
    margin: 0; padding: 16px 16px 32px;
    background: #fff;
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .5);
    transform: translateX(102%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex; flex-direction: column;
  }
  .gnb > ul { display: block; padding-top: 44px; }
  body.is-logged-in .gnb__item--mypage { display: block; }
  .gnb__item { border-bottom: 1px solid var(--line); }
  .gnb__item.is-current > .gnb__link::after { display: none; }
  .gnb__link {
    width: 100%; justify-content: space-between;
    padding: 15px 6px; font-size: 1.0313rem;
  }
  .gnb__link svg { width: 13px; height: 13px; opacity: .55; }
  .gnb__sub {
    position: static; translate: none; transform: none;
    opacity: 1; visibility: visible;
    min-width: 0; padding: 0 0 12px;
    border: 0; box-shadow: none; border-radius: 0;
    display: none;
	margin-top:5px;
  }
  .gnb__item.is-open > .gnb__sub { display: block; }
  .gnb__sub a { padding: 11px 12px; font-size: .9375rem; background: var(--bg-soft); margin-bottom: 6px; }
  .gnb__sub a:last-child { margin-bottom: 0; }
  .gnb.is-open { transform: none; }
  .gnb__drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; }
  .gnb__drawer-foot .btn { width: 100%; }
  .gnb__drawer-foot .tel {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: .875rem; color: var(--muted); padding-top: 8px;
  }
  .mobile_btn{display:block;}
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

  .hero__grid { gap: 36px; }
  .hero__visual { max-width: 540px; width: 100%; margin-inline: auto; }
  .float--review { left: -8px; }
  .float--ai { right: -6px; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__body { order: 1; }
  .hero__visual { order: 2; margin-top: 8px; min-width: 0; }
  .hero__desc { max-width: none; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.18); padding-left: 20px; }

  .cards-3, .devices, .quality-grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }

  .split, .ai-grid, .discount { grid-template-columns: minmax(0, 1fr); }
  .split__media { order: -1; }
  .split--reverse .split__media { order: 0; }
  .discount__figure { order: -1; max-width: 520px; }

  .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boards > :last-child { grid-column: 1 / -1; }
  .quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .reviews-track .review { flex-basis: calc((100% - 16px) / 2); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .to-top { bottom: 16px; }
  .quiz { grid-template-columns: minmax(0, 1fr); }
  .quiz__img { order: -1; margin: 12px 0 0; }
  .topbar { display: none; }
}

/* Tablet — keep three-up cards for simple content, two-up for dense cards */
@media (min-width: 721px) and (max-width: 980px) {
  .cards-3, .devices, .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .concern, .device__body, .plan { padding: 20px; }
  .concern h3 { font-size: 1rem; }
  .concern p, .device__body p { font-size: .8125rem; }
  .plan__price b { font-size: 1.65rem; }
  .plan__list li { font-size: .8125rem; }
  .plan__was { font-size: .75rem; }
  .plan .btn { font-size: .875rem; padding-inline: 12px; }
}

@media (max-width: 720px) {
  :root { --section-y: clamp(52px, 11vw, 76px); }
  .topbar { display: none; }
  .header-main__inner { min-height: 64px; }
  .brand img { height: 32px; }
  .header-actions .btn--primary { display: none; }
  .hero { padding-top: 28px; }
  .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__meta { gap: 8px 14px; font-size: .8125rem; }
  .float--ai { right: -4px; top: 44px; width: 186px; padding: 10px 12px; }
  .float--review { display: none; }
  .float--discount { right: 50%; translate: 50% 0; bottom: -20px; }
  .mock__body { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 9; }
  .cards-3, .devices, .quality-grid, .plans, .steps, .boards, .quick-links, .quiz-grid { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .trust__grid { grid-template-columns: minmax(0, 1fr); }
  .trust__item { border-left: 0 !important; padding-left: 0 !important; }
  .trust__item + .trust__item { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
  .reviews-track .review { flex-basis: 86%; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .cta-band__phone { margin-top: 4px; }
  .price-note { flex-direction: column; }
  .board-card__head { padding-bottom: 10px; }
  .to-top { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float--ai { display: none; }
}

@media (max-width: 400px) {
  .float--ai { display: none; }
  .hero__badge { font-size: .7813rem; }
}

/* ---------- 26b. APP section responsive ---------- */
@media (max-width: 1080px) {
  .app-download { grid-template-columns: minmax(0, 1fr); }
  .app-download__art { display: none; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card {
    display: grid; grid-template-columns: 38% minmax(0, 1fr);
    gap: 14px; align-items: start;
  }
  .app-card__body { padding-top: 2px; }
}

@media (max-width: 720px) {
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-card { grid-template-columns: 40% minmax(0, 1fr); gap: 14px; }
  .app-card__title { font-size: .9688rem; }
  .app-card__desc { font-size: .8125rem; }
  .app-download__actions { width: 100%; }
  .app-download__actions .btn--app,
  .app-download__actions .app-store { flex: 1 1 100%; justify-content: center; }
  .app-download__fine { text-align: left; }
}

/* ---------- 27. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .to-top, .cta-band, .reviews-nav, .nav-scrim { display: none !important; }
  body { color: #000; }
  .section { padding-block: 24px; }
}

/* ---------- logged-in / logged-out swap ---------- */
.header-actions .btn.header-member,
.gnb__drawer-foot .btn.drawer-member { display: none; }
body.is-logged-in .header-actions .btn.header-guest,
body.is-logged-in .gnb__drawer-foot .btn.drawer-guest { display: none; }
body.is-logged-in .header-actions .btn.header-member { display: inline-flex; }
body.is-logged-in .gnb__drawer-foot .btn.drawer-member { display: flex; }

@media (max-width: 1180px) {
  .header-actions .btn.header-guest,
  .header-actions .btn.header-member { display: none !important; }
}

body.is-logged-in .topbar__links a[href*="member/login.html"],
body.is-logged-in .topbar__links a[href*="member/join.html"] { display: none; }
