.landing-page {
  background: #f6f3ec;
  color: #171411;
}

.landing-page .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.landing-page .site-footer {
  display: none;
}

.landing-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 111, 236, 0.08) 0 1px, transparent 1px 28px),
    linear-gradient(90deg, #f6f3ec 0%, #eef8f4 46%, #f9f7f1 100%);
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(100% - 48px, 1240px);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(246, 243, 236, 0.82);
  backdrop-filter: blur(18px);
}

.landing-brand,
.landing-nav a,
.landing-btn {
  text-decoration: none;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #171411;
}

.landing-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #d9cdbd;
  border-radius: 8px;
  background: #fffdf8;
  color: #e65d2f;
  box-shadow: 0 12px 28px rgba(23, 20, 17, 0.08);
}

.landing-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.landing-brand small {
  display: block;
  margin-top: 5px;
  color: #6f665c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 800;
}

.landing-nav a {
  color: #28231f;
}

.landing-nav a:hover,
.landing-nav a:focus-visible {
  color: #e65d2f;
}

.landing-nav-cta {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  background: #171411;
  color: #fffdf8 !important;
  box-shadow: 0 14px 28px rgba(23, 20, 17, 0.18);
}

.landing-nav-cta .material-symbols-outlined {
  font-size: 19px;
}

.landing-hero {
  position: relative;
  width: min(100% - 48px, 1240px);
  min-height: min(620px, calc(100vh - 92px));
  margin: 12px auto 0;
  padding: 62px 54px 48px;
  display: flex;
  align-items: flex-start;
  border: 1px solid rgba(23, 20, 17, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 243, 236, 0.98) 0%, rgba(246, 243, 236, 0.94) 35%, rgba(246, 243, 236, 0.52) 63%, rgba(246, 243, 236, 0.18) 100%),
    #ece4d8;
  box-shadow: 0 24px 80px rgba(23, 20, 17, 0.12);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(246, 243, 236, 0.88));
}

.landing-hero-copy {
  position: relative;
  z-index: 4;
  max-width: 550px;
  min-width: 0;
}

.landing-eyebrow {
  margin: 0 0 14px;
  color: #e65d2f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-hero h1 {
  margin: 0;
  color: #15120f;
  max-width: 550px;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.landing-lead {
  width: min(100%, 610px);
  margin: 24px 0 0;
  color: #423b34;
  font-size: 20px;
  line-height: 1.72;
  word-break: keep-all;
}

.landing-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.landing-btn:hover,
.landing-btn:focus-visible {
  transform: translateY(-2px);
}

.landing-btn-primary {
  background: #171411;
  color: #fffdf8;
  box-shadow: 0 18px 34px rgba(23, 20, 17, 0.2);
}

.landing-btn-primary:hover,
.landing-btn-primary:focus-visible {
  background: #2b251f;
}

.landing-btn-secondary {
  border: 1px solid #cabdaf;
  background: #fffdf8;
  color: #171411;
  box-shadow: 0 12px 24px rgba(23, 20, 17, 0.08);
}

.landing-proof {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-proof span,
.landing-trap-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  color: #423b34;
  font-size: 13px;
  font-weight: 800;
}

.landing-hero-media {
  position: absolute;
  z-index: 1;
  right: 54px;
  top: 78px;
  width: min(500px, 42vw);
  height: 440px;
  transform: none;
}

.landing-hero-media::before,
.landing-hero-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.landing-hero-media::before {
  inset: 26px 14px 42px 52px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 124, 102, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 124, 102, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: rotate(-3deg);
}

.landing-hero-media::after {
  right: 16px;
  bottom: 38px;
  width: 78%;
  height: 18px;
  border-radius: 999px;
  background: rgba(23, 20, 17, 0.18);
  filter: blur(18px);
  transform: rotate(-3deg);
}

.landing-equation-strip,
.landing-flow-card,
.landing-ai-rail,
.landing-score-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 22px 54px rgba(23, 20, 17, 0.14);
  backdrop-filter: blur(18px);
}

