/* ========================================
   ROOT
======================================== */

:root {
  --color-background: #ffffff;
  --color-surface: #f5f5f5;

  --color-text: #171717;
  --color-text-muted: #777777;

  --color-line: #dddddd;
  --color-accent: #171717;

  --font-sans:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --content-width: 1200px;
  --header-height: 72px;

  --space-section: 120px;
}


/* ========================================
   RESET
======================================== */

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;

  background: var(--color-background);
  color: var(--color-text);

  font-family: var(--font-sans);
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}


/* ========================================
   ACCESSIBILITY
======================================== */

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}


/* ========================================
   SELECTION
======================================== */

::selection {
  background: var(--color-text);
  color: var(--color-background);
}

/* PAOPAO CMS-added content sections */
.paopao-added-section{padding:clamp(32px,6vw,80px) 20px;max-width:100%;border-top:1px solid color-mix(in srgb,currentColor 20%,transparent);color:inherit}
.paopao-added-inner{width:min(100%,1100px);margin:auto}
.paopao-added-title{font-size:clamp(1.4rem,3.5vw,2.5rem);line-height:1.3;margin:0 0 1rem}
.paopao-section-copy{white-space:pre-line;overflow-wrap:anywhere;line-height:1.9}
.paopao-section-image{margin:1.5rem 0;max-height:480px;overflow:hidden}
.paopao-section-image img{display:block;width:100%;max-height:480px;object-fit:contain}
.paopao-added-section[data-layout=card] .paopao-added-inner{padding:clamp(20px,4vw,45px);border:1px solid currentColor;border-radius:15px}
.paopao-added-section[data-layout=split] .paopao-added-inner{display:grid;grid-template-columns:1fr 1fr;column-gap:2rem}
.paopao-added-section[data-layout=split] .paopao-added-title{grid-column:1/-1}
@media(max-width:760px){.paopao-added-section[data-layout=split] .paopao-added-inner{display:block}}
