:root {
  --ink: #12151c;
  --muted: #667085;
  --line: #e2e7df;
  --paper: #f7f5ef;
  --card: #fffefb;
  --accent: #0f6a54;
  --accent-2: #d8a847;
  --accent-ink: #fff;
  --navy: #123b34;
  --ok: #1f6b4a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #faf8f2 0%, #f4f1e8 46%, #faf8f2 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 7vw;
  background: rgba(250,248,242,.92);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(18,21,28,.08);
  backdrop-filter: blur(14px);
}
.brand { font-weight: 800; letter-spacing: -0.03em; font-size: 1.05rem; }
.brand small { display: block; font-weight: 600; color: var(--accent); font-size: 0.72rem; }
.top nav { display: flex; gap: 18px; margin-left: auto; font-size: 0.95rem; }
.top .btn { margin-left: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15,106,84,.18);
}
.btn.ghost {
  background: #fffefb;
  color: inherit;
  border: 1px solid var(--line);
  box-shadow: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 76px 7vw 62px;
  background:
    radial-gradient(760px 360px at 92% 10%, rgba(216,168,71,.22), transparent 60%),
    linear-gradient(135deg, #123b34 0%, #0f604f 58%, #17483e 100%);
  color: #fff;
}
.eyebrow { letter-spacing: .11em; font-size: .78rem; opacity: .78; text-transform: uppercase; font-weight: 800; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(216,168,71,.18);
  border: 1px solid rgba(216,168,71,.55);
  color: #f3d48a;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.hero-kicker {
  margin: 0;
  color: #f3d48a;
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
}
#trend, #trend-core, #trend-context { scroll-margin-top: 96px; }
.hero h1, .hero-title {
  font-size: clamp(1.85rem, 5vw, 3.35rem);
  line-height: 1.15;
  margin: 10px 0 18px;
  letter-spacing: -0.04em;
}
.hero .fine, .hero-fine { color: rgba(255,255,255,.72); max-width: 38rem; }
.hero .lead {
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  font-weight: 600;
  line-height: 1.55;
  max-width: 40rem;
  color: rgba(255,255,255,.92);
}
.was { margin: 0 0 2px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.was s { color: #8b93a1; }
.sale-label { margin: 0 0 2px; color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .06em; }
.license-card h3, .license-card .sale-price {
  margin: 2px 0 0;
  font-size: clamp(1.8rem, 6.2vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
  white-space: nowrap;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}
.compare-cols, .example-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; margin-top: 22px; align-items: stretch; }
.compare-card, .example-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.compare-card ol { margin: 0; padding-left: 18px; }
.compare-card li, .example-grid li { margin: 8px 0; }
.compare-card.ours, .example-grid article.ours {
  border-color: rgba(15,106,84,.45);
  box-shadow: 0 24px 70px rgba(15,106,84,.16);
  transform: translateY(-4px);
}
.compare-label { margin: 0 0 10px; color: var(--accent); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.process-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  padding: 0 0 8px;
  list-style: none;
  margin: 22px 0 0;
  overflow-x: auto;
}
.process-track li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px;
  font-weight: 800;
  flex: 1 0 0;
  min-width: 104px;
  text-align: center;
  font-size: .92rem;
}
.process-track li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1rem;
}
.example-note { color: var(--muted); background: #eef8f3; border: 1px solid rgba(15,106,84,.18); border-radius: 12px; padding: 12px 14px; }
.example-seed { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.muted-block { margin: 14px 0 6px; color: var(--muted); font-weight: 800; font-size: .82rem; }
.keyword-list { margin: 0 0 8px; padding-left: 18px; }
.lead { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.35; font-weight: 800; max-width: 36rem; }
.sub { color: rgba(255,255,255,.78); max-width: 38rem; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.flow li {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: .9rem;
  font-weight: 700;
}
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero .btn.ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.device {
  background: #0e1715;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  min-height: 300px;
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
  overflow: hidden;
}
.device img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device video { width: 100%; height: 100%; object-fit: contain; display: block; }
.demo-device { width: min(100%, 480px); aspect-ratio: 227 / 140; min-height: 0; justify-self: end; background: #0b0f15; outline: 8px solid rgba(255,255,255,.08); }
.device.mock { padding: 18px; }
.device-bar { font-size: .85rem; opacity: .8; margin-bottom: 14px; }
.mock-row {
  display: flex; gap: 10px; align-items: center;
  background: #171e2a; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px;
}
.mock-row span {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: #2a3344; font-size: .75rem;
}
.mock-row.on { outline: 1px solid var(--accent); }
.mock-script { margin-top: 16px; background: #fff; color: var(--ink); border-radius: 14px; padding: 16px; }
.wrap { padding: 70px 7vw; max-width: 1180px; margin: 0 auto; }
.pagehead h1 { font-size: 2.2rem; margin-bottom: 8px; }
.section-band {
  max-width: none;
  padding-left: 7vw;
  padding-right: 7vw;
  background: #fffdf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-kicker { margin: 0 0 6px; color: var(--accent); font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.section-band > h2, .section-band > .hint, .section-band > .price-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-band > h2 { margin-top: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 26px; }
.cards article, .license-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.cards article { box-shadow: 0 12px 34px rgba(18,21,28,.05); }
.cards h3 { margin: 0 0 8px; }
.license-card { display: flex; flex-direction: column; position: relative; min-height: 410px; box-shadow: 0 18px 50px rgba(18,21,28,.08); }
.license-card .btn { margin-top: auto; }
.license-card button.btn { width: 100%; }
.license-card.featured { border-color: rgba(15,106,84,.45); box-shadow: 0 24px 70px rgba(15,106,84,.18); transform: translateY(-8px); }
.plan-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.license-card.featured .plan-head { padding-right: 4.2rem; }
.plan { margin: 0 0 8px; color: var(--accent); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
.plan-badge { position: absolute; top: 18px; right: 18px; background: #e9f7f1; color: var(--accent); border: 1px solid rgba(15,106,84,.2); border-radius: 999px; padding: 5px 10px; font-weight: 900; font-size: .78rem; }
.plan-copy { color: var(--muted); min-height: 48px; }
.license-card li { margin: 9px 0; }
.cart-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.cart-box, .cart-order {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.cart-items { display: grid; gap: 10px; margin: 14px 0; }
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; margin: 18px 0; }
.cart-total b { font-size: 1.45rem; color: var(--accent); }
.bank-box {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  margin: 16px 0 10px;
  background: #eef8f3;
  border: 1px solid rgba(15,106,84,.22);
  border-radius: 12px;
}
.bank-box b { color: var(--accent); }
.bank-box p { margin: 0; font-weight: 800; }
.steps ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.steps li b { display: block; margin-bottom: 6px; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-block; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.sns { display: flex; flex-wrap: wrap; gap: 10px; }
.sns span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; }
.fine { color: var(--muted); font-size: .86rem; }
.hint { color: var(--muted); }
.license-card ul { padding-left: 18px; }
.screen-gallery { padding-top: 52px; }
.screen-gallery h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.screen-card {
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(18,21,28,.08);
}
.screen-card.wide { grid-column: span 6; }
.screen-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: #f4f1e8;
  border-bottom: 1px solid var(--line);
}
.screen-card figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 18px 18px;
}
.screen-card figcaption b { font-size: 1.05rem; }
.screen-card figcaption span { color: var(--muted); font-size: .94rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; }
.form { display: grid; gap: 12px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea, .form select {
  font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
}
.form .check { font-weight: 500; display: flex; gap: 8px; align-items: flex-start; }
footer {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 36px 7vw; background: var(--navy); color: #d7dde8;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.business-info { margin-top: 8px; color: rgba(215,221,232,.72); font-size: .86rem; }
.legal { max-width: 720px; }
.remote-install h2 { margin-top: 0; }
.remote-safe { margin-top: 22px; }
.remote-safe p { font-weight: 600; }
.remote-install-mini { padding-top: 8px; padding-bottom: 8px; }
.remote-install-mini .cta { margin-top: 12px; }
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 24px;
  align-items: start;
}
.download-card, .download-help {
  max-width: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.download-card h2 { margin: 0; }
.download-link { margin-top: 4px; }
.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
  padding: 72px 7vw;
  background:
    radial-gradient(700px 360px at 85% 12%, rgba(216,168,71,.2), transparent 60%),
    linear-gradient(135deg, #123b34 0%, #0f604f 62%, #17483e 100%);
  color: #fff;
}
.portfolio-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.65rem, 5.6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.portfolio-device {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.24);
  background: #fff;
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
}
.portfolio-device img,
.compare-grid img,
.portfolio-shot-grid img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: top left;
}
.portfolio-device img { aspect-ratio: 16 / 10; }
.portfolio-section h2,
.portfolio-before-after h2,
.portfolio-work h2,
.portfolio-cta h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}
.portfolio-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.portfolio-feature-grid article {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 14px 38px rgba(18,21,28,.06);
}
.portfolio-feature-grid b { display: block; margin-bottom: 8px; font-size: 1.08rem; }
.portfolio-feature-grid p { margin: 0; color: var(--muted); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.compare-grid figure,
.portfolio-shot-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(18,21,28,.08);
}
.compare-grid img { aspect-ratio: 16 / 10; }
.compare-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}
.compare-grid figcaption b { color: var(--accent); }
.compare-grid figcaption span { color: var(--muted); }
.portfolio-work ol { grid-template-columns: repeat(4, 1fr); }
.portfolio-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.portfolio-shot-grid img { aspect-ratio: 16 / 10; }
.portfolio-shot-grid figcaption {
  padding: 14px 16px;
  font-weight: 800;
  color: var(--accent);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.industry-grid span {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fffefb;
  font-weight: 800;
  text-align: center;
}
.target-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}
.target-list {
  margin: 0;
  padding: 24px 26px 24px 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 14px 38px rgba(18,21,28,.06);
}
.target-list li { margin: 10px 0; }
.portfolio-cta {
  max-width: none;
  text-align: center;
  background: #fffdf8;
  border-top: 1px solid var(--line);
}
.portfolio-cta p { color: var(--muted); }

.flow-list { list-style: none; margin: 0; padding: 0; }
.flow-list li { padding: 6px 0 16px; font-weight: 700; }
.flow-list li:not(:last-child)::after {
  content: "↓";
  display: block;
  color: var(--accent);
  font-weight: 800;
  margin-top: 6px;
}
.compare-card.ours .flow-list li { font-weight: 800; }
.ctx-root {
  background: #123b34;
  color: #fff;
  text-align: center;
  font-weight: 900;
  padding: 16px 18px;
  border-radius: 16px;
  max-width: 24rem;
  margin: 22px auto 8px;
}
.ctx-root::after { content: "↓"; display: block; margin-top: 8px; color: #f3d48a; }
.tech-note { color: var(--muted); font-size: .82rem; text-align: center; }
.ctx-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.ctx-branches div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  min-width: 0;
}
.ctx-branches span { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; }
.core-band {
  max-width: none;
  background: #123b34;
  color: #fff;
}
.core-band h2 { color: #fff; }
.core-band .hint, .core-band .tech-note { color: rgba(255,255,255,.78); }
.core-band .section-kicker { color: #f3d48a; }
.lang-chips, .mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.lang-chips li, .mode-chips li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.core-band .mode-chips li {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.brand-mix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 22px 0 10px;
}
.brand-mix li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  font-weight: 800;
  position: relative;
}
.brand-mix li:not(:last-child)::after {
  content: "+";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
}
.mix-result { text-align: center; font-weight: 900; font-size: 1.2rem; margin: 8px 0 0; }
.mix-result::before { content: "↓"; display: block; color: var(--accent); margin-bottom: 8px; }

@media (max-width: 900px) {
  .hero, .cards, .price-grid, .cart-layout, .download-layout, .steps ol, footer, .portfolio-hero, .portfolio-feature-grid, .compare-grid, .portfolio-shot-grid, .industry-grid, .target-section, .compare-cols, .example-grid, .ctx-branches, .brand-mix { grid-template-columns: 1fr; display: grid; }
  .screen-grid { grid-template-columns: 1fr; }
  .screen-card, .screen-card.wide { grid-column: auto; }
  .license-card.featured, .compare-card.ours, .example-grid article.ours { transform: none; }
  .top { flex-wrap: wrap; }
  .top nav { margin-left: 0; width: 100%; }
  .hero { padding: 40px 6vw; }
  .wrap { padding: 40px 6vw; }
  .portfolio-hero { padding: 40px 6vw; }
  .process-track { flex-direction: column; overflow-x: visible; }
  .process-track li:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }
  .process-track li { padding-bottom: 20px; }
  .brand-mix li { padding-bottom: 26px; }
  .brand-mix li:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -8px;
    transform: translateX(-50%);
  }
  .license-card .sale-price { font-size: 1.85rem; white-space: nowrap; }
}
