@font-face {
  font-family: "Albert Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("https://filamentphp.com/build/assets/albert-sans-latin-wght-normal-BJ0ssN8N.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Outfit Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("https://filamentphp.com/build/assets/outfit-latin-wght-normal-Bc-8i84L.woff2") format("woff2-variations");
}

:root {
  --bg: #faf9f5;
  --frame: #f6eee1;
  --surface: #fbf6ec;
  --surface-strong: #f3e7d3;
  --surface-soft: #fff8ee;
  --border: #decdb7;
  --border-strong: #cfb89a;
  --text: #6c6257;
  --text-strong: #2e2b24;
  --text-soft: #8c7f72;
  --honey: #efc458;
  --honey-soft: #f6df9a;
  --pink: #f2c8d9;
  --mint: #c7e6db;
  --blue: #8fc7f2;
  --dark: #191714;
  --shadow: 0 18px 60px rgba(71, 55, 25, 0.12);
  --max-width: 1400px;
  --radius: 26px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(239, 196, 88, 0.22), transparent 26%),
    radial-gradient(circle at 90% 16%, rgba(199, 230, 219, 0.45), transparent 22%),
    radial-gradient(circle at 20% 80%, rgba(242, 200, 217, 0.22), transparent 24%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Albert Sans Variable", Verdana, sans-serif;
}

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

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

button {
  font: inherit;
}

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

.site-frame {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  background:
    radial-gradient(circle at 1px 1px, rgba(129, 110, 83, 0.18) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)),
    var(--frame);
  border: 1px solid var(--border);
  border-radius: 40px;
  box-shadow: var(--shadow);
  overflow: clip;
}

.site-header,
.section,
.hero,
.demo-split {
  position: relative;
  background: rgba(252, 247, 237, 0.9);
}

.section-cut::before,
.section-cut::after,
.site-header::before,
.site-header::after {
  display: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: calc(100% - 36px);
  margin: 18px auto 0;
  padding: 14px 18px;
  min-height: auto;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(251, 246, 236, 0.82);
  box-shadow: 0 12px 35px rgba(71, 55, 25, 0.08);
  backdrop-filter: blur(18px);
}

.nav-rail,
.brand,
.site-nav,
.menu-toggle {
  align-items: center;
  min-height: auto;
  border-right: 0;
}

.nav-rail {
  display: flex;
  justify-content: flex-start;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.96rem;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-chip:hover,
.site-nav a:hover,
.footer-links a:hover {
  color: var(--text-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 42px;
  padding: 0 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--honey) 0%, #f5b667 100%);
  color: var(--text-strong);
  font-family: "Outfit Variable", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-wordmark,
.eyebrow,
h1,
h2,
h3,
.button,
.stack-card strong,
.sponsor-tier,
.section-heading h2 {
  font-family: "Outfit Variable", "Albert Sans Variable", sans-serif;
}

.brand-wordmark {
  color: var(--text-strong);
  font-size: 1.2rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 0;
}

.site-nav a {
  position: relative;
  font-size: 0.98rem;
  transition: color 180ms ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--honey-soft);
  color: var(--text-strong);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-strong);
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(min(100%, 380px), 0.92fr);
  gap: 28px;
  padding: 34px 54px 72px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 0% 10%, rgba(239, 196, 88, 0.18), transparent 25%),
    radial-gradient(circle at 100% 18%, rgba(199, 230, 219, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    rgba(252, 247, 237, 0.9);
}

.hero-copy {
  align-self: center;
  padding: 38px;
  border: 1px solid rgba(222, 205, 183, 0.95);
  border-radius: 42px 22px 32px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.44)),
    rgba(255, 251, 245, 0.78);
  box-shadow: 0 20px 48px rgba(71, 55, 25, 0.08);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1,
h2 {
  margin: 0;
  color: var(--text-strong);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.15rem, 4.8vw + 0.85rem, 5.25rem);
  line-height: 1;
}

.hero-subline {
  display: block;
  margin-top: 0.12em;
  font-weight: 500;
}

