/* STAi 플랫폼 랜딩 — 브랜드 토큰은 livingtel-manage/docs/design-guide.md 를 따른다.
   브랜드 그린 #40904e는 아이덴티티 액센트 전용, 액션 채움은 ink #17201b. */

:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --border: #e4e4e7;
  --ink: #17201b;
  --charcoal: #333333;
  --text: #17201b;
  --text-2: #52525b;
  --text-3: #71717a;
  --brand: #40904e;
  --brand-soft: #eef5ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection {
  background: rgb(64 144 78 / 0.22);
}

.shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 상단바 */
.top {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.top-logo {
  height: 24px;
  width: auto;
  display: block;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-ink {
  background: var(--ink);
  color: #ffffff;
}

.btn-ink:hover {
  background: var(--charcoal);
}

.btn-ghost {
  border: 1px solid #d4d4d8;
  color: #3f3f46;
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-disabled {
  border: 1px solid var(--border);
  color: var(--text-3);
  background: var(--bg);
  cursor: default;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

/* 히어로 */
.hero {
  padding: 88px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  margin: 20px 0 0;
  max-width: 600px;
  font-size: 17px;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* 서비스 카드 */
.services {
  padding: 56px 0 24px;
}

.services h2,
.contact h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.domain {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-left: 6px;
}

.badge {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}

.badge-live {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.badge-soon {
  background: #fafafa;
  border-color: var(--border);
  color: var(--text-3);
}

.card-target {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.card p:not(.card-target) {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-2);
}

.card-cta {
  margin-top: 20px;
  align-self: flex-start;
}

/* 문의 */
.contact {
  padding: 48px 0 72px;
}

.contact p {
  margin: 0 0 16px;
  max-width: 560px;
  color: var(--text-2);
  font-size: 15px;
}

.contact-mail {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

.contact-mail:hover {
  text-decoration: underline;
}

/* 푸터 */
.foot {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13px;
  color: var(--text-3);
}
