/* ==========================================================================
   FINDIER LAB — Design Tokens & Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — use deliberately: lime = one CTA/highlight per screen, purple = small accents/numbers, cyan = rare */
  --black:    #111111;
  --white:    #FFFFFF;
  --offwhite: #F7F7F5;
  --paper:    #EDEBE5;   /* placeholder panel tone */
  --paper-2:  #E3E0D8;   /* placeholder panel tone, alt */
  --line:     #E2DFD9;   /* structural 1px borders */
  --t-soft:   #55524C;
  --t-muted:  #99958D;
  --lime:     #D3F45A;
  --purple:   #7B61FF;
  --cyan:     #4DE7FF;

  --font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1360px;
  --gutter: 80px;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-kr), var(--font-en), sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Typography */
.eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t-muted);
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.18; word-break: keep-all; }
.h1 { font-size: clamp(2.6rem, 4.6vw, 4.8rem); font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 800; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 800; }
.body-lg { font-size: 1.05rem; color: var(--t-soft); line-height: 1.7; word-break: keep-all; }
.body-md { font-size: .95rem; color: var(--t-soft); line-height: 1.7; word-break: keep-all; }
.num { font-family: var(--font-en); font-weight: 700; color: var(--purple); }

.mark {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  padding: 0 .12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  filter: blur(6px);
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-kr);
  font-size: .92rem;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 4px;
  transition: opacity .2s, background .2s, color .2s;
}
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { opacity: .82; }
.btn-text { font-weight: 700; color: var(--black); padding: 15px 2px; }
.btn-text::after { content: ''; }
.btn-text:hover { opacity: .6; }

/* Placeholder image panel — swap for real photography later */
.ph {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 26px, rgba(17,17,17,.035) 26px, rgba(17,17,17,.035) 27px);
}
.ph-2 { background: var(--paper-2); }

