:root {
  --shell-bg: #fff8ee;
  --shell-ink: #1f2f3d;
  --shell-muted: #5f6c75;
  --shell-primary: #2957a4;
  --shell-secondary: #ef7b45;
  --shell-accent: #ffd86b;
  --shell-line: rgba(41, 87, 164, 0.14);
  --shell-paper: rgba(255, 255, 255, 0.82);
  --shell-shadow: 0 24px 60px rgba(34, 52, 78, 0.12);
}

* {
  box-sizing: border-box;
}

body.app-shell {
  margin: 0;
  color: var(--shell-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 216, 107, 0.5), transparent 28%),
    radial-gradient(circle at top right, rgba(239, 123, 69, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, var(--shell-bg) 56%, #f5f8ff 100%);
  font-family: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
}

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

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

.shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--shell-ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.shell-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--shell-primary), #4c8be8);
  color: white;
  box-shadow: 0 12px 24px rgba(41, 87, 164, 0.28);
}

.shell-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.shell-nav a,
.shell-nav button {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.76);
  color: var(--shell-ink);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--shell-line);
}

.shell-nav .shell-primary-action,
.shell-button.primary {
  background: var(--shell-primary);
  color: white;
  box-shadow: 0 14px 30px rgba(41, 87, 164, 0.22);
}

.shell-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 52px;
}

.shell-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.shell-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px var(--shell-line);
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--shell-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shell-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.shell-hero p {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--shell-muted);
}

.shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.shell-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  color: var(--shell-ink);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 0 0 1px var(--shell-line);
}

.shell-button.secondary {
  background: transparent;
}

.shell-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--shell-muted);
}

.shell-poster {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 216, 107, 0.92), transparent 24%),
    radial-gradient(circle at 70% 24%, rgba(239, 123, 69, 0.68), transparent 22%),
    linear-gradient(150deg, #1f467a 0%, #2957a4 48%, #4c8be8 100%);
  box-shadow: var(--shell-shadow);
}

.shell-poster::before,
.shell-poster::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.shell-poster::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -70px;
}

.shell-poster::after {
  width: 240px;
  height: 240px;
  left: -50px;
  bottom: -80px;
}

.shell-poster-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: white;
}

.shell-poster-meter {
  align-self: flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.shell-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shell-poster-card {
  min-height: 118px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.shell-poster-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
}

.shell-section {
  padding: 22px 0 44px;
}

.shell-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.shell-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.shell-section-head p {
  margin: 0;
  max-width: 52ch;
  color: var(--shell-muted);
  line-height: 1.6;
}

.shell-strips {
  display: grid;
  gap: 16px;
}

.shell-strip {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 24px;
  background: var(--shell-paper);
  box-shadow: inset 0 0 0 1px var(--shell-line);
  backdrop-filter: blur(14px);
}

.shell-strip-label {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--shell-primary);
  letter-spacing: 0.08em;
}

.shell-strip h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.shell-strip p {
  margin: 0;
  color: var(--shell-muted);
}

.shell-strip-meta {
  text-align: right;
  font-weight: 800;
}

.shell-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shell-glance article {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px var(--shell-line);
}

.shell-glance strong {
  display: block;
  margin-top: 12px;
  font-size: 1.3rem;
}

.shell-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 26px 0 40px;
  color: var(--shell-muted);
  font-size: 0.94rem;
}

.shell-footer a {
  color: var(--shell-primary);
}

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

  .shell-strip-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .shell-wrap {
    width: min(100% - 24px, 1160px);
  }

  .shell-topbar,
  .shell-footer,
  .shell-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .shell-poster {
    min-height: 360px;
  }
}
