:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-strong: #e9f5f3;
  --ink: #102528;
  --muted: #607073;
  --line: #d7e2df;
  --accent: #0e5f74;
  --accent-2: #d7442f;
  --accent-soft: #dff0ec;
  --gold: #f0b83f;
  --shadow: 0 22px 70px rgba(14, 95, 116, 0.13);
  --radius: 8px;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(223, 240, 236, 0.86), transparent 420px),
    var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
}

.brand img {
  flex: 0 0 auto;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent);
  padding: 0 15px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.text-link:hover {
  border-color: var(--accent);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 98px);
  padding: 26px 0 54px;
}

.content-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 76px 0 42px;
}

.content-hero.compact {
  min-height: 260px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy,
.content-hero > div {
  min-width: 0;
}

.content-hero h1 {
  margin: 0;
  width: min(100%, 760px);
  max-width: 100%;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.lead {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.quick-check,
.checker-form {
  margin-top: 28px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.input-row {
  display: flex;
  gap: 10px;
  width: min(100%, 520px);
}

input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 14px 15px;
  font-size: 17px;
  font-weight: 700;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 95, 116, 0.14);
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

button:hover {
  background: #09495a;
}

button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span,
.keyword-cloud a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.result-board,
.checker-panel,
.countdown-panel {
  border: 1px solid rgba(14, 95, 116, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.result-board {
  overflow: hidden;
}

.page-board {
  margin-bottom: 54px;
}

.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.board-head p,
.section-heading p,
.source-note,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.board-head p {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.board-head h2 {
  margin: 6px 0 0;
  font-size: 26px;
  letter-spacing: 0;
}

.board-head time {
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.special-prize {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--accent-soft), #fff7e0);
}

.special-prize span {
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 900;
}

.special-prize strong {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.prize-table {
  display: grid;
}

.prize-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  min-height: 52px;
  border-top: 1px solid var(--line);
}

.prize-row:first-child {
  border-top: 0;
}

.prize-label {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f6f5;
  color: var(--accent);
  font-weight: 900;
}

.numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 14px;
}

.number-pill {
  border-radius: 6px;
  background: #f9fbfb;
  border: 1px solid #e6eeec;
  padding: 5px 8px;
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.source-note {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.ad-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 92px;
  margin: 8px 0 46px;
  border: 1px dashed #b8c9c5;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.ad-band span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ad-band strong {
  color: var(--ink);
  font-size: 16px;
}

.sidebar-ad {
  background: var(--surface-strong);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-ad {
  background: var(--surface-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}

.tool-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 54px;
}

.checker-panel,
.countdown-panel {
  padding: 24px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.seo-section h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

.check-result {
  margin-top: 20px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 16px;
}

.check-result strong,
.check-result span {
  display: block;
}

.check-result strong {
  font-size: 18px;
}

.check-result span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.check-result.win {
  background: #fff1e9;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.countdown div,
.schedule-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfb;
  padding: 18px 14px;
}

.countdown strong {
  display: block;
  color: var(--accent);
  font-size: 34px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown span,
.schedule-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.schedule-card {
  margin-top: 10px;
}

.schedule-card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.archive-section,
.seo-section,
.faq-section {
  margin-bottom: 54px;
}

.archive-list {
  display: grid;
  gap: 10px;
}

.archive-list.expanded {
  gap: 12px;
}

.archive-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 15px 18px;
}

.archive-item strong {
  font-size: 18px;
}

.archive-item span {
  color: var(--muted);
  font-weight: 800;
}

.article-body {
  max-width: 820px;
  margin: 0 0 60px;
  color: var(--ink);
}

.article-body h2 {
  margin: 34px 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-body p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.facts-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
  color: var(--accent);
  font-weight: 900;
}

.facts-grid a:hover {
  border-color: var(--accent);
}

.seo-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}

.seo-section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-section details {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 900;
}

.faq-section p {
  margin: -4px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .content-hero,
  .tool-grid,
  .seo-section {
    grid-template-columns: 1fr;
  }

  .content-hero {
    display: grid;
    align-items: start;
    justify-content: stretch;
    padding-top: 34px;
  }

  .hero-section {
    min-height: auto;
    gap: 26px;
    padding-top: 16px;
  }

  .result-board {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .hero-copy h1 {
    font-size: 52px;
  }

  .content-hero h1 {
    width: min(100%, 360px);
    font-size: 36px;
  }

  .content-hero .lead {
    width: min(100%, 360px);
  }

  .lead {
    font-size: 18px;
  }

  .input-row {
    flex-direction: column;
  }

  button {
    width: 100%;
  }

  .special-prize {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .special-prize strong {
    font-size: 46px;
  }

  .board-head,
  .site-footer,
  .archive-item {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .board-head {
    align-items: flex-start;
  }

  .prize-row {
    grid-template-columns: 58px 1fr;
  }

  .number-pill {
    font-size: 16px;
  }

  .ad-band {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

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