.research-section {
  background:
    radial-gradient(circle at top left, rgba(211, 111, 53, .12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(85, 120, 95, .10), transparent 32%),
    #fffaf3;
}

.hero {
  isolation: isolate;
}

.hero::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
  content: "";
  height: 1px;
  left: 8%;
  opacity: .9;
  position: absolute;
  right: 8%;
  top: 1.4rem;
}

.hero::after {
  background:
    radial-gradient(circle at 50% 115%, rgba(200, 95, 40, .22), transparent 35%),
    radial-gradient(circle at 12% 90%, rgba(255, 255, 255, .08), transparent 22%),
    linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, .20));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.home-hero,
.product-hero {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.eyebrow {
  box-shadow: 0 10px 24px rgba(200, 95, 40, .22);
}

.hero h1 {
  text-shadow: 0 18px 48px rgba(0, 0, 0, .35);
  text-wrap: balance;
}

.hero-lead {
  text-wrap: balance;
}

.hero-positioning {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 248, 239, .94));
  border: 1px solid rgba(255, 255, 255, .88);
  border-left: 7px solid var(--accent);
  border-radius: 26px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .20);
  color: #171717;
  display: grid;
  gap: .35rem 1rem;
  grid-template-columns: auto 1fr;
  margin: 1.55rem auto 0;
  max-width: 980px;
  padding: 1.1rem 1.22rem;
  position: relative;
  text-align: left;
}

.hero-positioning::before {
  align-items: center;
  background: #241f1a;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
  color: #fff;
  content: "1";
  display: inline-flex;
  font-size: .78rem;
  font-weight: 950;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.hero-positioning strong {
  color: #171717;
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.hero-positioning span {
  color: var(--muted);
  display: block;
  font-size: clamp(.94rem, 1.5vw, 1.03rem);
  line-height: 1.42;
}

.hero .buttons {
  margin-top: 1.4rem;
}

.btn {
  box-shadow: 0 12px 24px rgba(200, 95, 40, .24);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn:hover {
  box-shadow: 0 16px 30px rgba(200, 95, 40, .32);
  transform: translateY(-2px);
}

.btn-outline {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .07);
}

.section {
  scroll-margin-top: 86px;
}

.section-title {
  margin-bottom: clamp(1.8rem, 4vw, 2.45rem);
}

.section-title h2,
.split h2 {
  text-wrap: balance;
}

.section-title p,
.split p {
  font-size: 1.02rem;
  text-wrap: balance;
}

.badge {
  box-shadow: inset 0 0 0 1px rgba(200, 95, 40, .08);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(240, 232, 220, .94), rgba(246, 239, 229, .94));
}

.simple-strip {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(34, 27, 20, .08);
}

.start-grid,
.research-grid,
.depth-map,
.proof-strip,
.mockup-grid,
.static-product-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  position: relative;
}

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

.start-card,
.research-grid a,
.depth-map div,
.proof-strip div,
.mockup-card,
.case-snapshot,
.case-list div,
.static-product-grid a {
  background: #fffefb;
  border: 1px solid rgba(222, 210, 194, .95);
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(34, 27, 20, .07);
  padding: clamp(1.05rem, 2vw, 1.2rem);
}

.start-card,
.static-product-grid a {
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.start-card::after,
.static-product-grid a::after {
  background: linear-gradient(90deg, var(--accent), rgba(200, 95, 40, .18));
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(.24);
  transform-origin: left;
  transition: transform .15s ease;
}

.start-card:hover,
.research-grid a:hover,
.static-product-grid a:hover {
  border-color: rgba(200, 95, 40, .72);
  box-shadow: 0 18px 46px rgba(34, 27, 20, .12);
  transform: translateY(-4px);
}

.start-card:hover::after,
.static-product-grid a:hover::after {
  transform: scaleX(1);
}

.start-card:focus-visible,
.research-grid a:focus-visible,
.static-product-grid a:focus-visible,
.lane-card:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(211, 111, 53, .45);
  outline-offset: 4px;
}

