/* CREATIVE — 웜 오프화이트 + 블랙 + 라임 포인트, 라운드 카드, 대형 디스플레이 타이포 */
@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@400;500;600;700&family=Funnel+Sans:wght@400;500;600&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --bg: #faf7f6;
  --surface: #ffffff;
  --ink: #161616;
  --text: #303030;
  --muted: #8a8685;
  --soft: #b2aead;
  --line: #e0dddb;
  --dark: #141414;
  --accent: #d6f25e;
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1280px;
  --display: "Funnel Display", "Pretendard Variable", Pretendard, sans-serif;
  --sans: "Funnel Sans", "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 246, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); line-height: 1.15; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.logo-text b { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.logo-text span { font-size: 13px; color: var(--text); }
.nav { display: flex; gap: 6px; list-style: none; }
.nav a { display: block; padding: 8px 16px; border-radius: 99px; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--text); transition: background .25s, color .25s; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a.active { background: var(--ink); color: var(--bg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--ink); cursor: pointer; position: relative; }
.nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: var(--bg); transition: transform .3s var(--ease); }
.nav-toggle::before { top: 18px; } .nav-toggle::after { top: 24px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-3px) rotate(-45deg); }

/* ===== Type ===== */
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(44px, 8vw, 104px); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 5vw, 70px); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 16px; }
h3 { font-size: 21px; line-height: 1.35; margin-bottom: 8px; letter-spacing: -.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; }
.eyebrow::before { content: "✦"; color: var(--ink); }
p.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text); max-width: 680px; }
p + p { margin-top: 12px; }
.muted { color: var(--muted); font-size: 15px; }
.spark { display: inline-block; font-weight: 300; transform: translateY(-.04em); }

/* ===== Sections ===== */
section { padding: clamp(72px, 10vw, 140px) 0; }
main > section + section { padding-top: 0; }

/* ===== Page head ===== */
.page-head { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: clamp(44px, 7vw, 96px); }
.page-head p { margin-top: 20px; font-size: 18px; max-width: 680px; }

/* ===== Hero ===== */
.hero { padding: clamp(32px, 5vw, 76px) 0 clamp(40px, 6vw, 80px); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.hero-copy h1 { font-size: clamp(36px, 4.7vw, 66px); line-height: 1.12; letter-spacing: -.055em; word-break: keep-all; }
.hero-tagline { margin-top: 18px; color: var(--muted); font-family: var(--display); font-size: 16px; }
.hero-description { max-width: 360px; margin-top: 14px; font-size: clamp(16px, 1.5vw, 19px); word-break: keep-all; }
.hero-copy .btn { margin-top: 26px; }
.hero-product { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #f2ede4; }
.hero-product img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-product img[hidden], .hero-carousel-controls[hidden] { display: none; }
.hero-carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.hero-carousel-position { margin-right: 8px; font-variant-numeric: tabular-nums; }
.hero-carousel-controls button { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); min-width: 44px; min-height: 44px; padding: 0 12px; font: inherit; cursor: pointer; }
.hero-carousel-controls button:hover { background: var(--accent); }
/* ===== Marquee ===== */
.marquee { overflow: hidden; padding: clamp(24px, 4vw, 48px) 0; white-space: nowrap; user-select: none; }
.marquee-track { display: inline-flex; gap: 40px; animation: marquee 32s linear infinite; padding-right: 40px; }
.marquee span { font-family: var(--display); font-size: clamp(56px, 9vw, 120px); line-height: 1; color: var(--soft); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "✦"; font-size: .55em; color: var(--ink); font-weight: 300; }
.marquee + section { padding-top: clamp(32px, 5vw, 72px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; border: 1px solid var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 16px; background: transparent; color: var(--ink); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease); white-space: nowrap; }
.btn::after { content: "↗"; font-weight: 400; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translate(2px, -2px) rotate(45deg); }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent:hover { background: var(--bg); border-color: var(--bg); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
button.btn::after { content: "→"; }
.btn:disabled { opacity: .5; cursor: wait; }

/* ===== Grid & cards ===== */
.grid { display: grid; gap: 20px; margin-top: clamp(32px, 4vw, 56px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.5vw, 36px); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: block; color: inherit; }
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(22, 22, 22, .25); }
.card .num { font-family: var(--display); font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: .06em; margin-bottom: 14px; }
.card p { color: var(--text); font-size: 16px; }
.card ul { padding-left: 18px; color: var(--text); font-size: 16px; }
.card .arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); margin-top: 20px; transition: background .3s, transform .3s var(--ease); }
a.card:hover .arrow { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }

