:root {
  --ink: #202229;
  --muted: #656c7a;
  --line: #dde5eb;
  --paper: #ffffff;
  --wash: #f4f7f6;
  --accent: #4768ff;
  --teal: #1aa384;
  --deep: #1f2535;
  --critical: #ffe5e1;
  --warn: #fff0bd;
  --understand: #dcecff;
  --proof: #dff6e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f7f8;
  font-family:
    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(232, 235, 240, 0.72);
  background: rgba(250, 252, 252, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.header-actions,
.header-cta,
.lang-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 600;
}

.brand span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
}

.site-header nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.header-actions {
  justify-self: end;
  gap: 10px;
}

.header-cta {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  font-weight: 600;
}

.lang-switch {
  min-height: 34px;
  border: 1px solid rgba(101, 108, 122, 0.18);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.66);
  color: #4a5160;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(420px, 0.82fr);
  gap: clamp(36px, 4vw, 70px);
  align-items: center;
  min-height: 100svh;
  padding: 96px clamp(28px, 5vw, 80px) 42px;
  background:
    radial-gradient(circle at 12% 18%, rgba(71, 104, 255, 0.18), transparent 28%),
    radial-gradient(circle at 72% 16%, rgba(26, 163, 132, 0.16), transparent 25%),
    linear-gradient(120deg, #fbfcff 0%, #edf7f3 46%, #f4f6ff 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(245, 247, 248, 0.72));
}

.hero-copy {
  max-width: 760px;
  padding-left: 0;
}

.kicker {
  margin: 0 0 18px;
  color: #5f6680;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1,
h2 {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 5.2vw, 82px);
  font-weight: 760;
  line-height: 0.94;
}

.hero-copy > p:not(.kicker) {
  max-width: 580px;
  margin: 28px 0 0;
  color: #555b67;
  font-size: 20px;
  line-height: 1.5;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  min-height: 32px;
  border: 1px solid rgba(101, 108, 122, 0.2);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.68);
  color: #4a5160;
  font-size: 13px;
  font-weight: 500;
  animation: chipIn 520ms ease both;
}

.hero-proof span:nth-child(2) {
  animation-delay: 120ms;
}

.hero-proof span:nth-child(3) {
  animation-delay: 240ms;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-link {
  background: var(--deep);
  color: #fff;
}

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

.primary-link:hover,
.secondary-link:hover,
.header-cta:hover,
.lang-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 37, 53, 0.12);
}

.hero-visual {
  justify-self: end;
  width: min(100%, 660px);
  transform: translateY(12px);
  animation: floatIn 720ms ease-out both;
}

.mini-topbar {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  padding: 0 14px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(38, 42, 54, 0.12);
}

.mini-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #263142;
}

.mini-topbar em {
  border-radius: 8px;
  padding: 5px 10px;
  background: var(--accent);
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.workspace-shot {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 390px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(38, 42, 54, 0.12);
}

.workspace-shot aside {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #fbfbfc;
}

.workspace-shot aside h2,
.workspace-shot article h2 {
  margin: 0 0 18px;
}

.workspace-shot aside p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: #5f6570;
  line-height: 1.45;
}

.workspace-shot button {
  width: 100%;
  min-height: 40px;
  margin-top: 22px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.workspace-shot button:hover {
  background: #3657ed;
}

.workspace-shot article {
  position: relative;
  padding: 42px 130px 44px 42px;
  font-size: 16px;
  line-height: 1.62;
}

.progress-line {
  height: 6px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: #eef1f6;
  overflow: hidden;
}

.progress-line i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: progressPulse 3.8s ease-in-out infinite;
}

mark {
  border-radius: 4px;
  padding: 1px 3px;
  color: inherit;
}

.marker-blue,
.marker-yellow,
.marker-green,
.marker-red {
  --marker-color: rgba(71, 104, 255, 0.22);
  position: relative;
  display: inline-block;
  border-radius: 0;
  padding: 0 0.08em;
  background: transparent;
  isolation: isolate;
}

.marker-blue::before,
.marker-yellow::before,
.marker-green::before,
.marker-red::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.52em;
  border-radius: 0.08em;
  background: var(--marker-color);
  transform: scaleX(0);
  transform-origin: left center;
  animation: markerBehind 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.marker-hero::before {
  height: 0.62em;
  bottom: 0;
  animation-duration: 980ms;
}

.marker-code::before {
  left: -0.08em;
  right: -0.08em;
  bottom: -0.02em;
  height: 0.68em;
  border-radius: 0.1em;
  animation-duration: 920ms;
}

