.home-page {
  --home-orange: #fa5420;
  --home-ink: #10141b;
  --home-muted: #56606d;
  --home-border: #e0e3e6;
  background: #fff;
  color: var(--home-ink);
}

.home-main {
  padding-top: var(--site-header-height, 66px);
}

.home-shell {
  width: min(100%, 1376px);
  margin: 0 auto;
  padding-right: clamp(22px, 4vw, 64px);
  padding-left: clamp(22px, 4vw, 64px);
}

.home-hero {
  --hero-art-left: calc(max(0px, calc(50% - 688px)) + clamp(22px, 4vw, 64px) + 500px);
  position: relative;
  display: flex;
  min-height: 326px;
  align-items: center;
  overflow: hidden;
  padding: 22px 0 24px;
  background:
    radial-gradient(ellipse at 10% 53%, rgba(250, 84, 32, 0.12), transparent 32%),
    linear-gradient(110deg, #101317 0%, #10151b 60%, #11161d 100%);
  color: #fff;
}

.home-hero-mesh {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: var(--hero-art-left);
  width: calc(100% - var(--hero-art-left));
  height: 100%;
  pointer-events: none;
}

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

.home-hero-copy {
  width: min(100%, 650px);
}

.home-kicker,
.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--home-orange);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-kicker {
  color: #f6f7f8;
  letter-spacing: 0.025em;
}

.home-kicker::before,
.home-eyebrow::before {
  width: 4px;
  height: 17px;
  flex: 0 0 auto;
  background: var(--home-orange);
  content: "";
}

.home-kicker span {
  color: var(--home-orange);
}

.home-hero h1 {
  max-width: 630px;
  margin: 0;
  color: #f7f7f8;
  font-size: clamp(2.3rem, 3.75vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.home-hero h1 span {
  color: var(--home-orange);
}

.home-hero-lead {
  max-width: 490px;
  margin: 12px 0 18px;
  color: #f2f3f4;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.42;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.home-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  transform: translateY(-1px);
}

.home-button-primary {
  background: var(--home-orange);
  color: #fff;
}

.home-button-primary:hover,
.home-button-primary:focus-visible {
  background: #e94a18;
  color: #fff;
}

.home-button-primary span {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 0.8;
}

.home-button-secondary {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(16, 20, 27, 0.45);
  color: #fff;
}

.home-button-secondary:hover,
.home-button-secondary:focus-visible {
  border-color: var(--home-orange);
  background: rgba(250, 84, 32, 0.12);
  color: #fff;
}

.home-section {
  padding-top: 27px;
  padding-bottom: 26px;
}

.home-section-heading {
  margin-bottom: 16px;
}

.home-section-heading .home-eyebrow {
  margin-bottom: 5px;
}

.home-section-heading .home-eyebrow::before {
  width: 36px;
  height: 4px;
}

.home-section-heading h2,
.home-method-intro h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.65rem, 2.6vw, 2.12rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

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

.home-service-card {
  position: relative;
  display: flex;
  min-height: 205px;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 18px 34px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fafafa);
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-service-card:hover,
.home-service-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(250, 84, 32, 0.48);
  box-shadow: 0 12px 30px rgba(16, 20, 27, 0.08);
}

.home-service-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
  border-radius: 11px;
  background: #fff0e9;
  color: var(--home-orange);
}

.home-service-icon svg,
.home-step-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.home-service-card h3 {
  max-width: 18ch;
  margin: 0 0 5px;
  color: #11151b;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.home-service-card p {
  margin: 0;
  color: #252b33;
  font-size: 0.9rem;
  font-weight: 450;
  line-height: 1.38;
}

.home-card-arrow {
  position: absolute;
  right: 15px;
  bottom: 8px;
  color: var(--home-orange);
  font-size: 1.55rem;
  line-height: 1;
}

.home-method-section {
  padding: 0 0 28px;
}

.home-method-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.8fr);
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(110deg, #f1f2f3, #f7f7f8);
}

.home-method-intro {
  padding-right: 22px;
  border-right: 1px solid #c6cbd0;
}

.home-method-intro .home-eyebrow {
  margin-bottom: 8px;
}

.home-method-intro .home-eyebrow::before {
  width: 36px;
  height: 4px;
}

.home-method-intro h2 {
  max-width: 15ch;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}

.home-method-intro > p:last-child {
  max-width: 34ch;
  margin: 7px 0 0;
  color: #252b33;
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.home-method-step {
  min-width: 0;
  text-align: center;
}

.home-step-icon {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
  border: 2px solid var(--home-orange);
  border-radius: 50%;
  background: #fff;
  color: var(--home-orange);
}

.home-step-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.9;
}

.home-method-step h3 {
  margin: 0 0 4px;
  color: #11151b;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.home-method-step p {
  margin: 0;
  color: #252b33;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
}

.home-projects {
  padding-top: 2px;
  padding-bottom: 24px;
}

.home-project-heading {
  margin-bottom: 14px;
}

.home-project-heading h2 {
  margin-bottom: 3px;
}

.home-project-heading > p:last-child {
  margin: 0;
  color: #252b33;
  font-size: 0.96rem;
}

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

.home-project-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7e9;
  border-radius: 14px;
  background: #fff;
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-project-card:hover,
.home-project-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(250, 84, 32, 0.42);
  box-shadow: 0 12px 30px rgba(16, 20, 27, 0.1);
}