/* 강점 카드 (메인) */
.feature { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; }
.feature .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-size: 22px; }
.feature h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 32px; }
.feature .en { font-family: var(--display); font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-top: 32px; }
.feature.dark { background: var(--dark); border-color: var(--dark); }
.feature.dark h3 { color: var(--bg); }
.feature.dark p { color: var(--soft); }
.feature.dark .icon { background: var(--accent); color: var(--ink); }

/* 제품 카드 */
.product-card { padding: 12px; }
.product-card .ph { aspect-ratio: 3 / 2; margin-bottom: 0; border: none; border-radius: var(--radius-sm); }
.product-card .product-card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 20px 14px 10px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.product-card .body p { font-size: 15px; color: var(--muted); }
.product-card .arrow { margin-top: 0; flex-shrink: 0; }

/* 대표 모델 카드 (PRODUCT) */
.model-grid { align-items: start; }
.model-card { padding: 12px 12px 20px; }
.model-card .ph { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.model-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.model-card h3, .model-card .model-sum { padding: 0 12px; }
.model-card .model-sum { color: var(--muted); font-size: 15px; }
.model-card details { background: none; border: none; border-top: 1px solid var(--line); border-radius: 0; padding: 0 12px; margin-top: 18px; }
.model-card details[open] { border-color: var(--line); }
.model-card summary { font-size: 15px; padding: 14px 0 0; }
.model-card summary::after { width: 30px; height: 30px; font-size: 18px; }
.model-info { display: grid; gap: 12px; margin: 16px 0 18px; font-size: 15px; }
.model-info div { display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.model-info dt { font-family: var(--display); font-weight: 600; color: var(--ink); }
.model-info dd { color: var(--text); }

/* 제작 사례 */
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.case-filter button { font: inherit; font-family: var(--display); font-weight: 500; font-size: 15px; padding: 10px 20px; border-radius: 99px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.case-filter button:hover { background: var(--surface); }
.case-filter button.on { background: var(--ink); color: var(--bg); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; overflow: hidden; }
.case[hidden] { display: none; }
.case-img { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case-img img { transform: scale(1.04); }
.case figcaption { padding: 16px 10px 8px; display: grid; gap: 2px; }
.case-type { font-family: var(--display); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.case figcaption b { font-family: var(--display); font-size: 18px; color: var(--ink); font-weight: 600; }
.case figcaption span:last-child { font-size: 15px; color: var(--text); }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

/* 회사 소개 사진 */
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--line); }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
@media (max-width: 640px) { .about-photo { aspect-ratio: 4 / 3; } }
.facility-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 개인정보처리방침 */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 2px; }
.legal-toc a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 6px 0; }
.legal-toc a:hover { color: var(--ink); }
.legal-body { display: grid; gap: 48px; max-width: 760px; }
.legal-body article { scroll-margin-top: 110px; }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.01em; margin-bottom: 14px; }
.legal-body p, .legal-body li { font-size: 16px; color: var(--text); }
.legal-body ul { padding-left: 20px; margin-top: 10px; display: grid; gap: 4px; }
.legal-body .table-wrap { margin: 16px 0; }
.legal-body ul + p { margin-top: 12px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; grid-template-columns: 1fr 1fr; } }

/* Image placeholder */
.ph { background: linear-gradient(145deg, #efebe9, #e2dedb); aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--muted); font-family: var(--display); font-size: 14px; letter-spacing: .06em; margin-bottom: 18px; border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.ph svg { width: 46%; height: auto; color: var(--ink); opacity: .9; transition: transform .6s var(--ease); }
a.card:hover .ph svg { transform: scale(1.06) rotate(-3deg); }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 56px); font-weight: 600; color: var(--ink); line-height: 1.1; letter-spacing: -.03em; }
.stat span { font-size: 15px; color: var(--muted); }