.marker-yellow {
  --marker-color: rgba(240, 211, 108, 0.5);
}

.marker-green {
  --marker-color: rgba(121, 215, 161, 0.38);
}

.marker-red {
  --marker-color: rgba(243, 166, 160, 0.42);
}

.yellow {
  background: var(--warn);
}

.red {
  background: var(--critical);
}

.blue {
  background: var(--understand);
}

.bubble {
  position: absolute;
  right: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  background: #fff;
  color: #333945;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 18px 42px rgba(38, 42, 54, 0.12);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.bubble:hover {
  transform: translateX(-4px);
  box-shadow: 0 24px 52px rgba(38, 42, 54, 0.16);
}

.bubble.one {
  top: 154px;
}

.bubble.two {
  top: 250px;
}

.bubble.three {
  top: 326px;
  color: #2559a4;
}

.intro-section,
.program-section,
.process-section,
.artifact-section,
.coding-section,
.trust-section,
.pilot,
.faq-section {
  padding: 116px 8vw;
}

.intro-section h2,
.program-section h2,
.process-section h2,
.artifact-section h2,
.coding-section h2,
.trust-section h2,
.pilot h2,
.faq-section h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 760;
  line-height: 1;
}

.intro-section p,
.program-copy p,
.program-lanes p,
.section-lead p,
.artifact-flow p,
.trust-list p,
.pilot p,
.code-card p,
.faq-list p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  min-height: 64svh;
  background: #f5f7f8;
}

.intro-section h2,
.intro-section p {
  max-width: 760px;
}

.intro-section p:not(.kicker) {
  margin-top: 24px;
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.45;
}

.team-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 1.18;
  background: #e7ecef;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-lead {
  max-width: 900px;
}

.section-lead p:not(.kicker) {
  margin-top: 22px;
}

.program-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(620px, 1fr);
  gap: clamp(42px, 5vw, 84px);
  align-items: start;
  background: #ffffff;
}

.program-copy {
  position: sticky;
  top: 96px;
}

.program-copy p:not(.kicker) {
  margin-top: 24px;
}

.program-lanes {
  display: grid;
  gap: 0;
}

.program-lanes article {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(380px, 1fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
  padding: 34px 0;
  border-top: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.program-lanes article:last-child {
  border-bottom: 0;
}

.program-lanes article:hover {
  transform: translateX(8px);
}

.program-lanes span {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.program-lanes strong {
  display: block;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 760;
  line-height: 1.12;
}

.program-lanes p {
  max-width: 540px;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.58;
}

.process-section {
  background:
    linear-gradient(90deg, rgba(71, 104, 255, 0.09) 0, rgba(71, 104, 255, 0.09) 3px, transparent 3px, transparent 100%),
    #ffffff;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 30px;
  margin-top: 72px;
  border-top: 0;
  border-bottom: 0;
}

.process-track article {
  min-height: 240px;
  padding: 0;
  border-right: 0;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.process-track article:last-child {
  border-right: 0;
}

.process-track article:hover {
  transform: translateY(-10px);
}

.process-track span,
.artifact-flow span {
  display: inline-block;
  margin-bottom: 44px;
  box-shadow: inset 0 -0.7em rgba(71, 104, 255, 0.18);
  color: var(--accent);
  font-size: 22px;
  font-weight: 760;
  line-height: 1;
  animation: markerSweep 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 22%;
}

.process-track strong,
.artifact-flow strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 600;
}

.artifact-section {
  background:
    linear-gradient(90deg, rgba(71, 104, 255, 0.08) 0, rgba(71, 104, 255, 0.08) 3px, transparent 3px, transparent 100%),
    #f5f7f8;
}

.artifact-flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 84px);
  margin-top: 72px;
}

.artifact-flow article {
  min-height: 250px;
  border-top: 0;
  padding-top: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.artifact-flow article:hover {
  transform: translateY(-8px);
}

.coding-section {
  background: #f5f7f8;
}

.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 72px;
}

.code-card {
  min-height: 190px;
  padding: 0 18px 0 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.code-card:hover {
  transform: translateY(-6px);
}

.code-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 600;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: 80px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(26, 163, 132, 0.13) 0, rgba(26, 163, 132, 0.13) 3px, transparent 3px, transparent 100%),
    #f3f8f6;
}

.principle-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.principle-notes span {
  position: relative;
  color: #3f4652;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  isolation: isolate;
}

