/* Love Bookclip: premium relationship journal layer. */
:root {
  --ink: oklch(0.2 0.022 252);
  --text: oklch(0.31 0.018 252);
  --muted: oklch(0.46 0.015 252);
  --line: oklch(0.84 0.012 82);
  --paper: oklch(0.985 0.004 252);
  --wash: oklch(0.955 0.008 252);
  --panel: oklch(0.998 0.002 252);
  --panel-soft: oklch(0.965 0.007 252);
  --panel-tint: oklch(0.94 0.014 82);
  --forest: oklch(0.39 0.035 172);
  --forest-dark: oklch(0.28 0.03 172);
  --coral: oklch(0.55 0.06 42);
  --rose: oklch(0.46 0.055 28);
  --plum: oklch(0.18 0.033 252);
  --gold: oklch(0.63 0.078 78);
  --lilac: oklch(0.66 0.025 252);
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  --font-hero: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  --font-body-active: var(--font-body);
  --font-display-active: var(--font-display);
  --header-bg: oklch(0.985 0.004 252 / 0.96);
  --answer-bg: oklch(0.96 0.014 82);
  --answer-line: oklch(0.65 0.07 78);
  --ad-bg: oklch(0.965 0.007 252);
  --shadow: 0 5px 8px oklch(0.17 0.025 252 / 0.08);
}

body {
  background: var(--paper);
  letter-spacing: -0.008em;
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}

.site-header {
  min-height: 82px;
  border-bottom-color: oklch(0.65 0.065 78 / 0.52);
  padding: 0 clamp(24px, 4vw, 60px);
  background: var(--header-bg);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.7);
}

.brand {
  gap: 14px;
}

.brand-mark {
  color: var(--gold);
  transform: scale(0.92);
}

