/*
Theme Name: OneulDeal
Theme URI: https://oneuldeal.com
Author: OneulDeal
Description: WordPress theme for OneulDeal, a Korean daily deal intelligence site.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: oneuldeal
*/

:root {
  --od-ink: #161616;
  --od-muted: #666666;
  --od-line: #e8e8e8;
  --od-bg: #ffffff;
  --od-soft: #f7f8fa;
  --od-accent: #ff4d2e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--od-ink);
  background: var(--od-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--od-line);
  background: #fff;
}

.site-header__inner,
.site-main,
.site-footer__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.site-logo {
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--od-muted);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  padding: 64px 0 42px;
}

.hero__eyebrow {
  margin: 0 0 12px;
  color: var(--od-accent);
  font-size: 14px;
  font-weight: 800;
}

.hero__title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__summary {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--od-muted);
  font-size: 18px;
  line-height: 1.6;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 0 72px;
}

.deal-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--od-line);
  border-radius: 8px;
  background: var(--od-soft);
}

.deal-card__label {
  margin: 0 0 8px;
  color: var(--od-accent);
  font-size: 13px;
  font-weight: 800;
}

.deal-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.deal-card__text {
  margin: 12px 0 0;
  color: var(--od-muted);
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--od-line);
}

.site-footer__inner {
  padding: 28px 0;
  color: var(--od-muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 42px;
  }

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