.start-card-dark {
  background:
    radial-gradient(circle at top right, rgba(211, 111, 53, .30), transparent 42%),
    linear-gradient(135deg, #241f1a, #141210);
  border-color: rgba(255, 255, 255, .08);
  color: #fff;
}

.start-card-dark::after {
  background: linear-gradient(90deg, #f3a26b, rgba(243, 162, 107, .15));
}

.start-card-dark span,
.start-card-dark em {
  color: #f6efe7 !important;
}

.start-card small,
.research-grid small,
.mockup-card small,
.static-product-grid small {
  color: var(--accent-dark);
  display: block;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .09em;
  margin-bottom: .45rem;
  text-transform: uppercase;
}

.start-card-dark small {
  color: #f3a26b;
}

.start-card strong,
.research-grid strong,
.depth-map strong,
.proof-strip strong,
.mockup-card strong,
.case-list strong,
.static-product-grid strong {
  color: #171717;
  display: block;
  font-size: 1.18rem;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: .5rem;
}

.start-card-dark strong {
  color: #fff;
}

.start-card span,
.research-grid span,
.depth-map span,
.proof-strip span,
.mockup-card span,
.case-list span,
.static-product-grid span {
  color: var(--muted);
  display: block;
  font-size: .94rem;
  line-height: 1.45;
}

.start-card em,
.static-product-grid em {
  background: #fff0e5;
  border: 1px solid rgba(200, 95, 40, .12);
  border-radius: 14px;
  color: var(--accent-dark);
  display: block;
  font-style: normal;
  font-weight: 950;
  margin-top: auto;
  padding: .65rem .75rem;
}

.proof-section {
  padding-top: 0;
}

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

.proof-strip div {
  background: linear-gradient(180deg, #fffefb, #fff8ef);
  border-top: 5px solid var(--accent);
}

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

.research-grid a,
.research-card {
  color: inherit;
  min-height: 190px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.research-grid a::before,
.research-card::before {
  background: linear-gradient(180deg, rgba(200, 95, 40, .16), transparent);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.research-grid--depth a,
.research-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 250px;
}

.research-grid b {
  color: #171717;
  display: block;
  font-size: 1rem;
  margin-top: auto;
}

.research-grid em,
.depth-map em {
  color: var(--muted);
  display: block;
  font-size: .86rem;
  font-style: normal;
  line-height: 1.4;
}

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

.depth-map div {
  border-left: 6px solid var(--accent);
}

.depth-map-polished div {
  min-height: 160px;
}

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

.mockup-card {
  background: linear-gradient(180deg, #fffefb, #f7efe6);
  border-color: rgba(200, 95, 40, .18);
  min-height: 170px;
  padding-bottom: 3.2rem;
  position: relative;
}

.mockup-card::after {
  background: rgba(36, 31, 26, .08);
  border-radius: 999px;
  bottom: 1rem;
  color: #241f1a;
  content: "Finished output";
  font-size: .76rem;
  font-weight: 950;
  left: 1rem;
  padding: .35rem .55rem;
  position: absolute;
}

.static-index-title {
  margin-top: 3rem;
}

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

.static-product-grid a {
  min-height: 230px;
}

.static-product-grid small {
  background: rgba(211, 111, 53, .12);
  border-radius: 999px;
  display: inline-flex;
  padding: .35rem .55rem;
  width: fit-content;
}

.case-snapshot {
  background:
    radial-gradient(circle at top right, rgba(200, 95, 40, .12), transparent 38%),
    #fffefb;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
}

.case-snapshot h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -.045em;
  line-height: 1.05;
  margin-bottom: .7rem;
  text-wrap: balance;
}

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

.case-list {
  display: grid;
  gap: .75rem;
}

.start-card,
.research-grid a,
.depth-map div,
.proof-strip div,
.mockup-card,
.case-snapshot,
.case-list div,
.static-product-grid a,
.output-grid a,
.quick-grid a,
.home-steps article,
.product-card {
  backdrop-filter: blur(4px);
}

.cta {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20);
  overflow: hidden;
  position: relative;
}

.cta::before {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, .20), transparent 28%),
    radial-gradient(circle at 82% 40%, rgba(0, 0, 0, .16), transparent 30%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.cta > * {
  position: relative;
}

/* Visual pass 1: rhythm and surface refinement */
.section + .section,
.section-alt + .section,
.section + .section-alt {
  position: relative;
}

.section + .section::before,
.section-alt + .section::before,
.section + .section-alt::before {
  background: linear-gradient(90deg, transparent, rgba(34, 27, 20, .10), transparent);
  content: "";
  height: 1px;
  left: clamp(1.5rem, 8vw, 7rem);
  position: absolute;
  right: clamp(1.5rem, 8vw, 7rem);
  top: 0;
}

.simple-grid > div,
.trust-grid > div,
.ladder > div,
.home-steps article,
.output-grid a,
.quick-grid a,
.product-card {
  border-radius: 24px;
  position: relative;
}

.simple-grid > div {
  background: rgba(255, 254, 251, .72);
  border: 1px solid rgba(222, 210, 194, .62);
  box-shadow: 0 10px 24px rgba(34, 27, 20, .045);
}

.lane-card {
  overflow: hidden;
  position: relative;
}

.lane-card::after {
  background: linear-gradient(90deg, rgba(200, 95, 40, .70), rgba(85, 120, 95, .18));
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

/* Visual pass 2: interaction and mobile finish */
nav {
  backdrop-filter: blur(12px);
}

.brand span {
  text-shadow: 0 0 22px rgba(242, 155, 97, .18);
}

.nav-cta,
.request-link {
  box-shadow: 0 10px 20px rgba(200, 95, 40, .20);
  transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
}

.nav-cta:hover,
.request-link:hover {
  box-shadow: 0 14px 28px rgba(200, 95, 40, .28);
  transform: translateY(-1px);
}

.hero-positioning:hover {
  box-shadow: 0 24px 62px rgba(0, 0, 0, .23);
}

.product-card,
.output-grid a,
.quick-grid a,
.home-steps article,
.detail,
.process,
.preview,
.done-grid div {
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.home-steps article:hover,
.output-grid a:hover,
.quick-grid a:hover,
.product-card:hover {
  border-color: rgba(200, 95, 40, .50);
}

.home-steps b {
  box-shadow: 0 8px 18px rgba(200, 95, 40, .22);
}

.price,
.card-price,
.preview-title span,
.product-card small,
.static-product-grid small {
  box-shadow: inset 0 0 0 1px rgba(200, 95, 40, .08);
}

.product:target {
  box-shadow: 0 20px 58px rgba(200, 95, 40, .16), var(--shadow);
}

.mock-row.head {
  background: linear-gradient(180deg, #f0e6d8, #e8dccd);
}

footer {
  border-top: 4px solid rgba(200, 95, 40, .72);
}

@media (max-width: 1100px) {
  .proof-strip,
  .mockup-grid,
  .static-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .start-grid,
  .research-grid,
  .depth-map,
  .case-snapshot {
    grid-template-columns: 1fr;
  }

  .hero-positioning {
    align-items: start;
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 640px) {
  .hero::before {
    left: 1rem;
    right: 1rem;
  }

  .hero-positioning {
    border-left-width: 5px;
    gap: .5rem .75rem;
    grid-template-columns: 1fr;
    padding: .95rem;
  }

  .hero-positioning::before {
    height: 30px;
    width: 30px;
  }

  .hero .buttons,
  .cta .buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .proof-strip,
  .mockup-grid,
  .static-product-grid {
    grid-template-columns: 1fr;
  }

  .start-card,
  .research-grid--depth a,
  .research-card,
  .static-product-grid a {
    min-height: auto;
  }
}