.brand strong,
.footer-brand strong {
  font-family: var(--font-display-active);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand em {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.035em;
}

.top-nav {
  gap: clamp(2px, 0.5vw, 10px);
}

.top-nav a {
  min-height: 44px;
  padding: 11px 10px 9px;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  background: transparent;
  color: var(--ink);
}

.reading-settings summary,
.locale-switcher summary {
  border-radius: 2px;
}

.hero {
  min-height: min(76vh, 760px);
  padding: clamp(100px, 13vw, 176px) clamp(24px, 6vw, 88px) clamp(44px, 7vw, 82px);
  background: var(--plum);
  color: white;
  align-items: end;
}

.hero-bg {
  object-position: center 46%;
  filter: saturate(0.68) contrast(1.05) brightness(0.75);
}

.hero::after {
  background:
    linear-gradient(90deg, oklch(0.12 0.028 252 / 0.9) 0%, oklch(0.15 0.03 252 / 0.72) 43%, oklch(0.16 0.026 252 / 0.12) 78%),
    linear-gradient(0deg, oklch(0.1 0.025 252 / 0.72), transparent 58%);
}

.hero-copy,
.hero-note {
  width: min(100%, 1280px);
}

.hero-script {
  color: oklch(0.82 0.085 78);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: oklch(0.9 0.024 78);
  font-weight: 500;
}

.hero h1 {
  max-width: 820px;
  margin-top: 15px;
  color: oklch(0.99 0.004 78);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 14px oklch(0.08 0.02 252 / 0.42);
}

.hero .lead {
  max-width: 650px;
  color: oklch(0.92 0.012 78);
  font-size: clamp(1.02rem, 1.45vw, 1.17rem);
  font-weight: 400;
  line-height: 1.95;
}

.hero-note {
  border-top-color: oklch(0.75 0.06 78 / 0.55);
  color: oklch(0.88 0.02 78);
  font-family: var(--font-display-active);
  font-size: 1rem;
}

.button,
.hero .button {
  min-height: 46px;
  border-radius: 2px;
  padding: 0 22px;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero .button {
  border-color: oklch(0.9 0.018 78 / 0.72);
  background: transparent;
  color: white;
}

.button.primary,
.hero .button.primary {
  border-color: oklch(0.68 0.075 78);
  background: oklch(0.68 0.075 78);
  color: oklch(0.16 0.025 252);
}

.daily-message {
  max-width: 1240px;
  margin-top: clamp(50px, 7vw, 88px);
  border: 0;
  border-radius: 0;
  padding: clamp(34px, 5vw, 62px);
  background: var(--plum);
  box-shadow: none;
}

.daily-copy .hero-script,
.daily-copy .eyebrow {
  color: oklch(0.78 0.075 78);
}

.daily-copy h2 {
  color: white;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 400;
}

.daily-copy p:not(.eyebrow, .hero-script) {
  color: oklch(0.9 0.012 252);
}

.daily-card {
  border: 0;
  border-top: 1px solid oklch(0.72 0.055 78 / 0.62);
  border-radius: 0;
  padding: 24px 0 0;
  background: transparent;
}

.daily-card span,
.daily-card strong,
.daily-card em {
  color: white;
}

.daily-card strong {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 400;
}

.daily-card em {
  color: oklch(0.85 0.01 252);
}

.section-wrap {
  max-width: 1240px;
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(54px, 7vw, 86px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading h2,
.editorial-band h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.3;
}

.eyebrow,
.picks-meta,
.article-card span {
  color: var(--rose);
  font-weight: 600;
}

.picks-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 4vw, 54px);
}

.picks-lead,
.picks-list,
.article-card,
.side-box {
  border-radius: 0;
  box-shadow: none;
}

.picks-lead {
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  border: 0;
  background: var(--wash);
}

.picks-lead img {
  height: 100%;
  min-height: 390px;
  aspect-ratio: auto;
}

.picks-lead-copy {
  align-content: center;
  padding: clamp(28px, 4vw, 50px);
}

.picks-lead-copy strong {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 400;
}

.picks-list {
  border-width: 1px 0;
  background: transparent;
}

.picks-item {
  padding: 18px 4px;
}

.picks-item:hover,
.picks-lead:hover {
  background: var(--panel-soft);
}

.stage {
  grid-template-columns: minmax(230px, 0.46fr) minmax(0, 1.54fr);
  margin-top: 46px;
  padding-top: 38px;
}

.stage-intro h3,
.stage-topic-head a strong {
  font-weight: 400;
}

.stage-topic {
  border-bottom: 1px solid var(--line);
  padding: 18px 0 24px;
}

.stage-links a::before {
  content: "→";
}

.editorial-band {
  margin-top: 0;
  padding: clamp(54px, 7vw, 88px) clamp(24px, 6vw, 88px);
  background: oklch(0.91 0.015 82);
}

.section-hero {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(36px, 6vw, 78px);
  max-width: 1240px;
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

.section-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
}

.section-hero img {
  border-radius: 0;
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.article-grid {
  gap: clamp(28px, 4vw, 48px) clamp(18px, 2.5vw, 32px);
}

.article-card {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.article-card img {
  aspect-ratio: 4 / 3;
  filter: saturate(0.82) contrast(0.98);
}

.article-card div {
  padding: 20px 0 26px;
}

.article-card h3 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.48;
}

.article-hero--image {
  min-height: clamp(460px, 56vw, 680px);
}

.article-hero--image::before {
  background:
    linear-gradient(90deg, oklch(0.1 0.028 252 / 0.88), oklch(0.14 0.03 252 / 0.62) 52%, transparent 88%),
    linear-gradient(0deg, oklch(0.09 0.024 252 / 0.66), transparent 52%);
}

.article-hero--image > div {
  max-width: 1240px;
  padding-bottom: clamp(48px, 7vw, 82px);
}

.article-hero.article-hero--image h1 {
  max-width: 880px;
  font-size: clamp(2.5rem, 5vw, 4.65rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.crumb,
.article-hero--image .crumb {
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 4px 0;
  background: transparent;
}

.article-layout {
  grid-template-columns: minmax(0, 820px) 280px;
  gap: clamp(36px, 5vw, 64px);
  max-width: 1240px;
}

.article-body {
  border: 0;
  border-radius: 0;
  padding: clamp(18px, 2vw, 28px) 0;
  background: transparent;
  box-shadow: none;
}

.article-opening,
.prose-flow--quiet .body-block p {
  font-size: 1.08rem !important;
  line-height: 2;
}

.article-answer {
  border-width: 1px 0;
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
}

.article-figure img {
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 8;
}

.article-visual,
.practice-panel {
  border-radius: 0;
  background: var(--panel-soft);
}

.visual-list li,
.visual-compare-grid > div,
.visual-script-grid > p {
  border-radius: 0;
  box-shadow: none;
}

.article-side {
  top: 104px;
  gap: 22px;
}

.side-box {
  border-width: 1px 0;
  padding: 20px 0;
  background: transparent;
}

.side-box h2 {
  font-weight: 400;
}

.eundabang-promo {
  border-radius: 0;
  background: var(--panel);
}

.eundabang-promo__label {
  padding: 9px 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ios-app-promo {
  padding: clamp(50px, 7vw, 92px) clamp(24px, 5vw, 64px);
  background: var(--paper);
}

.ios-app-promo__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3.5vw, 48px);
  width: min(100%, 1180px);
  margin: 0 auto;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--line);
  padding: clamp(30px, 4vw, 48px) 0;
}

.ios-app-promo__icon {
  width: clamp(72px, 8vw, 96px);
  height: auto;
  border-radius: 16px;
}

.ios-app-promo__copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 700;
}

.ios-app-promo__copy h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.42;
  text-wrap: balance;
}

