/* Homepage revamp — modern automation look.
   Scoped to body.theme so no other page changes until this direction is approved.
   Colours are taken from the blue header and the logo's navy and steel-grey gears. */

body.theme {
  --ea-blue: #0b64d8;
  --ea-blue-deep: #073b82;
  --ea-navy: #0a1a33;
  --ea-ink: #0f1b2d;
  --ea-text: #44536a;
  --ea-soft: #6b7a90;
  --ea-line: #dfe6f0;
  --ea-bg: #f4f7fb;
  --ea-card: #ffffff;
  --ea-tint: #e8f1ff;
  --ea-live: #16a34a;
  --ea-radius: 18px;
  --ea-shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 12px 32px rgba(15, 27, 45, 0.08);
  --container: 1180px;

  color: var(--ea-ink);
  background: var(--ea-bg);
  line-height: 1.6;
}

.theme h1,
.theme h2,
.theme h3,
.theme strong {
  color: var(--ea-ink);
}

.theme h1,
.theme h2 {
  text-wrap: balance;
}

.theme main {
  padding-bottom: 0;
}

/* ---------- shared bits ---------- */

.ea-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid #cfe0fa;
  border-radius: 999px;
  background: var(--ea-tint);
  color: var(--ea-blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ea-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ea-live);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
}

.ea-section {
  padding: 96px 0;
}

.ea-section-head {
  max-width: 760px;
  margin: 0 0 44px;
}

.ea-section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ea-section-head p {
  color: var(--ea-text);
  font-size: 1.1rem;
}

.ea-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

.ea-btn-primary {
  color: #fff;
  background: var(--ea-blue);
  box-shadow: 0 10px 24px rgba(11, 100, 216, 0.28);
}

.ea-btn-primary:hover {
  background: #0957bd;
}

.ea-btn-ghost {
  color: var(--ea-ink);
  background: #fff;
  border: 1px solid var(--ea-line);
}

.ea-btn-ghost:hover {
  border-color: #c3d2e6;
}

.ea-arrow::after {
  content: "→";
}

/* ---------- hero ---------- */

.ea-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(11, 100, 216, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--ea-bg) 100%);
  border-bottom: 1px solid var(--ea-line);
}

.ea-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 26, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 26, 51, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.ea-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.ea-hero h1 {
  max-width: 15ch;
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.ea-hero h1 span {
  color: var(--ea-blue);
}

.ea-hero-lead {
  max-width: 34em;
  margin: 0 0 32px;
  color: var(--ea-text);
  font-size: 1.18rem;
}

.ea-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ea-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ea-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.ea-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ea-proof li::before,
.ea-check::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--ea-blue);
}

/* The workflow panel: an illustration of one automation, not live data. */
.ea-flow {
  position: relative;
  padding: 22px;
  border: 1px solid var(--ea-line);
  border-radius: 22px;
  background: var(--ea-card);
  box-shadow: 0 30px 70px rgba(10, 26, 51, 0.14);
}

.ea-flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--ea-line);
}

.ea-flow-title {
  font-weight: 800;
}

.ea-flow-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ea-live);
  font-size: 0.85rem;
  font-weight: 700;
}

.ea-flow-steps {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ea-flow-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 27px;
  width: 2px;
  background: linear-gradient(var(--ea-blue), #b9d2f5);
}

.ea-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--ea-line);
  border-radius: 14px;
  background: #fbfcfe;
}

.ea-flow-step .ea-flow-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: var(--ea-blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.ea-flow-step:first-child .ea-flow-icon {
  background: var(--ea-navy);
}

.ea-flow-step strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}

.ea-flow-step span {
  color: var(--ea-soft);
  font-size: 0.85rem;
}

.ea-flow-time {
  color: var(--ea-soft);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ea-flow-note {
  margin: 14px 4px 0;
  color: var(--ea-soft);
  font-size: 0.8rem;
}

/* ---------- services ---------- */

.ea-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ea-service {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: var(--ea-card);
  box-shadow: var(--ea-shadow);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ea-service:hover {
  border-color: #b9d2f5;
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 20px 44px rgba(15, 27, 45, 0.12);
}

.ea-service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 20px;
  border-radius: 12px;
  color: var(--ea-blue);
  background: var(--ea-tint);
}

.ea-service-icon svg {
  width: 22px;
  height: 22px;
}

.ea-service h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.ea-service p {
  flex: 1;
  margin: 0 0 22px;
  color: var(--ea-text);
  font-size: 0.95rem;
}

.ea-service-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--ea-line);
}