.landing-equation-strip {
  top: 0;
  left: 84px;
  right: 34px;
  min-height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #171411;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
  transform: rotate(2deg);
}

.landing-flow-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.landing-flow-card strong,
.landing-score-card strong {
  color: #171411;
  font-size: 20px;
  line-height: 1.22;
}

.landing-flow-card p,
.landing-score-card small,
.landing-ai-rail span {
  color: #5e554d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.landing-card-label {
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff0e9;
  color: #c54922;
  font-size: 12px;
  font-weight: 900;
}

.landing-card-label.dark {
  background: #171411;
  color: #fffdf8;
}

.landing-flow-source {
  left: 14px;
  top: 86px;
  width: 260px;
  min-height: 176px;
  transform: rotate(-5deg);
}

.landing-flow-generate {
  right: 4px;
  top: 144px;
  width: 246px;
  min-height: 150px;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(229, 247, 240, 0.94));
  transform: rotate(4deg);
}

.landing-flow-generate .material-symbols-outlined {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #171411;
  color: #8fe1ce;
  font-size: 26px;
}

.landing-flow-exam {
  left: 116px;
  bottom: 64px;
  width: 214px;
  min-height: 128px;
  transform: rotate(-1deg);
}

.landing-line-stack {
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.landing-line-stack i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e5ddd2;
}

.landing-line-stack i:nth-child(2) {
  width: 78%;
}

.landing-line-stack i:nth-child(3) {
  width: 54%;
}

.landing-ai-rail {
  left: 42px;
  bottom: 4px;
  min-width: 310px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #171411;
}

.landing-ai-rail span {
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.08);
  color: rgba(255, 253, 248, 0.74);
  white-space: nowrap;
}

.landing-ai-rail b {
  color: #8fe1ce;
  margin-right: 5px;
}

.landing-score-card {
  right: 44px;
  top: 278px;
  min-width: 170px;
  padding: 15px 16px;
  display: grid;
  gap: 4px;
  transform: rotate(3deg);
}

.landing-score-card .material-symbols-outlined {
  color: #2f6fec;
  font-size: 28px;
}

.landing-signal,
.landing-feature-band,
.landing-workflow,
.landing-trap,
.landing-final-cta {
  width: min(100% - 48px, 1240px);
  margin-right: auto;
  margin-left: auto;
}

.landing-signal {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(23, 20, 17, 0.1);
}

.landing-signal div {
  min-width: 0;
  padding: 22px 24px;
}

.landing-signal div + div {
  border-left: 1px solid rgba(23, 20, 17, 0.1);
}

.landing-signal strong,
.landing-signal span {
  display: block;
}

.landing-signal strong {
  color: #171411;
  font-size: 16px;
}

.landing-signal span {
  margin-top: 7px;
  color: #6f665c;
  font-size: 14px;
  line-height: 1.45;
}

.landing-section-head {
  min-width: 0;
}

.landing-section-head h2,
.landing-trap h2,
.landing-final-cta h2 {
  max-width: 820px;
  margin: 0;
  color: #171411;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.landing-feature-band {
  margin-top: 76px;
}

.landing-feature-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-feature-card,
.landing-step-card {
  min-width: 0;
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 14px 34px rgba(23, 20, 17, 0.06);
}

.landing-feature-card {
  min-height: 220px;
  padding: 22px;
}

.landing-feature-card .material-symbols-outlined {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e5f7f0;
  color: #147c66;
  font-size: 27px;
}

.landing-feature-card:nth-child(2) .material-symbols-outlined {
  background: #e8eefc;
  color: #2f6fec;
}

.landing-feature-card:nth-child(3) .material-symbols-outlined {
  background: #fff0e9;
  color: #e65d2f;
}

.landing-feature-card:nth-child(4) .material-symbols-outlined {
  background: #f1ecff;
  color: #6f49d8;
}