.principle-notes span::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.1em;
  height: 0.56em;
  border-radius: 0.08em;
  background: rgba(26, 163, 132, 0.18);
  transform: scaleX(0);
  transform-origin: left center;
  animation: markerBehind 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 24%;
}

.pilot {
  min-height: 70svh;
  background:
    radial-gradient(circle at 80% 16%, rgba(71, 104, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #eef4f8 100%);
}

.pilot p {
  max-width: 880px;
  margin: 28px 0 34px;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 940px;
  margin-top: 64px;
}

.faq-item {
  border-top: 1px solid rgba(101, 108, 122, 0.18);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(101, 108, 122, 0.18);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 24px;
  align-items: center;
  min-height: 92px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  position: relative;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 720;
  line-height: 1.12;
}

.faq-item summary span::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.5em;
  border-radius: 0.08em;
  background: rgba(220, 236, 255, 0.95);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.faq-item[open] summary span::before,
.faq-item summary:hover span::before {
  transform: scaleX(1);
}

.faq-item summary i {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(101, 108, 122, 0.2);
  border-radius: 50%;
  background: #fff;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #4f5664;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  max-width: 760px;
  margin: -10px 0 28px;
  animation: faqReveal 220ms ease both;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 8vw;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.page-shell {
  min-height: calc(100svh - 84px);
  padding: 124px 8vw 92px;
  background:
    radial-gradient(circle at 14% 12%, rgba(71, 104, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f7f8 100%);
}

.content-page {
  max-width: 880px;
}

.content-page-wide {
  max-width: 1240px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.back-link:hover {
  color: var(--ink);
}

.content-page h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
}

.page-intro {
  max-width: 720px;
  margin: 28px 0 58px;
  color: #555b67;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}

.article-hero-image {
  margin: -18px 0 58px;
}

.article-hero-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 1.9;
}

.content-body {
  max-width: 760px;
}

.content-page-wide .content-body {
  max-width: none;
}

.content-body h2 {
  margin: 52px 0 14px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.content-body p {
  margin: 0 0 18px;
  color: #4d5563;
  font-size: 18px;
  line-height: 1.7;
}

.content-body ul,
.content-body ol {
  margin: 0 0 24px;
  padding-left: 1.3em;
  color: #4d5563;
  font-size: 18px;
  line-height: 1.65;
}

.content-body li + li {
  margin-top: 7px;
}

.content-body a {
  color: var(--accent);
  font-weight: 600;
}

.content-body a[href^="mailto:"] {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
}

.freewrite-page {
  display: grid;
  gap: clamp(70px, 9vw, 118px);
}

.intake-landing {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 520px);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  min-height: calc(100svh - 220px);
  padding: 22px 0 58px;
}

.intake-copy {
  animation: riseIn 620ms ease both;
}

.intake-copy h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(48px, 5.8vw, 82px);
  font-weight: 760;
  line-height: 0.98;
}

.intake-copy p:not(.kicker) {
  max-width: 620px;
  margin: 26px 0 0;
  color: #545d6d;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.48;
}

.intake-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.intake-points span {
  border: 1px solid rgba(101, 108, 122, 0.18);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.78);
  color: #4a5160;
  font-size: 13px;
  font-weight: 650;
}

.freewrite-page > * {
  min-width: 0;
  max-width: 100%;
}

.freewrite-hero {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 0 12px;
  text-align: center;
  animation: riseIn 620ms ease both;
}

.freewrite-hero h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 760;
  line-height: 0.94;
}

.freewrite-hero p:not(.kicker) {
  max-width: 690px;
  margin: 28px 0 0;
  color: #545d6d;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
}

.freewrite-hero .primary-link {
  margin-top: 34px;
  min-height: 56px;
  padding: 0 28px;
  background: #4f46e5;
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.24);
  font-size: 18px;
}

.freewrite-hero > span {
  margin-top: 26px;
  color: #7a8291;
  font-size: 15px;
}

.signup-stage {
  display: grid;
  place-items: center;
}

.signup-panel {
  width: 100%;
  max-width: 620px;
  padding: 6px 0 0;
  animation: riseIn 620ms ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 26%;
}

.signup-panel h2 {
  margin: 0 0 42px;
  text-align: center;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
}

.oauth-button,
.signup-form button {
  width: 100%;
  min-height: 58px;
  border-radius: 13px;
  font: inherit;
  font-size: 20px;
  font-weight: 650;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.oauth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(101, 108, 122, 0.28);
  background: #fff;
  color: #12151d;
}

.oauth-button strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #4f46e5;
  font-weight: 760;
}