.ea-price {
  color: var(--ea-ink);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ea-turnaround {
  color: var(--ea-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.ea-services-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: var(--ea-text);
}

.ea-link {
  color: var(--ea-blue);
  font-weight: 700;
}

.ea-link:hover {
  color: var(--ea-blue-deep);
}

/* ---------- how it works ---------- */

.ea-how {
  background: var(--ea-card);
  border-top: 1px solid var(--ea-line);
  border-bottom: 1px solid var(--ea-line);
}

.ea-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ea-step;
}

.ea-step {
  position: relative;
  padding: 28px;
  border-radius: var(--ea-radius);
  background: var(--ea-bg);
  counter-increment: ea-step;
}

.ea-step::before {
  content: counter(ea-step, decimal-leading-zero);
  display: block;
  margin: 0 0 18px;
  color: var(--ea-blue);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ea-step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.ea-step p {
  color: var(--ea-text);
}

/* ---------- automations ---------- */

.ea-auto {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.ea-auto .ea-section-head {
  margin-bottom: 28px;
}

.ea-auto-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ea-auto-list li {
  padding: 20px;
  border: 1px solid var(--ea-line);
  border-radius: 14px;
  background: var(--ea-card);
}

.ea-auto-list strong {
  display: block;
  margin-bottom: 4px;
}

.ea-auto-list span {
  color: var(--ea-text);
  font-size: 0.93rem;
}

.ea-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ea-tools li {
  padding: 6px 12px;
  border: 1px solid var(--ea-line);
  border-radius: 999px;
  background: var(--ea-card);
  color: var(--ea-text);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- plans ---------- */

.ea-plans-band {
  color: #dbe6f7;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(11, 100, 216, 0.45), transparent 70%),
    var(--ea-navy);
}

.ea-plans-band .ea-section-head h2 {
  color: #fff;
}

.ea-plans-band .ea-section-head p {
  color: #b9c7dc;
}

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

.ea-plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ea-radius);
  background: rgba(255, 255, 255, 0.04);
}

.ea-plan-for {
  margin: 0 0 6px;
  color: #8fb4ea;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ea-plan h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.3rem;
}

.theme .ea-plan .ea-price {
  color: #fff;
  font-size: 2rem;
}

.ea-plan .ea-price small {
  color: #b9c7dc;
  font-size: 1rem;
  font-weight: 600;
}

.ea-plan ul {
  flex: 1;
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.ea-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ea-check::before {
  margin-top: 3px;
}

.ea-plans-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
  color: #b9c7dc;
}

.ea-plans-band .ea-btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

/* ---------- builds ---------- */

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

.ea-build {
  overflow: hidden;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: var(--ea-card);
  box-shadow: var(--ea-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ea-build:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 22px 48px rgba(15, 27, 45, 0.14);
}

.ea-build-shot {
  aspect-ratio: 1200 / 630;
  border-bottom: 1px solid var(--ea-line);
}

.ea-build-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ea-build-body {
  padding: 22px 24px 24px;
}

.ea-build-tag {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--ea-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ea-build h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.ea-build p {
  color: var(--ea-text);
}

/* ---------- final call to action ---------- */

.ea-final {
  padding: 0 0 96px;
}

.ea-final-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
  color: #dbe6f7;
  background:
    radial-gradient(600px 260px at 100% 100%, rgba(255, 255, 255, 0.18), transparent 70%),
    linear-gradient(135deg, var(--ea-blue) 0%, var(--ea-blue-deep) 100%);
  box-shadow: 0 30px 60px rgba(7, 59, 130, 0.25);
}

.ea-final-card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.ea-final-card p {
  max-width: 36em;
  color: #d6e4fa;
  font-size: 1.05rem;
}

.ea-final-card .ea-btn-primary {
  color: var(--ea-blue-deep);
  background: #fff;
  box-shadow: none;
}

.ea-final-card .ea-btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- footer ---------- */

.ea-footer {
  border-top: 1px solid var(--ea-line);
  background: var(--ea-card);
}

.ea-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding: 32px 0;
  color: var(--ea-soft);
  font-size: 0.95rem;
}

.ea-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.ea-footer nav a {
  color: var(--ea-text);
  font-weight: 600;
}

.ea-footer nav a:hover {
  color: var(--ea-blue);
}

/* ---------- inner-page hero ---------- */

.ea-page-hero {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  padding: 76px 0 68px;
  background:
    radial-gradient(900px 380px at 85% 0%, rgba(11, 100, 216, 0.11), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--ea-bg) 100%);
  border-bottom: 1px solid var(--ea-line);
}

.ea-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 26, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 26, 51, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.ea-page-hero > .container {
  position: relative;
}

.ea-page-hero h1 {
  max-width: min(20ch, 100%);
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ea-page-hero .ea-hero-lead {
  max-width: 44em;
}

.ea-type-wheel {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  width: min(100%, 900px);
  max-width: 100%;
  margin: 26px 0 0;
  padding: 18px;
  border: 1px solid rgba(10, 26, 51, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 40px rgba(10, 26, 51, 0.08);
}

.ea-type-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: visible;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(10, 26, 51, 0.08),
    0 14px 32px rgba(11, 100, 216, 0.16);
}

.ea-type-disc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    conic-gradient(
      from 0deg,
      var(--ea-blue) 0 42deg,
      #dfeaff 42deg 78deg,
      var(--ea-blue-deep) 78deg 122deg,
      #dfeaff 122deg 158deg,
      var(--ea-blue) 158deg 204deg,
      #dfeaff 204deg 238deg,
      var(--ea-blue-deep) 238deg 286deg,
      #dfeaff 286deg 318deg,
      var(--ea-blue) 318deg 360deg
    );
  animation: ea-wheel-spin 22s linear infinite;
  z-index: 0;
}

.ea-type-disc::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10, 26, 51, 0.09);
  z-index: 1;
}