.home-project-image,
.home-project-visual {
  position: relative;
  display: flex;
  height: 142px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #11161d;
}

.home-project-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 12, 16, 0.4));
  content: "";
  pointer-events: none;
}

.home-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-project-copy {
  position: relative;
  min-height: 76px;
  padding: 10px 34px 12px 15px;
  background: linear-gradient(135deg, #fff, #f8f9fa);
}

.home-project-copy h3 {
  margin: 0 0 3px;
  color: #151920;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.home-project-copy p {
  margin: 0;
  color: #303740;
  font-size: 0.78rem;
  line-height: 1.35;
}

.home-project-copy .home-card-arrow {
  right: 12px;
  bottom: 9px;
}

.home-assistant-visual {
  background:
    radial-gradient(ellipse at 50% 105%, rgba(250, 84, 32, 0.56), transparent 44%),
    linear-gradient(140deg, #151b22, #080b0f);
}

.assistant-window {
  position: relative;
  width: 76%;
  height: 104px;
  overflow: hidden;
  transform: perspective(500px) rotateY(-7deg) rotateX(3deg);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(125, 135, 145, 0.72), rgba(31, 38, 45, 0.9));
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4), 0 0 26px rgba(250, 84, 32, 0.18);
}

.assistant-top {
  display: flex;
  height: 19px;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 13, 17, 0.34);
}

.assistant-top span,
.assistant-top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff6427;
}

.assistant-top i {
  background: rgba(255, 255, 255, 0.38);
}

.assistant-bot-mark {
  position: absolute;
  top: 30px;
  left: 16px;
  color: #ff681f;
  font-size: 1.8rem;
  text-shadow: 0 0 14px rgba(255, 104, 31, 0.55);
}

.assistant-message {
  position: absolute;
  right: 13px;
  display: flex;
  width: 48%;
  height: 19px;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.3);
}

.assistant-message span,
.assistant-message b {
  display: block;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
}

.assistant-message span:first-child {
  width: 55%;
}

.assistant-message span:last-child {
  width: 22%;
}

.assistant-message-user {
  top: 31px;
}

.assistant-message-bot {
  top: 57px;
  right: 27px;
  width: 54%;
  background: rgba(14, 18, 23, 0.66);
}

.assistant-message-bot b {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fa5420;
}

.assistant-message-short {
  top: 83px;
  right: 13px;
  width: 34%;
  height: 14px;
}

.home-contact-band {
  position: relative;
  overflow: hidden;
  padding: 17px 0;
  background:
    radial-gradient(ellipse at 78% 130%, rgba(250, 84, 32, 0.5), transparent 30%),
    radial-gradient(ellipse at 98% 90%, rgba(250, 84, 32, 0.28), transparent 23%),
    linear-gradient(110deg, #11161b, #0d1116);
  color: #fff;
}

.home-contact-band::after {
  position: absolute;
  right: -30px;
  bottom: -130px;
  width: 46%;
  height: 220px;
  border: 1px solid rgba(255, 91, 36, 0.64);
  border-radius: 50%;
  box-shadow: 0 -10px 0 -9px rgba(255, 91, 36, 0.65), 0 -22px 0 -21px rgba(255, 91, 36, 0.55), 0 -34px 0 -33px rgba(255, 91, 36, 0.4);
  content: "";
  pointer-events: none;
}

.home-contact-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-contact-content h2 {
  margin: 0 0 4px;
  color: #f7f7f8;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.home-contact-content p {
  margin: 0;
  color: #e6e7e9;
  font-size: 0.9rem;
}

.home-contact-content .home-button {
  flex: 0 0 auto;
}

@media (max-width: 1050px) {
  .home-hero {
    --hero-art-left: 56%;
    min-height: 318px;
  }

  .home-hero-mesh {
    left: var(--hero-art-left);
    width: calc(100% - var(--hero-art-left));
  }

  .home-hero-copy {
    width: min(54%, 610px);
  }

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

  .home-method-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-method-intro {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid #c6cbd0;
  }

  .home-method-intro h2 {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .home-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 30px 0 32px;
  }

  .home-hero-mesh {
    display: none;
  }

  .home-hero-copy {
    width: 100%;
  }

  .home-kicker {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.68rem;
  }

  .home-hero h1 {
    max-width: none;
    font-size: clamp(1.95rem, 7.8vw, 2.5rem);
    line-height: 1.04;
  }

  .home-hero-lead {
    max-width: 46ch;
    font-size: 0.94rem;
  }

  .home-section {
    padding-top: 24px;
    padding-bottom: 23px;
  }

  .home-section-heading h2 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .home-service-grid,
  .home-project-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 0;
    padding: 15px 18px 36px;
  }

  .home-service-card h3 {
    max-width: none;
  }

  .home-method-section {
    padding-bottom: 22px;
  }

  .home-method-panel {
    padding: 18px;
  }

  .home-method-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .home-method-step p {
    text-align: center;
  }

  .home-project-image,
  .home-project-visual {
    height: 180px;
  }

  .home-contact-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .home-contact-band::after {
    width: 82%;
  }
}

@media (max-width: 420px) {
  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-button,
  .home-service-card,
  .home-project-card {
    transition: none;
  }
}