/* ===== Process ===== */
.process { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.process li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; }
.process li::before { content: "0" counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.process li b { display: block; font-family: var(--display); font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.process li span { font-size: 15px; color: var(--text); }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 900px; }
th, td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
tr:last-child td, tr:last-child th { border-bottom: none; }
thead th { background: var(--ink); color: var(--bg); font-family: var(--display); font-weight: 500; white-space: nowrap; }
tbody th { color: var(--ink); font-family: var(--display); font-weight: 600; background: transparent; }
td.l, th.l { text-align: left; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: #fbfaf9; }

/* ===== Spec / tags ===== */
.spec { font-size: 15px; color: var(--text); border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; display: grid; gap: 4px; }
.spec div { display: flex; gap: 10px; }
.spec dt { width: 48px; color: var(--muted); flex-shrink: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.tag { font-family: var(--display); font-size: 13px; border: 1px solid var(--ink); padding: 3px 12px; border-radius: 99px; color: var(--ink); }

/* ===== Category tabs ===== */
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-nav a { padding: 12px 22px; border-radius: 99px; border: 1px solid var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink); transition: background .25s, color .25s; }
.cat-nav a:hover { background: var(--ink); color: var(--bg); }

/* ===== FAQ ===== */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .faq-head { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 28px; transition: border-color .3s; }
details[open] { border-color: var(--ink); }
summary { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-weight: 400; font-size: 22px; transition: transform .3s var(--ease), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
details p, details ul { color: var(--text); font-size: 16px; padding-bottom: 24px; margin-top: -4px; }
details ul { padding-left: 20px; }
summary .q { font-family: var(--display); color: var(--muted); margin-right: 12px; font-weight: 500; }

/* ===== Form ===== */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form .req { color: #c0392b; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.form textarea { min-height: 150px; resize: vertical; }
.form .eyebrow { margin: 16px 0 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; background: var(--bg); transition: background .2s, border-color .2s; }
.checks label:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.checks input { width: auto; accent-color: var(--accent); }
.checks.agree label { border: none; background: none; padding: 0; color: var(--text); }
.checks.agree label:has(input:checked) { background: none; color: var(--text); }
.form-result { display: none; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); margin-top: 24px; }
.form-result.show { display: block; }
.form-result h3 { font-size: 28px; }
.form-result pre { white-space: pre-wrap; font-family: inherit; font-size: 15px; background: var(--bg); border-radius: 14px; padding: 20px; margin: 20px 0; }
.form-result .btn { margin-right: 8px; }

/* ===== CTA ===== */
section.cta { padding-top: 0; }
.cta-box { background: var(--dark); border-radius: calc(var(--radius) + 6px); padding: clamp(48px, 8vw, 120px) clamp(28px, 6vw, 96px); position: relative; overflow: hidden; color: var(--soft); }
.cta-box::before { content: ""; position: absolute; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 242, 94, .18), transparent 70%); pointer-events: none; }
.cta-box::after { content: "✦"; position: absolute; right: clamp(28px, 8vw, 120px); bottom: clamp(20px, 5vw, 72px); font-size: clamp(120px, 18vw, 260px); line-height: 1; color: var(--accent); font-weight: 200; opacity: .9; }
.cta-box h2 { color: var(--bg); font-size: clamp(40px, 7vw, 96px); max-width: 900px; position: relative; z-index: 1; }
.cta-box h2 .dim { color: #6c6968; }
.cta-box p { font-size: 18px; position: relative; z-index: 1; max-width: 560px; }
.cta-box .btn { margin-top: 36px; position: relative; z-index: 1; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; min-height: 96px; padding-top: 20px; padding-bottom: 20px; }
.footer-left { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.footer-logo .logo-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: var(--text); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-right { display: grid; gap: 2px; font-size: 13px; color: var(--muted); text-align: left; margin-right: 72px; }
@media (max-width: 640px) { .footer-right { margin-right: 0; padding-bottom: 56px; } }

/* ===== Scroll-top ===== */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--ink); color: var(--bg); font-size: 18px; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), background .2s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent); color: var(--ink); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .nav a { padding: 8px 12px; }
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-carousel { width: 100%; max-width: 560px; justify-self: center; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .faq-head { position: static; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .nav { display: none; position: absolute; top: 84px; left: 12px; right: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); flex-direction: column; padding: 12px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .nav a { font-size: 22px; padding: 12px 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .form, .process { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .site-header .wrap { height: 72px; }
  .nav { top: 72px; }
  .logo-text span { display: none; }
  summary { font-size: 16px; }
  details { padding: 0 20px; }
}
