:root {
  color-scheme: light;
  --bg: #f7f2e9;
  --bg-accent: #f6e7d6;
  --card: #ffffff;
  --ink: #2b2520;
  --muted: #6f6259;
  --accent: #d96c45;
  --accent-dark: #b24a26;
  --stroke: rgba(43, 37, 32, 0.12);
  --shadow: 0 24px 60px rgba(43, 37, 32, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(217, 108, 69, 0.25),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(178, 74, 38, 0.2),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(243, 200, 161, 0.5),
      transparent 50%
    );
  z-index: -1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 72px 8vw 48px;
}

.hero__content h1 {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 999px;
  background: var(--bg-accent);
  border: 1px solid rgba(217, 108, 69, 0.18);
  box-shadow: 0 12px 24px rgba(217, 108, 69, 0.12);
  width: fit-content;
}

.lang-btn {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.65);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease,
    transform 120ms ease, box-shadow 120ms ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: rgba(217, 108, 69, 0.4);
  box-shadow: 0 10px 20px rgba(217, 108, 69, 0.28);
  transform: translateY(-1px);
}

.lang-btn:hover {
  border-color: rgba(217, 108, 69, 0.35);
}

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

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero__actions input {
  flex: 1 1 260px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.7);
}

.hero__actions button {
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 10px 20px rgba(217, 108, 69, 0.3);
}

.hero__actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(217, 108, 69, 0.35);
}

.hero__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero__panel {
  display: flex;
  justify-content: center;
}

.panel__card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  max-width: 320px;
  width: 100%;
}

.panel__card h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.panel__card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
}

.release__desc {
  color: var(--muted);
  margin-bottom: 14px;
}

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

.ad-slot {
  margin-top: 16px;
  border: 1px dashed rgba(217, 108, 69, 0.4);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
}

.ad-slot__label {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent-dark);
}

.ad-slot__meta {
  font-size: 0.85rem;
}

.ad-slot--panel {
  min-height: 250px;
}

.ad-slot--banner {
  margin-top: 24px;
  min-height: 90px;
}

.release-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--stroke);
  cursor: pointer;
  text-align: left;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.release-item:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 108, 69, 0.35);
  box-shadow: 0 10px 24px rgba(43, 37, 32, 0.12);
}

.release-item__title {
  font-weight: 600;
  color: var(--ink);
}

.release-item__meta {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.main {
  padding: 0 8vw 64px;
}

.section {
  margin-top: 40px;
}

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.section__head h2 {
  font-size: 2rem;
}

.section__head p {
  max-width: 420px;
  color: var(--muted);
}

.grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  padding: 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 30px rgba(43, 37, 32, 0.08);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.card--link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: grid;
}

.card--link:focus-visible {
  outline: 2px solid rgba(217, 108, 69, 0.6);
  outline-offset: 3px;
}

.card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: rgba(217, 108, 69, 0.12);
  border-radius: 50%;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  line-height: 1.4;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-accent);
  color: var(--accent-dark);
  font-weight: 600;
}

.status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.next {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.next__item {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--stroke);
}

.footer {
  padding: 24px 8vw 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 30;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 13, 0.55);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  width: min(560px, 92vw);
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 18px;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: rgba(43, 37, 32, 0.1);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.modal__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.modal__header h3 {
  font-size: 1.6rem;
  margin-top: 8px;
}

.modal__header p {
  color: var(--muted);
  line-height: 1.5;
}

.modal__section h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.modal__section p {
  color: var(--muted);
  line-height: 1.5;
}

.modal__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal__label {
  font-weight: 600;
  color: var(--ink);
}

.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal__actions {
  display: flex;
  justify-content: flex-start;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .hero {
    padding: 56px 6vw 32px;
  }

  .main {
    padding: 0 6vw 48px;
  }
}