.ea-type-orbit {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: var(--ea-navy);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ea-type-orbit span {
  position: absolute;
  padding: 4px 7px;
  border: 1px solid rgba(11, 100, 216, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 12px rgba(10, 26, 51, 0.09);
  white-space: nowrap;
}

.ea-type-orbit span:nth-child(1) {
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
}

.ea-type-orbit span:nth-child(2) {
  top: 38px;
  right: -14px;
}

.ea-type-orbit span:nth-child(3) {
  right: -18px;
  bottom: 38px;
}

.ea-type-orbit span:nth-child(4) {
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
}

.ea-type-orbit span:nth-child(5) {
  bottom: 38px;
  left: -8px;
}

.ea-type-orbit span:nth-child(6) {
  top: 38px;
  left: -18px;
}

.ea-type-hub {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 98px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ea-navy);
  color: #fff;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 8px 22px rgba(10, 26, 51, 0.22);
}

.ea-type-hub span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ea-type-hub strong {
  color: #fff;
  font-size: 1.05rem;
}

.ea-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ea-type-list span {
  padding: 10px 14px;
  border: 1px solid rgba(10, 26, 51, 0.11);
  border-radius: 999px;
  background: #fff;
  color: var(--ea-navy);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 24px rgba(10, 26, 51, 0.08);
}

.ea-type-wheel + .ea-cta-row {
  margin-top: 30px;
}

@keyframes ea-wheel-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ea-type-disc::before {
    animation: none;
  }
}

.ea-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 10px 16px;
  border: 1px solid var(--ea-line);
  border-radius: 12px;
  background: var(--ea-card);
  color: var(--ea-text);
  font-size: 0.95rem;
}

.ea-status::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ea-live);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
}

.ea-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
}