.hero-description,
.section-heading p,
.demo-panel p,
.stack-copy p,
.footer-cta-copy p {
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--honey);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--border);
}

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

.button-accent {
  margin-top: 20px;
  background: rgba(241, 149, 125, 0.38);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: 14px;
  margin-top: 36px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero-stats strong {
  display: block;
  color: var(--text-strong);
  font-size: 1.3rem;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.96rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  padding: 28px;
  align-content: center;
  border: 1px solid var(--border);
  border-radius: 28px 46px 28px 46px;
  background:
    linear-gradient(rgba(222, 205, 183, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 205, 183, 0.28) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(239, 196, 88, 0.24), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.24));
  background-size: 22px 22px, 22px 22px, 100% 100%, 100% 100%;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::before {
  inset: auto auto 32px 28px;
  width: 110px;
  height: 110px;
  background: rgba(143, 199, 242, 0.18);
  filter: blur(2px);
}

.hero-visual::after {
  inset: 26px 24px auto auto;
  width: 90px;
  height: 90px;
  background: rgba(242, 200, 217, 0.18);
}

.hero-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.88);
  color: var(--text-strong);
  font-size: 0.92rem;
  box-shadow: 0 10px 20px rgba(71, 55, 25, 0.06);
}

.hero-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 46px rgba(34, 24, 9, 0.12);
}

.hero-window img,
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-window-main {
  inset: 82px 28px 44px 68px;
  z-index: 2;
  transform: rotate(-3deg);
}

.hero-window-main.hero-portrait {
  inset: auto;
  top: 38%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(88%, 390px);
  max-width: 390px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hero-portrait .hero-profile {
  width: 100%;
  height: auto;
  max-width: 390px;
  aspect-ratio: 435 / 573;
  object-fit: contain;
  object-position: center top;
}

.hero-window-secondary {
  top: 124px;
  left: 10px;
  width: min(48%, 270px);
  z-index: 1;
  transform: rotate(5deg);
}

.hero-window-tertiary {
  right: 6px;
  bottom: 18px;
  width: min(43%, 240px);
  z-index: 3;
  transform: rotate(4deg);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.marquee-band {
  display: flex;
  overflow: hidden;
  margin: 0 0 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: none;
  border-right: none;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3)),
    rgba(252, 247, 237, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  flex: none;
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  font-size: 0.96rem;
}

.partner-band .marquee-track span {
  display: grid;
  place-items: center;
  min-width: 220px;
  min-height: 92px;
  padding: 18px 24px;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-strong);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(71, 55, 25, 0.06);
}

.partner-band .marquee-track img {
  width: min(160px, 100%);
  height: 44px;
  object-fit: contain;
  filter: saturate(0.55) contrast(1.02);
}

.section,
.footer-cta {
  padding: 72px 54px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    rgba(252, 247, 237, 0.88);
}

.section-heading {
  margin-bottom: 34px;
  position: relative;
  padding-left: 24px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--honey), rgba(199, 230, 219, 0.8));
}

.section-heading.centered {
  text-align: center;
  padding-left: 0;
}

.section-heading.centered::before {
  display: none;
}

.section-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.demo-panel h2 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 0.98;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

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

.feature-card,
.experience-card,
.toolkit-card,
.blog-card,
.stack-card,
.testimonial-card,
.sponsor-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px 18px 30px 18px;
  background: rgba(255, 250, 242, 0.86);
  transition: transform 260ms ease, border-color 260ms ease, background-color 260ms ease, box-shadow 260ms ease;
}

.feature-card:hover,
.experience-card:hover,
.toolkit-card:hover,
.blog-card:hover,
.stack-card:hover,
.testimonial-card:hover,
.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(81, 61, 30, 0.11);
}

.feature-card {
  padding: 26px;
}

.experience-card,
.toolkit-card,
.blog-card {
  padding: 28px;
}

.experience-card {
  background:
    radial-gradient(circle at top right, rgba(239, 196, 88, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.3)),
    rgba(255, 250, 242, 0.86);
  border-top: 4px solid rgba(239, 196, 88, 0.72);
}

