:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --surface-alt: #f1eee8;
  --text: #1f2937;
  --muted: #5d6775;
  --border: #ddd8cf;
  --accent: #b89449;
  --accent-dark: #8c6a2f;
  --header: #121826;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  --radius: 22px;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #f8f6f1 0%, #f4f2ed 100%);
  color: var(--text);
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 24, 38, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topline,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topline {
  padding: 0.9rem 0;
  color: #f7f5f0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tag {
  color: rgba(247,245,240,0.8);
  font-size: 0.95rem;
}

.hero {
  padding: 2rem 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy,
.article section,
.image-block {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(221,216,207,0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid rgba(221,216,207,0.8);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 700;
}

h1, h2 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #161d2b;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.65rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.notice {
  margin-top: 1.2rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(184,148,73,0.12), rgba(184,148,73,0.05));
  border: 1px solid rgba(184,148,73,0.2);
}

.article {
  padding: 1rem 0 4rem;
}

.article section,
.image-block {
  padding: clamp(1.2rem, 2.6vw, 2rem);
  margin-bottom: 1rem;
}

.article p,
.article li {
  font-size: 1rem;
  color: var(--text);
}

.article p:last-child,
.article ul:last-child,
.article details:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

.image-block {
  overflow: hidden;
}

.image-block img {
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.image-block figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.table-wrap::-webkit-scrollbar {
  height: 10px;
}
.table-wrap::-webkit-scrollbar-thumb {
  background: #cfc7ba;
  border-radius: 999px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

thead th {
  background: #191f2c;
  color: #faf8f5;
  text-align: left;
  font-size: 0.96rem;
}

th, td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

tbody tr:nth-child(even) td {
  background: #faf8f4;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.faq-section details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1rem;
}

.faq-section details + details {
  margin-top: 0.8rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-dark);
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after { content: "–"; }

details p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 1.25rem 0 2rem;
}

.footer-inner {
  padding: 1rem 1.1rem;
  background: #141b29;
  color: rgba(255,255,255,0.85);
  border-radius: 18px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1rem;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.68;
  }

  .container {
    width: min(calc(100% - 1rem), var(--max));
  }

  .topline,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .article section,
  .image-block {
    border-radius: 18px;
  }

  th, td {
    padding: 0.85rem 0.9rem;
  }
}
