:root {
  --ink: #17211d;
  --subtle: #526059;
  --line: #d8ded7;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --green: #24483f;
  --green-soft: #dfe8e2;
  --blue: #3e6a83;
  --clay: #bd704f;
  --ochre: #c59055;
  --shadow: 0 22px 70px rgba(23, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 222, 215, 0.8);
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: min(166px, 36vw);
  height: auto;
}

nav {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--subtle);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(23, 33, 29, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  --hero-image: url("assets/puricell-hero.jpg");
  min-height: min(78svh, 780px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(247,248,244,0.98) 0%, rgba(247,248,244,0.90) 34%, rgba(247,248,244,0.18) 68%),
    var(--hero-image) center right / cover no-repeat;
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-lead {
  width: min(610px, 100%);
  color: #2d3833;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(36, 72, 63, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.source-note {
  margin: 18px 0 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-width: 0;
  min-height: 118px;
  padding: 26px clamp(20px, 4vw, 42px);
  background: #ffffff;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 22px;
}

.metric span {
  display: block;
  max-width: 100%;
  color: var(--subtle);
  line-height: 1.5;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 96px);
}

.planning-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #ffffff;
}

.planning-intro p {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.7;
}

.planning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.planning-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f4;
}

.planning-grid span,
.planning-grid strong,
.planning-grid p {
  display: block;
}

.planning-grid span {
  margin-bottom: 38px;
  color: var(--clay);
  font-weight: 900;
}

.planning-grid strong {
  margin-bottom: 12px;
  font-size: 24px;
}

.planning-grid p {
  margin: 0;
  color: var(--subtle);
  line-height: 1.6;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #ffffff;
}

.company-copy p {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.7;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.company-grid article {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f4;
}

.company-grid span,
.company-grid strong,
.company-grid p {
  display: block;
}

.company-grid span {
  margin-bottom: 48px;
  color: var(--clay);
  font-weight: 900;
}

.company-grid strong {
  margin-bottom: 12px;
  font-size: 24px;
}

.company-grid p {
  margin: 0;
  color: var(--subtle);
  line-height: 1.6;
}

.two-column,
.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.solution-section {
  background: #eef2ec;
}

.solution-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(36, 72, 63, 0.18);
  border-radius: 8px;
  background: rgba(36, 72, 63, 0.18);
}

.solution-map article {
  min-height: 270px;
  padding: 26px;
  background: #ffffff;
}

.solution-map strong,
.solution-map span,
.solution-map p {
  display: block;
}

.solution-map strong {
  margin-bottom: 34px;
  color: var(--green);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.solution-map span {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
}

.solution-map p {
  margin: 0;
  color: var(--subtle);
  line-height: 1.6;
}

.two-column p,
.request-copy p,
.section-heading p {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.7;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare-item,
.product-card,
.calculator-result,
.request-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.compare-item {
  min-height: 280px;
  padding: 26px;
}

.compare-item span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 800;
}

.compare-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
}

.compare-item p {
  color: var(--subtle);
  line-height: 1.6;
}

.compare-item.muted {
  background: #eef2ec;
  box-shadow: none;
}

.proof-section {
  background: #ffffff;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f4;
}

.proof-card.highlight {
  background: var(--green);
  color: #ffffff;
}

.proof-card span,
.proof-card strong,
.proof-card p {
  display: block;
}

.proof-card span {
  margin-bottom: 40px;
  color: var(--clay);
  font-weight: 900;
}

.proof-card.highlight span {
  color: #f2c9a9;
}

.proof-card strong {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.proof-card p {
  margin: 0;
  color: var(--subtle);
  line-height: 1.6;
}

.proof-card.highlight p {
  color: #dbe8e2;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.cert-strip span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(36, 72, 63, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 28px;
}

.catalog-strip span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(62, 106, 131, 0.24);
  border-radius: 999px;
  background: #eef6f7;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.product-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 18px;
}

.product-card p {
  color: var(--subtle);
  line-height: 1.6;
}

.product-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  color: var(--subtle);
}

.product-card li {
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.panel-swatch {
  height: 142px;
  margin-bottom: 20px;
  border-radius: 7px;
  background: url("assets/puricell-material-photo.jpg") center / cover no-repeat;
}

.panel-swatch.starter {
  background-image:
    linear-gradient(135deg, rgba(189, 112, 79, 0.18), rgba(36, 72, 63, 0.04)),
    url("assets/puricell-material-photo.jpg");
}

.panel-swatch.room {
  background-image:
    linear-gradient(135deg, rgba(62, 106, 131, 0.16), rgba(255, 255, 255, 0.04)),
    url("assets/puricell-hero.jpg");
}

.panel-swatch.easy {
  background-image:
    linear-gradient(135deg, rgba(23, 33, 29, 0.1), rgba(255, 255, 255, 0.06)),
    url("assets/puricell-hero.jpg");
}

.material-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #f2eee8;
}

