/* Withly Korea — 회사 소개 페이지
 * 색은 앱(Withly_app/frontend/docs/02-design-tokens.md)의 브랜드 토큰을 따릅니다. */

:root {
  color-scheme: light;

  --coral: #e8836a;
  --coral-deep: #c9634b;
  --navy: #3d4068;
  --ink: #1b1d33;
  --text: #2a2c45;
  --muted: #686a85;
  --line: #ece4df;
  --surface: #fffcf9;
  --surface-warm: #fff4ef;
  --card: #ffffff;

  --grad-hero: linear-gradient(180deg, #f8bbb1 0%, #ffded2 48%, var(--surface) 100%);

  --radius: 20px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1080px;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 헤더 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 252, 249, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand img {
  height: 26px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
}

.site-nav a:hover {
  color: var(--coral-deep);
}

.site-nav .lang {
  border: 1px solid rgba(61, 64, 104, 0.25);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 560px) {
  .site-nav .hide-sm {
    display: none;
  }
}

/* ---------- 히어로 ---------- */

.hero {
  background: var(--grad-hero);
  margin-top: -64px;
  padding: calc(64px + clamp(48px, 9vw, 112px)) 0 clamp(56px, 9vw, 112px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero .lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.9vw, 19px);
  color: var(--text);
  max-width: 34em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(61, 64, 104, 0.12);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 131, 106, 0.22);
}

.hero-symbol {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  filter: drop-shadow(0 24px 40px rgba(61, 64, 104, 0.18));
}

@media (max-width: 760px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-symbol {
    order: -1;
    max-width: 180px;
    justify-self: start;
  }
}

/* ---------- 섹션 공통 ---------- */

.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-deep);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
}

.section-lead {
  margin-top: 16px;
  color: var(--muted);
  max-width: 40em;
}

/* ---------- 서비스 카드 ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--navy);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature:nth-child(1) .feature-icon { background: #ffe3dc; }
.feature:nth-child(2) .feature-icon { background: #f1e7f5; }
.feature:nth-child(3) .feature-icon { background: #deeaff; }

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
  font-size: 16px;
}

.extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.extra {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface-warm);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.extra strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 4px;
}

.extra p {
  color: var(--muted);
  font-size: 15px;
}

.extra .feature-icon {
  flex: none;
  margin: 0;
  background: #fff;
}

@media (max-width: 860px) {
  .features {
    grid-template-columns: 1fr;
  }
  .extras {
    grid-template-columns: 1fr;
  }
}

/* ---------- 사용자 ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.audience li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.audience strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 4px;
}

.audience span {
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 760px) {
  .audience {
    grid-template-columns: 1fr;
  }
}

/* ---------- 회사 ---------- */

.company {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.company-text p + p {
  margin-top: 16px;
}

.company-text p {
  color: var(--text);
}

.facts {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 28px;
}

.facts div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 860px) {
  .company {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .facts {
    padding: 4px 20px;
  }
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- 문의 ---------- */

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 56px);
}

.contact-card h2 {
  color: #fff;
}

.contact-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32em;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 24px;
  border-radius: 999px;
  transition: background 0.15s;
  white-space: nowrap;
}

.button:hover {
  background: var(--coral-deep);
}

.button svg {
  width: 20px;
  height: 20px;
}

/* ---------- 푸터 ---------- */

.site-footer {
  padding: 48px 0 56px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .container {
  display: grid;
  gap: 20px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-top img {
  height: 22px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.biz {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  line-height: 1.6;
}

.biz div {
  display: flex;
  gap: 6px;
}

.biz dt::after {
  content: '';
}

.biz dd {
  margin: 0;
  color: var(--text);
}

.copyright {
  color: #9a9a9a;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.notfound img {
  width: 120px;
  margin: 0 auto 28px;
}

.notfound p {
  color: var(--muted);
  margin: 12px 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
