/* =========================================================
   ONDO STUDIO — shared foundation
   ========================================================= */
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #111a26;
  --ink-2: #1c2836;
  --ink-3: #2b394b;
  --slate: #55637a;
  --muted: #7c8798;
  --line: #e5e1d9;
  --line-soft: #efece6;
  --sand: #f8f5f0;
  --sand-2: #f1ece3;
  --paper: #ffffff;
  --green: #2c6155;
  --green-soft: #e9f1ee;
  --gold: #c8993f;
  --danger: #c0442f;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(17, 26, 38, .05), 0 4px 14px rgba(17, 26, 38, .04);
  --shadow: 0 10px 30px rgba(17, 26, 38, .08), 0 2px 6px rgba(17, 26, 38, .04);
  --shadow-lg: 0 24px 60px rgba(17, 26, 38, .14);
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --container: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
svg { display: block; }

input, textarea, select, button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 24px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-3); box-shadow: 0 8px 22px rgba(17, 26, 38, .18); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--sand); border-color: #d6d0c4; }

.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--light:hover { background: rgba(255, 255, 255, .18); }

.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--full { width: 100%; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.logo__mark svg { width: 16px; height: 16px; }
.logo__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  padding-bottom: 4px;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .16em;
}
.logo__sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--muted);
  margin-top: 3px;
}

.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sand-2);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex: none;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.section-head h2 {
  font-size: clamp(26px, 3.3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.24;
}
.section-head p {
  margin-top: 14px;
  color: var(--slate);
  font-size: 16px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 1000;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .logo__mark { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
  .logo__name { font-size: 16px; }
}
