/* ─────────────────────────────────────────────
   SERVICE NAME — change it in ONE place:
   --brand-name below. Every name on the page
   (header, hero, pricing, footer) reads it.
   ───────────────────────────────────────────── */
:root {
    --brand-name: "Drawn Like Us";

    --paper: #fbf6ec;
    --paper-2: #f3ead8;
    --card: #fffdf8;
    --ink: #2b2723;
    --ink-2: #5d564d;
    --ink-3: #8a8175;
    --line: #e4d9c4;
    --sunset: #e0743a;
    --sunset-ink: #b4521c;
    --sunset-soft: #fbe3d2;
    --sky: #4f86b8;
    --sky-soft: #dde9f3;
    --leaf: #7d9a5b;
    --skin-1: #f0c9a8;
    --skin-2: #d9a37e;
    --skin-3: #b9825d;
    --shadow: 0 1px 0 rgba(43, 39, 35, .06), 0 12px 32px -18px rgba(43, 39, 35, .35);
    --gutter: max(16px, env(safe-area-inset-left, 0px));
    --gutter-r: max(16px, env(safe-area-inset-right, 0px));
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #1c1916;
        --paper-2: #24201c;
        --card: #2a2521;
        --ink: #f2eadc;
        --ink-2: #c9bfb0;
        --ink-3: #988e80;
        --line: #3d362f;
        --sunset: #f08a50;
        --sunset-ink: #f5a676;
        --sunset-soft: #3d2a1e;
        --sky: #82b0db;
        --sky-soft: #1f2d3a;
        --leaf: #9bb878;
        --skin-1: #e8bf9c;
        --skin-2: #cf9a74;
        --skin-3: #ad7853;
        --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 32px -18px rgba(0, 0, 0, .8);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --paper: #1c1916;
    --paper-2: #24201c;
    --card: #2a2521;
    --ink: #f2eadc;
    --ink-2: #c9bfb0;
    --ink-3: #988e80;
    --line: #3d362f;
    --sunset: #f08a50;
    --sunset-ink: #f5a676;
    --sunset-soft: #3d2a1e;
    --sky: #82b0db;
    --sky-soft: #1f2d3a;
    --leaf: #9bb878;
    --skin-1: #e8bf9c;
    --skin-2: #cf9a74;
    --skin-3: #ad7853;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 32px -18px rgba(0, 0, 0, .8);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "IBM Plex Sans", "IBM Plex Sans KR", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
    overflow-x: hidden;
}
:lang(ko), .ko { font-family: "IBM Plex Sans KR", "IBM Plex Sans", sans-serif; word-break: keep-all; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.brand::before { content: var(--brand-name); }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter-r);
}

