/* dakku landing — tokens copied verbatim from Packages/Core/Sources/DesignTokens.swift */
:root {
  --ink: #3E2F22;
  --ink-secondary: #6B5442;
  --ink-soft: #8A6E58;
  --paper: #FFFDF7;
  --paper-bright: #FFF8EC;
  --cream: #F7F0E5;
  --canvas: #E9DFD0;
  --coral: #E98A6E;
  --coral-deep: #D9744F;
  --lavender: #E6DDF3;
  --apricot: #FBE8D8;
  --tape: #F2CD96;
  --display: "Cafe24Ssurround", "Apple SD Gothic Neo", "Hiragino Maru Gothic ProN", "Pretendard", "Noto Sans KR", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Hiragino Sans", "Noto Sans KR", "Noto Sans JP", sans-serif;
}

@font-face {
  font-family: "Cafe24Ssurround";
  src: url("fonts/Cafe24Ssurround.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.25; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

/* 1. header */
.site-header { padding-block: 16px; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; }
.wordmark { font-family: var(--display); font-size: 24px; text-decoration: none; }
.lang { display: flex; gap: 6px; margin-left: auto; font-size: 13px; letter-spacing: .04em; }
.lang a { text-decoration: none; padding: 6px 8px; border-radius: 999px; color: var(--ink-soft); }
.lang a[aria-current="page"] { color: var(--ink); background: var(--paper); }
.pill {
  display: inline-block;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s ease-out, background-color .12s ease-out;
}
.pill:hover, .pill:active { background: var(--coral-deep); }
.pill:active { transform: scale(.97); }

/* 2. hero */
.hero { padding-block: 32px 56px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); }
.hero .lead { margin-top: 20px; color: var(--ink-secondary); font-size: 18px; max-width: 34em; }
.badge { display: inline-block; margin-top: 28px; }
.badge img { height: 56px; width: auto; }
.hero-visual { position: relative; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 12px 40px rgba(62, 47, 34, .12); aspect-ratio: 1; max-width: 440px; width: 100%; margin-inline: auto; }
.hero-visual video, .hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-visual video { display: none; }
  .hero-visual .still { display: block; }
}
@media (min-width: 820px) {
  .hero .wrap { grid-template-columns: 1.15fr 1fr; }
}

/* sections */
section { padding-block: 56px; }
.section-title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 28px; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* 3. examples */
figure { margin: 0; }
figure img { border-radius: 24px; background: var(--apricot); }
figcaption { margin-top: 12px; color: var(--ink-secondary); font-size: 15px; }

/* 4. steps */
.steps { background: var(--paper); }
.steps ol { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; padding: 0; }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--tape); color: var(--ink);
  font-family: var(--display); font-size: 17px;
  margin-bottom: 12px;
}
.steps p { color: var(--ink-secondary); }

/* 5. more */
.more article { background: var(--paper); border-radius: 24px; padding: 20px; display: grid; grid-template-columns: 1fr 140px; gap: 16px; align-items: center; }
.more article img { border-radius: 16px; }
.more h3 { font-size: 20px; margin-bottom: 8px; }
.more p { color: var(--ink-secondary); font-size: 15px; }

/* 6. faq — native <details>, zero JS */
.faq details { border-top: 1px solid var(--canvas); }
.faq details:last-child { border-bottom: 1px solid var(--canvas); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--display); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral-deep); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-secondary); padding-bottom: 20px; max-width: 42em; }

/* 7. closing + footer */
.closing { background: var(--coral); text-align: center; }
.closing p { font-family: var(--display); font-size: clamp(22px, 3.5vw, 30px); line-height: 1.4; max-width: 24em; margin-inline: auto; }
.closing .badge { margin-top: 24px; }
.site-footer { padding-block: 40px; font-size: 14px; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.site-footer a { color: var(--ink-secondary); }
.site-footer p + p { margin-top: 6px; }
