:root {
  --ink: #172033;
  --muted: #5d6678;
  --line: #dfe3ea;
  --surface: #f5f7fa;
  --surface-blue: #f1f5ff;
  --white: #ffffff;
  --accent: #2855d9;
  --accent-dark: #173ba9;
  --violet: #6f4ad8;
  --teal: #14847c;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(40, 85, 217, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 227, 234, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--accent), var(--violet));
  box-shadow: 0 8px 22px rgba(40, 85, 217, 0.2);
}

.brand-mark::before {
  width: 16px;
  height: 20px;
  background: var(--white);
  clip-path: polygon(57% 0, 16% 54%, 46% 54%, 34% 100%, 84% 42%, 53% 42%);
  content: "";
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.button) {
  color: #414b5d;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 10px 26px rgba(40, 85, 217, 0.18);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 30px rgba(40, 85, 217, 0.24);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: #c8ced9;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.button-arrow::after {
  content: "→";
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 82px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.8vw, 54px);
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.55;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 102px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  top: -230px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 40% 40%, rgba(89, 124, 242, 0.16), transparent 66%);
}

.hero::after {
  bottom: -210px;
  left: 18%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(111, 74, 216, 0.09), transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-note::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 132, 124, 0.1);
  content: "";
}

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--surface);
}

.section-blue {
  background: var(--surface-blue);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-header > div:first-child {
  max-width: 760px;
}

.section-header p:last-child,
.section-intro {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.grid-3,
.grid-2,
.workshop-grid {
  display: grid;
  gap: 22px;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.workshop-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover {
  border-color: #cbd2df;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

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

.card p:last-child {
  margin-bottom: 0;
}

.card-number,
.icon-tile {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-blue);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.icon-tile {
  position: relative;
}

.icon-tile::before,
.icon-tile::after {
  position: absolute;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.icon-tile::before {
  width: 18px;
  height: 4px;
  transform: rotate(-36deg);
}

.icon-tile::after {
  width: 4px;
  height: 18px;
  transform: rotate(-36deg);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 750;
}

.card-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.card-link:hover::after {
  transform: translateX(3px);
}

.workshop-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 36px;
}

.workshop-card .tag {
  align-self: flex-start;
}

.workshop-card h2 {
  margin-top: 26px;
  font-size: 32px;
}

.workshop-card .card-link {
  margin-top: auto;
  padding-top: 22px;
}

.tag {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 99px;
  background: var(--surface-blue);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.meta-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.meta-list li {
  color: var(--muted);
  font-size: 14px;
}

.meta-list strong {
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 76px;
}

.feature-panel {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(40, 85, 217, 0.96), rgba(82, 54, 177, 0.94)),
    var(--accent);
  box-shadow: 0 30px 70px rgba(40, 85, 217, 0.2);
}

.feature-panel::before,
.feature-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.feature-panel::before {
  top: -90px;
  right: -60px;
  width: 330px;
  height: 330px;
}

.feature-panel::after {
  right: 70px;
  bottom: -150px;
  width: 390px;
  height: 390px;
}

.panel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78%, 360px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 24px 60px rgba(20, 27, 60, 0.24);
  transform: translate(-50%, -50%) rotate(-2deg);
}

.panel-card small {
  color: var(--accent);
  font-weight: 800;
}

.panel-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 25px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.panel-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #3f495b;
}

.check-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(40, 85, 217, 0.1);
  color: var(--accent);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.quote {
  margin: 26px 0 0;
  padding: 22px 0 0 24px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 16px;
}

.founder-name {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 68px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}

.cta-panel::after {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 119, 232, 0.3), transparent 68%);
  content: "";
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 730px;
}

.cta-panel p {
  max-width: 650px;
  color: #c8cfdb;
  font-size: 18px;
}

.cta-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.page-hero {
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 25%, rgba(40, 85, 217, 0.11), transparent 29%),
    linear-gradient(180deg, #fff, #fbfcff);
}

.page-hero h1 {
  font-size: clamp(45px, 6vw, 70px);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 72px;
}

.detail-content section + section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.detail-content h2 {
  font-size: 36px;
}

.detail-sidebar {
  position: sticky;
  top: 110px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-sidebar h2 {
  font-size: 24px;
}

.detail-sidebar .button {
  width: 100%;
  margin-top: 22px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.format-option {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.format-option strong {
  display: block;
  margin-bottom: 7px;
}

.format-option p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-item {
  padding: 25px 20px;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 720;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.contact-details {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.contact-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-item a {
  font-weight: 700;
}

.form-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

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

label {
  color: #303a4c;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd2dd;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
}

input,
select {
  height: 52px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(40, 85, 217, 0.1);
}

.form-card .button {
  margin-top: 24px;
}

.form-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-message {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 650;
}

.form-message-error {
  border: 1px solid #e8b9b9;
  background: #fff4f4;
  color: #8b2929;
}

.turnstile-field {
  min-height: 65px;
  justify-content: start;
  overflow: hidden;
}

.site-footer {
  padding: 64px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.footer-copy {
  max-width: 380px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-heading {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - 78px);
    align-items: stretch;
    padding: 28px 20px;
    background: var(--white);
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links a:not(.button) {
    padding: 12px;
    font-size: 18px;
  }

  .nav-links .button {
    margin-top: 10px;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-panel {
    min-height: 420px;
  }

  .detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .detail-sidebar {
    position: static;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 32px), var(--content));
  }

  .hero {
    padding: 82px 0 74px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .section {
    padding: 76px 0;
  }

  .section-header {
    display: block;
    margin-bottom: 34px;
  }

  .section-header .card-link {
    margin-top: 20px;
  }

  .grid-3,
  .grid-2,
  .workshop-grid,
  .format-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .workshop-card {
    min-height: 0;
  }

  .field-full {
    grid-column: auto;
  }

  .cta-panel {
    padding: 42px 28px;
  }

  .page-hero {
    padding: 70px 0 58px;
  }

  .detail-content section + section {
    margin-top: 46px;
    padding-top: 46px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 26px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