.fade { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.fade.in { opacity: 1; transform: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 76px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-block { display: flex; flex-direction: column; gap: 4px; }
.nav-word { display: block; font-family: var(--font-en); font-size: 15px; font-weight: 800; letter-spacing: .03em; line-height: 1; }
.nav-tagline { display: block; font-family: var(--font-en); font-size: 8px; font-weight: 600; letter-spacing: .08em; color: var(--t-muted); line-height: 1.3; }
.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu > li { position: relative; }
.nav-menu a { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--t-soft); transition: color .2s; }
.nav-menu a:hover { color: var(--black); }

/* Per-item dropdown — sub-links appear directly below their own nav
   word, frosted/translucent like the Toss reference */
.nav-dropdown-panel {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 12px;
  padding: 10px; min-width: 210px;
  box-shadow: 0 16px 36px rgba(17,17,17,.1);
  display: flex; flex-direction: column; gap: 1px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.nav-dropdown-panel a {
  font-family: var(--font-kr); font-size: 13px; font-weight: 600; letter-spacing: 0;
  color: var(--t-soft); padding: 10px 14px; border-radius: 8px;
  white-space: nowrap; transition: background .14s ease, color .14s ease;
}
.nav-dropdown-panel a:hover { background: rgba(255,255,255,.6); color: var(--black); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 6px 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

#mobileMenu { display: none; position: fixed; inset: 76px 0 0 0; background: var(--white); z-index: 998; flex-direction: column; padding: 8px 24px 32px; overflow-y: auto; }
#mobileMenu.open { display: flex; }
.mob-link { font-family: var(--font-en); font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--black); padding: 18px 0; border-bottom: 1px solid var(--line); }
.mob-cta { margin-top: 24px; }

main { padding-top: 76px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-family-title { display: block; font-size: .92rem; font-weight: 800; letter-spacing: -.01em; color: var(--black); margin-bottom: 12px; }
a.footer-family-title { transition: opacity .15s; }
a.footer-family-title:hover { opacity: .6; }
.footer-family-col a:not(.footer-family-title) { display: block; font-size: .8rem; color: var(--t-muted); padding: 5px 0; transition: color .15s; }
.footer-family-col a:not(.footer-family-title):hover { color: var(--t-soft); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.footer-word { font-family: var(--font-en); font-size: 14px; font-weight: 800; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--t-muted); }
.footer-links a:hover { color: var(--black); }
.footer-legal { font-size: 11px; color: var(--t-muted); line-height: 1.8; }

/* ==========================================================================
   SECTIONS (shared rhythm)
   ========================================================================== */
section.sect { padding: 128px 0; border-top: 1px solid var(--line); }
section.sect:first-of-type { border-top: none; }
.sect-head { margin-bottom: 56px; max-width: 760px; }
.sect-head .eyebrow { margin-bottom: 18px; }

/* ==========================================================================
   HERO
   ========================================================================== */
#hero { padding: 168px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.hero-eyebrow { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--t-muted); text-transform: uppercase; margin-bottom: clamp(16px, 2.2vw, 22px); }
.hero-headline { margin-bottom: clamp(22px, 3vw, 32px); }
.hero-sub { max-width: 540px; margin-bottom: clamp(26px, 3.6vw, 38px); }
.hero-cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-tags { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.hero-tags span { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--t-muted); text-transform: uppercase; }
.hero-img { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; position: relative; top: var(--py, 0px); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16,1,.3,1); }
#hero .hero-img:hover img { transform: scale(1.06); }

/* ==========================================================================
   YOU ARE HERE FOR — typographic grid, no cards
   ========================================================================== */
.for-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.for-item { padding: 8px 40px 8px 0; }
.for-item + .for-item { border-left: 1px solid var(--line); padding-left: 40px; }
.for-icon { display: block; color: var(--black); margin-bottom: 20px; }
.for-num { display: block; font-family: var(--font-en); font-size: .85rem; font-weight: 700; color: var(--purple); margin-bottom: 14px; }
.for-title { font-family: var(--font-en); font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.for-desc { font-size: .9rem; color: var(--t-soft); margin-bottom: 14px; word-break: keep-all; }
.for-item a.arrow { font-weight: 700; font-size: .9rem; }
.for-item a.arrow:hover { opacity: .6; }

/* ==========================================================================
   AI x HUMAN
   ========================================================================== */
#philosophy .phil-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.phil-headline { font-size: clamp(2.4rem,4.2vw,4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 24px; }
.phil-x { color: var(--purple); }
.phil-quote { font-size: 1rem; color: var(--t-soft); line-height: 1.85; border-left: 2px solid var(--line); padding-left: 18px; max-width: 360px; }
.phil-img { aspect-ratio: 5/4; border-radius: 4px; overflow: hidden; position: relative; top: var(--py, 0px); }
.phil-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16,1,.3,1); }
#philosophy:hover .phil-img img { transform: scale(1.06); }

/* ==========================================================================
   OUR APPROACH
   ========================================================================== */
.approach-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; gap: 24px; flex-wrap: wrap; }
.approach-mark { text-align: right; }
.approach-mark .nav-word { display: block; font-size: 13px; }
.approach-mark .nav-tagline { text-align: right; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.approach-item { padding: 22px 28px 0 0; border-top: 1px solid var(--line); }
.approach-item + .approach-item { border-left: 1px solid var(--line); padding-left: 28px; }
.approach-num { display: block; font-family: var(--font-en); font-size: .8rem; font-weight: 700; color: var(--purple); margin-bottom: 14px; }
.approach-label { font-size: .98rem; font-weight: 700; word-break: keep-all; margin-bottom: 10px; }
.approach-desc { font-size: .84rem; color: var(--t-soft); line-height: 1.6; word-break: keep-all; }

/* ==========================================================================
   TEASER (Creator / Business / Education)
   ========================================================================== */
.teaser { padding: 96px 0; border-top: 1px solid var(--line); overflow-x: hidden; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.teaser.rev .teaser-grid { direction: rtl; }
.teaser.rev .teaser-grid > * { direction: ltr; }
.teaser-img { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; }
.teaser-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser-eyebrow { font-family: var(--font-en); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--t-muted); text-transform: uppercase; margin-bottom: 18px; }
.teaser-headline { font-size: clamp(1.6rem,2.6vw,2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.32; margin-bottom: 16px; word-break: keep-all; }
.teaser-copy { font-size: .95rem; color: var(--t-soft); margin-bottom: 22px; word-break: keep-all; }
.teaser-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
.teaser-cta .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.teaser-cta:hover .dot { transform: translateX(4px); }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
#final-cta { padding: 140px 0; text-align: center; border-top: 1px solid var(--line); }
.final-eyebrow { margin-bottom: 22px; }
.final-headline { font-size: clamp(1.9rem,3.4vw,3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.32; margin-bottom: 40px; word-break: keep-all; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .hero-grid, #philosophy .phil-grid, .teaser-grid { gap: 40px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }
  #nav { height: 64px; }
  .nav-menu, .nav-actions .btn-primary { display: none; }
  .nav-burger { display: flex; }
  main { padding-top: 64px; }
  #mobileMenu { inset: 64px 0 0 0; }

  section.sect { padding: 80px 0; }
  #hero { padding: 104px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img {
    order: -1; aspect-ratio: 16/10; margin-bottom: 20px; border-radius: 0;
    width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  }
  .hero-tags { flex-direction: row; flex-wrap: wrap; gap: 14px; }

  .for-grid { grid-template-columns: 1fr; }
  .for-item + .for-item { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }

  #philosophy .phil-grid { grid-template-columns: 1fr; }
  .phil-img { order: -1; aspect-ratio: 16/10; }

  .approach-grid { grid-template-columns: 1fr 1fr; }
  .approach-item:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 28px; }
  .approach-item:nth-child(odd) { padding-left: 0; }
  .approach-item:nth-child(n+3) { margin-top: 28px; }
  .approach-mark { text-align: left; }
  .approach-mark .nav-tagline { text-align: left; }

  .teaser { padding: 64px 0; }
  .teaser-grid, .teaser.rev .teaser-grid { grid-template-columns: 1fr; direction: ltr; }
  .teaser-img { aspect-ratio: 16/10; }

  #final-cta { padding: 96px 0; }
}

/* ==========================================================================
   SUB-PAGE SHARED COMPONENTS
   ========================================================================== */

/* Page hero (smaller than homepage hero) */
.page-hero { padding: 168px 0 88px; background: var(--offwhite); }
/* Hero image illustrations have their own white card background — keep
   the hero section white too so there's no visible seam around the image */
.page-hero:has(.page-hero-img) { background: var(--white); }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 760px; margin-bottom: 20px; }
.page-hero .body-lg { max-width: 560px; }
.page-hero-cta { margin-top: 32px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.page-hero-img { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; position: relative; top: var(--py, 0px); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.page-hero:hover .page-hero-img img { transform: scale(1.06); }

/* Problem / checklist */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; background: var(--gray1, var(--offwhite)); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; font-size: .9rem; color: var(--t-soft); line-height: 1.6; word-break: keep-all; }
.check-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex-shrink: 0; margin-top: 8px; }