.landing-feature-card h3,
.landing-step-card h3 {
  margin: 20px 0 9px;
  color: #171411;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.landing-feature-card p,
.landing-step-card p,
.landing-trap p:not(.landing-eyebrow) {
  margin: 0;
  color: #5e554d;
  font-size: 15px;
  line-height: 1.66;
}

.landing-workflow {
  margin-top: 72px;
}

.landing-step-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-step-card {
  position: relative;
  min-height: 170px;
  padding: 24px;
}

.landing-step-card::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 24px;
  left: 78px;
  height: 1px;
  background: linear-gradient(90deg, rgba(230, 93, 47, 0.42), transparent);
}

.landing-step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #171411;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 900;
}

.landing-trap {
  margin-top: 46px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(230, 93, 47, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8f2, #fffdf8 62%, #eef8f4);
}

.landing-trap p:not(.landing-eyebrow) {
  max-width: 720px;
  margin-top: 14px;
}

.landing-trap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.landing-trap-tags span {
  color: #8d3c25;
}

.landing-final-cta {
  margin-top: 52px;
  margin-bottom: 72px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 42px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 253, 248, 0.14);
  background:
    linear-gradient(135deg, rgba(230, 93, 47, 0.18), transparent 38%),
    linear-gradient(90deg, #171411 0%, #241f1a 54%, #123f37 100%);
  color: #fffdf8;
  box-shadow: 0 24px 60px rgba(23, 20, 17, 0.26);
}

.landing-final-cta::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 253, 248, 0.08);
  border-radius: 6px;
  pointer-events: none;
}

.landing-final-cta h2 {
  max-width: 690px;
  color: #fffdf8 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.landing-final-cta .landing-eyebrow {
  color: #8fe1ce !important;
}

.landing-page .landing-final-cta .landing-final-lead {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.78) !important;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

.landing-final-cta .landing-actions {
  margin-top: 0;
  flex: 0 0 auto;
  padding: 14px;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.08);
}

.landing-final-cta .landing-btn-primary {
  background: #fffdf8;
  color: #171411;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.landing-final-cta .landing-btn-secondary {
  border-color: rgba(255, 253, 248, 0.28);
  background: rgba(255, 253, 248, 0.08);
  color: #fffdf8 !important;
}

