:root {
  --bg: #f4eee4;
  --panel: rgba(255, 251, 245, 0.84);
  --panel-strong: #fffdf8;
  --text: #1f1d1a;
  --muted: #676157;
  --line: rgba(31, 29, 26, 0.1);
  --accent: #2b7de9;
  --accent-strong: #1f5fbe;
  --accent-soft: rgba(43, 125, 233, 0.1);
  --shadow: 0 20px 60px rgba(69, 57, 36, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43, 125, 233, 0.12), transparent 36%),
    radial-gradient(circle at 90% 10%, rgba(205, 154, 88, 0.12), transparent 28%),
    linear-gradient(180deg, #f8f4ed 0%, #efe7db 100%);
}

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

.text-link {
  color: var(--accent-strong);
  font-weight: 700;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 244, 237, 0.72);
  border-bottom: 1px solid rgba(31, 29, 26, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #5ca4ff);
  color: white;
  box-shadow: 0 14px 24px rgba(43, 125, 233, 0.24);
}

.back-link {
  color: var(--muted);
  font-weight: 600;
}

.page {
  padding: 40px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 34px;
}

.meta {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button,
.button-secondary,
.button-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
}

.button {
  background: linear-gradient(135deg, var(--accent), #5ca4ff);
  color: white;
  box-shadow: 0 14px 30px rgba(43, 125, 233, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.button-disabled {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: default;
}

.hero-visual {
  padding: 20px;
  display: flex;
  align-items: stretch;
}

.visual-card {
  flex: 1;
  min-height: 100%;
  border-radius: calc(var(--radius-xl) - 10px);
  background: var(--panel-strong);
  border: 1px solid rgba(31, 29, 26, 0.06);
  display: grid;
  place-items: center;
  padding: 28px;
}

.visual-card img {
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.full-width {
  margin-bottom: 24px;
}

.section {
  padding: 28px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.section p,
.section li {
  color: var(--muted);
  line-height: 1.8;
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(43, 125, 233, 0.08), rgba(31, 95, 190, 0.12));
  border: 1px solid rgba(43, 125, 233, 0.12);
}

.video-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(43, 125, 233, 0.12);
  background: #d9e7fb;
}

.video-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(13, 25, 43, 0.08), rgba(13, 25, 43, 0.68));
}

.video-overlay strong {
  color: white;
  font-size: 1.1rem;
}

.video-overlay span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.video-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 320px;
  padding: 28px;
}

.video-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.video-placeholder span {
  color: var(--muted);
  line-height: 1.7;
}

.stack {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 640px) {
  .shell {
    width: min(var(--max), calc(100% - 20px));
  }

  .topbar-inner {
    padding: 14px 0;
  }

  .hero-copy,
  .section,
  .hero-visual {
    padding: 22px;
  }
}
