:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-strong: #edf2fb;
  --line: #d9e2f1;
  --text: #1d2b45;
  --muted: #5f6f8b;
  --brand: #1f5fae;
  --brand-dark: #143d70;
  --accent: #2c7a67;
  --radius: 24px;
  --shadow: 0 18px 42px rgba(17, 31, 61, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #fbfcff, var(--bg));
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--brand-dark);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.56);
}

.section-kicker,
.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 0.9rem;
  background: rgba(31, 95, 174, 0.08);
  color: var(--brand);
}

.status-pill {
  background: rgba(44, 122, 103, 0.12);
  color: var(--accent);
}

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

.section-heading h2,
.hero-copy h1,
.closing-banner h2 {
  margin: 0;
  line-height: 1.05;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-aside,
.section-lead {
  color: var(--muted);
  max-width: 62ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 252, 255, 0.88);
  border-bottom: 1px solid rgba(217, 226, 241, 0.72);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  color: var(--text);
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-nav a,
.header-nav button {
  text-decoration: none;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  font-weight: 700;
}

.header-nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.8rem 1.15rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.header-nav-cta,
.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}

.hero-grid,
.example-layout,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.example-story,
.closing-banner,
.modal-dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.hero-subtitle {
  margin: 1rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.hero-text {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-panel {
  padding: 1rem;
  background: linear-gradient(180deg, #fefefe, #f2f7ff);
}

.hero-panel-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.content-list,
.footer-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.content-list li + li,
.footer-list li + li {
  margin-top: 0.55rem;
}

.info-grid,
.timeline-grid,
.cards-grid {
  display: grid;
  gap: 1rem;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  padding: 1.3rem;
}

.content-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.content-list {
  color: var(--muted);
}

.timeline-grid .content-card {
  min-height: 100%;
}

.timeline-step-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(31, 95, 174, 0.12);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.example-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.example-story,
.closing-banner {
  padding: 1.6rem;
}

.example-story p {
  margin-top: 0;
}

.example-analysis {
  display: grid;
  gap: 1rem;
}

.closing-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
  background: linear-gradient(135deg, #183f73, #2b4f87 58%, #365c96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.closing-banner p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
}

.closing-banner .section-kicker {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.closing-banner .btn-primary {
  min-width: 220px;
  background: rgba(74, 122, 205, 0.95);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #141c31;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  padding: 0 0 2.5rem;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.95fr;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer h2,
.site-footer h3 {
  margin-top: 0;
  color: #fff;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem;
}

.footer-brand-copy {
  display: grid;
}

.footer-brand-copy strong,
.footer-brand-copy span {
  color: #fff;
}

.footer-brand-copy strong {
  font-size: 1rem;
}

.footer-brand-copy span {
  color: rgba(120, 156, 220, 0.95);
  font-weight: 700;
}

.footer-brand p,
.footer-list li,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-list li + li {
  margin-top: 0.75rem;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font: inherit;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.95rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.68);
}

[hidden] {
  display: none !important;
}

.modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.35rem;
}

.podcast-modal-dialog {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.podcast-form-dialog {
  width: min(760px, 100%);
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.modal-copy {
  padding-right: 2.5rem;
  margin-bottom: 1.1rem;
}

.modal-copy h3 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.modal-copy p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.modal-sections {
  display: grid;
  gap: 1rem;
}

.modal-section {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.modal-section h4 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.modal-steps {
  display: grid;
  gap: 0.85rem;
}

.modal-step {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(31, 95, 174, 0.04);
  border: 1px solid rgba(31, 95, 174, 0.1);
}

.modal-step h5 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.modal-step p {
  margin: 0;
  color: var(--muted);
}

.modal-cta-section {
  display: grid;
  gap: 1rem;
}

.podcast-form {
  display: grid;
  gap: 1rem;
}

.podcast-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.podcast-field {
  display: grid;
  gap: 0.45rem;
}

.podcast-field-full {
  grid-column: 1 / -1;
}

.podcast-field span {
  font-weight: 800;
}

.podcast-field input,
.podcast-field select,
.podcast-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.podcast-field small {
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .example-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .timeline-grid,
  .cards-grid,
  .podcast-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading-inline,
  .closing-banner,
  .header-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.5rem 0;
  }

  .container {
    width: min(100% - 1.2rem, 100%);
  }

  .header-nav {
    display: none;
  }

  .info-grid,
  .timeline-grid,
  .cards-grid,
  .podcast-form-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .content-card,
  .example-story,
  .closing-banner,
  .modal-dialog {
    border-radius: 20px;
  }
}