.experience-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.experience-date,
.experience-step,
.blog-badge,
.blog-readtime {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.experience-date {
  background: rgba(239, 196, 88, 0.22);
  color: var(--text-strong);
}

.experience-step {
  background: rgba(46, 43, 36, 0.08);
  color: var(--text-soft);
}

.experience-card h3,
.toolkit-card h3,
.blog-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.65rem;
  line-height: 1.06;
}

.experience-card p,
.toolkit-card p,
.blog-card p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.feature-card:nth-child(odd):hover {
  background: rgba(242, 200, 217, 0.2);
}

.feature-card:nth-child(even):hover {
  background: rgba(199, 230, 219, 0.2);
}

.feature-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  margin-bottom: 20px;
  border-radius: 26px 18px 26px 18px;
  background:
    linear-gradient(rgba(222, 205, 183, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 205, 183, 0.38) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22));
  background-size: 20px 20px, 20px 20px, 100% 100%;
}

.feature-orb {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.92);
  box-shadow: inset 0 0 0 1px rgba(222, 205, 183, 0.55);
}

.feature-orb img {
  width: auto;
  max-width: 64px;
  max-height: 64px;
}

.feature-card h3,
.testimonial-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.65rem;
  line-height: 1.05;
}

.feature-card p,
.stack-card span,
.stack-card strong,
.testimonial-card p,
.testimonial-card blockquote,
.sponsor-card strong,
.mini-list li {
  line-height: 1.6;
}

.feature-card p,
.stack-card span,
.testimonial-card p,
.testimonial-card blockquote,
.sponsor-card strong,
.footer-links a,
.stack-copy p,
.demo-panel p {
  margin-top: 10px;
}
/* Original demo-split */
/* .demo-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 0 54px 72px;
  border-bottom: 1px solid var(--border);
  background: transparent;
} */

.demo-split {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 22px;
  padding: 0 54px 72px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.demo-panel {
  padding: 48px 42px;
  border: 1px solid var(--border);
  border-radius: 34px 20px 34px 20px;
  background: rgba(255, 251, 244, 0.86);
}

.demo-panel-dark {
  background:
    radial-gradient(circle at top right, rgba(143, 199, 242, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(239, 196, 88, 0.18), transparent 26%),
    var(--dark);
  color: rgba(250, 246, 238, 0.75);
}

.demo-panel-dark h2,
.demo-panel-dark .eyebrow,
.demo-panel-dark .mini-list li {
  color: #f8f3ea;
}

.mini-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--honey);
}

.stack-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.phonetic {
  margin: 14px 0;
  color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.stack-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    rgba(255, 250, 242, 0.86);
}

.stack-note {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--text-strong);
  font-size: 0.92rem;
}

.stack-aside {
  position: absolute;
  top: 76px;
  right: 22px;
  z-index: 2;
  max-width: 210px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px 14px 22px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.46)),
    rgba(255, 250, 242, 0.84);
  box-shadow: 0 14px 28px rgba(71, 55, 25, 0.08);
}

.stack-aside-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.stack-aside strong {
  display: block;
  color: var(--text-strong);
  font-family: "Outfit Variable", "Albert Sans Variable", sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
}