.form-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 40px 0 32px;
  color: #8b909b;
  font-weight: 600;
}

.form-divider::before,
.form-divider::after {
  content: "";
  height: 1px;
  background: rgba(101, 108, 122, 0.18);
}

.signup-form {
  display: grid;
  gap: 22px;
}

.signup-form label {
  display: grid;
  gap: 10px;
  color: #12151d;
  font-size: 20px;
  font-weight: 650;
}

.signup-form input,
.prompt-card textarea,
.chat-input textarea {
  width: 100%;
  border: 1px solid rgba(101, 108, 122, 0.24);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.signup-form input {
  min-height: 58px;
  border-radius: 13px;
  padding: 0 18px;
  font-size: 20px;
}

.signup-form input:focus,
.prompt-card textarea:focus,
.chat-input textarea:focus {
  outline: 3px solid rgba(79, 70, 229, 0.2);
  border-color: rgba(79, 70, 229, 0.72);
}

.signup-form button {
  border: 0;
  margin-top: 12px;
  background: #4f46e5;
  color: #fff;
}

.oauth-button:hover,
.signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(31, 37, 53, 0.12);
}

.signup-panel > a {
  display: block;
  margin-top: 30px;
  text-align: center;
  color: #141820;
  font-size: 19px;
  font-weight: 650;
}

.intake-after-login {
  padding: 72px 0;
}

.intake-after-login > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 74px);
  margin-top: 34px;
}

.intake-after-login article {
  transition: transform 180ms ease;
}

.intake-after-login article:hover {
  transform: translateY(-6px);
}

.intake-after-login span {
  display: inline-block;
  margin-bottom: 22px;
  box-shadow: inset 0 -0.7em rgba(71, 104, 255, 0.18);
  color: var(--accent);
  font-size: 22px;
  font-weight: 760;
}

.intake-after-login strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
}

.intake-after-login p,
.program-pilot p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.program-pilot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: 18px;
  padding: clamp(42px, 6vw, 72px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(71, 104, 255, 0.13), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef4f8 100%);
}

.program-pilot h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1;
}

.program-pilot p {
  max-width: 760px;
  margin: 24px 0 0;
}

.resource-magazine {
  display: grid;
  gap: clamp(54px, 7vw, 92px);
}

.resource-feature {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.resource-feature img,
.resource-card img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.resource-feature img {
  aspect-ratio: 1.28;
  border-radius: 22px;
}

.resource-feature h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 0.98;
}

.resource-feature p:not(.kicker) {
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.resource-feature a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(71, 104, 255, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.course-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.course-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(101, 108, 122, 0.16);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 37, 53, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(31, 37, 53, 0.1);
}

.course-card span,
.course-card small {
  color: #5c6dff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-card strong {
  color: var(--ink);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
}

.course-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.course-card i,
.course-progress i {
  display: block;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(101, 108, 122, 0.16);
}

.course-card b,
.course-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8ab7ff, #83d7b0);
}

.course-outline {
  display: grid;
  gap: 12px;
  margin: 28px 0 40px;
}

.course-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  border: 1px solid rgba(101, 108, 122, 0.16);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fbfcfd;
}

.course-progress strong {
  font-size: 18px;
}

.course-progress span {
  color: var(--muted);
  font-weight: 800;
}

.course-progress i {
  grid-column: 1 / -1;
}

.resource-card {
  display: grid;
  align-content: start;
  gap: 12px;
  color: inherit;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.resource-card:hover {
  transform: translateY(-6px);
}

.resource-card img {
  aspect-ratio: 1.12;
  border-radius: 18px;
}

.resource-card span {
  margin-top: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.resource-card strong {
  display: block;
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.08;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.resource-articles {
  display: grid;
  gap: 0;
  max-width: 920px;
}

.resource-articles article {
  border-top: 1px solid rgba(101, 108, 122, 0.18);
  padding: 42px 0;
}

.resource-articles article:last-child {
  border-bottom: 1px solid rgba(101, 108, 122, 0.18);
}

.resource-articles h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.04;
}

.resource-articles p:not(.kicker) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.resource-links a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent);
  font-weight: 760;
}

.writer-demo {
  padding-bottom: 18px;
  animation: riseIn 620ms ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 24%;
}

.writer-window {
  display: grid;
  grid-template-columns: 214px minmax(430px, 1fr) 300px;
  width: 100%;
  min-width: 0;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(101, 108, 122, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(31, 37, 53, 0.11);
}

.writer-sidebar {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  border-right: 1px solid rgba(101, 108, 122, 0.16);
  padding: 14px 12px;
  background: #fbfbfc;
}

.writer-profile {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  border-radius: 13px;
  padding: 0 10px;
  background: #f0f1f4;
}

.writer-profile span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #83d7b0);
}

