/* 오늘 (Today) — dailylab.app shared styles */
:root {
  --bg: #FAF6F1;
  --bg-2: #F5EDE3;
  --card: #FFFFFF;
  --ink: #2C2420;
  --ink-2: #6B5E54;
  --muted: #74675C;
  --brand: #D4A574;
  --brand-dk: #A8763F;
  --line: #EBE0D0;
  --radius: 24px;
  --max: 1160px;
  --shadow: 0 24px 60px rgba(110, 72, 34, .12);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.65; letter-spacing: -0.012em; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-dk); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 241, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.lang-link { font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.header-cta { padding: 9px 16px !important; font-size: 14px !important; }
@media (max-width: 860px) { .nav { display: none; } .site-header .wrap > .lang-link { margin-left: auto; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  border-radius: 999px; font: 700 16px/1.2 var(--font); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(44, 36, 32, .22); }
.btn-dark:hover { background: #1a1411; }
.btn-line { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--brand); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .btn-sub { display: block; font-size: 11px; font-weight: 600; opacity: .75; letter-spacing: 0; }
.btn-store { text-align: left; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 700px; z-index: -1;
  background: radial-gradient(closest-side, #F3DCC2, transparent); opacity: .9;
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--brand-dk);
  background: var(--card); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand-dk); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); margin: 22px 0 32px; max-width: 34em; }
.hero-visual { position: relative; justify-self: center; width: min(360px, 82vw); }
.phone {
  position: relative; border-radius: 48px; padding: 10px; background: #1d1714;
  box-shadow: 0 40px 90px rgba(80, 50, 20, .28), inset 0 0 0 2px #3a2f29;
}
.phone img { border-radius: 38px; width: 100%; aspect-ratio: 860 / 1864; object-fit: cover; object-position: top; background: #FAFAF8; }
.float {
  position: absolute; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 18px;
  font-size: 15px; line-height: 1.5; font-weight: 600; animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 13px; color: var(--brand-dk); margin-bottom: 2px; }
.float-reply { left: -22%; bottom: 16%; width: 250px; border: 2px solid var(--brand); border-bottom-left-radius: 6px; }
.float-stat { right: -12%; top: 14%; white-space: nowrap; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; }
  .float-reply { left: -8%; width: 220px; font-size: 14px; }
  .float-stat { right: -6%; }
}

/* trust strip */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust ul { list-style: none; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; max-width: var(--max); }
.trust li { font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* sections */
section.block { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head .kicker { font-size: 14px; font-weight: 800; color: var(--brand-dk); letter-spacing: .02em; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
.sec-head p { color: var(--ink-2); margin-top: 16px; font-size: 18px; }
@media (max-width: 700px) { section.block { padding: 68px 0; } .sec-head { margin-bottom: 40px; } }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { justify-self: center; width: min(300px, 72vw); }
.feature .tag { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; background: var(--brand-dk); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.feature h3 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.feature p { color: var(--ink-2); margin-top: 14px; font-size: 18px; }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 28px; font-size: 16px; }
.feature li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .feature:nth-child(even) .feature-media { order: 0; }
}

/* video */
.video-sec { background: var(--ink); color: #F5EDE3; }
.video-sec .sec-head h2 { color: #fff; }
.video-sec .sec-head p { color: #CDBFB2; }
.video-sec .sec-head .kicker { color: var(--brand); }
.player-shell {
  position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  background: #FAF6F1 center / cover no-repeat; box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
}
.player-shell hyperframes-player { position: absolute; inset: 0; width: 100%; height: 100%; }
.player-shell .play {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(44, 36, 32, .12); border: 0; cursor: pointer; width: 100%;
}
.player-shell .play span {
  width: 84px; height: 84px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.player-shell .play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.video-meta { text-align: center; margin-top: 20px; font-size: 14px; color: #CDBFB2; }
.video-meta a { color: var(--brand); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.steps li::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg-2); color: var(--brand-dk); font-weight: 800; margin-bottom: 18px;
}
.steps h3 { font-size: 21px; font-weight: 800; }
.steps p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* audience */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--line); }
.card .emoji { font-size: 30px; line-height: 1; }
.card h3 { font-size: 19px; font-weight: 800; margin-top: 12px; }
.card p { color: var(--ink-2); font-size: 16px; margin-top: 6px; }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }

/* privacy */
.privacy { background: var(--bg-2); }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.privacy-grid div { background: var(--card); border-radius: 20px; padding: 24px; }
.privacy-grid h3 { font-size: 17px; font-weight: 800; }
.privacy-grid p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .privacy-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 32px 22px 0; font-weight: 700; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--brand-dk); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; }

/* final cta */
.final { text-align: center; }
.final-box {
  background: linear-gradient(160deg, #F3DCC2, #FAF6F1 70%); border: 1px solid var(--line); border-radius: 36px; padding: 72px 24px;
}
.final-box img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 24px; box-shadow: var(--shadow); }
.final-box h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.final-box p { color: var(--ink-2); margin: 14px auto 30px; font-size: 18px; }
.final-box .cta-row { justify-content: center; }

/* footer */
.site-footer { padding: 48px 0 64px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover { text-decoration: underline; }

/* reveal on scroll (progressive: only when JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none;
  transform: translateY(140%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 56px; font-size: 17px; }
@media (max-width: 700px) { .sticky-cta { display: block; } body.has-sticky { padding-bottom: 84px; } }