.ea-jump a {
  padding: 8px 14px;
  border: 1px solid var(--ea-line);
  border-radius: 999px;
  background: var(--ea-card);
  color: var(--ea-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.ea-jump a:hover {
  border-color: #b9d2f5;
  color: var(--ea-blue);
}

/* ---------- price cards ---------- */

.ea-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

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

.ea-price-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: var(--ea-card);
  box-shadow: var(--ea-shadow);
}

.ea-price-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.ea-price-card .ea-price {
  display: block;
  margin: 0 0 12px;
  font-size: 2rem;
}

.ea-price small {
  margin-left: 4px;
  color: var(--ea-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.ea-price-summary {
  margin: 0 0 18px;
  color: var(--ea-text);
  font-size: 0.95rem;
}

.ea-price-card ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 18px 0 0;
  border-top: 1px solid var(--ea-line);
  list-style: none;
  color: var(--ea-ink);
  font-size: 0.93rem;
}

.ea-price-excludes {
  margin: 0 0 20px;
  color: var(--ea-soft);
  font-size: 0.85rem;
}

.ea-price-card .ea-btn {
  width: 100%;
  margin-top: auto;
}

.ea-price-card-dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  color: #dbe6f7;
}

.theme .ea-price-card-dark h3,
.theme .ea-price-card-dark .ea-price {
  color: #fff;
}

.ea-price-card-dark .ea-price small,
.ea-price-card-dark .ea-price-summary,
.ea-price-card-dark .ea-price-excludes {
  color: #b9c7dc;
}

.ea-price-card-dark ul {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #e6eefa;
}

.ea-price-card-dark .ea-btn-primary {
  color: var(--ea-blue-deep);
  background: #fff;
  box-shadow: none;
}

.ea-price-card-dark .ea-btn-primary:hover {
  background: #e8f1ff;
}

/* Checkout buttons stay greyed out until stripe-cta.js confirms a live Stripe link. */
.stripe-cta[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

/* ---------- callouts ---------- */

.ea-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  padding: 32px 36px;
  border: 1px solid #cfe0fa;
  border-radius: 20px;
  background: var(--ea-tint);
}

.ea-callout h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ea-callout p {
  max-width: 48em;
  color: var(--ea-text);
}

.ea-x-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ea-text);
}

.ea-x-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ea-x-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7a90' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7'/%3E%3C/svg%3E") center / 12px no-repeat,
    #e6ebf2;
}

.ea-panel {
  padding: 32px 36px;
  border: 1px solid var(--ea-line);
  border-radius: 20px;
  background: var(--ea-card);
  box-shadow: var(--ea-shadow);
}

.ea-panel h2,
.ea-panel h3 {
  margin: 0 0 18px;
}

.ea-section-tight {
  padding-top: 0;
}

/* ---------- general cards and grids ---------- */

.ea-grid {
  display: grid;
  gap: 18px;
}

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

.ea-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  background: var(--ea-card);
  box-shadow: var(--ea-shadow);
}

a.ea-card {
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

a.ea-card:hover {
  border-color: #b9d2f5;
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 20px 44px rgba(15, 27, 45, 0.12);
}

.ea-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ea-card p {
  color: var(--ea-text);
  font-size: 0.97rem;
}

.ea-card p + p {
  margin-top: 10px;
}

.ea-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--ea-line);
  list-style: none;
  font-size: 0.93rem;
}

.ea-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 18px;
}

.ea-card-foot .ea-price {
  font-size: 1.35rem;
}

.ea-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--ea-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ea-note {
  margin-top: 22px;
  color: var(--ea-soft);
  font-size: 0.95rem;
}

.ea-subhead {
  margin: 56px 0 22px;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ea-bg-white {
  background: var(--ea-card);
  border-top: 1px solid var(--ea-line);
  border-bottom: 1px solid var(--ea-line);
}

/* ---------- tags ---------- */

.ea-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ea-tags li {
  padding: 6px 12px;
  border: 1px solid var(--ea-line);
  border-radius: 999px;
  background: var(--ea-card);
  color: var(--ea-text);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- numbered timeline ---------- */

.ea-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ea-timeline;
}

.ea-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--ea-line);
  border-radius: 16px;
  background: var(--ea-card);
  counter-increment: ea-timeline;
}

.ea-timeline li::before {
  content: counter(ea-timeline);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  background: var(--ea-blue);
  font-weight: 800;
}

.ea-timeline h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.ea-timeline p {
  color: var(--ea-text);
}

/* ---------- FAQ ---------- */

.ea-faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.ea-faq details {
  border: 1px solid var(--ea-line);
  border-radius: 14px;
  background: var(--ea-card);
}

.ea-faq details[open] {
  border-color: #b9d2f5;
  box-shadow: var(--ea-shadow);
}

.ea-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--ea-ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.ea-faq summary::-webkit-details-marker {
  display: none;
}

.ea-faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--ea-blue);
  background: var(--ea-tint);
  font-size: 1.1rem;
  font-weight: 700;
}

.ea-faq details[open] summary::after {
  content: "−";
}