.writer-profile strong,
.writer-profile em {
  font-size: 14px;
  font-style: normal;
}

.writer-sidebar nav {
  display: grid;
  gap: 4px;
}

.writer-sidebar nav a {
  border-radius: 10px;
  padding: 9px 10px;
  color: #30343d;
  font-size: 14px;
  font-weight: 600;
}

.writer-sidebar nav a.active {
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.08);
}

.writer-limits {
  align-self: end;
  display: grid;
  gap: 7px;
  color: #6c7280;
  font-size: 12px;
}

.writer-limits p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: 1.2;
}

.writer-limits i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #e3e5ea;
}

.writer-limits i.hot {
  background: #e15759;
}

.price-button {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 9px;
  background: #4f46e5;
  color: #fff;
  font-weight: 700;
}

.writer-main {
  min-width: 0;
  background: #fff;
}

.writer-topbar,
.writer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border-bottom: 1px solid rgba(101, 108, 122, 0.16);
  padding: 0 16px;
}

.writer-topbar strong {
  font-size: 16px;
}

.writer-topbar div,
.writer-toolbar {
  gap: 18px;
  color: #2c313a;
  font-size: 13px;
  font-weight: 650;
}

.writer-topbar button {
  border: 0;
  border-radius: 8px;
  padding: 8px 13px;
  background: #4f46e5;
  color: #fff;
  font: inherit;
}

.writer-toolbar {
  justify-content: flex-start;
  min-height: 42px;
  color: #858b96;
}

.writer-document {
  max-width: 520px;
  margin: 0 auto;
  padding: 42px 24px 60px;
}

.writer-document h2 {
  margin: 0 0 22px;
  color: rgba(31, 37, 53, 0.28);
  font-size: 38px;
}

.prompt-card {
  border: 1px solid rgba(101, 108, 122, 0.18);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 28px rgba(31, 37, 53, 0.05);
}

.prompt-title {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.prompt-title span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(101, 108, 122, 0.22);
  border-radius: 50%;
}

.prompt-title strong,
.import-row strong {
  font-size: 14px;
}

.prompt-card textarea {
  min-height: 96px;
  border-radius: 8px;
  padding: 14px;
  resize: vertical;
}

.prompt-card p {
  border-top: 3px solid rgba(101, 108, 122, 0.14);
  margin: 12px 0 14px;
  padding-top: 10px;
  color: #858b96;
  font-size: 13px;
  line-height: 1.4;
}

.import-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(101, 108, 122, 0.14);
  border-radius: 9px;
  padding: 0 12px;
  background: #fbfbfc;
}

.import-row span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #4f7df3;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.prompt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.prompt-actions a,
.skip-link {
  color: #858b96;
  font-size: 14px;
  font-weight: 650;
}