.ios-app-promo__copy p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.ios-app-promo__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  min-height: 54px;
  border-radius: 10px;
  padding: 8px 17px;
  background: var(--plum);
  color: white;
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.ios-app-promo__link span {
  display: grid;
  text-align: left;
}

.ios-app-promo__link small {
  font-size: 0.58rem;
  line-height: 1.05;
}

.ios-app-promo__link strong {
  font-size: 1.13rem;
  font-weight: 600;
  line-height: 1.25;
}

.ios-app-promo__link:hover {
  background: oklch(0.25 0.033 252);
  color: white;
  transform: translateY(-2px);
}

.ios-app-promo__link:focus-visible {
  outline: 3px solid oklch(0.68 0.075 78 / 0.55);
  outline-offset: 4px;
}

.site-footer {
  border-top-color: oklch(0.62 0.055 78);
  background: var(--plum);
  color: oklch(0.9 0.008 252);
}

.site-footer::before {
  height: 1px;
  border-radius: 0;
  background: oklch(0.7 0.07 78);
}

.site-footer p,
.site-footer nav a,
.footer-copyright {
  color: oklch(0.78 0.012 252) !important;
}

.site-footer nav strong,
.footer-brand strong {
  color: white;
}

.site-footer .footer-brand em {
  color: oklch(0.88 0.06 82);
}

:root[data-theme="dark"] {
  --ink: oklch(0.92 0.008 252);
  --text: oklch(0.82 0.009 252);
  --muted: oklch(0.68 0.012 252);
  --line: oklch(0.4 0.018 252);
  --paper: oklch(0.15 0.02 252);
  --wash: oklch(0.2 0.022 252);
  --panel: oklch(0.18 0.022 252);
  --panel-soft: oklch(0.22 0.02 252);
  --panel-tint: oklch(0.25 0.02 252);
  --plum: oklch(0.11 0.025 252);
  --header-bg: oklch(0.14 0.022 252 / 0.96);
}

:root[data-theme="dark"] .ios-app-promo__copy span {
  color: oklch(0.78 0.065 28);
}

@media (max-width: 940px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px 10px;
    min-height: 0;
    padding: 15px 20px;
  }

  .header-actions {
    display: contents;
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
  }

  .reading-settings {
    grid-column: 3;
    grid-row: 1;
  }

  .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 6px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    min-height: 650px;
    padding-top: 112px;
  }

  .picks-lead {
    grid-template-columns: 1fr;
  }

  .picks-layout {
    grid-template-columns: 1fr;
  }

  .picks-lead img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .section-hero {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ios-app-promo {
    padding: 42px 18px;
  }

  .ios-app-promo__inner {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px 16px;
  }

  .ios-app-promo__icon {
    width: 64px;
    align-self: start;
  }

  .ios-app-promo__copy h2 {
    font-size: 1.3rem;
  }

  .ios-app-promo__copy p {
    font-size: 0.89rem;
  }

  .ios-app-promo__link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    min-height: 600px;
    padding: 108px 20px 34px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.55rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .daily-message {
    margin-top: 0;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-hero--image {
    min-height: 440px;
  }

  .article-hero.article-hero--image h1 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
  }

  .article-opening,
  .prose-flow--quiet .body-block p {
    font-size: 1.03rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .article-hero-bg {
    animation: none !important;
  }

  .ios-app-promo__link {
    transition: none;
  }

  .ios-app-promo__link:hover {
    transform: none;
  }
}