.ea-faq summary:focus-visible {
  outline: 3px solid rgba(11, 100, 216, 0.35);
  outline-offset: 2px;
  border-radius: 14px;
}

.ea-faq .ea-faq-answer {
  padding: 0 22px 20px;
  color: var(--ea-text);
}

.ea-faq .ea-faq-answer p + p {
  margin-top: 10px;
}

.ea-faq h2 {
  margin: 28px 0 4px;
  font-size: 1rem;
  color: var(--ea-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ea-faq h2:first-child {
  margin-top: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .ea-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .ea-hero-grid,
  .ea-auto {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ea-steps,
  .ea-plans {
    grid-template-columns: 1fr;
  }

  .ea-price-grid.ea-price-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .ea-callout {
    grid-template-columns: 1fr;
  }

  .ea-final-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .theme .container {
    width: min(calc(100vw - 22px), var(--container));
    max-width: calc(100vw - 22px);
  }

  .ea-hero {
    padding: 44px 0 56px;
  }

  .ea-hero h1 {
    font-size: clamp(2.2rem, 10.5vw, 2.8rem);
  }

  .ea-hero-lead {
    font-size: 1.05rem;
  }

  .ea-cta-row .ea-btn {
    width: 100%;
  }

  .ea-proof {
    display: grid;
    gap: 10px;
    margin-top: 26px;
  }

  .ea-section {
    padding: 60px 0;
  }

  .ea-section-head {
    margin-bottom: 30px;
  }

  .ea-services,
  .ea-builds,
  .ea-auto-list,
  .ea-price-grid,
  .ea-x-list {
    grid-template-columns: 1fr;
  }

  .ea-grid-2,
  .ea-grid-3 {
    grid-template-columns: 1fr;
  }

  .ea-card {
    padding: 22px;
  }

  .ea-timeline li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .ea-timeline li::before {
    width: 36px;
    height: 36px;
  }

  .ea-subhead {
    margin-top: 40px;
  }

  .ea-page-hero {
    padding: 44px 0 48px;
  }

  .ea-page-hero h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .ea-page-hero .ea-hero-lead {
    max-width: 100%;
    text-wrap: wrap;
  }

  .ea-type-wheel {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin-top: 22px;
    padding: 12px;
    border-radius: 22px;
    justify-items: center;
    overflow: hidden;
  }

  .ea-type-disc {
    width: 104px;
  }

  .ea-type-disc::after {
    inset: 12px;
  }

  .ea-type-orbit {
    display: none;
  }

  .ea-type-hub {
    width: 66px;
  }

  .ea-type-hub span {
    font-size: 0.58rem;
  }

  .ea-type-hub strong {
    font-size: 0.82rem;
  }

  .ea-type-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .ea-type-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 7px;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .ea-price-card,
  .ea-callout,
  .ea-panel {
    padding: 22px;
  }

  .ea-callout .ea-btn {
    width: 100%;
  }

  .ea-service,
  .ea-plan,
  .ea-step {
    padding: 22px;
  }

  .ea-service-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .ea-service p {
    margin-bottom: 16px;
  }

  .ea-service-meta {
    padding-top: 14px;
  }

  .ea-step::before {
    margin-bottom: 10px;
  }

  .ea-flow {
    padding: 16px;
  }

  .ea-flow-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .ea-flow-time {
    display: none;
  }

  .ea-final {
    padding-bottom: 60px;
  }

  .ea-final-card {
    padding: 30px 22px;
  }

  .ea-final-card .ea-btn {
    width: 100%;
  }
}

/* Links like "What we build" in the header land below the sticky blue bar. */
.theme [id] {
  scroll-margin-top: 90px;
}

@media (max-width: 640px) {
  .theme [id] {
    scroll-margin-top: 120px;
  }
}

.ea-panel h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Keep prices level across a row of four cards when one name runs to two lines. */
@media (min-width: 1081px) {
  .ea-price-grid:not(.ea-price-grid-3) .ea-price-card h3 {
    min-height: 2.6em;
  }
}

/* Plan labels are pale blue for the navy band; on white cards they use the brand blue. */
.ea-price-card:not(.ea-price-card-dark) .ea-plan-for {
  color: var(--ea-blue);
}

.ea-price small:first-child {
  margin: 0 6px 0 0;
}

/* ---------- capability demo groups ---------- */

.ea-demo-group + .ea-demo-group {
  margin-top: 8px;
}

.ea-demo-group .ea-subhead {
  margin: 48px 0 6px;
  scroll-margin-top: 90px;
}

.ea-demo-group:first-of-type .ea-subhead {
  margin-top: 8px;
}

.ea-group-lead {
  margin: 0 0 20px;
  color: var(--ea-text);
}

.ea-demo-card .ea-card-foot {
  align-items: center;
  border-top: 1px solid var(--ea-line);
  margin-top: auto;
}

.ea-demo-card p {
  margin-bottom: 18px;
}

.ea-demo-technique {
  color: var(--ea-soft);
  font-size: 0.82rem;
}

.ea-back {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.ea-page-hero .ea-tags {
  margin-top: 26px;
}

.ea-page-hero .ea-jump {
  margin: 30px 0 0;
}

.ea-card ul:first-child,
.ea-card .ea-kicker + ul {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ea-concept-next {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.ea-demo-card .ea-card-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* ---------- forms on themed pages ---------- */

.theme .ea-form {
  display: grid;
  gap: 18px;
}

.theme .ea-field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.theme .ea-field label {
  font-weight: 600;
  line-height: 1.35;
}

.theme .ea-req {
  color: var(--ea-blue);
}

.theme .ea-input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--ea-line);
  border-radius: 12px;
  background: var(--ea-card);
  color: var(--ea-ink);
  font: inherit;
  line-height: 1.3;
}

.theme textarea.ea-input {
  height: auto;
  min-height: 170px;
  padding: 14px 16px;
}

.theme .ea-input::placeholder {
  color: var(--ea-soft);
}

.theme .ea-input:focus-visible {
  outline: 3px solid rgba(11, 100, 216, 0.35);
  outline-offset: 1px;
  border-color: #b9d2f5;
}

.theme .ea-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 4px;
}

.theme .ea-form-note {
  color: var(--ea-soft);
  font-size: 0.92rem;
}

.theme .ea-success {
  padding: 18px 20px;
  border: 1px solid #b9d2f5;
  border-left: 4px solid var(--ea-live);
  border-radius: 14px;
  background: var(--ea-tint);
}

@media (max-width: 640px) {
  .theme .ea-form-actions .ea-btn {
    width: 100%;
  }
}

/* ---------- boxed sections (services page) ---------- */

.theme .ea-section-boxed {
  padding: 26px 0;
}

.theme .ea-section-boxed + .ea-section-boxed {
  padding-top: 0;
}

.theme .ea-boxed {
  padding: 36px;
  border: 2px solid var(--ea-blue);
  border-radius: 24px;
  background: var(--ea-card);
  box-shadow: var(--ea-shadow);
}

.theme .ea-boxed .ea-section-head {
  margin-bottom: 28px;
}

.theme .ea-boxed .ea-subhead {
  margin: 40px 0 20px;
}

.theme .ea-boxed-dark {
  color: #dbe6f7;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(11, 100, 216, 0.45), transparent 70%),
    var(--ea-navy);
}

.theme .ea-boxed-dark .ea-section-head h2 {
  color: #fff;
}

.theme .ea-boxed-dark .ea-section-head p {
  color: #b9c7dc;
}

.theme .ea-boxed-cta {
  text-align: center;
}

.theme .ea-boxed-cta .ea-section-head {
  max-width: 62ch;
  margin: 0 auto 24px;
}

.theme .ea-boxed-cta .ea-box-actions {
  justify-content: center;
}

.theme .ea-box-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 26px;
}

/* Buy buttons sit on the card's bottom edge so every card in a row lines up. */
.theme .ea-card .ea-card-foot {
  margin-top: auto;
}

.theme .ea-btn-buy {
  width: 100%;
  margin-top: 18px;
}

.theme .ea-plan .ea-btn-buy {
  margin-top: 20px;
}

@media (max-width: 640px) {
  .theme .ea-boxed {
    padding: 20px;
    border-radius: 18px;
  }

  .theme .ea-section-boxed {
    padding: 16px 0;
  }

  .theme .ea-boxed .ea-subhead {
    margin-top: 30px;
  }

  .theme .ea-box-actions .ea-btn {
    width: 100%;
  }
}

/* The status line stays in the page so stripe-cta.js can report a problem, but it
   takes up no space while there is nothing to report. */
.theme .ea-status:empty {
  display: none;
}
