:root {
  color-scheme: dark;
  --bg: #0d3b1f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f7fff8;
  --muted: #dcebdc;
  --accent: #1f8f4a;
  --accent-strong: #2fbf63;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0d3b1f 0%, #1e6b3a 100%);
  color: var(--text);
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
}

.hero {
  padding: 5rem 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  max-width: 760px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

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

.hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

main {
  padding: 0 1.5rem 3rem;
}

.summary,
.resources {
  max-width: 1120px;
  margin: 0 auto 2rem;
}

.summary {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card,
.resource-list,
.resource-preview {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--muted);
  max-width: 700px;
}

.resource-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(280px, 360px) 1fr;
}

.resource-list {
  display: grid;
  gap: 0.8rem;
}

.resource-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem;
  background: var(--panel-strong);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.resource-item:hover,
.resource-item.active {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.resource-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.resource-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.resource-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.link-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.preview-placeholder {
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 1rem;
  color: var(--muted);
}

.preview-header {
  margin-bottom: 0.8rem;
}

.preview-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 16px;
  background: #000;
}

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