:root {
  --bg: #f4f3ed;
  --ink: #0f1110;
  --muted: #62665e;
  --line: rgba(15, 17, 16, 0.12);
  --dark: #0e1512;
  --green: #244b39;
  --green-2: #dce5dc;
  --surface: #fbfaf6;
  --shadow: 0 30px 90px rgba(14, 21, 18, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.55;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(244, 243, 237, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; flex: 0 0 auto; }
.wordmark img { display: block; width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--ink); }

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(72px, 10vw, 150px) clamp(22px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  background:
    radial-gradient(circle at 80% 12%, rgba(36, 75, 57, 0.18), transparent 32%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 88%);
}
.not-found-hero { min-height: calc(100vh - 180px); }
.hero-copy { width: min(980px, 100%); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 30px;
  max-width: 980px;
  font-size: clamp(58px, 8vw, 122px);
  line-height: 0.9;
  letter-spacing: -0.078em;
}
.hero-text {
  max-width: 760px;
  color: #30342f;
  font-size: clamp(18px, 1.7vw, 23px);
  letter-spacing: -0.035em;
}
.actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contact-actions { margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.button.primary { background: var(--dark); color: #fff; }
.button.ghost { background: rgba(255,255,255,0.78); border: 1px solid var(--line); }

.hero-panel {
  max-width: 480px;
  justify-self: end;
  background: var(--dark);
  color: #eff4ee;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-top { display: flex; gap: 7px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.panel-top span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.28); }
.panel-body { padding: 30px; }
.panel-label { margin-bottom: 28px; color: rgba(239,244,238,.58); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.flow-line { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.flow-line span { display: block; margin-bottom: 4px; color: rgba(239,244,238,.55); font-size: 13px; }
.flow-line strong { display: block; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; letter-spacing: -.045em; }
.flow-line.active strong { color: #a9d7b8; }

.product, .company, .contact, .status-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 96px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
  margin-bottom: 44px;
}
.section-heading h2, .company-statement h2, .contact h2, .status-card h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.product-copy { font-size: 19px; color: #30342f; letter-spacing: -.025em; }
.stack { display: grid; gap: 14px; }
.stack article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.stack span, .number, .solve-grid span { color: var(--green); font-weight: 900; font-size: 13px; }
.stack h3, .method-grid h3, .solve-grid h3 {
  margin-bottom: 8px;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.stack p, .method-grid p, .company-copy p, .contact p, .solve-grid p, .status-card p, .privacy-body p, .privacy-body li { color: var(--muted); }

.solve {
  width: 100%;
  padding: 96px clamp(22px, 5vw, 72px);
  background: #ecebe4;
  border-top: 1px solid var(--line);
}
.solve-inner { width: min(1180px, 100%); margin: 0 auto; }
.section-heading.compact { display: block; max-width: 900px; }
.solve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.solve-grid article {
  min-height: 220px;
  padding: 26px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(15,17,16,.1);
  border-radius: 26px;
}
.solve-grid h3 { margin-top: 38px; }

.method {
  width: 100%;
  padding: 96px clamp(22px, 5vw, 72px);
  background: var(--green-2);
  border-top: 1px solid var(--line);
}
.method-inner { width: min(1180px, 100%); margin: 0 auto; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.method-grid article {
  min-height: 250px;
  padding: 26px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(15,17,16,.1);
  border-radius: 26px;
}
.method-grid h3 { margin-top: 38px; }

.status-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
  padding: clamp(30px, 5vw, 54px);
  background: var(--dark);
  color: #eff4ee;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.status-card .eyebrow { color: #a9d7b8; }
.status-card p { margin-bottom: 0; font-size: 19px; color: rgba(239,244,238,.74); letter-spacing: -.03em; }

.company { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 110px); }
.company-copy { font-size: 18px; }
.company-copy ul { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.company-copy li { padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 750; }

.contact { min-height: 560px; }
.contact h2 { margin-bottom: 24px; }
.contact p { max-width: 720px; font-size: 19px; }
.email {
  display: inline-block;
  margin-top: 32px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.06em;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(22px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer-brand img { display: block; width: 138px; height: auto; opacity: .86; }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--ink); }

.privacy-main { width: min(960px, 100%); margin: 0 auto; padding: 96px clamp(22px, 5vw, 72px); }
.privacy-main h1 { font-size: clamp(48px, 8vw, 96px); margin-bottom: 28px; }
.privacy-body { padding-top: 30px; border-top: 1px solid var(--line); font-size: 19px; }
.privacy-body h2 { margin-top: 44px; margin-bottom: 12px; font-size: 28px; letter-spacing: -.04em; }
.privacy-body ul { padding-left: 22px; }

@media (max-width: 980px) {
  .hero, .product-grid, .company, .section-heading, .status-card { grid-template-columns: 1fr; }
  .hero-panel { justify-self: start; max-width: 100%; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .solve-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { height: auto; padding-top: 18px; padding-bottom: 18px; align-items: flex-start; flex-direction: column; }
  .nav { gap: 14px; flex-wrap: wrap; font-size: 13px; }
  .wordmark img { width: 150px; }
  .hero, .product, .method, .company, .contact, .solve, .status-section, .privacy-main { padding-top: 72px; padding-bottom: 72px; }
  h1 { font-size: clamp(54px, 18vw, 76px); }
  .method-grid { grid-template-columns: 1fr; }
  .stack article { grid-template-columns: 1fr; }
  .email { font-size: clamp(28px, 10vw, 42px); letter-spacing: -0.06em; word-break: break-all; }
  .footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 8px; }
}


/* v1.2 ScopeWorks tone polish */
.product-page .hero { min-height: 78vh; }
.product-page .section-heading h2,
.product-page .company-statement h2,
.product-page .contact h2,
.product-page .status-card h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.product-page .email { font-size: clamp(28px, 4vw, 52px); }
.product-page .stack h3,
.product-page .method-grid h3,
.product-page .solve-grid h3 { letter-spacing: -0.04em; }
.product-actions { margin-top: 28px; }

@media (max-width: 980px) {
  .section-heading { gap: 22px; }
  .section-heading.compact { max-width: 780px; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  h1 { font-size: clamp(48px, 15vw, 68px); line-height: .93; letter-spacing: -0.075em; }
  .hero-text { font-size: 17px; line-height: 1.62; letter-spacing: -0.025em; }
  .section-heading h2,
  .company-statement h2,
  .contact h2,
  .status-card h2,
  .product-page .section-heading h2,
  .product-page .company-statement h2,
  .product-page .contact h2,
  .product-page .status-card h2 {
    font-size: clamp(32px, 10.5vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.05em;
  }
  .product-copy, .company-copy, .contact p, .status-card p { font-size: 16px; line-height: 1.7; }
  .stack h3, .method-grid h3, .solve-grid h3 { font-size: 22px; line-height: 1.12; }
  .solve-grid article, .method-grid article { min-height: auto; }
  .email { font-size: clamp(26px, 8.5vw, 36px); letter-spacing: -0.055em; }
}


/* v1.2 ScopeWorks tone polish */
@media (max-width: 640px) {
  .nav a.optional { display: none; }
  .site-header { gap: 12px; }
  .nav { gap: 16px; }
  .email { font-size: clamp(24px, 7.6vw, 34px); }
  .contact { min-height: auto; }
}
