.brand-image {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-image--horizontal {
  width: clamp(140px, 15vw, 180px);
}

.brand-image--principal {
  width: clamp(140px, 13vw, 180px);
}

.brand-negative-note {
  max-width: 540px;
  margin: 0;
  color: color-mix(in srgb, var(--atlas-ivory) 82%, transparent);
}

.button {
  min-height: var(--control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: color var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button[disabled],
.button[aria-disabled="true"] {
  background: var(--surface-disabled);
  border-color: var(--border-subtle);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.button-primary {
  background: var(--atlas-green-deep);
  box-shadow: 0 10px 24px rgba(6, 61, 51, 0.16);
  color: var(--atlas-ivory);
}

.button-primary:hover {
  background: var(--atlas-green);
  box-shadow: 0 14px 30px rgba(6, 61, 51, 0.22);
}

.button-secondary {
  border-color: rgba(201, 154, 69, 0.72);
  background: transparent;
  color: var(--text-secondary);
}

.button-secondary:hover {
  border-color: var(--atlas-gold);
  background: var(--gold-soft);
}

.button-gold {
  border-color: var(--atlas-gold);
  background: var(--atlas-gold);
  color: var(--atlas-green-deep);
}

.button-gold:hover {
  background: var(--surface-card);
}

.button .icon,
.button [data-icon] {
  width: 18px;
  height: 18px;
}

.icon-button {
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.icon-button:hover {
  border-color: var(--border-strong);
  background: var(--surface-subtle);
  transform: translateY(-1px);
}

.icon-button [data-icon],
.icon-button > svg {
  width: 20px;
  height: 20px;
}

[data-icon] {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

[data-icon] svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.surface-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.divider {
  height: 1px;
  border: 0;
  background: var(--border-subtle);
}

.demo-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(201, 154, 69, 0.35);
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--text-secondary);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--atlas-gold);
  content: "";
}

.trust-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 154, 69, 0.24);
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--atlas-gold);
}

.trust-icon [data-icon],
.trust-icon > svg {
  width: 25px;
  height: 25px;
}

.trust-item h3 {
  margin: 0 0 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.35;
}

.trust-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: var(--atlas-green-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.field-control {
  min-height: 54px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-input);
  color: var(--text-muted);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.field-control:focus-within {
  border-color: var(--atlas-green);
  box-shadow: 0 0 0 3px rgba(14, 74, 59, 0.12);
  background: var(--surface-card);
}

.field-control [data-icon] {
  width: 21px;
  height: 21px;
}

.field-control input {
  min-width: 0;
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
}

.field-control input::placeholder {
  color: var(--text-decorative);
  opacity: 0.9;
}

.field-control .field-action {
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  display: inline-grid;
  place-items: center;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.field-control .field-action [data-icon] {
  width: 22px;
  height: 22px;
}

.field-help,
.form-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.form-status[data-state="error"] {
  color: var(--text-error);
}

.orbit-decoration {
  position: absolute;
  border: 1px solid rgba(201, 154, 69, 0.48);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-decoration::before,
.orbit-decoration::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--atlas-gold);
  box-shadow: 0 0 0 4px var(--atlas-ivory);
  content: "";
}

.orbit-decoration::before {
  top: 8%;
  left: 16%;
}

.orbit-decoration::after {
  right: 4%;
  bottom: 24%;
}

.botanical-line {
  position: absolute;
  width: 180px;
  height: 220px;
  opacity: 0.24;
  pointer-events: none;
}

.botanical-line::before,
.botanical-line::after {
  position: absolute;
  border: 1px solid var(--atlas-gold);
  border-radius: 100% 0 100% 0;
  content: "";
  transform: rotate(-34deg);
}

.botanical-line::before {
  inset: 18px 72px 18px 72px;
  border-width: 0 0 0 1px;
}

.botanical-line::after {
  inset: 46px 30px 74px 60px;
  box-shadow: 28px 32px 0 -1px transparent, 28px 32px 0 0 var(--atlas-gold);
}

.surface-dark {
  background: var(--atlas-green-deep);
  color: var(--atlas-ivory);
}

.surface-dark :focus-visible {
  outline-color: var(--atlas-gold);
}

@media (max-width: 767px) {
  .button {
    min-height: 50px;
  }

  .trust-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .trust-icon {
    width: 44px;
    height: 44px;
  }
}