/* Process flow (DIAGNOSE -> IMPROVE style, N steps) */
.process-flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-step { background: var(--white); padding: 28px 22px; }
.process-step-num { display: block; font-family: var(--font-en); font-size: clamp(1.8rem,2.6vw,2.4rem); font-weight: 800; color: var(--purple); margin-bottom: 14px; letter-spacing: -.02em; }
.process-step-name { font-family: var(--font-en); font-size: .95rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.process-step-desc { font-size: .82rem; color: var(--t-soft); line-height: 1.6; word-break: keep-all; }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-pill { font-size: .82rem; font-weight: 600; padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--line); color: var(--t-soft); }

/* Ecosystem flow (Creator page process, with hub step + outcomes) */
.eco-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.eco-step { border: 1px solid var(--line); border-radius: 12px; padding: 26px 20px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.eco-step:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(17,17,17,.07); border-color: var(--purple); }
.eco-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(123,97,255,.1); color: var(--purple); margin-bottom: 18px; }
.eco-step-num { font-family: var(--font-en); font-size: .85rem; font-weight: 800; color: var(--purple); margin-bottom: 16px; display: block; }
.eco-step-title { font-size: .96rem; font-weight: 800; margin-bottom: 14px; line-height: 1.35; word-break: keep-all; }
.eco-step-list { font-size: .8rem; color: var(--t-soft); line-height: 1.9; word-break: keep-all; }
.eco-step.hub { background: var(--black); border-color: var(--black); }
.eco-step.hub:hover { border-color: var(--lime); }
.eco-step.hub .eco-step-icon { background: rgba(211,244,90,.14); color: var(--lime); }
.eco-step.hub .eco-step-num { color: var(--lime); }
.eco-step.hub .eco-step-title { color: var(--white); }
.eco-step.hub .eco-step-list { color: rgba(255,255,255,.6); }
.eco-step.result { border-color: var(--lime); }
.eco-step.result .eco-step-icon { background: rgba(211,244,90,.22); color: var(--black); }
.eco-arrow { display: flex; align-items: center; justify-content: center; color: var(--t-muted); font-size: 18px; }
.eco-outcomes-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.eco-outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eco-outcomes-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.outcome-item { border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.outcome-icon { color: var(--purple); flex-shrink: 0; }
.outcome-label { font-size: .88rem; font-weight: 700; margin-bottom: 4px; word-break: keep-all; }
.outcome-desc { font-size: .78rem; color: var(--t-muted); word-break: keep-all; }

/* Compare (old way vs Findier way) */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.compare-old { border: 1.5px solid var(--line); border-radius: 14px; padding: 28px 24px; text-align: center; }
.compare-old-label { font-family: var(--font-en); font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--t-muted); text-transform: uppercase; margin-bottom: 12px; }
.compare-arrow { font-size: 20px; color: var(--line); font-weight: 900; }
.compare-new { background: var(--black); border-radius: 14px; padding: 28px 24px; }
.compare-new-label { font-family: var(--font-en); font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--lime); text-transform: uppercase; margin-bottom: 14px; }
.compare-chip { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .82rem; font-weight: 600; padding: 9px 12px; border-radius: 8px; margin-bottom: 6px; }
.compare-chip:last-child { margin-bottom: 0; }

