/* Digital Robot homepage — chosen direction A (focus), production styles.
   No left/right page rails or borders; content keeps the normal centered
   column and is never forced to the viewport edges. */

html, body.home-a { max-width: none !important; overflow-x: clip; }
body.home-a { padding-bottom: 0 !important; background: var(--bg); }

/* Header: normal centered content width; no side borders. */
body.home-a .v3-top {
  width: 100% !important;
  max-width: none !important;
  padding-left: max(20px, calc((100vw - 1280px) / 2 + 44px)) !important;
  padding-right: max(20px, calc((100vw - 1280px) / 2 + 44px)) !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Main canvas: keep the original 1280px content column centered. */
body.home-a main.content {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 44px 76px !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

/* A hero: centered, but with a comfortable content width — not edge-to-edge. */
body.home-a .hero-zone {
  position: relative;
  isolation: isolate;
  width: auto;
  margin: 0;
  padding: 64px 0 54px;
  background: transparent;
  border-bottom: 0;
  border-left: 0 !important;
  border-right: 0 !important;
}
body.home-a .hero-zone::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 72% 58% at 50% 2%, rgba(49,94,251,.10), transparent 68%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 88%);
  border-left: 0;
  border-right: 0;
}
body.home-a .hero-zone::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--rule);
}
body.home-a .v3-hero {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  width: 100%;
  max-width: 1120px !important;
  margin: 0 auto;
}
body.home-a .v3-hero-copy {
  width: 100%;
  max-width: 960px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.home-a .v3-kicker { justify-content: center; color: var(--ink2); }
body.home-a .v3-trust {
  justify-content: center; gap: 18px; margin: 0 0 16px;
  color: var(--ink2); font-size: 12.5px;
}
body.home-a .v3-hero-copy h1 {
  width: 100%;
  max-width: 15ch !important;
  margin: 16px auto 18px;
  text-align: center;
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 650;
  text-wrap: balance;
}
body.home-a .v3-hero-copy h1 .v3-title-break { display: block; }
body.home-a .v3-hero-copy .hero-sub {
  width: 100%;
  max-width: 660px !important;
  margin: 0 auto 26px;
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink2);
}
body.home-a .ask2 {
  width: min(820px, 100%);
  max-width: 820px !important;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 7px;
  padding: 7px;
  border: 1px solid #c9d1dd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17,24,39,.12), 0 2px 8px rgba(17,24,39,.05);
}
body.home-a .ask2 input {
  flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 16px;
  border: 0; border-radius: 12px; background: transparent;
  font-size: 17px; color: var(--ink);
}
body.home-a .ask2 input:focus { outline: 0; box-shadow: none; }
body.home-a .ask2 button {
  flex: 0 0 auto; min-width: 130px; height: 56px; padding: 0 20px;
  border: 0; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 650; cursor: pointer;
}
body.home-a .ask2 button:hover { background: #000; }
body.home-a .cta-wrap { justify-content: center !important; gap: 10px; margin-top: 16px; }
body.home-a .hero-note {
  text-align: center !important; max-width: 620px !important;
  margin: 14px auto 0; text-wrap: pretty;
}
body.home-a .pills {
  justify-content: center !important; width: 100%; max-width: 880px !important;
  margin: 18px auto 0; flex-wrap: wrap !important; overflow: visible !important;
}
body.home-a .pills .pill { display: inline-flex; min-height: 40px; padding: 0 12px; }

/* Proof deck: centered content width, never two viewport edges. */
body.home-a .v3-demo {
  width: min(1020px, 100%);
  max-width: 1020px !important;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(300px,.85fr);
  gap: 14px 20px;
  align-items: stretch;
  box-shadow: 0 24px 70px rgba(17,24,39,.11);
  border-radius: 18px;
  border-left: 0 !important;
  border-right: 0 !important;
}
body.home-a .v3-demo-top, body.home-a .v3-demo-foot { grid-column: 1 / -1; }
body.home-a .v3-demo-img {
  grid-column: 1;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
}
body.home-a .v3-demo-img img { height: 214px; width: 100%; object-fit: contain; }
body.home-a .v3-log {
  grid-column: 2;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 4px 4px 4px 12px;
  border-left: 1px solid var(--rule);
}
body.home-a .v3-log div { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 12px; }
body.home-a .v3-log div:last-child { border-bottom: 0; }
body.home-a .v3-log div > span[data-lang] { font-size: 12px; }
body.home-a .v3-demo-foot { margin-top: 0; }

/* Lower sections keep the normal centered page width; no side rules. */
body.home-a .v3-quick,
body.home-a .agsec,
body.home-a footer,
body.home-a .v3-footer-trust {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}
body.home-a .v3-quick { padding-left: 0 !important; padding-right: 0 !important; }
body.home-a .agsec { padding-left: 0 !important; padding-right: 0 !important; }
body.home-a footer { padding-left: 0 !important; padding-right: 0 !important; }

@media (max-width: 1100px) {
  body.home-a .v3-top { padding-left: 22px !important; padding-right: 22px !important; }
  body.home-a main.content { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 900px) {
  body.home-a .hero-zone { padding: 46px 0 38px; }
  body.home-a .v3-hero { max-width: 100% !important; gap: 26px; }
  body.home-a .v3-hero-copy { max-width: 100% !important; }
  body.home-a .v3-hero-copy h1 { max-width: 100% !important; font-size: clamp(40px, 8vw, 58px); }
  body.home-a .v3-demo { max-width: 100% !important; grid-template-columns: 1fr; gap: 10px; }
  body.home-a .v3-demo-img { min-height: 170px; grid-column: 1; }
  body.home-a .v3-demo-img img { height: 180px; }
  body.home-a .v3-log { grid-column: 1; border-left: 0; border-top: 1px solid var(--rule); padding: 4px 0 0; }
}
@media (max-width: 820px) {
  body.home-a .v3-top { padding-left: 14px !important; padding-right: 14px !important; }
  body.home-a main.content { padding-left: 12px !important; padding-right: 12px !important; padding-bottom: 54px !important; }
  body.home-a .hero-zone { padding: 36px 0 30px; }
  body.home-a .v3-hero-copy h1 { font-size: clamp(38px, 10.4vw, 48px); letter-spacing: -.045em; }
  body.home-a .v3-hero-copy .hero-sub { max-width: 100% !important; font-size: 15px; line-height: 1.65; }
  body.home-a .ask2 { flex-direction: column; width: 100%; max-width: 100% !important; padding: 6px; border-radius: 16px; }
  body.home-a .ask2 input { width: 100%; height: 50px; padding: 0 13px; font-size: 16px; }
  body.home-a .ask2 button { width: 100%; height: 48px; min-width: 0; border-radius: 11px; }
  body.home-a .cta-wrap { justify-content: center !important; }
  body.home-a .hero-note { max-width: 100% !important; font-size: 12px; line-height: 1.65; text-wrap: balance; padding: 0 8px; }
  body.home-a .pills { gap: 6px; justify-content: center !important; max-width: 100% !important; }
  body.home-a .pills .pill { min-height: 40px; padding: 0 10px; }
  body.home-a .v3-demo { width: 100%; }
  body.home-a .v3-demo-img { min-height: 150px; }
  body.home-a .v3-demo-img img { height: 155px; }
}