@media (max-width: 1080px) {
  .landing-hero {
    min-height: 650px;
    padding: 58px 36px 260px;
    align-items: flex-start;
  }

  .landing-hero-media {
    right: 30px;
    top: auto;
    bottom: 34px;
    width: min(520px, 86vw);
    height: 310px;
    opacity: 0.9;
  }

  .landing-equation-strip {
    left: 62px;
    right: 24px;
  }

  .landing-flow-source {
    width: 238px;
    top: 68px;
  }

  .landing-flow-generate {
    width: 224px;
    top: 104px;
  }

  .landing-flow-exam {
    left: 104px;
    bottom: 46px;
  }

  .landing-ai-rail {
    min-width: 280px;
    bottom: 0;
  }

  .landing-score-card {
    display: none;
  }

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

  .landing-trap,
  .landing-final-cta {
    display: block;
  }

  .landing-trap-tags {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .landing-final-cta .landing-actions {
    margin-top: 26px;
  }
}

@media (max-width: 760px) {
  .landing-header,
  .landing-hero,
  .landing-signal,
  .landing-feature-band,
  .landing-workflow,
  .landing-trap,
  .landing-final-cta {
    width: min(100% - 24px, 1240px);
  }

  .landing-header {
    min-height: 68px;
    gap: 12px;
  }

  .landing-brand {
    gap: 9px;
  }

  .landing-brand-mark {
    width: 38px;
    height: 38px;
  }

  .landing-brand strong {
    font-size: 17px;
  }

  .landing-brand small {
    font-size: 8.5px;
  }

  .landing-nav {
    gap: 8px;
  }

  .landing-nav a:not(.landing-nav-cta) {
    display: none;
  }

  .landing-nav-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .landing-hero {
    min-height: 720px;
    margin-top: 8px;
    padding: 42px 20px 300px;
  }

  .landing-hero h1 {
    font-size: clamp(32px, 9.4vw, 45px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .landing-hero h1 br {
    display: none;
  }

  .landing-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .landing-actions {
    width: 100%;
    margin-top: 24px;
    flex-direction: column;
  }

  .landing-btn {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }

  .landing-proof {
    margin-top: 16px;
  }

  .landing-hero-media {
    right: 50%;
    bottom: 28px;
    width: 340px;
    height: 270px;
    max-width: none;
    opacity: 0.96;
    transform: translateX(50%);
  }

  .landing-hero-media::before {
    inset: 24px 6px 34px 22px;
  }

  .landing-equation-strip {
    left: 36px;
    right: 10px;
    min-height: 38px;
    font-size: 17px;
  }

  .landing-flow-card {
    padding: 14px;
  }

  .landing-flow-card strong,
  .landing-score-card strong {
    font-size: 16px;
  }

  .landing-flow-card p,
  .landing-score-card small,
  .landing-ai-rail span {
    font-size: 11px;
  }

  .landing-flow-source {
    left: 0;
    top: 62px;
    width: 190px;
    min-height: 140px;
  }

  .landing-flow-generate {
    right: 0;
    top: 92px;
    width: 174px;
    min-height: 120px;
  }

  .landing-flow-generate .material-symbols-outlined {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .landing-flow-exam {
    left: 64px;
    bottom: 44px;
    width: 166px;
    min-height: 106px;
  }

  .landing-ai-rail {
    left: 50%;
    bottom: 0;
    min-width: 292px;
    padding: 8px;
    transform: translateX(-50%);
  }

  .landing-ai-rail span {
    padding: 7px 8px;
  }

  .landing-signal {
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .landing-signal div {
    padding: 18px 20px;
  }

  .landing-signal div + div {
    border-top: 1px solid rgba(23, 20, 17, 0.1);
    border-left: 0;
  }

  .landing-section-head h2,
  .landing-trap h2,
  .landing-final-cta h2 {
    font-size: clamp(26px, 7.6vw, 34px);
    line-height: 1.26;
  }

  .landing-feature-band,
  .landing-workflow {
    margin-top: 54px;
  }

  .landing-feature-grid,
  .landing-step-grid {
    grid-template-columns: 1fr;
  }

  .landing-feature-card,
  .landing-step-card {
    min-height: auto;
    padding: 20px;
  }

  .landing-trap,
  .landing-final-cta {
    padding: 24px 20px;
  }
}

@media (max-width: 460px) {
  .landing-hero {
    min-height: 690px;
    padding-bottom: 260px;
  }

  .landing-hero h1 {
    font-size: clamp(29px, 8.6vw, 36px);
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .landing-proof span {
    font-size: 12px;
  }

  .landing-hero-media {
    bottom: 28px;
    width: 318px;
    height: 246px;
  }

  .landing-equation-strip {
    left: 46px;
    right: 4px;
  }

  .landing-card-label {
    padding: 5px 8px;
    font-size: 11px;
  }

  .landing-flow-card {
    padding: 12px;
  }

  .landing-flow-card strong,
  .landing-score-card strong {
    font-size: 14px;
  }

  .landing-flow-card p {
    font-size: 10.5px;
  }

  .landing-flow-source {
    left: 14px;
    width: 156px;
    transform: rotate(-4deg);
  }

  .landing-flow-generate {
    right: 6px;
    width: 152px;
    transform: rotate(3deg);
  }

  .landing-flow-generate p {
    display: none;
  }

  .landing-flow-exam {
    left: 82px;
    width: 142px;
  }

  .landing-line-stack {
    gap: 6px;
  }

  .landing-line-stack i {
    height: 7px;
  }

  .landing-ai-rail {
    min-width: 268px;
  }
}