/* Topics grid (Education page) */
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.topic-item { display: flex; gap: 10px; font-size: .9rem; color: var(--t-soft); padding: 12px 0; border-bottom: 1px solid var(--line); word-break: keep-all; }
.topic-item::before { content: '·'; color: var(--purple); font-weight: 900; }
.format-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-size: .92rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; word-break: keep-all; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-en); font-size: 18px; color: var(--purple); font-weight: 700; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; font-size: .85rem; color: var(--t-soft); line-height: 1.75; word-break: keep-all; }

/* Case cards */
.case-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.case-top { padding: 32px 32px 0; }
.case-tag { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--purple); text-transform: uppercase; margin-bottom: 12px; }
.case-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; word-break: keep-all; }
.case-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.case-col { padding: 22px 24px; }
.case-col + .case-col { border-left: 1px solid var(--line); }
.case-col-label { font-family: var(--font-en); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; color: var(--t-muted); text-transform: uppercase; margin-bottom: 10px; }
.case-col-body { font-size: .84rem; color: var(--t-soft); line-height: 1.65; word-break: keep-all; }

/* Subscription tier cards (For Business — 가게 블로그 운영 단계) */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; }
.tier-card.featured { border-color: var(--purple); border-width: 1.5px; }
.tier-card.dark { background: var(--black); border-color: var(--black); }
.tier-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-kr); font-size: .72rem; font-weight: 700; padding: 6px 16px; border-radius: 100px; white-space: nowrap; }
.tier-card.featured .tier-badge { background: var(--purple); color: var(--white); }
.tier-card.dark .tier-badge { background: var(--lime); color: var(--black); }
.tier-bar { height: 3px; border-radius: 2px; background: var(--line); margin-bottom: 28px; }
.tier-card.featured .tier-bar { background: var(--purple); }
.tier-card.dark .tier-bar { background: var(--lime); }
.tier-num { font-family: var(--font-en); font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--t-muted); margin-bottom: 10px; display: block; }
.tier-card.dark .tier-num { color: rgba(255,255,255,.45); }
.tier-freq { font-size: .85rem; color: var(--t-soft); margin-bottom: 24px; }
.tier-card.dark .tier-freq { color: rgba(255,255,255,.6); }
.tier-title { font-size: 1.1rem; font-weight: 800; line-height: 1.4; margin-bottom: 12px; word-break: keep-all; }
.tier-card.dark .tier-title { color: var(--white); }
.tier-desc { font-size: .85rem; color: var(--t-soft); line-height: 1.6; margin-bottom: 20px; word-break: keep-all; }
.tier-card.dark .tier-desc { color: rgba(255,255,255,.65); }
.tier-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tier-card .tag-pill { font-size: .75rem; padding: 7px 14px; }
.tier-card.dark .tag-pill { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.8); }
.tier-features { list-style: none; padding: 20px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); flex-grow: 1; }
.tier-card.dark .tier-features { border-top-color: rgba(255,255,255,.12); }
.tier-features li { font-size: .85rem; color: var(--t-soft); padding: 7px 0 7px 18px; position: relative; word-break: keep-all; }
.tier-features li::before { content: ''; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.tier-card.dark .tier-features li { color: rgba(255,255,255,.75); }
.tier-card.dark .tier-features li::before { background: var(--lime); }
.tier-features li.included { color: var(--t-muted); font-style: italic; }
.tier-card.dark .tier-features li.included { color: rgba(255,255,255,.4); }
.tier-features li.included::before { background: var(--t-muted); }
.tier-cta { margin-top: auto; }
.tier-note { font-size: .78rem; color: var(--t-muted); }

@media (max-width: 860px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* Manifesto (About) */
.manifesto-block { text-align: center; padding: 40px 0; }
.manifesto-text { max-width: 780px; margin: 0 auto; font-size: clamp(1.4rem,2.6vw,2.1rem); font-weight: 800; line-height: 1.55; letter-spacing: -.02em; word-break: keep-all; }
.manifesto-text .c-lime {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  padding: 0 .1em;
  filter: blur(6px);
  opacity: 0;
}
.manifesto-text .line, .question-line .line { display: block; }
.question-block { max-width: 640px; margin: 0 auto; text-align: center; }
.question-line { font-size: clamp(1.3rem,2.2vw,1.8rem); font-weight: 800; line-height: 1.5; word-break: keep-all; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 7px; }
.field .opt { color: var(--t-muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 13px 14px; font-family: inherit; font-size: .92rem; background: var(--white); color: var(--black); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); }
.submit-btn { width: 100%; background: var(--black); color: var(--white); font-size: .95rem; font-weight: 700; padding: 15px; border: none; border-radius: 100px; cursor: pointer; transition: opacity .2s; margin-top: 6px; }
.submit-btn:hover { opacity: .85; }
.submit-btn:disabled { opacity: .5; cursor: default; }
.form-success { display: none; text-align: center; padding: 48px 24px; background: var(--offwhite); border-radius: 16px; }
.form-success .success-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.form-success .success-sub { font-size: .85rem; color: var(--t-soft); line-height: 1.7; }

@media (max-width: 860px) {
  .page-hero { padding: 100px 0 56px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-img {
    order: -1; aspect-ratio: 16/10; margin-bottom: 20px; border-radius: 0;
    width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  }
  .check-grid, .topic-grid, .form-grid { grid-template-columns: 1fr; }
  .process-flow { grid-auto-flow: row; }
  .eco-flow { grid-template-columns: 1fr; }
  .eco-arrow { transform: rotate(90deg); padding: 4px 0; }
  .eco-outcomes-grid { grid-template-columns: 1fr 1fr; }
  .eco-outcomes-grid.cols-3 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); text-align: center; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-col:nth-child(2) { border-left: 1px solid var(--line); }
  .case-col:nth-child(3) { border-left: none; border-top: 1px solid var(--line); }
  .case-col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-family { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   MOTION — restrained, Toss-style polish: staggered reveals, tactile
   press/hover feedback, subtle zoom. No animation libraries, CSS only.
   ========================================================================== */

/* Nav gains a quiet elevation once the page scrolls (toggled via main.js) */
#nav { transition: box-shadow .3s ease, background .3s ease; }
#nav.scrolled { box-shadow: 0 1px 0 rgba(17,17,17,.07); }

/* Button / link micro-interactions */
.btn-primary { transition: opacity .2s ease, transform .18s cubic-bezier(.34,1.56,.64,1); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
.btn-text { transition: opacity .2s ease, gap .2s ease; }
.btn-text:hover { opacity: .6; }
.for-item a.arrow { display: inline-block; transition: transform .22s cubic-bezier(.34,1.56,.64,1), opacity .2s ease; }
.for-item a.arrow:hover { transform: translateX(4px); }
.teaser-cta .dot { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }

/* Placeholder panels get a slow, subtle zoom on section hover — gives even
   tone blocks a sense of depth without touching layout */
.ph { overflow: hidden; }
.ph::before { transition: transform .7s cubic-bezier(.16,1,.3,1); }
#hero .hero-img:hover::before,
.teaser-grid:hover .teaser-img::before,
#philosophy:hover .phil-img::before { transform: scale(1.06); }
.teaser-img img { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.teaser-grid:hover .teaser-img img { transform: scale(1.06); }

/* Teaser halves converge from their own visual side — image from the left,
   text from the right (mirrored when .rev flips the layout) */
.teaser-img, .teaser-grid > div:not(.teaser-img) {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.teaser-img { transform: translateX(-36px); }
.teaser-grid > div:not(.teaser-img) { transform: translateX(36px); transition-delay: .08s; }
.teaser.rev .teaser-img { transform: translateX(36px); }
.teaser.rev .teaser-grid > div:not(.teaser-img) { transform: translateX(-36px); }
.teaser.in .teaser-img, .teaser.in .teaser-grid > div:not(.teaser-img) { opacity: 1; transform: none; }

/* Hero / page-hero entrance choreography — plays once on load, not scroll-tied */
.hero-eyebrow, .hero-headline, .hero-sub, .hero-cta-row, .hero-tags, #hero .hero-img,
.page-hero .eyebrow, .page-hero h1, .page-hero .body-lg, .page-hero-cta, .page-hero-img {
  opacity: 0;
  animation: revealUp .7s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-eyebrow, .page-hero .eyebrow { animation-delay: .05s; }
.hero-headline, .page-hero h1 { animation-delay: .12s; }
.hero-tags { animation-delay: .18s; }
.hero-sub, .page-hero .body-lg { animation-delay: .24s; }
#hero .hero-img, .page-hero-img { animation-delay: .3s; }
.hero-cta-row, .page-hero-cta { animation-delay: .34s; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Blur-highlight — the lime-marked word blurs into focus while its
   highlight sweeps in left-to-right, right as the headline above it
   finishes settling */
@keyframes markReveal {
  0% { opacity: 0; filter: blur(6px); background-size: 0% 100%; }
  45% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: blur(0); background-size: 100% 100%; }
}
.hero-headline .mark, .page-hero h1 .mark {
  animation: markReveal .85s cubic-bezier(.65,0,.35,1) forwards;
  animation-delay: .62s;
}
.fade.in .c-lime, .fade-group.in .c-lime {
  animation: markReveal .85s cubic-bezier(.65,0,.35,1) forwards;
  animation-delay: .15s;
}

/* Staggered group reveal — same trigger as .fade (see main.js), but direct
   children step in one after another instead of arriving all at once */
.fade-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.fade-group.in > * { opacity: 1; transform: none; }
.fade-group > *:nth-child(1) { transition-delay: 0s; }
.fade-group > *:nth-child(2) { transition-delay: .05s; }
.fade-group > *:nth-child(3) { transition-delay: .10s; }
.fade-group > *:nth-child(4) { transition-delay: .15s; }
.fade-group > *:nth-child(5) { transition-delay: .20s; }
.fade-group > *:nth-child(6) { transition-delay: .25s; }
.fade-group > *:nth-child(7) { transition-delay: .30s; }
.fade-group > *:nth-child(8) { transition-delay: .35s; }
.fade-group > *:nth-child(9) { transition-delay: .40s; }
.fade-group > *:nth-child(n+10) { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-headline, .hero-sub, .hero-cta-row, .hero-tags, #hero .hero-img,
  .page-hero .eyebrow, .page-hero h1, .page-hero .body-lg, .page-hero-cta, .page-hero-img {
    animation: none; opacity: 1;
  }
  .fade-group > * { opacity: 1; transform: none; transition: none; }
  .btn-primary:hover, .btn-primary:active { transform: none; }
  .eco-step:hover { transform: none; }
  .ph::before { transition: none; }
  .mark, .c-lime { animation: none; opacity: 1; filter: none; background-size: 100% 100%; }
  .hero-img, .phil-img, .page-hero-img { top: 0 !important; }
  .teaser-img, .teaser-grid > div:not(.teaser-img) { opacity: 1; transform: none; transition: none; }
}