/* header */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.stamp {
    flex: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--sunset);
    display: grid; place-items: center;
    position: relative;
}
.stamp::after {
    content: "";
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--sunset);
}
.logo .brand {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 650;
    font-size: 20px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font: 600 15px/1.2 "IBM Plex Sans", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.sun { background: var(--sunset); border-color: var(--sunset); color: #fff; }
.btn:focus-visible, input:focus-visible, select:focus-visible, .seg label:focus-within {
    outline: 3px solid var(--sky);
    outline-offset: 2px;
}

/* hero */
.hero { padding: 28px 0 56px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sunset-ink);
    margin: 0 0 14px;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 650; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(40px, 7.4vw, 68px); line-height: 1.02; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 500; color: var(--sunset-ink); }
.lede { font-size: clamp(17px, 2.1vw, 19px); color: var(--ink-2); margin: 20px 0 28px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* sections */
section { padding: 64px 0; }
.alt { background: var(--paper-2); }
.sec-head { max-width: 40em; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.08; text-wrap: balance; }
.sec-head p { color: var(--ink-2); margin: 14px 0 0; }

.pillars { display: grid; gap: 16px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
}
.pillar .k { font: 500 12px/1 "IBM Plex Mono", monospace; color: var(--sunset-ink); letter-spacing: .04em; text-transform: uppercase; }
.pillar h3 { font-size: 23px; line-height: 1.15; margin: 12px 0 10px; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 16px; }
.not { margin-top: 22px; display: grid; gap: 10px; }
@media (min-width: 760px) { .not { grid-template-columns: 1fr 1fr 1fr; } }
.not div {
    border-top: 1.5px solid var(--line);
    padding-top: 12px;
    font-size: 15px;
    color: var(--ink-2);
}
.not b { color: var(--ink); font-weight: 600; display: block; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
    counter-increment: s;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}
.steps li::before {
    content: counter(s, decimal-leading-zero);
    font: 500 13px/1 "IBM Plex Mono", monospace;
    color: var(--sky);
}
.steps h3 { font-size: 20px; line-height: 1.2; margin: 10px 0 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.steps .q { display: block; margin-top: 8px; font-family: "Fraunces", serif; font-style: italic; color: var(--ink); }

/* what you get */
.get { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .get { grid-template-columns: 1.2fr .8fr; gap: 56px; } }
.get-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.get-list li {
    display: grid; grid-template-columns: 112px 1fr; gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.get-list li:first-child { border-top: 1px solid var(--line); }
.get-list .t { font: 500 13px/1.5 "IBM Plex Mono", monospace; color: var(--ink-3); padding-top: 2px; }
.get-list b { display: block; font-weight: 600; }
.get-list span { color: var(--ink-2); font-size: 15.5px; }
.phone {
    width: min(260px, 72vw);
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 30px;
    border: 8px solid var(--ink);
    background: var(--sky-soft);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
/* grandma */
.gma { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .gma { grid-template-columns: 1fr 1fr; gap: 56px; } }
.msg {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    max-width: 420px;
}
.bubble {
    background: var(--sky-soft);
    border-radius: 16px 16px 16px 4px;
    padding: 12px 14px;
    font-size: 15.5px;
    margin-bottom: 10px;
}
.bubble.me { background: var(--sunset-soft); border-radius: 16px 16px 4px 16px; margin-left: 32px; }
.link-card {
    display: flex; gap: 12px; align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    margin: 0 0 10px 32px;
    background: var(--paper);
}
.link-card i { flex: none; width: 52px; height: 52px; border-radius: 8px; background: var(--sunset-soft); position: relative; }
.link-card i::after { content: ""; position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--sunset); }
.link-card small { display: block; color: var(--ink-3); font: 400 12px/1.4 "IBM Plex Mono", monospace; }
.link-card .brand { font-weight: 600; font-size: 14.5px; }

/* pricing */
.price-wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .price-wrap { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.plan {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.plan .k { font: 500 12px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.plan h3 { font-size: 26px; margin: 10px 0 4px; }
.amount { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.amount .num { font: 650 52px/1 "Fraunces", serif; letter-spacing: -0.02em; }
.amount .per { color: var(--ink-3); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15.5px; }
.plan li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--sunset); }
.free {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--sunset-soft);
    font-size: 15px;
}
.free b { font-weight: 600; }
.compare { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* privacy */
.promises { display: grid; gap: 12px; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .promises { grid-template-columns: repeat(4, 1fr); } }
.promise { border-left: 3px solid var(--leaf); padding: 4px 0 4px 14px; }
.promise b { display: block; font-weight: 600; margin-bottom: 4px; }
.promise span { color: var(--ink-2); font-size: 15px; }

/* waitlist */
.wl { display: grid; gap: 28px; }
@media (min-width: 900px) { .wl { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: grid; gap: 18px;
}
.field { display: grid; gap: 6px; }
.field > label, fieldset legend { font-weight: 600; font-size: 15px; }
input[type="email"], select {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    padding: 10px 14px;
    font: 400 16px/1.3 "IBM Plex Sans", sans-serif;
}
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choices label {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
}
.choices input { accent-color: var(--sunset); width: 18px; height: 18px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--sunset); background: var(--sunset-soft); }
.fine { font-size: 13px; color: var(--ink-3); margin: 0; }
.result {
    display: none;
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--sky-soft);
    font-size: 15px;
}
.result.show { display: block; }

/* faq */
.faq { display: grid; gap: 0; max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 32px 14px 0;
    font-weight: 600;
    position: relative;
    min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: "+";
    position: absolute; right: 4px; top: 12px;
    font: 400 22px/1 "IBM Plex Mono", monospace;
    color: var(--ink-3);
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--ink-2); }

footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer .brand { color: var(--ink); font-weight: 600; }

/* ── 실서비스 추가분 ── */
.lang-switch { font: 500 13px/1 "IBM Plex Mono", monospace; color: var(--ink-3); text-decoration: none; padding: 12px 6px; }
.top-right { display: flex; align-items: center; gap: 8px; }

/* hero: 견본 책 펼침면 (왼쪽 글 · 오른쪽 움직이는 그림) */
.book {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px;
    position: relative;
}
.spread { display: grid; grid-template-columns: 1fr 1.5fr; border-radius: 10px; overflow: hidden; }
.page-text {
    background: var(--paper-2);
    padding: 18px 16px 40px;
    font-family: "Fraunces", "IBM Plex Sans KR", serif;
    font-size: clamp(14px, 1.7vw, 17px);
    line-height: 1.45;
    border-right: 1px solid var(--line);
    position: relative;
}
.page-text .said { display: block; margin-top: 10px; font-style: italic; color: var(--sunset-ink); }
.page-text .pg { position: absolute; left: 16px; bottom: 14px; font: 500 11px/1 "IBM Plex Mono", monospace; color: var(--ink-3); }
.spread video { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--paper-2); }
.moves-chip {
    position: absolute; right: 24px; top: 24px;
    font: 500 11px/1 "IBM Plex Mono", monospace;
    background: var(--sunset); color: #fff;
    padding: 6px 9px; border-radius: 999px;
}
.sample-note { margin: 10px 2px 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 520px) {
    .spread { grid-template-columns: 1fr; }
    .page-text { border-right: 0; border-top: 1px solid var(--line); order: 2; padding-bottom: 36px; }
}

/* 견본 책 전체 쪽 */
.pages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
@media (min-width: 760px) { .pages { grid-template-columns: repeat(4, 1fr); } }
.pages figure { margin: 0; }
.pages img { width: 100%; height: auto; aspect-ratio: 880 / 591; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--paper-2); }
.pages figcaption { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); margin-top: 6px; }
.pages figcaption b { font: 500 11px/1 "IBM Plex Mono", monospace; color: var(--ink-3); display: block; margin-bottom: 4px; }

/* 가격 변형: html[data-p] 로 하나만 보인다 */
.v-a, .v-b { display: none; }
html[data-p="a"] .v-a, html[data-p="b"] .v-b { display: inline; }

/* 폼 추가분 */
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sunset); }
.consent a { color: var(--ink); }
.consent-detail { font-size: 13px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; background: var(--paper); }
.consent-detail dt { font-weight: 600; color: var(--ink-2); }
.consent-detail dd { margin: 0 0 6px; }
.result.error { background: var(--sunset-soft); }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.ts-box:empty { display: none; }

/* 한정판 카드(한국어) */
.xmas {
    background: var(--card);
    border: 1.5px solid var(--sunset);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}
.xmas .k { font: 500 12px/1 "IBM Plex Mono", monospace; color: var(--sunset-ink); letter-spacing: .04em; }
.xmas h3 { font-family: "IBM Plex Sans KR", sans-serif; font-weight: 600; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.xmas p { margin: 0; color: var(--ink-2); }
.xmas .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* 한국어 제목은 한글 글꼴로 */
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { font-family: "IBM Plex Sans KR", sans-serif; font-weight: 600; letter-spacing: -0.02em; }
:lang(ko) h1 { line-height: 1.18; }
:lang(ko) h1 em { font-style: normal; }

/* 처리방침 등 본문 문서 */
.doc { max-width: 760px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 8px 8px 8px 0; }
.doc th { width: 34%; color: var(--ink); font-weight: 600; }

footer a { color: var(--ink-2); }
footer .links { display: flex; flex-wrap: wrap; gap: 14px; }
