:root {
  --bg: #f3f4ef;
  --bg-alt: #e9ede4;
  --card: #fafaf7;
  --line: #dde2d8;
  --ink: #12261a;
  --muted: #4d5c53;
  --green: #237a4b;
  --dark: #0f3b26;
  --dark-card: #194a33;
  --dark-line: rgba(255, 255, 255, 0.12);
  --on-dark: #f3f4ef;
  --on-dark-muted: #c3d0c6;
  --accent: #c6e8a2;
  --row: #e5ece1;
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--dark); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #6fbf73; outline-offset: 2px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-play { background: var(--accent); color: var(--dark); }
.btn-play:hover { background: #d6f0b9; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-dark { background: var(--accent); color: var(--dark); }

/* 머리띠 */
.top { position: sticky; top: 0; z-index: 50; background: rgba(15, 59, 38, .94); color: var(--on-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--dark-line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-dark-muted); }
.nav a:hover { color: var(--on-dark); }
.top .btn { margin-left: 4px; }
@media (max-width: 760px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
}

/* 첫 화면 */
.hero { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero-icon { border-radius: 18px; margin-bottom: 28px; display: block; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .16em; color: var(--green); margin-bottom: 14px; }
.eyebrow-light { color: var(--accent); }
.hero h1 { font-size: clamp(42px, 7.4vw, 80px); font-weight: 800; line-height: 1.12; margin-bottom: 24px; }
.hero h1 em, .install h2 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--on-dark-muted); margin-bottom: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14.5px; color: var(--on-dark-muted); }
.facts li + li::before { content: "·"; margin: 0 10px; }

.hero-phones { position: relative; height: clamp(380px, 100vw, 600px); }
.phone {
  aspect-ratio: 720 / 1436;
  border: 7px solid #0a1510; border-radius: 30px; background: #0a1510;
  overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 23px; }
.hero .phone { position: absolute; }
.phone-front { width: clamp(168px, 46vw, 284px); right: 4%; top: 12px; transform: rotate(4deg); }
.phone-back { width: clamp(150px, 41vw, 250px); right: 46%; top: 48px; transform: rotate(-7deg); }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 32px; gap: 40px; }
  .hero-icon { width: 60px; height: 60px; margin-bottom: 22px; }
  .phone-front { right: max(4%, calc(50% - 290px)); }
  .phone-back { right: auto; left: max(4%, calc(50% - 290px)); }
  .br-wide { display: none; }
}

/* 공통 구획 */
.sec { padding: 88px 0; }
.sec-tight { padding-top: 0; }
.sec-alt { background: var(--bg-alt); }
.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec h2 { font-size: clamp(27px, 4.4vw, 42px); font-weight: 800; margin-bottom: 36px; }
.intro { color: var(--muted); font-size: 17px; max-width: 760px; margin: -16px 0 32px; }
@media (max-width: 600px) { .sec { padding: 60px 0; } .sec-tight { padding-top: 0; } }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-top { border-top: 5px solid var(--green); }
.card-top-grey { border-top-color: #95a596; }
.card-top-dark { border-top-color: var(--ink); }
.ico { width: 36px; height: 36px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; display: block; }
.strong-note { margin-top: 26px; font-weight: 700; color: var(--green); font-size: 17px; }

/* 주요 기능 */
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 26px; }
.feat h3 { font-size: 19px; font-weight: 700; margin: 12px 0 8px; }
.feat p { color: var(--muted); font-size: 15.5px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green); background: #dcebd5; border-radius: 999px; padding: 2px 10px; letter-spacing: .02em; }
@media (min-width: 761px) and (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* 화면 예시 */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button {
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.tabs button:hover { border-color: #a9b8ab; }
.tabs button[aria-selected="true"] { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.viewer-body { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.viewer-shot .phone { width: 300px; }
.viewer-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.round { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.round:hover { border-color: #a9b8ab; }
.shot h3 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; margin: 12px 0 22px; }
.shot .tag { margin: 0; }
.viewer-text { padding-top: 24px; }
@media (max-width: 860px) {
  .viewer-body { grid-template-columns: 1fr; gap: 28px; }
  .viewer-shot .phone { width: min(250px, 68vw); margin: 0 auto; }
  .viewer-text { padding-top: 0; }
  .tabs { margin-bottom: 28px; }
  .tabs button { font-size: 14px; padding: 9px 13px; }
}

.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 20px; font-size: 17px; color: #2c3b32; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th { text-align: left; font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:nth-child(even) { background: var(--row); }
.tbl td:first-child { white-space: nowrap; font-weight: 500; }
.note { margin-top: 18px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 600px) { .tbl { font-size: 15px; } .tbl th, .tbl td { padding: 9px 8px; } }

/* 현존식생도 */
.flow { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.flow li { position: relative; background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 14px; padding: 20px 20px 22px; }
.flow b { display: block; font-size: 21px; color: var(--accent); margin-bottom: 8px; }
.flow span { color: var(--on-dark-muted); font-size: 15.5px; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; font-weight: 700; }
.flow .flow-end { background: var(--on-dark); border-color: var(--on-dark); }
.flow .flow-end b { color: var(--ink); }
.flow .flow-end span { color: var(--muted); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow li { display: flex; align-items: baseline; gap: 14px; padding: 15px 18px; }
  .flow b { margin: 0; min-width: 88px; font-size: 18px; }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); font-size: 18px; }
}
.sec-dark .sub { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0; }
.plans figure { margin: 0; background: #fff; border-radius: 14px; padding: 14px 14px 12px; }
.plans img { display: block; width: 100%; border-radius: 4px; }
.plans figcaption { color: var(--ink); font-weight: 700; padding: 10px 4px 2px; }
.spec { margin-top: 22px; color: var(--on-dark-muted); font-size: 15.5px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* 무엇이 달라졌나 */
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 17px; }
.compare-row span:first-child { color: var(--muted); }
.compare-row span:last-child { font-weight: 500; }
.compare-row:nth-child(odd):not(.compare-head) { background: #dde8d6; }
.compare-head { font-weight: 700; border-bottom: 2px solid var(--ink); font-size: 18px; }
.compare-head span:first-child { color: var(--ink); }
.compare-head span:last-child { color: var(--green); font-weight: 800; }
@media (max-width: 600px) { .compare-row { gap: 14px; padding: 12px 10px; font-size: 15.5px; } }

/* 사용 방법 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 24px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: var(--dark); color: var(--accent); font-weight: 800; font-size: 16px;
}
.steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding: 18px 20px; }
  .steps li::before { grid-row: span 2; margin: 0; }
}

/* 설치·문의 */
.install-in { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.install h2 { font-size: clamp(32px, 5.6vw, 58px); line-height: 1.18; margin-bottom: 28px; }
.facts-list { flex-direction: column; gap: 6px; margin: 0 0 30px; font-size: 17px; color: var(--on-dark); }
.facts-list li { padding-left: 20px; position: relative; }
.facts-list li::before, .facts-list li + li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; margin: 0; border-radius: 50%; background: var(--accent); }
.contact { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.contact p { color: var(--on-dark-muted); max-width: 560px; margin-bottom: 10px; }
.mail { font-size: 20px; font-weight: 700; color: var(--accent); text-decoration: none; }
.mail:hover { text-decoration: underline; }
.qr { margin: 0; background: #fff; border-radius: 18px; padding: 22px 22px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.qr img { display: block; width: 180px; height: 180px; margin: 0 auto 12px; }
@media (max-width: 760px) {
  .install-in { grid-template-columns: 1fr; }
  .qr { display: none; }
}

.foot { background: #0b2e1d; color: var(--on-dark-muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-dark); }