.prompt-actions button {
  border: 0;
  border-radius: 9px;
  padding: 10px 18px;
  background: rgba(79, 70, 229, 0.45);
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.skip-link {
  display: block;
  margin: 24px 0 28px;
  text-align: center;
}

.discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.discover-grid article {
  min-height: 112px;
  border: 1px solid rgba(101, 108, 122, 0.14);
  border-radius: 10px;
  padding: 16px;
  background: #fbfbfc;
}

.discover-grid strong {
  font-size: 14px;
}

.discover-grid p {
  margin-top: 8px;
  color: #858b96;
  font-size: 13px;
  line-height: 1.35;
}

.writer-chat {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid rgba(101, 108, 122, 0.16);
  background: #fff;
}

.writer-chat header {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid rgba(101, 108, 122, 0.16);
  padding: 0 16px;
}

.chat-empty {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #858b96;
  text-align: center;
}

.chat-input {
  padding: 12px;
}

.chat-input div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.chat-input span {
  border: 1px solid rgba(101, 108, 122, 0.16);
  border-radius: 8px;
  padding: 6px 9px;
  background: #fff;
  color: #525966;
  font-size: 12px;
  font-weight: 700;
}

.chat-input textarea {
  min-height: 92px;
  border-radius: 12px;
  padding: 12px 42px 12px 12px;
  resize: none;
}

.chat-input button {
  float: right;
  width: 32px;
  height: 32px;
  margin-top: -42px;
  margin-right: 8px;
  border: 0;
  border-radius: 50%;
  background: #948cf0;
  color: #fff;
  font-size: 18px;
}

.hero-copy,
.intro-section h2,
.intro-section p,
.program-copy,
.program-lanes,
.section-lead,
.process-track,
.artifact-flow,
.code-card,
.trust-list,
.faq-list,
.pilot h2,
.pilot p,
.pilot .primary-link {
  animation: riseIn 620ms ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(12px) scale(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0.12;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes noteIn {
  from {
    opacity: 0;
    transform: translateY(10px) rotate(-0.4deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(-0.4deg);
  }
}

@keyframes markerSweep {
  from {
    background-size: 0 0.5em;
  }

  to {
    background-size: 100% 0.5em;
  }
}

@keyframes markerBehind {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes markerBar {
  from {
    opacity: 0.25;
    transform: scaleX(0.16);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressPulse {
  0%,
  100% {
    width: 68%;
  }

  50% {
    width: 82%;
  }
}

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

@media (max-width: 1040px) {
  .site-header,
  .hero,
  .intro-section,
  .program-section,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    padding-inline: 22px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
  }

  .workspace-shot {
    grid-template-columns: 1fr;
  }

  .workspace-shot aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-track,
  .artifact-flow,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .program-copy {
    position: static;
  }

  .program-lanes article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .program-lanes strong {
    font-size: clamp(30px, 7vw, 48px);
  }

  .program-lanes p {
    max-width: 100%;
    font-size: 21px;
  }

  .process-track article {
    min-height: auto;
    border-right: 0;
    border-bottom: 0;
  }

  .process-track article:last-child {
    border-bottom: 0;
  }

  .artifact-flow article:nth-child(2),
  .artifact-flow article:nth-child(3) {
    margin-top: 0;
  }

  .page-shell {
    padding-inline: 32px;
  }

  .intake-landing,
  .program-pilot,
  .resource-feature {
    grid-template-columns: 1fr;
  }

  .intake-after-login > div,
  .course-card-grid,
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .course-card-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .writer-window {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .writer-chat {
    grid-column: 1 / -1;
    min-height: 280px;
    border-top: 1px solid rgba(101, 108, 122, 0.16);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 54px;
    padding: 0 14px;
  }

  .brand {
    min-height: 44px;
    width: auto;
  }

  .lang-switch {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  h1 {
    font-size: clamp(40px, 11vw, 46px);
    line-height: 0.98;
  }

  .hero {
    min-height: auto;
    padding: 86px 18px 58px;
  }

  .hero-copy > p:not(.kicker) {
    margin-top: 22px;
    font-size: 18px;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-link,
  .secondary-link {
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }

  .mini-topbar {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    height: 34px;
    padding: 0 10px;
    border-radius: 13px 13px 0 0;
    font-size: 12px;
  }

  .mini-topbar em {
    padding: 4px 7px;
    font-size: 11px;
  }

  .workspace-shot {
    min-height: auto;
    border-radius: 0 0 13px 13px;
  }

  .workspace-shot aside {
    display: none;
  }

  .workspace-shot article {
    min-height: 430px;
    padding: 28px 18px 172px;
    font-size: 15px;
  }

  .workspace-shot article h2 {
    font-size: 26px;
  }

  .progress-line {
    margin-bottom: 24px;
  }

  .bubble {
    right: 18px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .bubble.one {
    top: auto;
    bottom: 96px;
  }

  .bubble.two {
    top: auto;
    bottom: 84px;
  }

  .bubble.three {
    top: auto;
    bottom: 24px;
  }

  .intro-section,
  .program-section,
  .process-section,
  .artifact-section,
  .coding-section,
  .trust-section,
  .pilot,
  .faq-section {
    padding: 74px 20px;
  }

  .intro-section h2,
  .program-section h2,
  .process-section h2,
  .artifact-section h2,
  .coding-section h2,
  .trust-section h2,
  .pilot h2,
  .faq-section h2 {
    font-size: clamp(32px, 10vw, 43px);
    line-height: 1.04;
  }

  .intro-section p:not(.kicker),
  .program-copy p,
  .section-lead p:not(.kicker),
  .pilot p {
    font-size: 18px;
  }

  .team-photo {
    aspect-ratio: 0.92;
  }

  .program-lanes article {
    padding: 26px 0;
  }

  .program-lanes strong {
    font-size: 30px;
  }

  .program-lanes p {
    font-size: 18px;
  }

  .process-track,
  .artifact-flow,
  .code-grid {
    margin-top: 46px;
  }

  .process-track span,
  .artifact-flow span {
    margin-bottom: 22px;
    font-size: 20px;
  }

  .process-track article,
  .artifact-flow article,
  .code-card {
    min-height: auto;
  }

  .trust-section {
    gap: 34px;
  }

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

  .page-shell {
    padding: 98px 20px 72px;
  }

  .back-link {
    min-height: 40px;
    align-items: center;
    margin-bottom: 32px;
  }

  .content-page h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .page-intro {
    margin-bottom: 42px;
    font-size: 19px;
  }

  .content-body h2 {
    margin-top: 42px;
  }

  .content-body p {
    font-size: 17px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }

  .freewrite-page {
    gap: 56px;
  }

  .intake-landing {
    min-height: auto;
    padding-bottom: 34px;
  }

  .intake-copy h2 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .intake-copy p:not(.kicker) {
    font-size: 18px;
  }

  .program-pilot {
    padding: 32px 22px;
    border-radius: 18px;
  }

  .resource-feature img,
  .resource-card img {
    border-radius: 16px;
  }

  .resource-feature p:not(.kicker),
  .resource-articles p:not(.kicker) {
    font-size: 17px;
  }

  .freewrite-hero {
    padding-top: 6px;
  }

  .freewrite-hero h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .freewrite-hero p:not(.kicker) {
    font-size: 18px;
  }

  .signup-panel h2 {
    margin-bottom: 28px;
  }

  .oauth-button,
  .signup-form button,
  .signup-form input {
    min-height: 52px;
    font-size: 17px;
  }

  .signup-form label {
    font-size: 17px;
  }

  .writer-window {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .writer-sidebar {
    display: none;
  }

  .writer-topbar div span:nth-child(1),
  .writer-topbar div span:nth-child(2),
  .writer-toolbar span:nth-child(n + 4),
  .writer-toolbar b,
  .writer-toolbar i {
    display: none;
  }

  .writer-document {
    padding: 30px 14px 44px;
  }

  .writer-document h2 {
    font-size: 30px;
  }

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

  .choice-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .choice-row label {
    border-radius: 13px;
    justify-content: flex-start;
  }

  .hero-copy,
  .intro-section h2,
  .intro-section p,
  .program-copy,
  .program-lanes,
  .section-lead,
  .process-track,
  .artifact-flow,
  .code-card,
  .trust-list,
  .faq-list,
  .pilot h2,
  .pilot p,
  .pilot .primary-link,
  .signup-panel,
  .writer-demo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 430px) {
  .hero-proof {
    gap: 8px;
  }

  .hero-proof span {
    min-height: 30px;
    font-size: 12px;
  }

  .workspace-shot article {
    padding-bottom: 188px;
  }

  .bubble.one {
    bottom: 114px;
  }

  .bubble.two {
    bottom: 72px;
  }

  .bubble.three {
    bottom: 30px;
  }

  .site-footer nav {
    gap: 14px;
  }
}

.campus-page {
  --campus-green: #bccf0f;
  --campus-green-soft: #f5facd;
  --accent: var(--campus-green);
  background: #f6f7f2;
}

.viadrina-page {
  --campus-green: #ffd500;
  --campus-green-soft: #fff7bf;
  --accent: #ffd500;
  --deep: #003a70;
  background: #f8f7f1;
}

.viadrina-page h1,
.viadrina-page h2,
.viadrina-page h3,
.viadrina-page strong {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.campus-page h1,
.campus-page h2,
.campus-page h3,
.campus-page strong {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.campus-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(101, 108, 122, 0.16);
  background: rgba(250, 252, 252, 0.9);
  backdrop-filter: blur(18px);
}

.campus-nav-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(101, 108, 122, 0.2);
  border-radius: 999px;
  padding: 0 15px;
  background: var(--campus-green-soft);
  color: var(--deep);
  font-weight: 700;
}

.campus-nav .brand {
  min-height: 44px;
}

.campus-nav .brand span {
  background: #050505;
  color: var(--campus-green);
}

.viadrina-page .campus-nav .brand span {
  background: #003a70;
  color: #ffd500;
}

.campus-page .primary-link {
  border-color: transparent;
  background: var(--campus-green);
  color: #050505;
}

.campus-page .primary-link:hover {
  background: #a9ba0e;
  color: #050505;
}

.viadrina-page .primary-link:hover {
  background: #f0c800;
  color: #003a70;
}

.campus-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
  min-height: calc(100svh - 64px);
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 18%, rgba(188, 207, 15, 0.24), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(188, 207, 15, 0.14), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f6f7f2 48%, #f5facd 100%);
}

.viadrina-page .campus-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 213, 0, 0.24), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(0, 58, 112, 0.12), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f8f7f1 48%, #fff7bf 100%);
}

.campus-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(50px, 6vw, 88px);
  line-height: 0.94;
}

.campus-hero-copy > p:not(.kicker),
.campus-cta > p {
  max-width: 680px;
  color: #515a69;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

.campus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.campus-hero-shot,
.campus-screen-row img {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(101, 108, 122, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 72px rgba(31, 37, 53, 0.16);
}

.campus-hero-shot img,
.campus-screen-row img {
  display: block;
  width: 100%;
  height: auto;
}

.campus-section {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 72px);
}

.campus-thesis {
  background: #fff;
}

.campus-thesis-grid,
.campus-fit-list,
.campus-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(101, 108, 122, 0.16);
  border-radius: 18px;
  background: rgba(101, 108, 122, 0.16);
}

.campus-thesis-grid article,
.campus-fit-list article,
.campus-path-grid article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 44px);
  background: #fff;
}

.campus-thesis-grid span,
.campus-path-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 760;
}

.campus-thesis-grid h2,
.campus-fit h2,
.campus-section-head h2,
.campus-path h2,
.campus-cta h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
}

.campus-thesis-grid h2 {
  font-size: clamp(31px, 3.15vw, 48px);
  line-height: 1.04;
}

.campus-thesis-grid p,
.campus-fit-list p,
.campus-screen-row p,
.campus-path-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.campus-fit {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 76px);
  background: #f6f7f2;
}

.campus-fit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campus-fit-list article {
  min-height: 210px;
}

.campus-fit-list strong,
.campus-path-grid strong {
  display: block;
  color: var(--deep);
  font-size: 24px;
  line-height: 1.1;
}

.campus-screens {
  background: #fff;
}

.campus-section-head {
  margin-bottom: clamp(42px, 6vw, 76px);
}

.campus-screen-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 6vw, 78px) 0;
  border-top: 1px solid rgba(101, 108, 122, 0.16);
}