.stack-aside p {
  margin: 10px 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.stack-layers {
  width: min(100%, 560px);
  padding: 74px 0 10px;
}

.stack-layer {
  position: relative;
  margin-top: 0;
  margin-bottom: 14px;
  padding: 28px 28px;
  border: 1px solid rgba(46, 43, 36, 0.15);
  border-radius: 24px 24px 24px 10px;
  color: var(--text-strong);
  font-family: "Outfit Variable", sans-serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 600;
  box-shadow: 0 16px 34px rgba(59, 42, 19, 0.1);
}

.stack-layer:nth-child(2) {
  margin-left: 24px;
}

.stack-layer:nth-child(3) {
  margin-left: 48px;
}

.stack-layer:nth-child(4) {
  margin-left: 20px;
}

.stack-layer:nth-child(5) {
  margin-left: 60px;
}

.layer-tailwind {
  background: linear-gradient(135deg, #daf4ff, #9ce1ff);
}

.layer-alpine {
  background: linear-gradient(135deg, #d2e6ff, #afcaef);
}

.layer-livewire {
  background: linear-gradient(135deg, #ffd7e8, #f6b6cb);
}

.layer-laravel {
  background: linear-gradient(135deg, #ffd6cb, #f2ac94);
}

.layer-farm {
  background: linear-gradient(135deg, #d7f0dc, #9ed6a9);
}

.stack-links {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 10px;
}

.stack-card {
  padding: 24px;
}

.stack-card-kicker {
  display: block;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.stack-card strong {
  display: block;
  margin-top: 10px;
  color: var(--text-strong);
  font-size: 1.5rem;
}

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

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

.toolkit-card {
  background:
    linear-gradient(rgba(222, 205, 183, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 205, 183, 0.3) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.2));
  background-size: 20px 20px, 20px 20px, 100% 100%;
  border-radius: 22px 32px 22px 32px;
}

.toolkit-header,
.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.toolkit-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(239, 196, 88, 0.28);
  color: var(--text-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  font-weight: 700;
}

.toolkit-header h3 {
  flex: 1;
}

.toolkit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toolkit-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-strong);
  font-size: 0.94rem;
}

.blog-card {
  background:
    radial-gradient(circle at top right, rgba(239, 196, 88, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28));
}

.blog-badge {
  background: rgba(239, 196, 88, 0.22);
  color: var(--text-strong);
}

.blog-readtime {
  background: rgba(46, 43, 36, 0.08);
  color: var(--text-soft);
}

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

.testimonial-card {
  display: block;
  height: 100%;
  padding: 26px;
}

.testimonial-card header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card img,
.testimonial-card object.cert-thumb {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
}

.testimonial-card img {
  object-fit: contain;
}

.testimonial-card object.cert-thumb-pdf {
  overflow: hidden;
  pointer-events: none;
}

.testimonial-card p {
  margin: 2px 0 0;
  font-size: 0.96rem;
}

.testimonial-card blockquote {
  margin: 18px 0 0;
  color: var(--text-strong);
  font-size: 1.08rem;
}

.testimonial-card .button {
  margin-top: 20px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.sponsor-card {
  min-height: 162px;
  padding: 22px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(222, 205, 183, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 205, 183, 0.38) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.22));
  background-size: 20px 20px, 20px 20px, 100% 100%;
  border-radius: 24px;
}

.sponsor-card img {
  max-width: 160px;
  max-height: 58px;
  filter: saturate(0.3) contrast(1.05);
}

.sponsor-card p {
  margin: 14px 0 0;
  text-align: center;
  line-height: 1.6;
}

.sponsor-tier {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 12px;
  border-bottom-right-radius: 14px;
  background: var(--dark);
  color: #f9f4ec;
  font-size: 0.78rem;
  font-weight: 500;
}

.sponsor-card--invite {
  background:
    linear-gradient(rgba(222, 205, 183, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 205, 183, 0.3) 1px, transparent 1px),
    linear-gradient(180deg, rgba(199, 230, 219, 0.46), rgba(242, 200, 217, 0.22));
  text-align: center;
}

.sponsor-card--invite strong {
  margin-top: 16px;
  color: var(--text-strong);
  font-size: 1.4rem;
}

.sponsor-card--project {
  align-content: start;
  gap: 10px;
  min-height: 280px;
}

.sponsor-card--project img {
  width: 100%;
  max-width: none;
  max-height: none;
  border-radius: 18px;
  filter: none;
}

.sponsor-card--project strong {
  color: var(--text-strong);
  font-size: 1.35rem;
  line-height: 1.1;
  text-align: center;
}

.project-link,
.blog-link {
  margin-top: 18px;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(239, 196, 88, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.02)),
    rgba(252, 247, 237, 0.88);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-links h3 {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 1.3rem;
}

.footer-links a {
  display: block;
  padding: 6px 0;
}

.certificate-modal {
  width: min(960px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(28, 22, 15, 0.24);
}

.certificate-modal::backdrop {
  background: rgba(28, 22, 15, 0.58);
  backdrop-filter: blur(6px);
}

.certificate-modal-shell {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(239, 196, 88, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    rgba(251, 246, 236, 0.96);
}

.certificate-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-strong);
  cursor: pointer;
}

.certificate-modal-copy {
  max-width: 42rem;
  padding-right: 88px;
}

.certificate-modal-copy p:last-child {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.65;
}

.certificate-modal-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.certificate-modal-frame img,
.certificate-modal-frame iframe {
  width: 100%;
}

.certificate-modal-frame img {
  display: block;
  height: auto;
}

.certificate-modal-frame iframe {
  display: none;
  height: min(72vh, 760px);
  border: 0;
}

.certificate-modal-frame.is-pdf img {
  display: none;
}

.certificate-modal-frame.is-pdf iframe {
  display: block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .site-header {
    width: calc(100% - 24px);
    gap: 12px;
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    min-height: auto;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(251, 246, 236, 0.98);
    box-shadow: 0 14px 34px rgba(71, 55, 25, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .stack-section,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 24px 48px;
  }

  .hero-copy {
    padding: 32px 28px;
  }

  .feature-grid,
  .experience-grid,
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .hero-visual {
    min-height: 420px;
  }

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

  .marquee-band {
    margin: 0 0 18px;
  }

  .demo-split {
    padding: 0 24px 54px;
  }

  .stack-layer:nth-child(n) {
    margin-left: 0;
  }

  .stack-aside {
    position: static;
    max-width: none;
    margin: 0 0 18px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 10px 10px 18px;
  }

  .site-header {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 10px 12px;
  }

  .nav-rail,
  .brand,
  .menu-toggle {
    min-height: auto;
  }

  .brand {
    gap: 10px;
  }

  .brand-wordmark {
    font-size: 1rem;
  }

  .section,
  .footer-cta {
    padding: 54px 22px;
  }

  .demo-panel {
    padding: 36px 22px;
  }

  .hero {
    gap: 20px;
    padding: 24px 16px 36px;
  }

  .hero-stats,
  .demo-split,
  .footer-links,
  .feature-grid,
  .experience-grid,
  .sponsor-grid,
  .stack-links,
  .toolkit-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 24px 18px;
    border-radius: 28px 18px 24px 18px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .hero-description,
  .section-heading p,
  .demo-panel p,
  .stack-copy p,
  .footer-cta-copy p {
    font-size: 1rem;
  }

  .hero-description {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .hero-stats {
    margin-top: 24px;
    gap: 10px;
  }

  .hero-stats div {
    padding: 14px;
  }

  .hero-stats strong {
    font-size: 1.15rem;
  }

  .hero-stats span {
    font-size: 0.88rem;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 16px;
    border-radius: 22px;
  }

  .hero-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 12px;
    max-width: 100%;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero-window {
    position: relative;
    width: 100%;
    inset: auto;
    transform: none;
  }

  .hero-window-main,
  .hero-window-secondary,
  .hero-window-tertiary {
    width: 100%;
  }

  .hero-window-secondary,
  .hero-window-tertiary {
    display: none;
  }

  .hero-window-main.hero-portrait {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .hero-portrait .hero-profile {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
  }

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

  .stack-note {
    position: static;
    margin-bottom: 18px;
  }

  .marquee-band {
    margin: 0 0 10px;
  }

  .demo-split {
    padding: 0 22px 40px;
  }

  .certificate-modal-shell {
    padding: 22px;
  }

  .certificate-modal-copy {
    padding-right: 0;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 12px 32px;
  }

  .hero-copy {
    padding: 20px 16px;
  }

  h1 {
    font-size: clamp(1.7rem, 9vw, 2.1rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
