:root {
  --coral: #f0564a;
  --coral-dark: #d9443a;
  --navy: #13294b;
  --ink: #1d2433;
  --muted: #5b6577;
  --line: #e6e9ef;
  --soft: #f6f7fb;
  --tv-purple: #4b2a85;
  --tv-blue: #0a66c2;
  --green: #1f9d55;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(19, 41, 75, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { width: 132px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--navy); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; transition: transform .15s, background .15s, box-shadow .15s; border: 2px solid transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(240,86,74,.4); outline-offset: 2px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(240,86,74,.28); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
  radial-gradient(520px 320px at 92% 8%, rgba(240,86,74,.10), transparent 70%),
  radial-gradient(420px 300px at 0% 100%, rgba(75,42,133,.08), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: #fff1ef; color: var(--coral-dark); font-family: "Nunito", sans-serif; font-weight: 900; font-size: 14px; letter-spacing: .02em; }
.eyebrow-plain { background: none; padding: 0; margin-bottom: 8px; }
h1 { margin: 0 0 20px; font-size: clamp(34px, 5vw, 54px); line-height: 1.22; letter-spacing: -0.02em; color: var(--navy); font-weight: 800; }
h1 em { font-style: normal; color: var(--coral); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 30px; }
.lead strong { color: var(--tv-purple); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

.hero-visual { display: flex; justify-content: center; }
.chat-card { width: min(420px, 100%); background: #fff; border-radius: 26px; padding: 26px; box-shadow: 0 24px 60px rgba(19,41,75,.14); border: 1px solid var(--line); }
.hero-visual { flex-direction: column; align-items: center; margin: 0; }
.chat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.chat-logo { width: 116px; }
.example-badge { font-size: 12px; font-weight: 700; color: #8a5a00; background: #fff4d6; border: 1px solid #f3dc9b; border-radius: 999px; padding: 3px 10px; }
.example-caption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; max-width: 420px; }
.cards .card-soon { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 28px; align-items: center; }
.soon-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.concept { margin: 0; width: 100%; position: relative; }
.concept img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.concept figcaption { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(19,41,75,.78); border-radius: 999px; padding: 3px 10px; }
.bubble { padding: 14px 16px; border-radius: 18px; font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.bubble-user { background: var(--tv-purple); color: #fff; margin-left: 36px; border-bottom-right-radius: 6px; }
.bubble-ai { background: var(--soft); border: 1px solid var(--line); margin-right: 20px; border-bottom-left-radius: 6px; }
.ai-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--tv-blue); background: #e7f1fb; border-radius: 6px; padding: 1px 8px; margin-bottom: 6px; }
.src { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.chip-care { background: #eef8f1; color: var(--green); }
.chip-vet { background: #fff1ef; color: var(--coral-dark); }

/* sections */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2, .company h2, .contact h2 { margin: 6px 0 12px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; color: var(--navy); letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.section-logo { width: 150px; margin: 0 auto 12px; }
.tv { background: linear-gradient(90deg, var(--tv-purple), var(--tv-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status-live { background: #e7f6ed; color: var(--green); }
.status-soon { background: #eef0f4; color: var(--muted); }

.features { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.f-icon { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.features strong { color: var(--navy); font-size: 17px; }
.features small { color: var(--muted); font-size: 14px; }

.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, #f4effb, #eaf3fc); }
.steps b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-purple); color: #fff; font-family: "Nunito", sans-serif; }
.steps strong { display: block; color: var(--navy); }
.steps small { color: var(--muted); }

.try-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.try-text strong { display: block; font-size: 18px; }
.try-text span { color: #b9c6dc; font-size: 15px; }
.notice { margin: 18px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(19,41,75,.13); }
.card-logo { height: 74px; display: flex; align-items: center; }
.card-logo img { max-height: 66px; max-width: 210px; width: auto; }
.card h3 { margin: 4px 0 0; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card-link { font-weight: 700; color: var(--coral); font-size: 15px; }
.card-link.muted { color: #9aa3b2; }
.card-soon { box-shadow: none; background: #fbfbfd; }
.card-soon .card-logo img { opacity: .75; }

/* company */
.company { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.company-lead { color: var(--muted); font-size: 17px; margin: 0; }
.facts { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; color: var(--navy); }

/* contact */
.section-navy { background: var(--navy); color: #fff; padding: 64px 0; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact h2 { color: #fff; }
.contact p { margin: 0; color: #b9c6dc; }

/* footer */
.site-footer { padding: 32px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--muted); }
.copy { margin-left: auto !important; }

/* responsive */
@media (max-width: 900px) {
  .hero { padding: 44px 0 60px; }
  .hero-inner, .company { grid-template-columns: 1fr; gap: 40px; }
  .features, .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .br-pc { display: none; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .brand img { width: 116px; }
  .lead { font-size: 16px; }
  .features, .cards { grid-template-columns: 1fr; }
  .cards .card-soon { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 64px 0; }
  .cta-row .btn { width: 100%; }
  .try-box .btn, .contact .btn { width: 100%; }
  .copy { margin-left: 0 !important; }
  .bubble-user { margin-left: 16px; }
  .bubble-ai { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------------- TwinVet Care showcase (main) — twinvet.pawcheck.ai PC 화면과 같은 구성 */
.showcase {
  min-height: calc(100vh - 65px); display: grid; grid-template-columns: minmax(0, 560px) 414px; gap: clamp(40px, 7vw, 120px);
  justify-content: center; align-items: center; padding: 32px 48px;
  background: radial-gradient(circle at 12% 18%, #efe8fa 0%, transparent 45%),
              radial-gradient(circle at 88% 82%, #e3effb 0%, transparent 50%),
              linear-gradient(135deg, #f8f6fc 0%, #f3f7fc 55%, #f2f8ef 100%);
}
.showcase-info { display: flex; flex-direction: column; }
.tv-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; align-self: flex-start; }
.tv-lockup img { width: 44px; height: 44px; }
.tv-lockup .wordmark { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 27px; letter-spacing: -0.01em; }
.w-twin, .w-care { color: #4d1e7f; }
.w-vet { color: #006bc6; }
.w-care { font-weight: 700; margin-left: 0.22em; }
.showcase-dots { display: flex; align-items: center; gap: 6px; margin: 22px 0 18px; }
.showcase-dots i { width: 10px; height: 10px; border-radius: 50%; background: #4d1e7f; }
.showcase-dots i:nth-of-type(2) { background: #006bc6; }
.showcase-dots i:nth-of-type(3) { background: #6ab434; }
.showcase-dots b { width: 64px; border-top: 2px dashed #c9cfe0; }
.showcase h1 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.22; letter-spacing: -0.02em; color: #102858; }
.showcase h1 em { font-style: normal; color: #006bc6; }
.showcase-lead { margin: 20px 0 24px; color: #526078; font-size: 17px; line-height: 1.7; }
.feature-grid { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid #dce3ee; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.feature-grid li { display: flex; gap: 12px; align-items: flex-start; }
.feature-icon { width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16,40,88,.12); display: grid; place-items: center; font-size: 17px; flex: none; }
.feature-grid strong { display: block; font-size: 16px; color: #102858; line-height: 1.4; }
.feature-grid small { display: block; font-size: 13px; color: #526078; }
.qr-card { margin-top: 32px; display: flex; gap: 16px; align-items: center; }
.qr-card img { width: 96px; height: 96px; border-radius: 12px; background: #fff; padding: 6px; box-shadow: 0 2px 10px rgba(16,40,88,.12); image-rendering: pixelated; }
.qr-card div { display: flex; flex-direction: column; gap: 2px; }
.qr-card strong { color: #102858; }
.qr-card span { font-size: 14px; color: #526078; }
.qr-card .qr-url { color: #006bc6; font-weight: 600; font-size: 14px; text-decoration: none; }
.showcase-fine { margin: 28px 0 0; font-size: 12px; color: #526078; line-height: 1.7; }
.btn-tv { background: #006bc6; color: #fff; box-shadow: 0 6px 18px rgba(0,107,198,.25); }
.btn-tv:hover { background: #00559e; }
.mobile-cta { display: none; margin-top: 28px; }
.phone {
  position: relative; width: 414px; height: min(868px, calc(100vh - 112px)); min-height: 600px;
  padding: 12px; border-radius: 52px; background: #161c2b;
  box-shadow: 0 30px 60px rgba(16,40,88,.25), inset 0 0 0 2px #2b3348;
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 108px; height: 28px; border-radius: 16px; background: #161c2b; z-index: 2; pointer-events: none; }
.phone-app { display: block; width: 100%; height: 100%; border: 0; border-radius: 40px; background: #fff; }

/* 1024px 미만: 휴대폰 틀 대신 바로가기 버튼 (TwinVet 앱 자체가 모바일 화면) */
@media (max-width: 1023px) {
  .showcase { grid-template-columns: 1fr; min-height: 0; padding: 40px 20px 56px; }
  .showcase-info { max-width: 560px; margin: 0 auto; }
  .phone, .qr-card { display: none; }
  .mobile-cta { display: inline-flex; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .mobile-cta { width: 100%; }
}
