:root {
  --off-white: #f4f6f5;
  --charcoal: #202724;
  --muted: #5f6964;
  --line: #d7ddda;
  --white: #ffffff;
  --supplier-green: #287a53;
  --ai-yellow: #e4b82f;
  --creator-coral: #dc6d5a;
  --whatsapp-green: #128c4a;
  --content: 72rem;
  --header-content: 88rem;
  --header-offset: 5.5rem;
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

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

html {
  width: 100%;
  max-width: 100%;
  background: var(--off-white);
  scroll-padding-top: var(--header-offset);
}

[id] {
  scroll-margin-top: var(--header-offset);
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--charcoal);
  background: var(--off-white);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

:lang(ko) body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
.button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #0b69c7;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto auto auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
  min-height: 4.5rem;
  padding: 0.75rem max(1rem, calc((100% - var(--header-content)) / 2));
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.brand {
  width: fit-content;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-nav,
.locale-switcher,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.primary-nav a,
.locale-switcher a,
.site-footer a {
  font-size: 0.88rem;
  font-weight: 650;
}

.primary-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.locale-switcher a,
.header-cta {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.locale-switcher {
  gap: 0.55rem;
  white-space: nowrap;
}

.locale-switcher span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.locale-switcher a[aria-current="page"] {
  text-decoration-thickness: 0.14em;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.compact-contact-shortcut {
  display: none;
}

.menu-toggle[hidden] {
  display: none;
}

.menu-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.compact-contact-shortcut svg {
  width: 1.35rem;
  height: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}

.button:hover {
  background: #35403b;
}

.whatsapp-link {
  background: var(--whatsapp-green);
}

.whatsapp-link:hover {
  background: #0e713b;
}

main > section:not(.hero),
.legal-page,
.locale-home,
.not-found,
body > main:not(:has(> section, > article)) {
  padding: 4.5rem max(1rem, calc((100% - var(--content)) / 2));
}

main > section:not(.hero) > *,
.legal-page > *,
.locale-home > *,
.not-found > * {
  max-width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

main > section:nth-of-type(odd):not(.hero),
.locale-home,
.not-found {
  background: var(--white);
}

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

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: 3.4rem;
}

h2 {
  margin-bottom: 1.75rem;
  font-size: 2rem;
}

h3 {
  font-size: 1.12rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 34rem;
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(20, 26, 23, 0.62);
}

.hero img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: 4rem 0 3.5rem;
}

.hero-content > p:not(.eyebrow),
.hero-content h1,
.cta-with-disclosure {
  max-width: 46rem;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: #f9e696;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

body[data-accent="supplier"] .eyebrow {
  color: #a8e0c1;
}

body[data-accent="affiliate"] .eyebrow {
  color: #ffc2b8;
}

.cta-with-disclosure {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.near-cta-disclosure,
.platform-disclosure {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.hero .near-cta-disclosure {
  margin: 0;
  color: #f0f3f1;
}

.scope-grid,
.process-grid,
.topics-grid,
.faq-list,
.project-grid {
  display: grid;
  gap: 1rem;
}

.scope-grid,
.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.provided,
.responsibilities {
  padding: 1.25rem 0;
  border-top: 4px solid var(--accent, var(--supplier-green));
}

body[data-accent="supplier"] {
  --accent: var(--supplier-green);
}

body[data-accent="ai"] {
  --accent: var(--ai-yellow);
}

body[data-accent="affiliate"] {
  --accent: var(--creator-coral);
}

.provided ul,
.responsibilities ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.provided li + li,
.responsibilities li + li {
  margin-top: 0.55rem;
}

.process-step,
.topic-module,
.faq-item,
.project-card {
  min-width: 0;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
  background: var(--accent, var(--ai-yellow));
  border-radius: 8px;
  font-weight: 800;
}

.process-step p,
.topic-module p,
.project-card p,
.faq-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.topic-module svg {
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 1rem;
  color: var(--accent, var(--supplier-green));
  stroke-width: 1.8;
}

.faq-item {
  padding: 0;
  overflow: clip;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.75rem;
  padding: 1rem 1.1rem;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.faq-item button:hover,
.faq-item button[aria-expanded="true"] {
  background: #edf1ef;
}

.faq-item button svg {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.75rem;
  transition: transform 160ms ease;
}

.faq-item button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 1.1rem 1.1rem;
}

html:not(.client-ready) .faq-panel[hidden] {
  display: block;
}

#contact {
  color: var(--white);
  background: var(--charcoal);
}

#contact .near-cta-disclosure {
  max-width: 45rem;
  margin-top: 1rem;
  color: #cdd5d1;
}

.configuration-status {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  padding: 0.75rem 0.9rem;
  color: #221e09;
  background: #f9e696;
  border-left: 4px solid var(--ai-yellow);
  border-radius: 4px;
  font-weight: 700;
}

#contact .configuration-status {
  width: min(calc(100% - 2rem), 30rem);
  max-width: 30rem;
  margin: 0;
}

.site-footer {
  padding: 2.5rem max(1rem, calc((100% - var(--content)) / 2));
  color: #e5ebe8;
  background: #111613;
}

.site-footer p {
  max-width: 55rem;
  margin-bottom: 0.65rem;
}

.site-footer .platform-disclosure {
  color: #bdc8c2;
}

.site-footer nav {
  flex-wrap: wrap;
  margin-top: 1rem;
}

.locale-home,
.legal-page,
.not-found,
body > main:not(:has(> section, > article)) {
  min-height: 60vh;
}

.locale-home h1,
.legal-page h1,
.not-found h1,
body > main:not(:has(> section, > article)) h1 {
  font-size: 2.75rem;
}

.project-card {
  border-top: 5px solid var(--supplier-green);
}

.project-card[data-accent="ai"] {
  border-top-color: var(--ai-yellow);
}

.project-card[data-accent="affiliate"] {
  border-top-color: var(--creator-coral);
}

.legal-page {
  max-width: 52rem;
  margin: 0 auto;
}

@media (max-width: 64rem) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 77rem) {
  :root {
    --header-offset: 5rem;
  }

  html:not(.client-ready) .site-header {
    position: static;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) 2.75rem 2.75rem;
    min-height: 4rem;
    padding: 0.6rem 1rem;
  }

  .menu-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
  }

  .compact-contact-shortcut {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--white);
    background: var(--whatsapp-green);
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
  }

  .primary-nav,
  .locale-switcher,
  .header-cta {
    grid-column: 1 / -1;
  }

  .primary-nav {
    display: grid;
    gap: 0;
  }

  .primary-nav a {
    padding: 0.75rem 0;
    border-top: 1px solid var(--line);
  }

  .locale-switcher {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .header-cta {
    justify-self: stretch;
  }

  .client-ready body[data-project] .site-header:not(.nav-open) .primary-nav,
  .client-ready body[data-project] .site-header:not(.nav-open) .locale-switcher,
  .client-ready body[data-project] .site-header:not(.nav-open) .header-cta {
    display: none;
  }
}

@media (max-width: 47.5rem) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero {
    min-height: 32rem;
  }

  .hero-content {
    padding: 3rem 0 2.75rem;
  }

  .cta-with-disclosure {
    grid-template-columns: 1fr;
  }

  main > section:not(.hero),
  .legal-page,
  .locale-home,
  .not-found,
  body > main:not(:has(> section, > article)) {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .scope-grid,
  .process-grid,
  .topics-grid,
  .faq-list,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .locale-home h1,
  .legal-page h1,
  .not-found h1,
  body > main:not(:has(> section, > article)) h1 {
    font-size: 2.15rem;
  }
}

@media (max-width: 23rem) {
  body {
    font-size: 0.96rem;
  }

  h1 {
    font-size: 2rem;
  }

  .site-header,
  .hero-content {
    column-gap: 0.5rem;
  }

  .locale-switcher {
    gap: 0.4rem 0.65rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