.campus-screen-row:last-child {
  border-bottom: 1px solid rgba(101, 108, 122, 0.16);
}

.campus-screen-row-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
}

.campus-screen-row-reverse div {
  order: 2;
}

.campus-screen-row-reverse img {
  order: 1;
}

.campus-screen-row span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campus-screen-row h3 {
  margin: 14px 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.campus-path {
  background:
    radial-gradient(circle at 84% 12%, rgba(188, 207, 15, 0.24), transparent 26%),
    linear-gradient(180deg, #f6f7f2 0%, #ffffff 100%);
}

.viadrina-page .campus-path {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 213, 0, 0.26), transparent 26%),
    linear-gradient(180deg, #f8f7f1 0%, #ffffff 100%);
}

.campus-path h2,
.campus-cta h2 {
  margin-bottom: 42px;
}

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

.campus-path-grid article {
  min-height: 240px;
}

.campus-cta {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
  background: var(--deep);
  color: #fff;
}

.campus-cta .kicker,
.campus-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.campus-cta .primary-link {
  margin-top: 28px;
  background: var(--campus-green);
  color: #050505;
}

@media (max-width: 1040px) {
  .campus-hero,
  .campus-fit,
  .campus-screen-row,
  .campus-screen-row-reverse {
    grid-template-columns: 1fr;
  }

  .campus-screen-row-reverse div,
  .campus-screen-row-reverse img {
    order: initial;
  }

  .campus-thesis-grid,
  .campus-path-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .campus-nav {
    min-height: 56px;
    padding-inline: 12px;
  }

  .campus-nav-link {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .campus-hero,
  .campus-section,
  .campus-cta {
    padding-inline: 18px;
  }

  .campus-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .viadrina-page .campus-hero > * {
    min-width: 0;
    max-width: 100%;
  }

  .viadrina-page h1,
  .viadrina-page h2,
  .viadrina-page h3,
  .viadrina-page strong {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .campus-hero-copy h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .campus-thesis-grid h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .campus-thesis-grid,
  .campus-fit-list,
  .campus-path-grid {
    grid-template-columns: 1fr;
  }

  .campus-thesis-grid article,
  .campus-fit-list article,
  .campus-path-grid article {
    min-height: auto;
    padding: 28px 22px;
  }

  .campus-screen-row {
    padding-block: 44px;
  }

  .campus-screen-row img,
  .campus-hero-shot {
    border-radius: 14px;
  }
}