.material-copy p {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.7;
}

.fabrication-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.fabrication-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(189, 112, 79, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.color-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.color-chip {
  position: relative;
  margin: 0;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: 8px;
  background: #edf0ec;
}

.color-chip img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.color-chip figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  min-height: 38px;
  padding: 8px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.compare-section {
  background: #ffffff;
}

.comparison-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(0, 1fr) minmax(0, 1fr);
}

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

.comparison-row span {
  min-height: 66px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--subtle);
  line-height: 1.5;
}

.comparison-row span:last-child {
  border-right: 0;
}

.comparison-row span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.comparison-row.header span {
  min-height: 54px;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
}

.calculator-section {
  background: #edf2ec;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  align-items: stretch;
}

.calculator {
  display: grid;
  gap: 18px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--subtle);
  font-weight: 700;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cbd4cd;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.segmented label {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd4cd;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
}

.segmented input {
  width: 16px;
  min-height: 16px;
  margin: 0 7px 0 0;
}

.calculator-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 38px);
}

.calculator-result span {
  color: var(--subtle);
  font-weight: 800;
}

.calculator-result strong {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: clamp(46px, 8vw, 86px);
  line-height: 1;
}

.calculator-result p {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.6;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  min-height: 180px;
  padding: 24px;
  border-top: 4px solid var(--green);
  background: #ffffff;
  counter-increment: step;
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 28px;
  color: var(--clay);
  font-weight: 900;
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list span {
  margin-top: 10px;
  color: var(--subtle);
  line-height: 1.55;
}

.use-cases {
  background: var(--green);
  color: #ffffff;
}

.use-cases .eyebrow,
.use-cases .section-heading p {
  color: #f2c9a9;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.24);
}

.case-grid article {
  min-height: 180px;
  padding: 26px;
  background: rgba(255,255,255,0.08);
}

.case-grid strong,
.case-grid span {
  display: block;
}

.case-grid strong {
  margin-bottom: 14px;
  font-size: 24px;
}

.case-grid span {
  color: #dbe8e2;
  line-height: 1.55;
}

.request-section {
  background: #f5f5f0;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-card h3,
.contact-card p {
  margin: 0;
}

.contact-card h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.contact-card > p:not(.card-kicker, .form-status) {
  color: var(--subtle);
  line-height: 1.7;
}

.contact-actions {
  margin-top: 8px;
}

.request-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: #ffffff;
}

.request-note strong {
  color: var(--green);
  font-size: 18px;
}

.request-note span {
  color: var(--subtle);
  line-height: 1.6;
}

.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.resource-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(36, 72, 63, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.request-form button {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 24px;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--subtle);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 28px clamp(20px, 6vw, 96px);
  background: #17211d;
  color: #ffffff;
}

.site-footer span {
  color: #b9c6bf;
}

.footer-brand,
.business-details {
  display: grid;
  gap: 6px;
}

.footer-brand {
  align-content: start;
}

.business-details {
  max-width: 760px;
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

.business-details a {
  color: #ffffff;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-right: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    position: fixed;
    top: 15px;
    right: 16px;
    z-index: 50;
    background: #ffffff;
  }

  nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.24s ease,
      opacity 0.18s ease;
  }

  .site-header.nav-open nav {
    max-height: 420px;
    padding-top: 8px;
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: 72svh;
    background:
      linear-gradient(180deg, rgba(247,248,244,0.98) 0%, rgba(247,248,244,0.86) 42%, rgba(247,248,244,0.44) 100%),
      var(--hero-image) center bottom / cover no-repeat;
  }

  .intro-band,
  .planning-grid,
  .company-grid,
  .proof-grid,
  .product-grid,
  .solution-map,
  .step-list,
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-column,
  .planning-section,
  .company-section,
  .material-section,
  .request-section,
  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .color-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    position: relative;
    padding-right: 70px;
  }

  .nav-toggle {
    top: 12px;
  }

  nav {
    display: grid;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: 13px;
  }

  .site-header.nav-open nav {
    max-height: 520px;
  }

  nav a {
    display: flex;
    min-width: 0;
    min-height: 30px;
    align-items: center;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .hero {
    min-height: 680px;
    align-items: flex-start;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-copy {
    width: min(100%, 320px);
    max-width: 320px;
  }

  .hero-lead {
    max-width: 320px;
    font-size: 18px;
    line-height: 1.55;
  }

  h1 {
    font-size: 48px;
  }

  .intro-band,
  .planning-grid,
  .company-grid,
  .proof-grid,
  .product-grid,
  .solution-map,
  .compare-grid,
  .input-row,
  .segmented,
  .step-list,
  .case-grid,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: min(142px, 44vw);
  }

  .color-board {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-row span {
    border-right: 0;
  }

  .section {
    padding: 52px 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
