/* Reusable Agerius interface primitives. Page files compose these; they do not redefine them. */
.wrap {
  width: min(var(--content-max), calc(100% - 96px));
  margin-inline: auto;
  /* A landscape iPhone draws the page under its notch (viewport-fit=cover), so content keeps 16px
     clear of the safe area; elsewhere the inset is 0 and this adds nothing. */
  padding-inline: max(0px, env(safe-area-inset-left, 0px) - 32px) max(0px, env(safe-area-inset-right, 0px) - 32px);
}

.eyebrow,
.kicker,
.service-tag {
  margin: 0 0 30px;
  font: 700 var(--text-xs)/1.3 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 26px;
  border: var(--border-standard);
  border-radius: var(--radius-none);
  background: var(--ag-ink);
  color: var(--ag-paper);
  font: 700 var(--text-md)/1 var(--font-body);
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-out), background var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out);
}
.btn:hover { transform: translate(2px, 2px); background: var(--ag-paper); color: var(--ag-ink); }
.btn:active { transform: translate(4px, 4px); }
/* A touch screen keeps :hover after a tap, which left a tapped button shifted and inverted. */
@media (hover: none) { .btn:hover { transform: none; background: var(--ag-ink); color: var(--ag-paper); } }
.btn[disabled] { opacity: .6; cursor: progress; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 58px;
}
.section-head > p {
  max-width: 410px;
  margin-bottom: 5px;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}
.section-head .eyebrow { margin-bottom: 28px; }

.ui-panel {
  min-width: 0;
  border: 1px solid var(--ag-gray-light);
  border-radius: var(--radius-plastic);
  background: var(--ag-white);
  overflow: hidden;
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 36px, var(--content-max)); }
  .section-head { display: block; margin-bottom: 46px; }
  .section-head > p { margin-top: 22px; }
}
